]> git.saurik.com Git - wxWidgets.git/blob - configure
Add wxArtProvider using Tango icons.
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.2.
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.2'
579 PACKAGE_STRING='wxWidgets 2.9.2'
580 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
581
582 ac_unique_file="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default="\
585 #include <stdio.h>
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
588 #endif
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
591 #endif
592 #ifdef STDC_HEADERS
593 # include <stdlib.h>
594 # include <stddef.h>
595 #else
596 # ifdef HAVE_STDLIB_H
597 # include <stdlib.h>
598 # endif
599 #endif
600 #ifdef HAVE_STRING_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 # include <memory.h>
603 # endif
604 # include <string.h>
605 #endif
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
608 #endif
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
611 #endif
612 #ifdef HAVE_STDINT_H
613 # include <stdint.h>
614 #endif
615 #ifdef HAVE_UNISTD_H
616 # include <unistd.h>
617 #endif"
618
619 ac_subst_vars='SHELL
620 PATH_SEPARATOR
621 PACKAGE_NAME
622 PACKAGE_TARNAME
623 PACKAGE_VERSION
624 PACKAGE_STRING
625 PACKAGE_BUGREPORT
626 exec_prefix
627 prefix
628 program_transform_name
629 bindir
630 sbindir
631 libexecdir
632 datarootdir
633 datadir
634 sysconfdir
635 sharedstatedir
636 localstatedir
637 includedir
638 oldincludedir
639 docdir
640 infodir
641 htmldir
642 dvidir
643 pdfdir
644 psdir
645 libdir
646 localedir
647 mandir
648 DEFS
649 ECHO_C
650 ECHO_N
651 ECHO_T
652 LIBS
653 build_alias
654 host_alias
655 target_alias
656 build
657 build_cpu
658 build_vendor
659 build_os
660 host
661 host_cpu
662 host_vendor
663 host_os
664 wx_top_builddir
665 CC
666 CFLAGS
667 LDFLAGS
668 CPPFLAGS
669 ac_ct_CC
670 EXEEXT
671 OBJEXT
672 CPP
673 GREP
674 EGREP
675 CXX
676 CXXFLAGS
677 ac_ct_CXX
678 AR
679 OSX_SW_VERS
680 CXXCPP
681 subdirs
682 PKG_CONFIG
683 GTK_CFLAGS
684 GTK_LIBS
685 GTK_CONFIG
686 DIRECTFB_CFLAGS
687 DIRECTFB_LIBS
688 XMKMF
689 X_CFLAGS
690 X_PRE_LIBS
691 X_LIBS
692 X_EXTRA_LIBS
693 PANGOX_CFLAGS
694 PANGOX_LIBS
695 PANGOFT2_CFLAGS
696 PANGOFT2_LIBS
697 PANGOXFT_CFLAGS
698 PANGOXFT_LIBS
699 CFLAGS_VISIBILITY
700 CXXFLAGS_VISIBILITY
701 LIBICONV
702 GXX_VERSION
703 SDL_CONFIG
704 SDL_CFLAGS
705 SDL_LIBS
706 GTKPRINT_CFLAGS
707 GTKPRINT_LIBS
708 LIBGNOMEPRINTUI_CFLAGS
709 LIBGNOMEPRINTUI_LIBS
710 GNOMEVFS_CFLAGS
711 GNOMEVFS_LIBS
712 HILDON_CFLAGS
713 HILDON_LIBS
714 HILDON2_CFLAGS
715 HILDON2_LIBS
716 PYTHON
717 COND_PYTHON
718 CAIRO_CFLAGS
719 CAIRO_LIBS
720 GST_CFLAGS
721 GST_LIBS
722 ALL_WX_LIBS
723 BUILT_WX_LIBS
724 STD_BASE_LIBS
725 STD_GUI_LIBS
726 wxUSE_ZLIB
727 wxUSE_REGEX
728 wxUSE_EXPAT
729 wxUSE_LIBJPEG
730 wxUSE_LIBPNG
731 wxUSE_LIBTIFF
732 VENDOR
733 OFFICIAL_BUILD
734 WX_FLAVOUR
735 WX_LIB_FLAVOUR
736 WXUNIV
737 MONOLITHIC
738 USE_PLUGINS
739 CXXWARNINGS
740 EXTRALIBS
741 EXTRALIBS_XML
742 EXTRALIBS_HTML
743 EXTRALIBS_MEDIA
744 EXTRALIBS_GUI
745 EXTRALIBS_OPENGL
746 EXTRALIBS_SDL
747 EXTRALIBS_STC
748 WITH_PLUGIN_SDL
749 EXTRALIBS_GTKPRINT
750 EXTRALIBS_GNOMEPRINT
751 EXTRALIBS_GNOMEVFS
752 EXTRALIBS_HILDON
753 UNICODE
754 DEBUG_INFO
755 DEBUG_FLAG
756 TOOLKIT_LOWERCASE
757 TOOLKIT_VERSION
758 DYLIB_RPATH_INSTALL
759 DYLIB_RPATH_POSTLINK
760 SAMPLES_RPATH_FLAG
761 HEADER_PAD_OPTION
762 HOST_SUFFIX
763 CPPUNIT_CFLAGS
764 CPPUNIT_LIBS
765 RANLIB
766 INSTALL_PROGRAM
767 INSTALL_SCRIPT
768 INSTALL_DATA
769 LN_S
770 SET_MAKE
771 MAKE_SET
772 AROPTIONS
773 STRIP
774 NM
775 INSTALL_DIR
776 LDFLAGS_GUI
777 IF_GNU_MAKE
778 PLATFORM_UNIX
779 PLATFORM_WIN32
780 PLATFORM_MSDOS
781 PLATFORM_MAC
782 PLATFORM_MACOS
783 PLATFORM_MACOSX
784 PLATFORM_OS2
785 PLATFORM_BEOS
786 SO_SUFFIX
787 SO_SUFFIX_MODULE
788 DLLIMP_SUFFIX
789 LIBPREFIX
790 LIBEXT
791 DLLPREFIX
792 DLLPREFIX_MODULE
793 dlldir
794 AIX_CXX_LD
795 SHARED_LD_CC
796 SHARED_LD_CXX
797 SHARED_LD_MODULE_CC
798 SHARED_LD_MODULE_CXX
799 PIC_FLAG
800 WINDOWS_IMPLIB
801 USE_SOVERSION
802 USE_SOVERLINUX
803 USE_SOVERSOLARIS
804 USE_SOVERCYGWIN
805 USE_MACVERSION
806 USE_SOTWOSYMLINKS
807 SONAME_FLAG
808 DEPS_TRACKING
809 BK_DEPS
810 WINDRES
811 REZ
812 SETFILE
813 OBJCXXFLAGS
814 GCC_PCH
815 ICC_PCH
816 ICC_PCH_CREATE_SWITCH
817 ICC_PCH_USE_SWITCH
818 BK_MAKE_PCH
819 COND_BUILD_DEBUG
820 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
821 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
822 COND_BUILD_DEBUG_UNICODE_0
823 COND_BUILD_DEBUG_UNICODE_1
824 COND_BUILD_RELEASE
825 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
826 COND_BUILD_RELEASE_UNICODE_0
827 COND_BUILD_RELEASE_UNICODE_1
828 COND_BUILD_debug
829 COND_BUILD_debug_DEBUG_FLAG_default
830 COND_BUILD_debug_DEBUG_INFO_default
831 COND_BUILD_debug_UNICODE_0
832 COND_BUILD_debug_UNICODE_1
833 COND_BUILD_release
834 COND_BUILD_release_DEBUG_INFO_default
835 COND_BUILD_release_UNICODE_0
836 COND_BUILD_release_UNICODE_1
837 COND_DEBUG_FLAG_0
838 COND_DEBUG_FLAG_1
839 COND_DEBUG_INFO_0
840 COND_DEBUG_INFO_1
841 COND_DEPS_TRACKING_0
842 COND_DEPS_TRACKING_1
843 COND_GCC_PCH_1
844 COND_ICC_PCH_1
845 COND_MONOLITHIC_0
846 COND_MONOLITHIC_0_SHARED_0
847 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
848 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
849 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
850 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
851 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
852 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
853 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
854 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
855 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
856 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
857 COND_MONOLITHIC_0_SHARED_1
858 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
859 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
860 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
861 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
862 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
863 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
864 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
865 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
866 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
867 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
868 COND_MONOLITHIC_0_USE_AUI_1
869 COND_MONOLITHIC_0_USE_GUI_1
870 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
871 COND_MONOLITHIC_0_USE_HTML_1
872 COND_MONOLITHIC_0_USE_MEDIA_1
873 COND_MONOLITHIC_0_USE_PROPGRID_1
874 COND_MONOLITHIC_0_USE_QA_1
875 COND_MONOLITHIC_0_USE_RIBBON_1
876 COND_MONOLITHIC_0_USE_RICHTEXT_1
877 COND_MONOLITHIC_0_USE_STC_1
878 COND_MONOLITHIC_0_USE_XRC_1
879 COND_MONOLITHIC_1
880 COND_MONOLITHIC_1_SHARED_0
881 COND_MONOLITHIC_1_SHARED_1
882 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
883 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
884 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
885 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
886 COND_PLATFORM_MACOSX_1
887 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
888 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
889 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
890 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
891 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
892 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
893 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
894 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
895 COND_PLATFORM_MACOSX_1_USE_GUI_1
896 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
897 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
898 COND_PLATFORM_MACOS_1
899 COND_PLATFORM_MAC_0
900 COND_PLATFORM_MAC_1
901 COND_PLATFORM_MSDOS_0
902 COND_PLATFORM_MSDOS_1
903 COND_PLATFORM_OS2_1
904 COND_PLATFORM_UNIX_0
905 COND_PLATFORM_UNIX_1
906 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
907 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
908 COND_PLATFORM_UNIX_1_USE_GUI_1
909 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
910 COND_PLATFORM_WIN32_0
911 COND_PLATFORM_WIN32_1
912 COND_PLATFORM_WIN32_1_SHARED_0
913 COND_SHARED_0
914 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
915 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
916 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
917 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
918 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
919 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
920 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
921 COND_SHARED_0_USE_STC_1
922 COND_SHARED_0_wxUSE_EXPAT_builtin
923 COND_SHARED_0_wxUSE_REGEX_builtin
924 COND_SHARED_0_wxUSE_ZLIB_builtin
925 COND_SHARED_1
926 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
927 COND_TOOLKIT_
928 COND_TOOLKIT_COCOA
929 COND_TOOLKIT_COCOA_USE_GUI_1
930 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
931 COND_TOOLKIT_DFB
932 COND_TOOLKIT_DFB_USE_GUI_1
933 COND_TOOLKIT_GTK
934 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
935 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
936 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
937 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
938 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
939 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
940 COND_TOOLKIT_GTK_USE_GUI_1
941 COND_TOOLKIT_MAC
942 COND_TOOLKIT_MGL
943 COND_TOOLKIT_MGL_USE_GUI_1
944 COND_TOOLKIT_MOTIF
945 COND_TOOLKIT_MOTIF_USE_GUI_1
946 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
947 COND_TOOLKIT_MSW
948 COND_TOOLKIT_MSW_USE_GUI_1
949 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
950 COND_TOOLKIT_MSW_WXUNIV_0
951 COND_TOOLKIT_OSX_CARBON
952 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
953 COND_TOOLKIT_OSX_COCOA
954 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
955 COND_TOOLKIT_OSX_IPHONE
956 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
957 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
958 COND_TOOLKIT_PM
959 COND_TOOLKIT_PM_USE_GUI_1
960 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
961 COND_TOOLKIT_WINCE
962 COND_TOOLKIT_WINCE_USE_GUI_1
963 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
964 COND_TOOLKIT_WINCE_WXUNIV_0
965 COND_TOOLKIT_X11
966 COND_TOOLKIT_X11_USE_GUI_1
967 COND_UNICODE_1
968 COND_USE_CAIRO_1
969 COND_USE_EXCEPTIONS_0
970 COND_USE_EXCEPTIONS_1
971 COND_USE_GUI_0
972 COND_USE_GUI_1
973 COND_USE_GUI_1_USE_OPENGL_1
974 COND_USE_GUI_1_WXUNIV_0
975 COND_USE_GUI_1_WXUNIV_1
976 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
977 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
978 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
979 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
980 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
981 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
982 COND_USE_OPENGL_1
983 COND_USE_PCH_1
984 COND_USE_PLUGINS_0
985 COND_USE_RTTI_0
986 COND_USE_RTTI_1
987 COND_USE_SOTWOSYMLINKS_1
988 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
989 COND_USE_SOVERLINUX_1
990 COND_USE_SOVERSION_0
991 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
992 COND_USE_SOVERSOLARIS_1
993 COND_USE_STC_1
994 COND_USE_THREADS_0
995 COND_USE_THREADS_1
996 COND_USE_XRC_1
997 COND_WINDOWS_IMPLIB_1
998 COND_WITH_PLUGIN_SDL_1
999 COND_WXUNIV_0
1000 COND_WXUNIV_1
1001 COND_WXUSE_EXPAT_BUILTIN
1002 COND_WXUSE_LIBJPEG_BUILTIN
1003 COND_WXUSE_LIBPNG_BUILTIN
1004 COND_WXUSE_LIBTIFF_BUILTIN
1005 COND_WXUSE_REGEX_BUILTIN
1006 COND_WXUSE_ZLIB_BUILTIN
1007 COND_wxUSE_EXPAT_builtin
1008 COND_wxUSE_LIBJPEG_builtin
1009 COND_wxUSE_LIBPNG_builtin
1010 COND_wxUSE_LIBTIFF_builtin
1011 COND_wxUSE_REGEX_builtin
1012 COND_wxUSE_ZLIB_builtin
1013 DEREZ
1014 SHARED
1015 WX_LIBRARY_BASENAME_NOGUI
1016 WX_LIBRARY_BASENAME_GUI
1017 USE_GUI
1018 AFMINSTALL
1019 WIN32INSTALL
1020 TOOLKIT
1021 TOOLKIT_DIR
1022 TOOLCHAIN_NAME
1023 TOOLCHAIN_FULLNAME
1024 cross_compiling
1025 WIDGET_SET
1026 WX_RELEASE
1027 WX_VERSION
1028 WX_SUBVERSION
1029 WX_CHARTYPE
1030 WXCONFIG_CPPFLAGS
1031 WXCONFIG_CFLAGS
1032 WXCONFIG_CXXFLAGS
1033 WXCONFIG_LIBS
1034 WXCONFIG_RPATH
1035 WXCONFIG_LDFLAGS
1036 WXCONFIG_LDFLAGS_GUI
1037 WXCONFIG_RESFLAGS
1038 GUIDIST
1039 DISTDIR
1040 SAMPLES_SUBDIRS
1041 LDFLAGS_GL
1042 OPENGL_LIBS
1043 DMALLOC_LIBS
1044 WX_VERSION_TAG
1045 RESCOMP
1046 RESFLAGS
1047 RESPROGRAMOBJ
1048 WX_RESOURCES_MACOSX_ASCII
1049 WX_RESOURCES_MACOSX_DATA
1050 LIBWXMACRES
1051 POSTLINK_COMMAND
1052 MACSETFILE
1053 GCC
1054 DLLTOOL
1055 CPPUNIT_CONFIG
1056 LIBOBJS
1057 LTLIBOBJS'
1058 ac_subst_files=''
1059 ac_precious_vars='build_alias
1060 host_alias
1061 target_alias
1062 CC
1063 CFLAGS
1064 LDFLAGS
1065 LIBS
1066 CPPFLAGS
1067 CPP
1068 CXX
1069 CXXFLAGS
1070 CCC
1071 CXXCPP
1072 PKG_CONFIG
1073 DIRECTFB_CFLAGS
1074 DIRECTFB_LIBS
1075 XMKMF
1076 PANGOX_CFLAGS
1077 PANGOX_LIBS
1078 PANGOFT2_CFLAGS
1079 PANGOFT2_LIBS
1080 PANGOXFT_CFLAGS
1081 PANGOXFT_LIBS
1082 GTKPRINT_CFLAGS
1083 GTKPRINT_LIBS
1084 LIBGNOMEPRINTUI_CFLAGS
1085 LIBGNOMEPRINTUI_LIBS
1086 GNOMEVFS_CFLAGS
1087 GNOMEVFS_LIBS
1088 HILDON_CFLAGS
1089 HILDON_LIBS
1090 HILDON2_CFLAGS
1091 HILDON2_LIBS
1092 CAIRO_CFLAGS
1093 CAIRO_LIBS
1094 GST_CFLAGS
1095 GST_LIBS'
1096 ac_subdirs_all='src/tiff
1097 src/expat'
1098
1099 # Initialize some variables set by options.
1100 ac_init_help=
1101 ac_init_version=false
1102 # The variables have the same names as the options, with
1103 # dashes changed to underlines.
1104 cache_file=/dev/null
1105 exec_prefix=NONE
1106 no_create=
1107 no_recursion=
1108 prefix=NONE
1109 program_prefix=NONE
1110 program_suffix=NONE
1111 program_transform_name=s,x,x,
1112 silent=
1113 site=
1114 srcdir=
1115 verbose=
1116 x_includes=NONE
1117 x_libraries=NONE
1118
1119 # Installation directory options.
1120 # These are left unexpanded so users can "make install exec_prefix=/foo"
1121 # and all the variables that are supposed to be based on exec_prefix
1122 # by default will actually change.
1123 # Use braces instead of parens because sh, perl, etc. also accept them.
1124 # (The list follows the same order as the GNU Coding Standards.)
1125 bindir='${exec_prefix}/bin'
1126 sbindir='${exec_prefix}/sbin'
1127 libexecdir='${exec_prefix}/libexec'
1128 datarootdir='${prefix}/share'
1129 datadir='${datarootdir}'
1130 sysconfdir='${prefix}/etc'
1131 sharedstatedir='${prefix}/com'
1132 localstatedir='${prefix}/var'
1133 includedir='${prefix}/include'
1134 oldincludedir='/usr/include'
1135 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1136 infodir='${datarootdir}/info'
1137 htmldir='${docdir}'
1138 dvidir='${docdir}'
1139 pdfdir='${docdir}'
1140 psdir='${docdir}'
1141 libdir='${exec_prefix}/lib'
1142 localedir='${datarootdir}/locale'
1143 mandir='${datarootdir}/man'
1144
1145 ac_prev=
1146 ac_dashdash=
1147 for ac_option
1148 do
1149 # If the previous option needs an argument, assign it.
1150 if test -n "$ac_prev"; then
1151 eval $ac_prev=\$ac_option
1152 ac_prev=
1153 continue
1154 fi
1155
1156 case $ac_option in
1157 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1158 *) ac_optarg=yes ;;
1159 esac
1160
1161 # Accept the important Cygnus configure options, so we can diagnose typos.
1162
1163 case $ac_dashdash$ac_option in
1164 --)
1165 ac_dashdash=yes ;;
1166
1167 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1168 ac_prev=bindir ;;
1169 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1170 bindir=$ac_optarg ;;
1171
1172 -build | --build | --buil | --bui | --bu)
1173 ac_prev=build_alias ;;
1174 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1175 build_alias=$ac_optarg ;;
1176
1177 -cache-file | --cache-file | --cache-fil | --cache-fi \
1178 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1179 ac_prev=cache_file ;;
1180 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1181 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1182 cache_file=$ac_optarg ;;
1183
1184 --config-cache | -C)
1185 cache_file=config.cache ;;
1186
1187 -datadir | --datadir | --datadi | --datad)
1188 ac_prev=datadir ;;
1189 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1190 datadir=$ac_optarg ;;
1191
1192 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1193 | --dataroo | --dataro | --datar)
1194 ac_prev=datarootdir ;;
1195 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1196 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1197 datarootdir=$ac_optarg ;;
1198
1199 -disable-* | --disable-*)
1200 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1201 # Reject names that are not valid shell variable names.
1202 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1203 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1204 { (exit 1); exit 1; }; }
1205 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1206 eval enable_$ac_feature=no ;;
1207
1208 -docdir | --docdir | --docdi | --doc | --do)
1209 ac_prev=docdir ;;
1210 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1211 docdir=$ac_optarg ;;
1212
1213 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1214 ac_prev=dvidir ;;
1215 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1216 dvidir=$ac_optarg ;;
1217
1218 -enable-* | --enable-*)
1219 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1220 # Reject names that are not valid shell variable names.
1221 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1222 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1223 { (exit 1); exit 1; }; }
1224 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1225 eval enable_$ac_feature=\$ac_optarg ;;
1226
1227 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1228 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1229 | --exec | --exe | --ex)
1230 ac_prev=exec_prefix ;;
1231 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1232 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1233 | --exec=* | --exe=* | --ex=*)
1234 exec_prefix=$ac_optarg ;;
1235
1236 -gas | --gas | --ga | --g)
1237 # Obsolete; use --with-gas.
1238 with_gas=yes ;;
1239
1240 -help | --help | --hel | --he | -h)
1241 ac_init_help=long ;;
1242 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1243 ac_init_help=recursive ;;
1244 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1245 ac_init_help=short ;;
1246
1247 -host | --host | --hos | --ho)
1248 ac_prev=host_alias ;;
1249 -host=* | --host=* | --hos=* | --ho=*)
1250 host_alias=$ac_optarg ;;
1251
1252 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1253 ac_prev=htmldir ;;
1254 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1255 | --ht=*)
1256 htmldir=$ac_optarg ;;
1257
1258 -includedir | --includedir | --includedi | --included | --include \
1259 | --includ | --inclu | --incl | --inc)
1260 ac_prev=includedir ;;
1261 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1262 | --includ=* | --inclu=* | --incl=* | --inc=*)
1263 includedir=$ac_optarg ;;
1264
1265 -infodir | --infodir | --infodi | --infod | --info | --inf)
1266 ac_prev=infodir ;;
1267 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1268 infodir=$ac_optarg ;;
1269
1270 -libdir | --libdir | --libdi | --libd)
1271 ac_prev=libdir ;;
1272 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1273 libdir=$ac_optarg ;;
1274
1275 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1276 | --libexe | --libex | --libe)
1277 ac_prev=libexecdir ;;
1278 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1279 | --libexe=* | --libex=* | --libe=*)
1280 libexecdir=$ac_optarg ;;
1281
1282 -localedir | --localedir | --localedi | --localed | --locale)
1283 ac_prev=localedir ;;
1284 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1285 localedir=$ac_optarg ;;
1286
1287 -localstatedir | --localstatedir | --localstatedi | --localstated \
1288 | --localstate | --localstat | --localsta | --localst | --locals)
1289 ac_prev=localstatedir ;;
1290 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1291 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1292 localstatedir=$ac_optarg ;;
1293
1294 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1295 ac_prev=mandir ;;
1296 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1297 mandir=$ac_optarg ;;
1298
1299 -nfp | --nfp | --nf)
1300 # Obsolete; use --without-fp.
1301 with_fp=no ;;
1302
1303 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1304 | --no-cr | --no-c | -n)
1305 no_create=yes ;;
1306
1307 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1308 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1309 no_recursion=yes ;;
1310
1311 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1312 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1313 | --oldin | --oldi | --old | --ol | --o)
1314 ac_prev=oldincludedir ;;
1315 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1316 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1317 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1318 oldincludedir=$ac_optarg ;;
1319
1320 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1321 ac_prev=prefix ;;
1322 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1323 prefix=$ac_optarg ;;
1324
1325 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1326 | --program-pre | --program-pr | --program-p)
1327 ac_prev=program_prefix ;;
1328 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1329 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1330 program_prefix=$ac_optarg ;;
1331
1332 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1333 | --program-suf | --program-su | --program-s)
1334 ac_prev=program_suffix ;;
1335 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1336 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1337 program_suffix=$ac_optarg ;;
1338
1339 -program-transform-name | --program-transform-name \
1340 | --program-transform-nam | --program-transform-na \
1341 | --program-transform-n | --program-transform- \
1342 | --program-transform | --program-transfor \
1343 | --program-transfo | --program-transf \
1344 | --program-trans | --program-tran \
1345 | --progr-tra | --program-tr | --program-t)
1346 ac_prev=program_transform_name ;;
1347 -program-transform-name=* | --program-transform-name=* \
1348 | --program-transform-nam=* | --program-transform-na=* \
1349 | --program-transform-n=* | --program-transform-=* \
1350 | --program-transform=* | --program-transfor=* \
1351 | --program-transfo=* | --program-transf=* \
1352 | --program-trans=* | --program-tran=* \
1353 | --progr-tra=* | --program-tr=* | --program-t=*)
1354 program_transform_name=$ac_optarg ;;
1355
1356 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1357 ac_prev=pdfdir ;;
1358 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1359 pdfdir=$ac_optarg ;;
1360
1361 -psdir | --psdir | --psdi | --psd | --ps)
1362 ac_prev=psdir ;;
1363 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1364 psdir=$ac_optarg ;;
1365
1366 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1367 | -silent | --silent | --silen | --sile | --sil)
1368 silent=yes ;;
1369
1370 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1371 ac_prev=sbindir ;;
1372 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1373 | --sbi=* | --sb=*)
1374 sbindir=$ac_optarg ;;
1375
1376 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1377 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1378 | --sharedst | --shareds | --shared | --share | --shar \
1379 | --sha | --sh)
1380 ac_prev=sharedstatedir ;;
1381 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1382 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1383 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1384 | --sha=* | --sh=*)
1385 sharedstatedir=$ac_optarg ;;
1386
1387 -site | --site | --sit)
1388 ac_prev=site ;;
1389 -site=* | --site=* | --sit=*)
1390 site=$ac_optarg ;;
1391
1392 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1393 ac_prev=srcdir ;;
1394 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1395 srcdir=$ac_optarg ;;
1396
1397 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1398 | --syscon | --sysco | --sysc | --sys | --sy)
1399 ac_prev=sysconfdir ;;
1400 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1401 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1402 sysconfdir=$ac_optarg ;;
1403
1404 -target | --target | --targe | --targ | --tar | --ta | --t)
1405 ac_prev=target_alias ;;
1406 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1407 target_alias=$ac_optarg ;;
1408
1409 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1410 verbose=yes ;;
1411
1412 -version | --version | --versio | --versi | --vers | -V)
1413 ac_init_version=: ;;
1414
1415 -with-* | --with-*)
1416 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1417 # Reject names that are not valid shell variable names.
1418 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1419 { echo "$as_me: error: invalid package name: $ac_package" >&2
1420 { (exit 1); exit 1; }; }
1421 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1422 eval with_$ac_package=\$ac_optarg ;;
1423
1424 -without-* | --without-*)
1425 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1426 # Reject names that are not valid shell variable names.
1427 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1428 { echo "$as_me: error: invalid package name: $ac_package" >&2
1429 { (exit 1); exit 1; }; }
1430 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1431 eval with_$ac_package=no ;;
1432
1433 --x)
1434 # Obsolete; use --with-x.
1435 with_x=yes ;;
1436
1437 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1438 | --x-incl | --x-inc | --x-in | --x-i)
1439 ac_prev=x_includes ;;
1440 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1441 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1442 x_includes=$ac_optarg ;;
1443
1444 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1445 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1446 ac_prev=x_libraries ;;
1447 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1448 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1449 x_libraries=$ac_optarg ;;
1450
1451 -*) { echo "$as_me: error: unrecognized option: $ac_option
1452 Try \`$0 --help' for more information." >&2
1453 { (exit 1); exit 1; }; }
1454 ;;
1455
1456 *=*)
1457 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1458 # Reject names that are not valid shell variable names.
1459 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1460 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1461 { (exit 1); exit 1; }; }
1462 eval $ac_envvar=\$ac_optarg
1463 export $ac_envvar ;;
1464
1465 *)
1466 # FIXME: should be removed in autoconf 3.0.
1467 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1468 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1469 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1470 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1471 ;;
1472
1473 esac
1474 done
1475
1476 if test -n "$ac_prev"; then
1477 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1478 { echo "$as_me: error: missing argument to $ac_option" >&2
1479 { (exit 1); exit 1; }; }
1480 fi
1481
1482 # Be sure to have absolute directory names.
1483 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1484 datadir sysconfdir sharedstatedir localstatedir includedir \
1485 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1486 libdir localedir mandir
1487 do
1488 eval ac_val=\$$ac_var
1489 case $ac_val in
1490 [\\/$]* | ?:[\\/]* ) continue;;
1491 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1492 esac
1493 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1494 { (exit 1); exit 1; }; }
1495 done
1496
1497 # There might be people who depend on the old broken behavior: `$host'
1498 # used to hold the argument of --host etc.
1499 # FIXME: To remove some day.
1500 build=$build_alias
1501 host=$host_alias
1502 target=$target_alias
1503
1504 # FIXME: To remove some day.
1505 if test "x$host_alias" != x; then
1506 if test "x$build_alias" = x; then
1507 cross_compiling=maybe
1508 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1509 If a cross compiler is detected then cross compile mode will be used." >&2
1510 elif test "x$build_alias" != "x$host_alias"; then
1511 cross_compiling=yes
1512 fi
1513 fi
1514
1515 ac_tool_prefix=
1516 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1517
1518 test "$silent" = yes && exec 6>/dev/null
1519
1520
1521 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1522 ac_ls_di=`ls -di .` &&
1523 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1524 { echo "$as_me: error: Working directory cannot be determined" >&2
1525 { (exit 1); exit 1; }; }
1526 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1527 { echo "$as_me: error: pwd does not report name of working directory" >&2
1528 { (exit 1); exit 1; }; }
1529
1530
1531 # Find the source files, if location was not specified.
1532 if test -z "$srcdir"; then
1533 ac_srcdir_defaulted=yes
1534 # Try the directory containing this script, then the parent directory.
1535 ac_confdir=`$as_dirname -- "$0" ||
1536 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1537 X"$0" : 'X\(//\)[^/]' \| \
1538 X"$0" : 'X\(//\)$' \| \
1539 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1540 echo X"$0" |
1541 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1542 s//\1/
1543 q
1544 }
1545 /^X\(\/\/\)[^/].*/{
1546 s//\1/
1547 q
1548 }
1549 /^X\(\/\/\)$/{
1550 s//\1/
1551 q
1552 }
1553 /^X\(\/\).*/{
1554 s//\1/
1555 q
1556 }
1557 s/.*/./; q'`
1558 srcdir=$ac_confdir
1559 if test ! -r "$srcdir/$ac_unique_file"; then
1560 srcdir=..
1561 fi
1562 else
1563 ac_srcdir_defaulted=no
1564 fi
1565 if test ! -r "$srcdir/$ac_unique_file"; then
1566 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1567 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1568 { (exit 1); exit 1; }; }
1569 fi
1570 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1571 ac_abs_confdir=`(
1572 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1573 { (exit 1); exit 1; }; }
1574 pwd)`
1575 # When building in place, set srcdir=.
1576 if test "$ac_abs_confdir" = "$ac_pwd"; then
1577 srcdir=.
1578 fi
1579 # Remove unnecessary trailing slashes from srcdir.
1580 # Double slashes in file names in object file debugging info
1581 # mess up M-x gdb in Emacs.
1582 case $srcdir in
1583 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1584 esac
1585 for ac_var in $ac_precious_vars; do
1586 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1587 eval ac_env_${ac_var}_value=\$${ac_var}
1588 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1589 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1590 done
1591
1592 #
1593 # Report the --help message.
1594 #
1595 if test "$ac_init_help" = "long"; then
1596 # Omit some internal or obsolete options to make the list less imposing.
1597 # This message is too long to be a string in the A/UX 3.1 sh.
1598 cat <<_ACEOF
1599 \`configure' configures wxWidgets 2.9.2 to adapt to many kinds of systems.
1600
1601 Usage: $0 [OPTION]... [VAR=VALUE]...
1602
1603 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1604 VAR=VALUE. See below for descriptions of some of the useful variables.
1605
1606 Defaults for the options are specified in brackets.
1607
1608 Configuration:
1609 -h, --help display this help and exit
1610 --help=short display options specific to this package
1611 --help=recursive display the short help of all the included packages
1612 -V, --version display version information and exit
1613 -q, --quiet, --silent do not print \`checking...' messages
1614 --cache-file=FILE cache test results in FILE [disabled]
1615 -C, --config-cache alias for \`--cache-file=config.cache'
1616 -n, --no-create do not create output files
1617 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1618
1619 Installation directories:
1620 --prefix=PREFIX install architecture-independent files in PREFIX
1621 [$ac_default_prefix]
1622 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1623 [PREFIX]
1624
1625 By default, \`make install' will install all the files in
1626 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1627 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1628 for instance \`--prefix=\$HOME'.
1629
1630 For better control, use the options below.
1631
1632 Fine tuning of the installation directories:
1633 --bindir=DIR user executables [EPREFIX/bin]
1634 --sbindir=DIR system admin executables [EPREFIX/sbin]
1635 --libexecdir=DIR program executables [EPREFIX/libexec]
1636 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1637 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1638 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1639 --libdir=DIR object code libraries [EPREFIX/lib]
1640 --includedir=DIR C header files [PREFIX/include]
1641 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1642 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1643 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1644 --infodir=DIR info documentation [DATAROOTDIR/info]
1645 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1646 --mandir=DIR man documentation [DATAROOTDIR/man]
1647 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1648 --htmldir=DIR html documentation [DOCDIR]
1649 --dvidir=DIR dvi documentation [DOCDIR]
1650 --pdfdir=DIR pdf documentation [DOCDIR]
1651 --psdir=DIR ps documentation [DOCDIR]
1652 _ACEOF
1653
1654 cat <<\_ACEOF
1655
1656 X features:
1657 --x-includes=DIR X include files are in DIR
1658 --x-libraries=DIR X library files are in DIR
1659
1660 System types:
1661 --build=BUILD configure for building on BUILD [guessed]
1662 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1663 _ACEOF
1664 fi
1665
1666 if test -n "$ac_init_help"; then
1667 case $ac_init_help in
1668 short | recursive ) echo "Configuration of wxWidgets 2.9.2:";;
1669 esac
1670 cat <<\_ACEOF
1671
1672 Optional Features:
1673 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1674 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1675 --disable-gui don't build GUI parts of the library
1676 --enable-monolithic build wxWidgets as single library
1677 --enable-plugins build parts of wxWidgets as loadable components
1678 --enable-official_build official build of wxWidgets (win32 DLL only)
1679 --enable-vendor=VENDOR vendor name (win32 DLL only)
1680 --disable-all-features disable all optional features to build minimal library
1681 --enable-universal use wxWidgets GUI controls instead of native ones
1682 --enable-nanox use NanoX
1683 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1684 --enable-gpe use GNOME PDA Environment features if possible
1685 --enable-debug build library for debugging
1686 --disable-debug_flag disable all debugging support
1687 --enable-debug_info generate debug information
1688 --enable-debug_gdb create code with extra GDB debugging information
1689 --enable-debug_cntxt obsolete, don't use: use wxDebugContext
1690 --enable-mem_tracing obsolete, don't use: create code with memory tracing
1691 --disable-shared create static library instead of shared
1692 --enable-stl use STL for containers
1693 --enable-std_iostreams use standard C++ stream classes
1694 --enable-std_string use standard C++ string classes
1695 --disable-unicode compile without Unicode support
1696 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1697 --enable-utf8 use UTF-8 representation for strings (Unix only)
1698 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1699 --enable-extended_rtti use extended RTTI (XTI)
1700 --enable-omf use OMF object format
1701 --disable-optimise compile without optimisations
1702 --enable-profile create code with profiling information
1703 --enable-no_rtti create code without RTTI information
1704 --enable-no_exceptions create code without C++ exceptions handling
1705 --enable-permissive compile code disregarding strict ANSI
1706 --enable-no_deps create code without dependency information
1707 --disable-vararg_macros don't use vararg macros, even if they are supported
1708 --enable-universal_binary create universal binary with Mac PPC and i386 (and x86_64 if using Cocoa) architectures
1709 --enable-macosx_arch=ARCH build for just the specified architecture
1710 --enable-compat26 enable wxWidgets 2.6 compatibility
1711 --disable-compat28 disable wxWidgets 2.8 compatibility
1712 --disable-rpath disable use of rpath for uninstalled builds
1713 --enable-objc_uniquifying enable Objective-C class name uniquifying
1714 --disable-visibility disable use of ELF symbols visibility even if supported
1715 --disable-tls disable use of compiler TLS support
1716 --enable-intl use internationalization system
1717 --enable-xlocale use x-locale support (requires wxLocale)
1718 --enable-config use wxConfig (and derived) classes
1719 --enable-protocols use wxProtocol and derived classes
1720 --enable-ftp use wxFTP (requires wxProtocol
1721 --enable-http use wxHTTP (requires wxProtocol
1722 --enable-fileproto use wxFileProto class (requires wxProtocol
1723 --enable-sockets use socket/network classes
1724 --enable-ipv6 enable IPv6 support in wxSocket
1725 --enable-ole use OLE classes (Win32 only)
1726 --enable-dataobj use data object classes
1727 --enable-ipc use interprocess communication (wxSocket etc.)
1728 --enable-baseevtloop use event loop in console programs too
1729 --enable-epollloop use wxEpollDispatcher class (Linux only)
1730 --enable-selectloop use wxSelectDispatcher class
1731 --enable-any use wxAny class
1732 --enable-apple_ieee use the Apple IEEE codec
1733 --enable-arcstream use wxArchive streams
1734 --enable-base64 use base64 encoding/decoding functions
1735 --enable-backtrace use wxStackWalker class for getting backtraces
1736 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1737 --enable-cmdline use wxCmdLineParser class
1738 --enable-datetime use wxDateTime class
1739 --enable-debugreport use wxDebugReport class
1740 --enable-dialupman use dialup network classes
1741 --enable-dynlib use wxLibrary class for DLL loading
1742 --enable-dynamicloader use (new) wxDynamicLibrary class
1743 --enable-exceptions build exception-safe library
1744 --enable-ffile use wxFFile class
1745 --enable-file use wxFile class
1746 --enable-filehistory use wxFileHistory class
1747 --enable-filesystem use virtual file systems classes
1748 --enable-fontenum use wxFontEnumerator class
1749 --enable-fontmap use font encodings conversion classes
1750 --enable-fs_archive use virtual archive filesystems
1751 --enable-fs_inet use virtual HTTP/FTP filesystems
1752 --enable-fs_zip now replaced by fs_archive
1753 --enable-fswatcher use wxFileSystemWatcher class
1754 --enable-geometry use geometry class
1755 --enable-log use logging system
1756 --enable-longlong use wxLongLong class
1757 --enable-mimetype use wxMimeTypesManager
1758 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1759 --enable-snglinst use wxSingleInstanceChecker class
1760 --enable-sound use wxSound class
1761 --enable-stdpaths use wxStandardPaths class
1762 --enable-stopwatch use wxStopWatch class
1763 --enable-streams use wxStream etc classes
1764 --enable-sysoptions use wxSystemOptions
1765 --enable-tarstream use wxTar streams
1766 --enable-textbuf use wxTextBuffer class
1767 --enable-textfile use wxTextFile class
1768 --enable-timer use wxTimer class
1769 --enable-variant use wxVariant class
1770 --enable-zipstream use wxZip streams
1771 --enable-url use wxURL class
1772 --enable-protocol use wxProtocol class
1773 --enable-protocol-http HTTP support in wxProtocol
1774 --enable-protocol-ftp FTP support in wxProtocol
1775 --enable-protocol-file FILE support in wxProtocol
1776 --enable-threads use threads
1777 --enable-iniconf use wxIniConfig (Win32 only)
1778 --enable-regkey use wxRegKey class (Win32 only)
1779 --enable-docview use document view architecture
1780 --enable-help use help subsystem
1781 --enable-mshtmlhelp use MS HTML Help (win32)
1782 --enable-html use wxHTML sub-library
1783 --enable-htmlhelp use wxHTML-based help
1784 --enable-xrc use XRC resources sub-library
1785 --enable-aui use AUI docking library
1786 --enable-propgrid use wxPropertyGrid library
1787 --enable-ribbon use wxRibbon library
1788 --enable-stc use wxStyledTextCtrl library
1789 --enable-constraints use layout-constraints system
1790 --enable-loggui use standard GUI logger
1791 --enable-logwin use wxLogWindow
1792 --enable-logdialog use wxLogDialog
1793 --enable-mdi use multiple document interface architecture
1794 --enable-mdidoc use docview architecture with MDI
1795 --enable-mediactrl use wxMediaCtrl class
1796 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1797 --enable-webkit use wxWebKitCtrl (Mac)
1798 --enable-richtext use wxRichTextCtrl
1799 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1800 --enable-printarch use printing architecture
1801 --enable-svg use wxSVGFileDC device context
1802 --enable-graphics_ctx use graphics context 2D drawing API
1803 --enable-clipboard use wxClipboard class
1804 --enable-dnd use Drag'n'Drop classes
1805 --enable-metafile use win32 metafiles
1806 --disable-controls disable compilation of all standard controls
1807 --enable-accel use accelerators
1808 --enable-animatectrl use wxAnimationCtrl class
1809 --enable-arttango use Tango icons in wxArtProvider
1810 --enable-bmpbutton use wxBitmapButton class
1811 --enable-bmpcombobox use wxBitmapComboBox class
1812 --enable-button use wxButton class
1813 --enable-calendar use wxCalendarCtrl class
1814 --enable-caret use wxCaret class
1815 --enable-checkbox use wxCheckBox class
1816 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1817 --enable-choice use wxChoice class
1818 --enable-choicebook use wxChoicebook class
1819 --enable-collpane use wxCollapsiblePane class
1820 --enable-colourpicker use wxColourPickerCtrl class
1821 --enable-combobox use wxComboBox class
1822 --enable-comboctrl use wxComboCtrl class
1823 --enable-commandlinkbutton use wxCommmandLinkButton class
1824 --enable-dataviewctrl use wxDataViewCtrl class
1825 --enable-datepick use wxDatePickerCtrl class
1826 --enable-detect_sm use code to detect X11 session manager
1827 --enable-dirpicker use wxDirPickerCtrl class
1828 --enable-display use wxDisplay class
1829 --enable-editablebox use wxEditableListBox class
1830 --enable-filectrl use wxFileCtrl class
1831 --enable-filepicker use wxFilePickerCtrl class
1832 --enable-fontpicker use wxFontPickerCtrl class
1833 --enable-gauge use wxGauge class
1834 --enable-grid use wxGrid class
1835 --enable-headerctrl use wxHeaderCtrl class
1836 --enable-hyperlink use wxHyperlinkCtrl class
1837 --enable-imaglist use wxImageList class
1838 --enable-infobar use wxInfoBar class
1839 --enable-listbook use wxListbook class
1840 --enable-listbox use wxListBox class
1841 --enable-listctrl use wxListCtrl class
1842 --enable-notebook use wxNotebook class
1843 --enable-notifmsg use wxNotificationMessage class
1844 --enable-odcombobox use wxOwnerDrawnComboBox class
1845 --enable-popupwin use wxPopUpWindow class
1846 --enable-radiobox use wxRadioBox class
1847 --enable-radiobtn use wxRadioButton class
1848 --enable-richmsgdlg use wxRichMessageDialog class
1849 --enable-rearrangectrl use wxRearrangeList/Ctrl/Dialog
1850 --enable-sash use wxSashWindow class
1851 --enable-scrollbar use wxScrollBar class and scrollable windows
1852 --enable-searchctrl use wxSearchCtrl class
1853 --enable-slider use wxSlider class
1854 --enable-spinbtn use wxSpinButton class
1855 --enable-spinctrl use wxSpinCtrl class
1856 --enable-splitter use wxSplitterWindow class
1857 --enable-statbmp use wxStaticBitmap class
1858 --enable-statbox use wxStaticBox class
1859 --enable-statline use wxStaticLine class
1860 --enable-stattext use wxStaticText class
1861 --enable-statusbar use wxStatusBar class
1862 --enable-taskbaricon use wxTaskBarIcon class
1863 --enable-tbarnative use native wxToolBar class
1864 --enable-textctrl use wxTextCtrl class
1865 --enable-tipwindow use wxTipWindow class
1866 --enable-togglebtn use wxToggleButton class
1867 --enable-toolbar use wxToolBar class
1868 --enable-toolbook use wxToolbook class
1869 --enable-treebook use wxTreebook class
1870 --enable-treectrl use wxTreeCtrl class
1871 --enable-commondlg use all common dialogs
1872 --enable-aboutdlg use wxAboutBox
1873 --enable-choicedlg use wxChoiceDialog
1874 --enable-coldlg use wxColourDialog
1875 --enable-filedlg use wxFileDialog
1876 --enable-finddlg use wxFindReplaceDialog
1877 --enable-fontdlg use wxFontDialog
1878 --enable-dirdlg use wxDirDialog
1879 --enable-msgdlg use wxMessageDialog
1880 --enable-numberdlg use wxNumberEntryDialog
1881 --enable-splash use wxSplashScreen
1882 --enable-textdlg use wxTextDialog
1883 --enable-tipdlg use startup tips
1884 --enable-progressdlg use wxProgressDialog
1885 --enable-wizarddlg use wxWizard
1886 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1887 --enable-miniframe use wxMiniFrame class
1888 --enable-tooltips use wxToolTip class
1889 --enable-splines use spline drawing code
1890 --enable-mousewheel use mousewheel
1891 --enable-validators use wxValidator and derived classes
1892 --enable-busyinfo use wxBusyInfo
1893 --enable-joystick use wxJoystick
1894 --enable-metafiles use wxMetaFile (Win32 only)
1895 --enable-dragimage use wxDragImage
1896 --enable-accessibility enable accessibility support
1897 --enable-uiactionsim use wxUIActionSimulator (experimental)
1898 --enable-palette use wxPalette class
1899 --enable-image use wxImage class
1900 --enable-gif use gif images (GIF file format)
1901 --enable-pcx use pcx images (PCX file format)
1902 --enable-tga use tga images (TGA file format)
1903 --enable-iff use iff images (IFF file format)
1904 --enable-pnm use pnm images (PNM file format)
1905 --enable-xpm use xpm images (XPM file format)
1906 --enable-ico_cur use Windows ICO and CUR formats
1907 --enable-dccache cache temporary wxDC objects (Win32 only)
1908 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1909 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1910 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1911 --enable-wxdib use wxDIB class (Win32 only)
1912 --enable-autoidman use automatic ids management
1913 --disable-largefile omit support for large files
1914 --disable-gtktest do not try to compile and run a test GTK+ program
1915 --disable-gtktest Do not try to compile and run a test GTK program
1916 --disable-sdltest Do not try to compile and run a test SDL program
1917 --enable-omf use OMF object format (OS/2)
1918 --disable-dependency-tracking
1919 don't use dependency tracking even if the compiler
1920 can
1921 --disable-precomp-headers
1922 don't use precompiled headers even if compiler can
1923
1924 Optional Packages:
1925 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1926 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1927 --without-subdirs don't generate makefiles for samples/demos/...
1928 --with-flavour=NAME specify a name to identify this build
1929 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1930 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1931 --with-motif use Motif/Lesstif
1932 --with-osx_carbon use Mac OS X (Carbon)
1933 --with-osx_cocoa use Mac OS X (Cocoa)
1934 --with-osx_iphone use iPhone OS X port
1935 --with-osx use Mac OS X (default port, currently Carbon)
1936 --with-carbon same as --with-osx_carbon
1937 --with-cocoa same as --with-osx_cocoa
1938 --with-iphone same as --with-osx_iphone
1939 --with-mac same as --with-osx
1940 --with-old_cocoa use old, deprecated, Cocoa port
1941 --with-wine use Wine
1942 --with-msw use MS-Windows
1943 --with-pm use OS/2 Presentation Manager
1944 --with-mgl use SciTech MGL
1945 --with-directfb use DirectFB
1946 --with-microwin use MicroWindows
1947 --with-x11 use X11
1948 --with-libpng use libpng (PNG image format)
1949 --with-libjpeg use libjpeg (JPEG file format)
1950 --with-libtiff use libtiff (TIFF file format)
1951 --with-libxpm use libxpm (XPM file format)
1952 --with-libiconv use libiconv (character conversion)
1953 --with-libmspack use libmspack (CHM help files loading)
1954 --without-gtkprint don't use GTK printing support
1955 --without-gnomeprint don't use GNOME printing libraries
1956 --with-gnomevfs use GNOME VFS for associating MIME types
1957 --with-hildon use Hildon framework for Nokia 770/800/810
1958 --with-opengl use OpenGL (or Mesa)
1959 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1960 --with-sdl use SDL for audio on Unix
1961 --with-regex enable support for wxRegEx class
1962 --with-zlib use zlib for LZW compression
1963 --with-expat enable XML support using expat parser
1964 --with-macosx-sdk=PATH use an OS X SDK at PATH
1965 --with-macosx-version-min=VER build binaries which require at least this OS X version
1966 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1967 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1968 --with-x use the X Window System
1969 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1970 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1971 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1972 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1973 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1974
1975 Some influential environment variables:
1976 CC C compiler command
1977 CFLAGS C compiler flags
1978 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1979 nonstandard directory <lib dir>
1980 LIBS libraries to pass to the linker, e.g. -l<library>
1981 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1982 you have headers in a nonstandard directory <include dir>
1983 CPP C preprocessor
1984 CXX C++ compiler command
1985 CXXFLAGS C++ compiler flags
1986 CXXCPP C++ preprocessor
1987 PKG_CONFIG path to pkg-config utility
1988 DIRECTFB_CFLAGS
1989 C compiler flags for DIRECTFB, overriding pkg-config
1990 DIRECTFB_LIBS
1991 linker flags for DIRECTFB, overriding pkg-config
1992 XMKMF Path to xmkmf, Makefile generator for X Window System
1993 PANGOX_CFLAGS
1994 C compiler flags for PANGOX, overriding pkg-config
1995 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1996 PANGOFT2_CFLAGS
1997 C compiler flags for PANGOFT2, overriding pkg-config
1998 PANGOFT2_LIBS
1999 linker flags for PANGOFT2, overriding pkg-config
2000 PANGOXFT_CFLAGS
2001 C compiler flags for PANGOXFT, overriding pkg-config
2002 PANGOXFT_LIBS
2003 linker flags for PANGOXFT, overriding pkg-config
2004 GTKPRINT_CFLAGS
2005 C compiler flags for GTKPRINT, overriding pkg-config
2006 GTKPRINT_LIBS
2007 linker flags for GTKPRINT, overriding pkg-config
2008 LIBGNOMEPRINTUI_CFLAGS
2009 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2010 LIBGNOMEPRINTUI_LIBS
2011 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2012 GNOMEVFS_CFLAGS
2013 C compiler flags for GNOMEVFS, overriding pkg-config
2014 GNOMEVFS_LIBS
2015 linker flags for GNOMEVFS, overriding pkg-config
2016 HILDON_CFLAGS
2017 C compiler flags for HILDON, overriding pkg-config
2018 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2019 HILDON2_CFLAGS
2020 C compiler flags for HILDON2, overriding pkg-config
2021 HILDON2_LIBS
2022 linker flags for HILDON2, overriding pkg-config
2023 CAIRO_CFLAGS
2024 C compiler flags for CAIRO, overriding pkg-config
2025 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2026 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2027 GST_LIBS linker flags for GST, overriding pkg-config
2028
2029 Use these variables to override the choices made by `configure' or to help
2030 it to find libraries and programs with nonstandard names/locations.
2031
2032 Report bugs to <wx-dev@lists.wxwidgets.org>.
2033 _ACEOF
2034 ac_status=$?
2035 fi
2036
2037 if test "$ac_init_help" = "recursive"; then
2038 # If there are subdirs, report their specific --help.
2039 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2040 test -d "$ac_dir" || continue
2041 ac_builddir=.
2042
2043 case "$ac_dir" in
2044 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2045 *)
2046 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2047 # A ".." for each directory in $ac_dir_suffix.
2048 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2049 case $ac_top_builddir_sub in
2050 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2051 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2052 esac ;;
2053 esac
2054 ac_abs_top_builddir=$ac_pwd
2055 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2056 # for backward compatibility:
2057 ac_top_builddir=$ac_top_build_prefix
2058
2059 case $srcdir in
2060 .) # We are building in place.
2061 ac_srcdir=.
2062 ac_top_srcdir=$ac_top_builddir_sub
2063 ac_abs_top_srcdir=$ac_pwd ;;
2064 [\\/]* | ?:[\\/]* ) # Absolute name.
2065 ac_srcdir=$srcdir$ac_dir_suffix;
2066 ac_top_srcdir=$srcdir
2067 ac_abs_top_srcdir=$srcdir ;;
2068 *) # Relative name.
2069 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2070 ac_top_srcdir=$ac_top_build_prefix$srcdir
2071 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2072 esac
2073 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2074
2075 cd "$ac_dir" || { ac_status=$?; continue; }
2076 # Check for guested configure.
2077 if test -f "$ac_srcdir/configure.gnu"; then
2078 echo &&
2079 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2080 elif test -f "$ac_srcdir/configure"; then
2081 echo &&
2082 $SHELL "$ac_srcdir/configure" --help=recursive
2083 else
2084 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2085 fi || ac_status=$?
2086 cd "$ac_pwd" || { ac_status=$?; break; }
2087 done
2088 fi
2089
2090 test -n "$ac_init_help" && exit $ac_status
2091 if $ac_init_version; then
2092 cat <<\_ACEOF
2093 wxWidgets configure 2.9.2
2094 generated by GNU Autoconf 2.61
2095
2096 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2097 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2098 This configure script is free software; the Free Software Foundation
2099 gives unlimited permission to copy, distribute and modify it.
2100 _ACEOF
2101 exit
2102 fi
2103 cat >config.log <<_ACEOF
2104 This file contains any messages produced by compilers while
2105 running configure, to aid debugging if configure makes a mistake.
2106
2107 It was created by wxWidgets $as_me 2.9.2, which was
2108 generated by GNU Autoconf 2.61. Invocation command line was
2109
2110 $ $0 $@
2111
2112 _ACEOF
2113 exec 5>>config.log
2114 {
2115 cat <<_ASUNAME
2116 ## --------- ##
2117 ## Platform. ##
2118 ## --------- ##
2119
2120 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2121 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2122 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2123 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2124 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2125
2126 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2127 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2128
2129 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2130 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2131 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2132 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2133 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2134 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2135 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2136
2137 _ASUNAME
2138
2139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2140 for as_dir in $PATH
2141 do
2142 IFS=$as_save_IFS
2143 test -z "$as_dir" && as_dir=.
2144 echo "PATH: $as_dir"
2145 done
2146 IFS=$as_save_IFS
2147
2148 } >&5
2149
2150 cat >&5 <<_ACEOF
2151
2152
2153 ## ----------- ##
2154 ## Core tests. ##
2155 ## ----------- ##
2156
2157 _ACEOF
2158
2159
2160 # Keep a trace of the command line.
2161 # Strip out --no-create and --no-recursion so they do not pile up.
2162 # Strip out --silent because we don't want to record it for future runs.
2163 # Also quote any args containing shell meta-characters.
2164 # Make two passes to allow for proper duplicate-argument suppression.
2165 ac_configure_args=
2166 ac_configure_args0=
2167 ac_configure_args1=
2168 ac_must_keep_next=false
2169 for ac_pass in 1 2
2170 do
2171 for ac_arg
2172 do
2173 case $ac_arg in
2174 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2175 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2176 | -silent | --silent | --silen | --sile | --sil)
2177 continue ;;
2178 *\'*)
2179 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2180 esac
2181 case $ac_pass in
2182 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2183 2)
2184 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2185 if test $ac_must_keep_next = true; then
2186 ac_must_keep_next=false # Got value, back to normal.
2187 else
2188 case $ac_arg in
2189 *=* | --config-cache | -C | -disable-* | --disable-* \
2190 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2191 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2192 | -with-* | --with-* | -without-* | --without-* | --x)
2193 case "$ac_configure_args0 " in
2194 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2195 esac
2196 ;;
2197 -* ) ac_must_keep_next=true ;;
2198 esac
2199 fi
2200 ac_configure_args="$ac_configure_args '$ac_arg'"
2201 ;;
2202 esac
2203 done
2204 done
2205 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2206 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2207
2208 # When interrupted or exit'd, cleanup temporary files, and complete
2209 # config.log. We remove comments because anyway the quotes in there
2210 # would cause problems or look ugly.
2211 # WARNING: Use '\'' to represent an apostrophe within the trap.
2212 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2213 trap 'exit_status=$?
2214 # Save into config.log some information that might help in debugging.
2215 {
2216 echo
2217
2218 cat <<\_ASBOX
2219 ## ---------------- ##
2220 ## Cache variables. ##
2221 ## ---------------- ##
2222 _ASBOX
2223 echo
2224 # The following way of writing the cache mishandles newlines in values,
2225 (
2226 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2227 eval ac_val=\$$ac_var
2228 case $ac_val in #(
2229 *${as_nl}*)
2230 case $ac_var in #(
2231 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2232 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2233 esac
2234 case $ac_var in #(
2235 _ | IFS | as_nl) ;; #(
2236 *) $as_unset $ac_var ;;
2237 esac ;;
2238 esac
2239 done
2240 (set) 2>&1 |
2241 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2242 *${as_nl}ac_space=\ *)
2243 sed -n \
2244 "s/'\''/'\''\\\\'\'''\''/g;
2245 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2246 ;; #(
2247 *)
2248 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2249 ;;
2250 esac |
2251 sort
2252 )
2253 echo
2254
2255 cat <<\_ASBOX
2256 ## ----------------- ##
2257 ## Output variables. ##
2258 ## ----------------- ##
2259 _ASBOX
2260 echo
2261 for ac_var in $ac_subst_vars
2262 do
2263 eval ac_val=\$$ac_var
2264 case $ac_val in
2265 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2266 esac
2267 echo "$ac_var='\''$ac_val'\''"
2268 done | sort
2269 echo
2270
2271 if test -n "$ac_subst_files"; then
2272 cat <<\_ASBOX
2273 ## ------------------- ##
2274 ## File substitutions. ##
2275 ## ------------------- ##
2276 _ASBOX
2277 echo
2278 for ac_var in $ac_subst_files
2279 do
2280 eval ac_val=\$$ac_var
2281 case $ac_val in
2282 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2283 esac
2284 echo "$ac_var='\''$ac_val'\''"
2285 done | sort
2286 echo
2287 fi
2288
2289 if test -s confdefs.h; then
2290 cat <<\_ASBOX
2291 ## ----------- ##
2292 ## confdefs.h. ##
2293 ## ----------- ##
2294 _ASBOX
2295 echo
2296 cat confdefs.h
2297 echo
2298 fi
2299 test "$ac_signal" != 0 &&
2300 echo "$as_me: caught signal $ac_signal"
2301 echo "$as_me: exit $exit_status"
2302 } >&5
2303 rm -f core *.core core.conftest.* &&
2304 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2305 exit $exit_status
2306 ' 0
2307 for ac_signal in 1 2 13 15; do
2308 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2309 done
2310 ac_signal=0
2311
2312 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2313 rm -f -r conftest* confdefs.h
2314
2315 # Predefined preprocessor variables.
2316
2317 cat >>confdefs.h <<_ACEOF
2318 #define PACKAGE_NAME "$PACKAGE_NAME"
2319 _ACEOF
2320
2321
2322 cat >>confdefs.h <<_ACEOF
2323 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2324 _ACEOF
2325
2326
2327 cat >>confdefs.h <<_ACEOF
2328 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2329 _ACEOF
2330
2331
2332 cat >>confdefs.h <<_ACEOF
2333 #define PACKAGE_STRING "$PACKAGE_STRING"
2334 _ACEOF
2335
2336
2337 cat >>confdefs.h <<_ACEOF
2338 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2339 _ACEOF
2340
2341
2342 # Let the site file select an alternate cache file if it wants to.
2343 # Prefer explicitly selected file to automatically selected ones.
2344 if test -n "$CONFIG_SITE"; then
2345 set x "$CONFIG_SITE"
2346 elif test "x$prefix" != xNONE; then
2347 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2348 else
2349 set x "$ac_default_prefix/share/config.site" \
2350 "$ac_default_prefix/etc/config.site"
2351 fi
2352 shift
2353 for ac_site_file
2354 do
2355 if test -r "$ac_site_file"; then
2356 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2357 echo "$as_me: loading site script $ac_site_file" >&6;}
2358 sed 's/^/| /' "$ac_site_file" >&5
2359 . "$ac_site_file"
2360 fi
2361 done
2362
2363 if test -r "$cache_file"; then
2364 # Some versions of bash will fail to source /dev/null (special
2365 # files actually), so we avoid doing that.
2366 if test -f "$cache_file"; then
2367 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2368 echo "$as_me: loading cache $cache_file" >&6;}
2369 case $cache_file in
2370 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2371 *) . "./$cache_file";;
2372 esac
2373 fi
2374 else
2375 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2376 echo "$as_me: creating cache $cache_file" >&6;}
2377 >$cache_file
2378 fi
2379
2380 # Check that the precious variables saved in the cache have kept the same
2381 # value.
2382 ac_cache_corrupted=false
2383 for ac_var in $ac_precious_vars; do
2384 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2385 eval ac_new_set=\$ac_env_${ac_var}_set
2386 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2387 eval ac_new_val=\$ac_env_${ac_var}_value
2388 case $ac_old_set,$ac_new_set in
2389 set,)
2390 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2391 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2392 ac_cache_corrupted=: ;;
2393 ,set)
2394 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2395 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2396 ac_cache_corrupted=: ;;
2397 ,);;
2398 *)
2399 if test "x$ac_old_val" != "x$ac_new_val"; then
2400 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2401 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2402 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2403 echo "$as_me: former value: $ac_old_val" >&2;}
2404 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2405 echo "$as_me: current value: $ac_new_val" >&2;}
2406 ac_cache_corrupted=:
2407 fi;;
2408 esac
2409 # Pass precious variables to config.status.
2410 if test "$ac_new_set" = set; then
2411 case $ac_new_val in
2412 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2413 *) ac_arg=$ac_var=$ac_new_val ;;
2414 esac
2415 case " $ac_configure_args " in
2416 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2417 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2418 esac
2419 fi
2420 done
2421 if $ac_cache_corrupted; then
2422 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2423 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2424 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2425 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2426 { (exit 1); exit 1; }; }
2427 fi
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453 ac_ext=c
2454 ac_cpp='$CPP $CPPFLAGS'
2455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2458
2459
2460
2461
2462
2463 ac_aux_dir=
2464 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2465 if test -f "$ac_dir/install-sh"; then
2466 ac_aux_dir=$ac_dir
2467 ac_install_sh="$ac_aux_dir/install-sh -c"
2468 break
2469 elif test -f "$ac_dir/install.sh"; then
2470 ac_aux_dir=$ac_dir
2471 ac_install_sh="$ac_aux_dir/install.sh -c"
2472 break
2473 elif test -f "$ac_dir/shtool"; then
2474 ac_aux_dir=$ac_dir
2475 ac_install_sh="$ac_aux_dir/shtool install -c"
2476 break
2477 fi
2478 done
2479 if test -z "$ac_aux_dir"; then
2480 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2481 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2482 { (exit 1); exit 1; }; }
2483 fi
2484
2485 # These three variables are undocumented and unsupported,
2486 # and are intended to be withdrawn in a future Autoconf release.
2487 # They can cause serious problems if a builder's source tree is in a directory
2488 # whose full name contains unusual characters.
2489 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2490 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2491 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2492
2493
2494 # Make sure we can run config.sub.
2495 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2496 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2497 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2498 { (exit 1); exit 1; }; }
2499
2500 { echo "$as_me:$LINENO: checking build system type" >&5
2501 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2502 if test "${ac_cv_build+set}" = set; then
2503 echo $ECHO_N "(cached) $ECHO_C" >&6
2504 else
2505 ac_build_alias=$build_alias
2506 test "x$ac_build_alias" = x &&
2507 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2508 test "x$ac_build_alias" = x &&
2509 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2510 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2511 { (exit 1); exit 1; }; }
2512 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2513 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2514 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2515 { (exit 1); exit 1; }; }
2516
2517 fi
2518 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2519 echo "${ECHO_T}$ac_cv_build" >&6; }
2520 case $ac_cv_build in
2521 *-*-*) ;;
2522 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2523 echo "$as_me: error: invalid value of canonical build" >&2;}
2524 { (exit 1); exit 1; }; };;
2525 esac
2526 build=$ac_cv_build
2527 ac_save_IFS=$IFS; IFS='-'
2528 set x $ac_cv_build
2529 shift
2530 build_cpu=$1
2531 build_vendor=$2
2532 shift; shift
2533 # Remember, the first character of IFS is used to create $*,
2534 # except with old shells:
2535 build_os=$*
2536 IFS=$ac_save_IFS
2537 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2538
2539
2540 { echo "$as_me:$LINENO: checking host system type" >&5
2541 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2542 if test "${ac_cv_host+set}" = set; then
2543 echo $ECHO_N "(cached) $ECHO_C" >&6
2544 else
2545 if test "x$host_alias" = x; then
2546 ac_cv_host=$ac_cv_build
2547 else
2548 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2549 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2550 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2551 { (exit 1); exit 1; }; }
2552 fi
2553
2554 fi
2555 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2556 echo "${ECHO_T}$ac_cv_host" >&6; }
2557 case $ac_cv_host in
2558 *-*-*) ;;
2559 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2560 echo "$as_me: error: invalid value of canonical host" >&2;}
2561 { (exit 1); exit 1; }; };;
2562 esac
2563 host=$ac_cv_host
2564 ac_save_IFS=$IFS; IFS='-'
2565 set x $ac_cv_host
2566 shift
2567 host_cpu=$1
2568 host_vendor=$2
2569 shift; shift
2570 # Remember, the first character of IFS is used to create $*,
2571 # except with old shells:
2572 host_os=$*
2573 IFS=$ac_save_IFS
2574 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2575
2576
2577
2578 if test "$cross_compiling" != "no"; then
2579 HOST_PREFIX="${host_alias}-"
2580 HOST_SUFFIX="-$host_alias"
2581 else
2582 HOST_PREFIX=
2583 HOST_SUFFIX=
2584 fi
2585
2586
2587 wx_major_version_number=2
2588 wx_minor_version_number=9
2589 wx_release_number=2
2590 wx_subrelease_number=0
2591
2592 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2593 WX_VERSION=$WX_RELEASE.$wx_release_number
2594 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2595
2596 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2597
2598
2599 wx_top_builddir="`pwd`"
2600
2601
2602
2603
2604 USE_UNIX=1
2605 USE_OS2=0
2606 USE_WIN32=0
2607 USE_DOS=0
2608 USE_BEOS=0
2609 USE_MAC=0
2610
2611 USE_AIX=
2612 USE_BSD= USE_DARWIN= USE_FREEBSD=
2613 USE_GNU= USE_HPUX=
2614 USE_LINUX=
2615 USE_NETBSD=
2616 USE_OPENBSD=
2617 USE_OSF= USE_SGI=
2618 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2619 USE_ULTRIX=
2620 USE_UNIXWARE=
2621
2622 USE_ALPHA=
2623
2624 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2625
2626 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MGL MICROWIN MOTIF MSW PM X11 DFB"
2627
2628 DEFAULT_wxUSE_OLD_COCOA=0
2629 DEFAULT_wxUSE_GTK=0
2630 DEFAULT_wxUSE_OSX_CARBON=0
2631 DEFAULT_wxUSE_OSX_COCOA=0
2632 DEFAULT_wxUSE_OSX_IPHONE=0
2633 DEFAULT_wxUSE_MGL=0
2634 DEFAULT_wxUSE_MICROWIN=0
2635 DEFAULT_wxUSE_MOTIF=0
2636 DEFAULT_wxUSE_MSW=0
2637 DEFAULT_wxUSE_PM=0
2638 DEFAULT_wxUSE_X11=0
2639 DEFAULT_wxUSE_DFB=0
2640
2641 DEFAULT_DEFAULT_wxUSE_OLD_COCOA=0
2642 DEFAULT_DEFAULT_wxUSE_GTK=0
2643 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
2644 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
2645 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=0
2646 DEFAULT_DEFAULT_wxUSE_MGL=0
2647 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2648 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2649 DEFAULT_DEFAULT_wxUSE_MSW=0
2650 DEFAULT_DEFAULT_wxUSE_PM=0
2651 DEFAULT_DEFAULT_wxUSE_X11=0
2652 DEFAULT_DEFAULT_wxUSE_DFB=0
2653
2654 PROGRAM_EXT=
2655 SAMPLES_RPATH_FLAG=
2656 DYLIB_RPATH_INSTALL=
2657 DYLIB_RPATH_POSTLINK=
2658
2659 DEFAULT_STD_FLAG=yes
2660
2661 case "${host}" in
2662 *-hp-hpux* )
2663 USE_HPUX=1
2664 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2665 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2666 cat >>confdefs.h <<\_ACEOF
2667 #define __HPUX__ 1
2668 _ACEOF
2669
2670
2671 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2672 ;;
2673 *-*-linux* )
2674 USE_LINUX=1
2675 cat >>confdefs.h <<\_ACEOF
2676 #define __LINUX__ 1
2677 _ACEOF
2678
2679 TMP=`uname -m`
2680 if test "x$TMP" = "xalpha"; then
2681 USE_ALPHA=1
2682 cat >>confdefs.h <<\_ACEOF
2683 #define __ALPHA__ 1
2684 _ACEOF
2685
2686 fi
2687 DEFAULT_DEFAULT_wxUSE_GTK=1
2688 ;;
2689 *-*-gnu* | *-*-k*bsd*-gnu )
2690 USE_GNU=1
2691 TMP=`uname -m`
2692 if test "x$TMP" = "xalpha"; then
2693 USE_ALPHA=1
2694 cat >>confdefs.h <<\_ACEOF
2695 #define __ALPHA__ 1
2696 _ACEOF
2697
2698 fi
2699 DEFAULT_DEFAULT_wxUSE_GTK=1
2700 ;;
2701 *-*-irix5* | *-*-irix6* )
2702 USE_SGI=1
2703 USE_SVR4=1
2704 cat >>confdefs.h <<\_ACEOF
2705 #define __SGI__ 1
2706 _ACEOF
2707
2708 cat >>confdefs.h <<\_ACEOF
2709 #define __SVR4__ 1
2710 _ACEOF
2711
2712 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2713 ;;
2714 *-*-qnx*)
2715 USE_QNX=1
2716 cat >>confdefs.h <<\_ACEOF
2717 #define __QNX__ 1
2718 _ACEOF
2719
2720 DEFAULT_DEFAULT_wxUSE_X11=1
2721 ;;
2722 *-*-solaris2* )
2723 USE_SUN=1
2724 USE_SOLARIS=1
2725 USE_SVR4=1
2726 cat >>confdefs.h <<\_ACEOF
2727 #define __SUN__ 1
2728 _ACEOF
2729
2730 cat >>confdefs.h <<\_ACEOF
2731 #define __SOLARIS__ 1
2732 _ACEOF
2733
2734 cat >>confdefs.h <<\_ACEOF
2735 #define __SVR4__ 1
2736 _ACEOF
2737
2738 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2739 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2740 ;;
2741 *-*-sunos4* )
2742 USE_SUN=1
2743 USE_SUNOS=1
2744 USE_BSD=1
2745 cat >>confdefs.h <<\_ACEOF
2746 #define __SUN__ 1
2747 _ACEOF
2748
2749 cat >>confdefs.h <<\_ACEOF
2750 #define __SUNOS__ 1
2751 _ACEOF
2752
2753 cat >>confdefs.h <<\_ACEOF
2754 #define __BSD__ 1
2755 _ACEOF
2756
2757 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2758 ;;
2759 *-*-freebsd*)
2760 USE_BSD=1
2761 USE_FREEBSD=1
2762 cat >>confdefs.h <<\_ACEOF
2763 #define __FREEBSD__ 1
2764 _ACEOF
2765
2766 cat >>confdefs.h <<\_ACEOF
2767 #define __BSD__ 1
2768 _ACEOF
2769
2770 DEFAULT_DEFAULT_wxUSE_GTK=1
2771 ;;
2772 *-*-openbsd*|*-*-mirbsd*)
2773 USE_BSD=1
2774 USE_OPENBSD=1
2775 cat >>confdefs.h <<\_ACEOF
2776 #define __OPENBSD__ 1
2777 _ACEOF
2778
2779 cat >>confdefs.h <<\_ACEOF
2780 #define __BSD__ 1
2781 _ACEOF
2782
2783 DEFAULT_DEFAULT_wxUSE_GTK=1
2784 ;;
2785 *-*-netbsd*)
2786 USE_BSD=1
2787 USE_NETBSD=1
2788 cat >>confdefs.h <<\_ACEOF
2789 #define __NETBSD__ 1
2790 _ACEOF
2791
2792 cat >>confdefs.h <<\_ACEOF
2793 #define __BSD__ 1
2794 _ACEOF
2795
2796 DEFAULT_DEFAULT_wxUSE_GTK=1
2797 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2798
2799 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2800 ;;
2801 *-*-osf* )
2802 USE_ALPHA=1
2803 USE_OSF=1
2804 cat >>confdefs.h <<\_ACEOF
2805 #define __ALPHA__ 1
2806 _ACEOF
2807
2808 cat >>confdefs.h <<\_ACEOF
2809 #define __OSF__ 1
2810 _ACEOF
2811
2812 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2813 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2814 ;;
2815 *-*-dgux5* )
2816 USE_ALPHA=1
2817 USE_SVR4=1
2818 cat >>confdefs.h <<\_ACEOF
2819 #define __ALPHA__ 1
2820 _ACEOF
2821
2822 cat >>confdefs.h <<\_ACEOF
2823 #define __SVR4__ 1
2824 _ACEOF
2825
2826 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2827 ;;
2828 *-*-sysv5* )
2829 USE_SYSV=1
2830 USE_SVR4=1
2831 cat >>confdefs.h <<\_ACEOF
2832 #define __SYSV__ 1
2833 _ACEOF
2834
2835 cat >>confdefs.h <<\_ACEOF
2836 #define __SVR4__ 1
2837 _ACEOF
2838
2839 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2840 ;;
2841 *-*-aix* )
2842 USE_AIX=1
2843 USE_SYSV=1
2844 USE_SVR4=1
2845 cat >>confdefs.h <<\_ACEOF
2846 #define __AIX__ 1
2847 _ACEOF
2848
2849 cat >>confdefs.h <<\_ACEOF
2850 #define __SYSV__ 1
2851 _ACEOF
2852
2853 cat >>confdefs.h <<\_ACEOF
2854 #define __SVR4__ 1
2855 _ACEOF
2856
2857 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2858 ;;
2859
2860 *-*-*UnixWare*)
2861 USE_SYSV=1
2862 USE_SVR4=1
2863 USE_UNIXWARE=1
2864 cat >>confdefs.h <<\_ACEOF
2865 #define __UNIXWARE__ 1
2866 _ACEOF
2867
2868 ;;
2869
2870 *-*-cygwin* | *-*-mingw32* )
2871 PROGRAM_EXT=".exe"
2872 DEFAULT_DEFAULT_wxUSE_MSW=1
2873 ;;
2874
2875 *-pc-msdosdjgpp )
2876 USE_UNIX=0
2877 USE_DOS=1
2878 cat >>confdefs.h <<\_ACEOF
2879 #define __DOS__ 1
2880 _ACEOF
2881
2882 PROGRAM_EXT=".exe"
2883 DEFAULT_DEFAULT_wxUSE_MGL=1
2884 ;;
2885
2886 *-pc-os2_emx | *-pc-os2-emx )
2887 cat >>confdefs.h <<\_ACEOF
2888 #define __EMX__ 1
2889 _ACEOF
2890
2891 USE_OS2=1
2892 cat >>confdefs.h <<\_ACEOF
2893 #define __OS2__ 1
2894 _ACEOF
2895
2896 PROGRAM_EXT=".exe"
2897 DEFAULT_DEFAULT_wxUSE_PM=1
2898 CXX=gcc
2899 LDFLAGS="$LDFLAGS -Zcrtdll"
2900 ac_executable_extensions=".exe"
2901 export ac_executable_extensions
2902 ac_save_IFS="$IFS"
2903 IFS='\\'
2904 ac_TEMP_PATH=
2905 for ac_dir in $PATH; do
2906 IFS=$ac_save_IFS
2907 if test -z "$ac_TEMP_PATH"; then
2908 ac_TEMP_PATH="$ac_dir"
2909 else
2910 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2911 fi
2912 done
2913 export PATH="$ac_TEMP_PATH"
2914 unset ac_TEMP_PATH
2915 DEFAULT_STD_FLAG=no
2916 ;;
2917
2918 arm-apple-darwin*)
2919 USE_BSD=1
2920 USE_DARWIN=1
2921 cat >>confdefs.h <<\_ACEOF
2922 #define __BSD__ 1
2923 _ACEOF
2924
2925 cat >>confdefs.h <<\_ACEOF
2926 #define __DARWIN__ 1
2927 _ACEOF
2928
2929 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=1
2930 ;;
2931
2932 *-*-darwin* )
2933 USE_BSD=1
2934 USE_DARWIN=1
2935 cat >>confdefs.h <<\_ACEOF
2936 #define __BSD__ 1
2937 _ACEOF
2938
2939 cat >>confdefs.h <<\_ACEOF
2940 #define __DARWIN__ 1
2941 _ACEOF
2942
2943 cat >>confdefs.h <<\_ACEOF
2944 #define TARGET_CARBON 1
2945 _ACEOF
2946
2947 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2948 ;;
2949
2950 *-*-beos* )
2951 USE_BEOS=1
2952 cat >>confdefs.h <<\_ACEOF
2953 #define __BEOS__ 1
2954 _ACEOF
2955
2956 ;;
2957
2958 *)
2959 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2960 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2961 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2962 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2963
2964 DEFAULT_DEFAULT_wxUSE_X11=1
2965 DEFAULT_wxUSE_SHARED=no
2966 esac
2967
2968
2969
2970 DEFAULT_wxUSE_ALL_FEATURES=yes
2971
2972 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2973 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2974
2975 DEFAULT_wxUSE_DMALLOC=no
2976 DEFAULT_wxUSE_LIBGNOMEVFS=no
2977 DEFAULT_wxUSE_LIBHILDON=no
2978 DEFAULT_wxUSE_LIBHILDON2=no
2979 DEFAULT_wxUSE_LIBMSPACK=no
2980 DEFAULT_wxUSE_LIBSDL=no
2981
2982 DEFAULT_wxUSE_ACCESSIBILITY=no
2983 DEFAULT_wxUSE_IPV6=no
2984 DEFAULT_wxUSE_GSTREAMER8=no
2985
2986 DEFAULT_wxUSE_ARTPROVIDER_TANGO=auto
2987 DEFAULT_wxUSE_UNICODE_UTF8=auto
2988 DEFAULT_wxUSE_OPENGL=auto
2989 DEFAULT_wxUSE_MEDIACTRL=auto
2990 DEFAULT_wxUSE_COMPILER_TLS=auto
2991
2992 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2993
2994 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2995 DEFAULT_wxUSE_MAC_ARCH=no
2996
2997 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2998
2999 DEFAULT_wxUSE_GTK2=yes
3000
3001 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
3002
3003
3004
3005
3006
3007 enablestring=disable
3008 defaultval=
3009 if test -z "$defaultval"; then
3010 if test x"$enablestring" = xdisable; then
3011 defaultval=yes
3012 else
3013 defaultval=no
3014 fi
3015 fi
3016
3017 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3018 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3019 # Check whether --enable-gui was given.
3020 if test "${enable_gui+set}" = set; then
3021 enableval=$enable_gui;
3022 if test "$enableval" = yes; then
3023 wx_cv_use_gui='wxUSE_GUI=yes'
3024 else
3025 wx_cv_use_gui='wxUSE_GUI=no'
3026 fi
3027
3028 else
3029
3030 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3031
3032 fi
3033
3034
3035 eval "$wx_cv_use_gui"
3036
3037 if test x"$enablestring" = xdisable; then
3038 if test $wxUSE_GUI = no; then
3039 result=yes
3040 else
3041 result=no
3042 fi
3043 else
3044 result=$wxUSE_GUI
3045 fi
3046
3047 { echo "$as_me:$LINENO: result: $result" >&5
3048 echo "${ECHO_T}$result" >&6; }
3049
3050
3051 enablestring=
3052 defaultval=
3053 if test -z "$defaultval"; then
3054 if test x"$enablestring" = xdisable; then
3055 defaultval=yes
3056 else
3057 defaultval=no
3058 fi
3059 fi
3060
3061 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3062 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3063 # Check whether --enable-monolithic was given.
3064 if test "${enable_monolithic+set}" = set; then
3065 enableval=$enable_monolithic;
3066 if test "$enableval" = yes; then
3067 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3068 else
3069 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3070 fi
3071
3072 else
3073
3074 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3075
3076 fi
3077
3078
3079 eval "$wx_cv_use_monolithic"
3080
3081 if test x"$enablestring" = xdisable; then
3082 if test $wxUSE_MONOLITHIC = no; then
3083 result=yes
3084 else
3085 result=no
3086 fi
3087 else
3088 result=$wxUSE_MONOLITHIC
3089 fi
3090
3091 { echo "$as_me:$LINENO: result: $result" >&5
3092 echo "${ECHO_T}$result" >&6; }
3093
3094
3095 enablestring=
3096 defaultval=
3097 if test -z "$defaultval"; then
3098 if test x"$enablestring" = xdisable; then
3099 defaultval=yes
3100 else
3101 defaultval=no
3102 fi
3103 fi
3104
3105 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3106 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3107 # Check whether --enable-plugins was given.
3108 if test "${enable_plugins+set}" = set; then
3109 enableval=$enable_plugins;
3110 if test "$enableval" = yes; then
3111 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3112 else
3113 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3114 fi
3115
3116 else
3117
3118 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3119
3120 fi
3121
3122
3123 eval "$wx_cv_use_plugins"
3124
3125 if test x"$enablestring" = xdisable; then
3126 if test $wxUSE_PLUGINS = no; then
3127 result=yes
3128 else
3129 result=no
3130 fi
3131 else
3132 result=$wxUSE_PLUGINS
3133 fi
3134
3135 { echo "$as_me:$LINENO: result: $result" >&5
3136 echo "${ECHO_T}$result" >&6; }
3137
3138
3139 withstring=without
3140 defaultval=$wxUSE_ALL_FEATURES
3141 if test -z "$defaultval"; then
3142 if test x"$withstring" = xwithout; then
3143 defaultval=yes
3144 else
3145 defaultval=no
3146 fi
3147 fi
3148 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3149 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3150
3151 # Check whether --with-subdirs was given.
3152 if test "${with_subdirs+set}" = set; then
3153 withval=$with_subdirs;
3154 if test "$withval" = yes; then
3155 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3156 else
3157 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3158 fi
3159
3160 else
3161
3162 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3163
3164 fi
3165
3166
3167 eval "$wx_cv_use_subdirs"
3168
3169 if test x"$withstring" = xwithout; then
3170 if test $wxWITH_SUBDIRS = yes; then
3171 result=no
3172 else
3173 result=yes
3174 fi
3175 else
3176 result=$wxWITH_SUBDIRS
3177 fi
3178
3179 { echo "$as_me:$LINENO: result: $result" >&5
3180 echo "${ECHO_T}$result" >&6; }
3181
3182
3183 # Check whether --with-flavour was given.
3184 if test "${with_flavour+set}" = set; then
3185 withval=$with_flavour; WX_FLAVOUR="$withval"
3186 fi
3187
3188
3189 enablestring=
3190 defaultval=
3191 if test -z "$defaultval"; then
3192 if test x"$enablestring" = xdisable; then
3193 defaultval=yes
3194 else
3195 defaultval=no
3196 fi
3197 fi
3198
3199 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3200 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3201 # Check whether --enable-official_build was given.
3202 if test "${enable_official_build+set}" = set; then
3203 enableval=$enable_official_build;
3204 if test "$enableval" = yes; then
3205 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3206 else
3207 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3208 fi
3209
3210 else
3211
3212 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3213
3214 fi
3215
3216
3217 eval "$wx_cv_use_official_build"
3218
3219 if test x"$enablestring" = xdisable; then
3220 if test $wxUSE_OFFICIAL_BUILD = no; then
3221 result=yes
3222 else
3223 result=no
3224 fi
3225 else
3226 result=$wxUSE_OFFICIAL_BUILD
3227 fi
3228
3229 { echo "$as_me:$LINENO: result: $result" >&5
3230 echo "${ECHO_T}$result" >&6; }
3231
3232 # Check whether --enable-vendor was given.
3233 if test "${enable_vendor+set}" = set; then
3234 enableval=$enable_vendor; VENDOR="$enableval"
3235 fi
3236
3237 if test "x$VENDOR" = "x"; then
3238 VENDOR="custom"
3239 fi
3240
3241
3242 enablestring=disable
3243 defaultval=
3244 if test -z "$defaultval"; then
3245 if test x"$enablestring" = xdisable; then
3246 defaultval=yes
3247 else
3248 defaultval=no
3249 fi
3250 fi
3251
3252 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3253 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3254 # Check whether --enable-all-features was given.
3255 if test "${enable_all_features+set}" = set; then
3256 enableval=$enable_all_features;
3257 if test "$enableval" = yes; then
3258 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3259 else
3260 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3261 fi
3262
3263 else
3264
3265 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3266
3267 fi
3268
3269
3270 eval "$wx_cv_use_all_features"
3271
3272 if test x"$enablestring" = xdisable; then
3273 if test $wxUSE_ALL_FEATURES = no; then
3274 result=yes
3275 else
3276 result=no
3277 fi
3278 else
3279 result=$wxUSE_ALL_FEATURES
3280 fi
3281
3282 { echo "$as_me:$LINENO: result: $result" >&5
3283 echo "${ECHO_T}$result" >&6; }
3284
3285
3286 if test "$wxUSE_ALL_FEATURES" = "no"; then
3287 DEFAULT_wxUSE_ARTPROVIDER_TANGO=no
3288 DEFAULT_wxUSE_MEDIACTRL=no
3289 fi
3290
3291
3292 if test "$wxUSE_GUI" = "yes"; then
3293
3294
3295 enablestring=
3296 defaultval=
3297 if test -z "$defaultval"; then
3298 if test x"$enablestring" = xdisable; then
3299 defaultval=yes
3300 else
3301 defaultval=no
3302 fi
3303 fi
3304
3305 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3306 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3307 # Check whether --enable-universal was given.
3308 if test "${enable_universal+set}" = set; then
3309 enableval=$enable_universal;
3310 if test "$enableval" = yes; then
3311 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3312 else
3313 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3314 fi
3315
3316 else
3317
3318 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3319
3320 fi
3321
3322
3323 eval "$wx_cv_use_universal"
3324
3325 if test x"$enablestring" = xdisable; then
3326 if test $wxUSE_UNIVERSAL = no; then
3327 result=yes
3328 else
3329 result=no
3330 fi
3331 else
3332 result=$wxUSE_UNIVERSAL
3333 fi
3334
3335 { echo "$as_me:$LINENO: result: $result" >&5
3336 echo "${ECHO_T}$result" >&6; }
3337
3338 if test "$wxUSE_UNIVERSAL" = "yes"; then
3339
3340 # Check whether --with-themes was given.
3341 if test "${with_themes+set}" = set; then
3342 withval=$with_themes; wxUNIV_THEMES="$withval"
3343 fi
3344
3345 fi
3346
3347
3348 # Check whether --with-gtk was given.
3349 if test "${with_gtk+set}" = set; then
3350 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3351 fi
3352
3353
3354 # Check whether --with-motif was given.
3355 if test "${with_motif+set}" = set; then
3356 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3357 fi
3358
3359
3360 # Check whether --with-osx_carbon was given.
3361 if test "${with_osx_carbon+set}" = set; then
3362 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3363 fi
3364
3365
3366 # Check whether --with-osx_cocoa was given.
3367 if test "${with_osx_cocoa+set}" = set; then
3368 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3369 fi
3370
3371
3372 # Check whether --with-osx_iphone was given.
3373 if test "${with_osx_iphone+set}" = set; then
3374 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3375 fi
3376
3377
3378 # Check whether --with-osx was given.
3379 if test "${with_osx+set}" = set; then
3380 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3381 fi
3382
3383
3384 # Check whether --with-carbon was given.
3385 if test "${with_carbon+set}" = set; then
3386 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3387 fi
3388
3389
3390 # Check whether --with-cocoa was given.
3391 if test "${with_cocoa+set}" = set; then
3392 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3393 fi
3394
3395
3396 # Check whether --with-iphone was given.
3397 if test "${with_iphone+set}" = set; then
3398 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3399 fi
3400
3401
3402 # Check whether --with-mac was given.
3403 if test "${with_mac+set}" = set; then
3404 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3405 fi
3406
3407
3408 # Check whether --with-old_cocoa was given.
3409 if test "${with_old_cocoa+set}" = set; then
3410 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
3411 fi
3412
3413
3414 # Check whether --with-wine was given.
3415 if test "${with_wine+set}" = set; then
3416 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3417 fi
3418
3419
3420 # Check whether --with-msw was given.
3421 if test "${with_msw+set}" = set; then
3422 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3423 fi
3424
3425
3426 # Check whether --with-pm was given.
3427 if test "${with_pm+set}" = set; then
3428 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3429 fi
3430
3431
3432 # Check whether --with-mgl was given.
3433 if test "${with_mgl+set}" = set; then
3434 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3435 fi
3436
3437
3438 # Check whether --with-directfb was given.
3439 if test "${with_directfb+set}" = set; then
3440 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3441 fi
3442
3443
3444 # Check whether --with-microwin was given.
3445 if test "${with_microwin+set}" = set; then
3446 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3447 fi
3448
3449
3450 # Check whether --with-x11 was given.
3451 if test "${with_x11+set}" = set; then
3452 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3453 fi
3454
3455
3456 enablestring=
3457 defaultval=
3458 if test -z "$defaultval"; then
3459 if test x"$enablestring" = xdisable; then
3460 defaultval=yes
3461 else
3462 defaultval=no
3463 fi
3464 fi
3465
3466 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3467 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3468 # Check whether --enable-nanox was given.
3469 if test "${enable_nanox+set}" = set; then
3470 enableval=$enable_nanox;
3471 if test "$enableval" = yes; then
3472 wx_cv_use_nanox='wxUSE_NANOX=yes'
3473 else
3474 wx_cv_use_nanox='wxUSE_NANOX=no'
3475 fi
3476
3477 else
3478
3479 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3480
3481 fi
3482
3483
3484 eval "$wx_cv_use_nanox"
3485
3486 if test x"$enablestring" = xdisable; then
3487 if test $wxUSE_NANOX = no; then
3488 result=yes
3489 else
3490 result=no
3491 fi
3492 else
3493 result=$wxUSE_NANOX
3494 fi
3495
3496 { echo "$as_me:$LINENO: result: $result" >&5
3497 echo "${ECHO_T}$result" >&6; }
3498
3499
3500 # Check whether --enable-gtk2 was given.
3501 if test "${enable_gtk2+set}" = set; then
3502 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3503 fi
3504
3505
3506 enablestring=
3507 defaultval=
3508 if test -z "$defaultval"; then
3509 if test x"$enablestring" = xdisable; then
3510 defaultval=yes
3511 else
3512 defaultval=no
3513 fi
3514 fi
3515
3516 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3517 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3518 # Check whether --enable-gpe was given.
3519 if test "${enable_gpe+set}" = set; then
3520 enableval=$enable_gpe;
3521 if test "$enableval" = yes; then
3522 wx_cv_use_gpe='wxUSE_GPE=yes'
3523 else
3524 wx_cv_use_gpe='wxUSE_GPE=no'
3525 fi
3526
3527 else
3528
3529 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3530
3531 fi
3532
3533
3534 eval "$wx_cv_use_gpe"
3535
3536 if test x"$enablestring" = xdisable; then
3537 if test $wxUSE_GPE = no; then
3538 result=yes
3539 else
3540 result=no
3541 fi
3542 else
3543 result=$wxUSE_GPE
3544 fi
3545
3546 { echo "$as_me:$LINENO: result: $result" >&5
3547 echo "${ECHO_T}$result" >&6; }
3548
3549
3550
3551 { echo "$as_me:$LINENO: checking for toolkit" >&5
3552 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3553
3554
3555
3556 # In Wine, we need to default to MSW, not GTK or MOTIF
3557 if test "$wxUSE_WINE" = "yes"; then
3558 DEFAULT_DEFAULT_wxUSE_GTK=0
3559 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3560 DEFAULT_DEFAULT_wxUSE_MSW=1
3561 wxUSE_SHARED=no
3562 CC=${CC:-winegcc}
3563 CXX=${CXX:-wineg++}
3564 fi
3565
3566
3567 if test "$wxUSE_GUI" = "yes"; then
3568
3569 if test "$USE_BEOS" = 1; then
3570 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3571 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3572 { (exit 1); exit 1; }; }
3573 fi
3574
3575 if test "$TOOLKIT_GIVEN" = 1; then
3576 for toolkit in $ALL_TOOLKITS; do
3577 var=wxUSE_$toolkit
3578 eval "value=\$${var}"
3579 if test "x$value" = "xno"; then
3580 eval "$var=0"
3581 elif test "x$value" != "x"; then
3582 eval "$var=1"
3583 fi
3584
3585 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3586 eval "wx${toolkit}_VERSION=$value"
3587 fi
3588 done
3589 else
3590 for toolkit in $ALL_TOOLKITS; do
3591 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3592 eval "wxUSE_$toolkit=\$${var}"
3593 done
3594 fi
3595
3596 NUM_TOOLKITS=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3597 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3598 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3599
3600 case "${host}" in
3601 *-pc-os2_emx | *-pc-os2-emx )
3602 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3603 esac
3604
3605 case "$NUM_TOOLKITS" in
3606 1)
3607 ;;
3608 0)
3609 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3610 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3611 { (exit 1); exit 1; }; }
3612 ;;
3613 *)
3614 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3615 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3616 { (exit 1); exit 1; }; }
3617 esac
3618
3619 # to be removed when --disable-gtk2 isn't needed
3620 if test "x$wxUSE_GTK2" = "xyes"; then
3621 wxGTK_VERSION=2
3622 wxUSE_GTK1=0
3623 elif test "x$wxUSE_GTK2" = "xno"; then
3624 wxGTK_VERSION=1
3625 wxUSE_GTK1=1
3626 fi
3627
3628 for toolkit in $ALL_TOOLKITS; do
3629 var=wxUSE_$toolkit
3630 eval "value=\$${var}"
3631 if test "$value" = 1; then
3632 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3633 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3634 echo "${ECHO_T}$toolkit_echo" >&6; }
3635 fi
3636 done
3637 else
3638 if test "x$host_alias" != "x"; then
3639 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3640 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3641 else
3642 { echo "$as_me:$LINENO: result: base only" >&5
3643 echo "${ECHO_T}base only" >&6; }
3644 fi
3645 fi
3646
3647 wxUSE_MAC=0
3648 if test "$wxUSE_OSX_CARBON" = 1 \
3649 -o "$wxUSE_OSX_COCOA" = 1 \
3650 -o "$wxUSE_OSX_IPHONE" = 1; then
3651 wxUSE_MAC=1
3652 fi
3653
3654
3655
3656 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3657 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3658
3659 # Check whether --with-libpng was given.
3660 if test "${with_libpng+set}" = set; then
3661 withval=$with_libpng;
3662 if test "$withval" = yes; then
3663 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3664 elif test "$withval" = no; then
3665 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3666 elif test "$withval" = sys; then
3667 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3668 elif test "$withval" = builtin; then
3669 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3670 else
3671 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3672 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3673 { (exit 1); exit 1; }; }
3674 fi
3675
3676 else
3677
3678 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3679
3680 fi
3681
3682
3683 eval "$wx_cv_use_libpng"
3684
3685 if test "$wxUSE_LIBPNG" = yes; then
3686 { echo "$as_me:$LINENO: result: yes" >&5
3687 echo "${ECHO_T}yes" >&6; }
3688 elif test "$wxUSE_LIBPNG" = no; then
3689 { echo "$as_me:$LINENO: result: no" >&5
3690 echo "${ECHO_T}no" >&6; }
3691 elif test "$wxUSE_LIBPNG" = sys; then
3692 { echo "$as_me:$LINENO: result: system version" >&5
3693 echo "${ECHO_T}system version" >&6; }
3694 elif test "$wxUSE_LIBPNG" = builtin; then
3695 { echo "$as_me:$LINENO: result: builtin version" >&5
3696 echo "${ECHO_T}builtin version" >&6; }
3697 else
3698 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3699 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3700 { (exit 1); exit 1; }; }
3701 fi
3702
3703
3704 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3705 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3706
3707 # Check whether --with-libjpeg was given.
3708 if test "${with_libjpeg+set}" = set; then
3709 withval=$with_libjpeg;
3710 if test "$withval" = yes; then
3711 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3712 elif test "$withval" = no; then
3713 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3714 elif test "$withval" = sys; then
3715 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3716 elif test "$withval" = builtin; then
3717 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3718 else
3719 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3720 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3721 { (exit 1); exit 1; }; }
3722 fi
3723
3724 else
3725
3726 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3727
3728 fi
3729
3730
3731 eval "$wx_cv_use_libjpeg"
3732
3733 if test "$wxUSE_LIBJPEG" = yes; then
3734 { echo "$as_me:$LINENO: result: yes" >&5
3735 echo "${ECHO_T}yes" >&6; }
3736 elif test "$wxUSE_LIBJPEG" = no; then
3737 { echo "$as_me:$LINENO: result: no" >&5
3738 echo "${ECHO_T}no" >&6; }
3739 elif test "$wxUSE_LIBJPEG" = sys; then
3740 { echo "$as_me:$LINENO: result: system version" >&5
3741 echo "${ECHO_T}system version" >&6; }
3742 elif test "$wxUSE_LIBJPEG" = builtin; then
3743 { echo "$as_me:$LINENO: result: builtin version" >&5
3744 echo "${ECHO_T}builtin version" >&6; }
3745 else
3746 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3747 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3748 { (exit 1); exit 1; }; }
3749 fi
3750
3751
3752 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3753 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3754
3755 # Check whether --with-libtiff was given.
3756 if test "${with_libtiff+set}" = set; then
3757 withval=$with_libtiff;
3758 if test "$withval" = yes; then
3759 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3760 elif test "$withval" = no; then
3761 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3762 elif test "$withval" = sys; then
3763 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3764 elif test "$withval" = builtin; then
3765 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3766 else
3767 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3768 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3769 { (exit 1); exit 1; }; }
3770 fi
3771
3772 else
3773
3774 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3775
3776 fi
3777
3778
3779 eval "$wx_cv_use_libtiff"
3780
3781 if test "$wxUSE_LIBTIFF" = yes; then
3782 { echo "$as_me:$LINENO: result: yes" >&5
3783 echo "${ECHO_T}yes" >&6; }
3784 elif test "$wxUSE_LIBTIFF" = no; then
3785 { echo "$as_me:$LINENO: result: no" >&5
3786 echo "${ECHO_T}no" >&6; }
3787 elif test "$wxUSE_LIBTIFF" = sys; then
3788 { echo "$as_me:$LINENO: result: system version" >&5
3789 echo "${ECHO_T}system version" >&6; }
3790 elif test "$wxUSE_LIBTIFF" = builtin; then
3791 { echo "$as_me:$LINENO: result: builtin version" >&5
3792 echo "${ECHO_T}builtin version" >&6; }
3793 else
3794 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3795 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3796 { (exit 1); exit 1; }; }
3797 fi
3798
3799
3800 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3801 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3802
3803 # Check whether --with-libxpm was given.
3804 if test "${with_libxpm+set}" = set; then
3805 withval=$with_libxpm;
3806 if test "$withval" = yes; then
3807 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3808 elif test "$withval" = no; then
3809 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3810 elif test "$withval" = sys; then
3811 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3812 elif test "$withval" = builtin; then
3813 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3814 else
3815 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3816 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3817 { (exit 1); exit 1; }; }
3818 fi
3819
3820 else
3821
3822 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3823
3824 fi
3825
3826
3827 eval "$wx_cv_use_libxpm"
3828
3829 if test "$wxUSE_LIBXPM" = yes; then
3830 { echo "$as_me:$LINENO: result: yes" >&5
3831 echo "${ECHO_T}yes" >&6; }
3832 elif test "$wxUSE_LIBXPM" = no; then
3833 { echo "$as_me:$LINENO: result: no" >&5
3834 echo "${ECHO_T}no" >&6; }
3835 elif test "$wxUSE_LIBXPM" = sys; then
3836 { echo "$as_me:$LINENO: result: system version" >&5
3837 echo "${ECHO_T}system version" >&6; }
3838 elif test "$wxUSE_LIBXPM" = builtin; then
3839 { echo "$as_me:$LINENO: result: builtin version" >&5
3840 echo "${ECHO_T}builtin version" >&6; }
3841 else
3842 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3843 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3844 { (exit 1); exit 1; }; }
3845 fi
3846
3847
3848 withstring=
3849 defaultval=$wxUSE_ALL_FEATURES
3850 if test -z "$defaultval"; then
3851 if test x"$withstring" = xwithout; then
3852 defaultval=yes
3853 else
3854 defaultval=no
3855 fi
3856 fi
3857 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3858 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3859
3860 # Check whether --with-libiconv was given.
3861 if test "${with_libiconv+set}" = set; then
3862 withval=$with_libiconv;
3863 if test "$withval" = yes; then
3864 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3865 else
3866 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3867 fi
3868
3869 else
3870
3871 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3872
3873 fi
3874
3875
3876 eval "$wx_cv_use_libiconv"
3877
3878 if test x"$withstring" = xwithout; then
3879 if test $wxUSE_LIBICONV = yes; then
3880 result=no
3881 else
3882 result=yes
3883 fi
3884 else
3885 result=$wxUSE_LIBICONV
3886 fi
3887
3888 { echo "$as_me:$LINENO: result: $result" >&5
3889 echo "${ECHO_T}$result" >&6; }
3890
3891
3892 withstring=
3893 defaultval=$wxUSE_ALL_FEATURES
3894 if test -z "$defaultval"; then
3895 if test x"$withstring" = xwithout; then
3896 defaultval=yes
3897 else
3898 defaultval=no
3899 fi
3900 fi
3901 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3902 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3903
3904 # Check whether --with-libmspack was given.
3905 if test "${with_libmspack+set}" = set; then
3906 withval=$with_libmspack;
3907 if test "$withval" = yes; then
3908 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3909 else
3910 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3911 fi
3912
3913 else
3914
3915 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3916
3917 fi
3918
3919
3920 eval "$wx_cv_use_libmspack"
3921
3922 if test x"$withstring" = xwithout; then
3923 if test $wxUSE_LIBMSPACK = yes; then
3924 result=no
3925 else
3926 result=yes
3927 fi
3928 else
3929 result=$wxUSE_LIBMSPACK
3930 fi
3931
3932 { echo "$as_me:$LINENO: result: $result" >&5
3933 echo "${ECHO_T}$result" >&6; }
3934
3935
3936 withstring=without
3937 defaultval=$wxUSE_ALL_FEATURES
3938 if test -z "$defaultval"; then
3939 if test x"$withstring" = xwithout; then
3940 defaultval=yes
3941 else
3942 defaultval=no
3943 fi
3944 fi
3945 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3946 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3947
3948 # Check whether --with-gtkprint was given.
3949 if test "${with_gtkprint+set}" = set; then
3950 withval=$with_gtkprint;
3951 if test "$withval" = yes; then
3952 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3953 else
3954 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3955 fi
3956
3957 else
3958
3959 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3960
3961 fi
3962
3963
3964 eval "$wx_cv_use_gtkprint"
3965
3966 if test x"$withstring" = xwithout; then
3967 if test $wxUSE_GTKPRINT = yes; then
3968 result=no
3969 else
3970 result=yes
3971 fi
3972 else
3973 result=$wxUSE_GTKPRINT
3974 fi
3975
3976 { echo "$as_me:$LINENO: result: $result" >&5
3977 echo "${ECHO_T}$result" >&6; }
3978
3979
3980 withstring=without
3981 defaultval=$wxUSE_ALL_FEATURES
3982 if test -z "$defaultval"; then
3983 if test x"$withstring" = xwithout; then
3984 defaultval=yes
3985 else
3986 defaultval=no
3987 fi
3988 fi
3989 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3990 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3991
3992 # Check whether --with-gnomeprint was given.
3993 if test "${with_gnomeprint+set}" = set; then
3994 withval=$with_gnomeprint;
3995 if test "$withval" = yes; then
3996 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3997 else
3998 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3999 fi
4000
4001 else
4002
4003 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
4004
4005 fi
4006
4007
4008 eval "$wx_cv_use_gnomeprint"
4009
4010 if test x"$withstring" = xwithout; then
4011 if test $wxUSE_LIBGNOMEPRINT = yes; then
4012 result=no
4013 else
4014 result=yes
4015 fi
4016 else
4017 result=$wxUSE_LIBGNOMEPRINT
4018 fi
4019
4020 { echo "$as_me:$LINENO: result: $result" >&5
4021 echo "${ECHO_T}$result" >&6; }
4022
4023
4024 withstring=
4025 defaultval=$wxUSE_ALL_FEATURES
4026 if test -z "$defaultval"; then
4027 if test x"$withstring" = xwithout; then
4028 defaultval=yes
4029 else
4030 defaultval=no
4031 fi
4032 fi
4033 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4034 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4035
4036 # Check whether --with-gnomevfs was given.
4037 if test "${with_gnomevfs+set}" = set; then
4038 withval=$with_gnomevfs;
4039 if test "$withval" = yes; then
4040 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4041 else
4042 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4043 fi
4044
4045 else
4046
4047 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4048
4049 fi
4050
4051
4052 eval "$wx_cv_use_gnomevfs"
4053
4054 if test x"$withstring" = xwithout; then
4055 if test $wxUSE_LIBGNOMEVFS = yes; then
4056 result=no
4057 else
4058 result=yes
4059 fi
4060 else
4061 result=$wxUSE_LIBGNOMEVFS
4062 fi
4063
4064 { echo "$as_me:$LINENO: result: $result" >&5
4065 echo "${ECHO_T}$result" >&6; }
4066
4067
4068 withstring=
4069 defaultval=$wxUSE_ALL_FEATURES
4070 if test -z "$defaultval"; then
4071 if test x"$withstring" = xwithout; then
4072 defaultval=yes
4073 else
4074 defaultval=no
4075 fi
4076 fi
4077 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4078 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4079
4080 # Check whether --with-hildon was given.
4081 if test "${with_hildon+set}" = set; then
4082 withval=$with_hildon;
4083 if test "$withval" = yes; then
4084 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4085 else
4086 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4087 fi
4088
4089 else
4090
4091 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4092
4093 fi
4094
4095
4096 eval "$wx_cv_use_hildon"
4097
4098 if test x"$withstring" = xwithout; then
4099 if test $wxUSE_LIBHILDON = yes; then
4100 result=no
4101 else
4102 result=yes
4103 fi
4104 else
4105 result=$wxUSE_LIBHILDON
4106 fi
4107
4108 { echo "$as_me:$LINENO: result: $result" >&5
4109 echo "${ECHO_T}$result" >&6; }
4110
4111
4112 withstring=
4113 defaultval=$wxUSE_ALL_FEATURES
4114 if test -z "$defaultval"; then
4115 if test x"$withstring" = xwithout; then
4116 defaultval=yes
4117 else
4118 defaultval=no
4119 fi
4120 fi
4121 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4122 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4123
4124 # Check whether --with-opengl was given.
4125 if test "${with_opengl+set}" = set; then
4126 withval=$with_opengl;
4127 if test "$withval" = yes; then
4128 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4129 else
4130 wx_cv_use_opengl='wxUSE_OPENGL=no'
4131 fi
4132
4133 else
4134
4135 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4136
4137 fi
4138
4139
4140 eval "$wx_cv_use_opengl"
4141
4142 if test x"$withstring" = xwithout; then
4143 if test $wxUSE_OPENGL = yes; then
4144 result=no
4145 else
4146 result=yes
4147 fi
4148 else
4149 result=$wxUSE_OPENGL
4150 fi
4151
4152 { echo "$as_me:$LINENO: result: $result" >&5
4153 echo "${ECHO_T}$result" >&6; }
4154
4155
4156 fi
4157
4158
4159 withstring=
4160 defaultval=$wxUSE_ALL_FEATURES
4161 if test -z "$defaultval"; then
4162 if test x"$withstring" = xwithout; then
4163 defaultval=yes
4164 else
4165 defaultval=no
4166 fi
4167 fi
4168 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4169 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4170
4171 # Check whether --with-dmalloc was given.
4172 if test "${with_dmalloc+set}" = set; then
4173 withval=$with_dmalloc;
4174 if test "$withval" = yes; then
4175 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4176 else
4177 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4178 fi
4179
4180 else
4181
4182 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4183
4184 fi
4185
4186
4187 eval "$wx_cv_use_dmalloc"
4188
4189 if test x"$withstring" = xwithout; then
4190 if test $wxUSE_DMALLOC = yes; then
4191 result=no
4192 else
4193 result=yes
4194 fi
4195 else
4196 result=$wxUSE_DMALLOC
4197 fi
4198
4199 { echo "$as_me:$LINENO: result: $result" >&5
4200 echo "${ECHO_T}$result" >&6; }
4201
4202
4203 withstring=
4204 defaultval=$wxUSE_ALL_FEATURES
4205 if test -z "$defaultval"; then
4206 if test x"$withstring" = xwithout; then
4207 defaultval=yes
4208 else
4209 defaultval=no
4210 fi
4211 fi
4212 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4213 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4214
4215 # Check whether --with-sdl was given.
4216 if test "${with_sdl+set}" = set; then
4217 withval=$with_sdl;
4218 if test "$withval" = yes; then
4219 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4220 else
4221 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4222 fi
4223
4224 else
4225
4226 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4227
4228 fi
4229
4230
4231 eval "$wx_cv_use_sdl"
4232
4233 if test x"$withstring" = xwithout; then
4234 if test $wxUSE_LIBSDL = yes; then
4235 result=no
4236 else
4237 result=yes
4238 fi
4239 else
4240 result=$wxUSE_LIBSDL
4241 fi
4242
4243 { echo "$as_me:$LINENO: result: $result" >&5
4244 echo "${ECHO_T}$result" >&6; }
4245
4246
4247 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4248 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4249
4250 # Check whether --with-regex was given.
4251 if test "${with_regex+set}" = set; then
4252 withval=$with_regex;
4253 if test "$withval" = yes; then
4254 wx_cv_use_regex='wxUSE_REGEX=yes'
4255 elif test "$withval" = no; then
4256 wx_cv_use_regex='wxUSE_REGEX=no'
4257 elif test "$withval" = sys; then
4258 wx_cv_use_regex='wxUSE_REGEX=sys'
4259 elif test "$withval" = builtin; then
4260 wx_cv_use_regex='wxUSE_REGEX=builtin'
4261 else
4262 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4263 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4264 { (exit 1); exit 1; }; }
4265 fi
4266
4267 else
4268
4269 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4270
4271 fi
4272
4273
4274 eval "$wx_cv_use_regex"
4275
4276 if test "$wxUSE_REGEX" = yes; then
4277 { echo "$as_me:$LINENO: result: yes" >&5
4278 echo "${ECHO_T}yes" >&6; }
4279 elif test "$wxUSE_REGEX" = no; then
4280 { echo "$as_me:$LINENO: result: no" >&5
4281 echo "${ECHO_T}no" >&6; }
4282 elif test "$wxUSE_REGEX" = sys; then
4283 { echo "$as_me:$LINENO: result: system version" >&5
4284 echo "${ECHO_T}system version" >&6; }
4285 elif test "$wxUSE_REGEX" = builtin; then
4286 { echo "$as_me:$LINENO: result: builtin version" >&5
4287 echo "${ECHO_T}builtin version" >&6; }
4288 else
4289 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4290 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4291 { (exit 1); exit 1; }; }
4292 fi
4293
4294
4295 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4296 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4297
4298 # Check whether --with-zlib was given.
4299 if test "${with_zlib+set}" = set; then
4300 withval=$with_zlib;
4301 if test "$withval" = yes; then
4302 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4303 elif test "$withval" = no; then
4304 wx_cv_use_zlib='wxUSE_ZLIB=no'
4305 elif test "$withval" = sys; then
4306 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4307 elif test "$withval" = builtin; then
4308 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4309 else
4310 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4311 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4312 { (exit 1); exit 1; }; }
4313 fi
4314
4315 else
4316
4317 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4318
4319 fi
4320
4321
4322 eval "$wx_cv_use_zlib"
4323
4324 if test "$wxUSE_ZLIB" = yes; then
4325 { echo "$as_me:$LINENO: result: yes" >&5
4326 echo "${ECHO_T}yes" >&6; }
4327 elif test "$wxUSE_ZLIB" = no; then
4328 { echo "$as_me:$LINENO: result: no" >&5
4329 echo "${ECHO_T}no" >&6; }
4330 elif test "$wxUSE_ZLIB" = sys; then
4331 { echo "$as_me:$LINENO: result: system version" >&5
4332 echo "${ECHO_T}system version" >&6; }
4333 elif test "$wxUSE_ZLIB" = builtin; then
4334 { echo "$as_me:$LINENO: result: builtin version" >&5
4335 echo "${ECHO_T}builtin version" >&6; }
4336 else
4337 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4338 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4339 { (exit 1); exit 1; }; }
4340 fi
4341
4342
4343 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4344 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4345
4346 # Check whether --with-expat was given.
4347 if test "${with_expat+set}" = set; then
4348 withval=$with_expat;
4349 if test "$withval" = yes; then
4350 wx_cv_use_expat='wxUSE_EXPAT=yes'
4351 elif test "$withval" = no; then
4352 wx_cv_use_expat='wxUSE_EXPAT=no'
4353 elif test "$withval" = sys; then
4354 wx_cv_use_expat='wxUSE_EXPAT=sys'
4355 elif test "$withval" = builtin; then
4356 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4357 else
4358 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4359 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4360 { (exit 1); exit 1; }; }
4361 fi
4362
4363 else
4364
4365 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4366
4367 fi
4368
4369
4370 eval "$wx_cv_use_expat"
4371
4372 if test "$wxUSE_EXPAT" = yes; then
4373 { echo "$as_me:$LINENO: result: yes" >&5
4374 echo "${ECHO_T}yes" >&6; }
4375 elif test "$wxUSE_EXPAT" = no; then
4376 { echo "$as_me:$LINENO: result: no" >&5
4377 echo "${ECHO_T}no" >&6; }
4378 elif test "$wxUSE_EXPAT" = sys; then
4379 { echo "$as_me:$LINENO: result: system version" >&5
4380 echo "${ECHO_T}system version" >&6; }
4381 elif test "$wxUSE_EXPAT" = builtin; then
4382 { echo "$as_me:$LINENO: result: builtin version" >&5
4383 echo "${ECHO_T}builtin version" >&6; }
4384 else
4385 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4386 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4387 { (exit 1); exit 1; }; }
4388 fi
4389
4390
4391 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4392 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4393
4394 # Check whether --with-macosx-sdk was given.
4395 if test "${with_macosx_sdk+set}" = set; then
4396 withval=$with_macosx_sdk;
4397 wxUSE_MACOSX_SDK=$withval
4398 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4399
4400 fi
4401
4402 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4403 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4404
4405 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4406 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4407
4408 # Check whether --with-macosx-version-min was given.
4409 if test "${with_macosx_version_min+set}" = set; then
4410 withval=$with_macosx_version_min;
4411 wxUSE_MACOSX_VERSION_MIN=$withval
4412 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4413
4414 fi
4415
4416 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4417 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4418
4419
4420 { echo "$as_me:$LINENO: checking for --enable-debug" >&5
4421 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6; }
4422 # Check whether --enable-debug was given.
4423 if test "${enable_debug+set}" = set; then
4424 enableval=$enable_debug;
4425 if test "$enableval" = yes; then
4426 wxUSE_DEBUG=yes
4427 elif test "$enableval" = no; then
4428 wxUSE_DEBUG=no
4429 elif test "$enableval" = max; then
4430 wxUSE_DEBUG=yes
4431 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
4432 else
4433 { { echo "$as_me:$LINENO: error: Invalid --enable-debug value, must be yes, no or max" >&5
4434 echo "$as_me: error: Invalid --enable-debug value, must be yes, no or max" >&2;}
4435 { (exit 1); exit 1; }; }
4436 fi
4437
4438 else
4439 wxUSE_DEBUG=default
4440
4441 fi
4442
4443
4444 case "$wxUSE_DEBUG" in
4445 yes)
4446 DEFAULT_wxUSE_DEBUG_FLAG=yes
4447 DEFAULT_wxUSE_DEBUG_INFO=yes
4448
4449 DEFAULT_wxUSE_OPTIMISE=no
4450 ;;
4451
4452 no)
4453 DEFAULT_wxUSE_DEBUG_FLAG=no
4454 DEFAULT_wxUSE_DEBUG_INFO=no
4455 ;;
4456
4457 default)
4458 DEFAULT_wxUSE_DEBUG_FLAG=yes
4459 DEFAULT_wxUSE_DEBUG_INFO=no
4460 ;;
4461 esac
4462
4463
4464 enablestring=disable
4465 defaultval=
4466 if test -z "$defaultval"; then
4467 if test x"$enablestring" = xdisable; then
4468 defaultval=yes
4469 else
4470 defaultval=no
4471 fi
4472 fi
4473
4474 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4475 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4476 # Check whether --enable-debug_flag was given.
4477 if test "${enable_debug_flag+set}" = set; then
4478 enableval=$enable_debug_flag;
4479 if test "$enableval" = yes; then
4480 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4481 else
4482 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4483 fi
4484
4485 else
4486
4487 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4488
4489 fi
4490
4491
4492 eval "$wx_cv_use_debug_flag"
4493
4494 if test x"$enablestring" = xdisable; then
4495 if test $wxUSE_DEBUG_FLAG = no; then
4496 result=yes
4497 else
4498 result=no
4499 fi
4500 else
4501 result=$wxUSE_DEBUG_FLAG
4502 fi
4503
4504 { echo "$as_me:$LINENO: result: $result" >&5
4505 echo "${ECHO_T}$result" >&6; }
4506
4507
4508 enablestring=
4509 defaultval=
4510 if test -z "$defaultval"; then
4511 if test x"$enablestring" = xdisable; then
4512 defaultval=yes
4513 else
4514 defaultval=no
4515 fi
4516 fi
4517
4518 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4519 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4520 # Check whether --enable-debug_info was given.
4521 if test "${enable_debug_info+set}" = set; then
4522 enableval=$enable_debug_info;
4523 if test "$enableval" = yes; then
4524 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4525 else
4526 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4527 fi
4528
4529 else
4530
4531 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4532
4533 fi
4534
4535
4536 eval "$wx_cv_use_debug_info"
4537
4538 if test x"$enablestring" = xdisable; then
4539 if test $wxUSE_DEBUG_INFO = no; then
4540 result=yes
4541 else
4542 result=no
4543 fi
4544 else
4545 result=$wxUSE_DEBUG_INFO
4546 fi
4547
4548 { echo "$as_me:$LINENO: result: $result" >&5
4549 echo "${ECHO_T}$result" >&6; }
4550
4551
4552
4553
4554 enablestring=
4555 defaultval=
4556 if test -z "$defaultval"; then
4557 if test x"$enablestring" = xdisable; then
4558 defaultval=yes
4559 else
4560 defaultval=no
4561 fi
4562 fi
4563
4564 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4565 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4566 # Check whether --enable-debug_gdb was given.
4567 if test "${enable_debug_gdb+set}" = set; then
4568 enableval=$enable_debug_gdb;
4569 if test "$enableval" = yes; then
4570 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4571 else
4572 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4573 fi
4574
4575 else
4576
4577 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4578
4579 fi
4580
4581
4582 eval "$wx_cv_use_debug_gdb"
4583
4584 if test x"$enablestring" = xdisable; then
4585 if test $wxUSE_DEBUG_GDB = no; then
4586 result=yes
4587 else
4588 result=no
4589 fi
4590 else
4591 result=$wxUSE_DEBUG_GDB
4592 fi
4593
4594 { echo "$as_me:$LINENO: result: $result" >&5
4595 echo "${ECHO_T}$result" >&6; }
4596
4597
4598 enablestring=
4599 defaultval=
4600 if test -z "$defaultval"; then
4601 if test x"$enablestring" = xdisable; then
4602 defaultval=yes
4603 else
4604 defaultval=no
4605 fi
4606 fi
4607
4608 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4609 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4610 # Check whether --enable-debug_cntxt was given.
4611 if test "${enable_debug_cntxt+set}" = set; then
4612 enableval=$enable_debug_cntxt;
4613 if test "$enableval" = yes; then
4614 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4615 else
4616 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4617 fi
4618
4619 else
4620
4621 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4622
4623 fi
4624
4625
4626 eval "$wx_cv_use_debug_cntxt"
4627
4628 if test x"$enablestring" = xdisable; then
4629 if test $wxUSE_DEBUG_CONTEXT = no; then
4630 result=yes
4631 else
4632 result=no
4633 fi
4634 else
4635 result=$wxUSE_DEBUG_CONTEXT
4636 fi
4637
4638 { echo "$as_me:$LINENO: result: $result" >&5
4639 echo "${ECHO_T}$result" >&6; }
4640
4641
4642 enablestring=
4643 defaultval=
4644 if test -z "$defaultval"; then
4645 if test x"$enablestring" = xdisable; then
4646 defaultval=yes
4647 else
4648 defaultval=no
4649 fi
4650 fi
4651
4652 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4653 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4654 # Check whether --enable-mem_tracing was given.
4655 if test "${enable_mem_tracing+set}" = set; then
4656 enableval=$enable_mem_tracing;
4657 if test "$enableval" = yes; then
4658 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4659 else
4660 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4661 fi
4662
4663 else
4664
4665 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4666
4667 fi
4668
4669
4670 eval "$wx_cv_use_mem_tracing"
4671
4672 if test x"$enablestring" = xdisable; then
4673 if test $wxUSE_MEM_TRACING = no; then
4674 result=yes
4675 else
4676 result=no
4677 fi
4678 else
4679 result=$wxUSE_MEM_TRACING
4680 fi
4681
4682 { echo "$as_me:$LINENO: result: $result" >&5
4683 echo "${ECHO_T}$result" >&6; }
4684
4685
4686
4687
4688 enablestring=disable
4689 defaultval=
4690 if test -z "$defaultval"; then
4691 if test x"$enablestring" = xdisable; then
4692 defaultval=yes
4693 else
4694 defaultval=no
4695 fi
4696 fi
4697
4698 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4699 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4700 # Check whether --enable-shared was given.
4701 if test "${enable_shared+set}" = set; then
4702 enableval=$enable_shared;
4703 if test "$enableval" = yes; then
4704 wx_cv_use_shared='wxUSE_SHARED=yes'
4705 else
4706 wx_cv_use_shared='wxUSE_SHARED=no'
4707 fi
4708
4709 else
4710
4711 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4712
4713 fi
4714
4715
4716 eval "$wx_cv_use_shared"
4717
4718 if test x"$enablestring" = xdisable; then
4719 if test $wxUSE_SHARED = no; then
4720 result=yes
4721 else
4722 result=no
4723 fi
4724 else
4725 result=$wxUSE_SHARED
4726 fi
4727
4728 { echo "$as_me:$LINENO: result: $result" >&5
4729 echo "${ECHO_T}$result" >&6; }
4730
4731
4732 enablestring=
4733 defaultval=
4734 if test -z "$defaultval"; then
4735 if test x"$enablestring" = xdisable; then
4736 defaultval=yes
4737 else
4738 defaultval=no
4739 fi
4740 fi
4741
4742 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4743 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4744 # Check whether --enable-stl was given.
4745 if test "${enable_stl+set}" = set; then
4746 enableval=$enable_stl;
4747 if test "$enableval" = yes; then
4748 wx_cv_use_stl='wxUSE_STL=yes'
4749 else
4750 wx_cv_use_stl='wxUSE_STL=no'
4751 fi
4752
4753 else
4754
4755 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4756
4757 fi
4758
4759
4760 eval "$wx_cv_use_stl"
4761
4762 if test x"$enablestring" = xdisable; then
4763 if test $wxUSE_STL = no; then
4764 result=yes
4765 else
4766 result=no
4767 fi
4768 else
4769 result=$wxUSE_STL
4770 fi
4771
4772 { echo "$as_me:$LINENO: result: $result" >&5
4773 echo "${ECHO_T}$result" >&6; }
4774
4775
4776 enablestring=
4777 defaultval=
4778 if test -z "$defaultval"; then
4779 if test x"$enablestring" = xdisable; then
4780 defaultval=yes
4781 else
4782 defaultval=no
4783 fi
4784 fi
4785
4786 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4787 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4788 # Check whether --enable-std_iostreams was given.
4789 if test "${enable_std_iostreams+set}" = set; then
4790 enableval=$enable_std_iostreams;
4791 if test "$enableval" = yes; then
4792 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4793 else
4794 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4795 fi
4796
4797 else
4798
4799 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4800
4801 fi
4802
4803
4804 eval "$wx_cv_use_std_iostreams"
4805
4806 if test x"$enablestring" = xdisable; then
4807 if test $wxUSE_STD_IOSTREAM = no; then
4808 result=yes
4809 else
4810 result=no
4811 fi
4812 else
4813 result=$wxUSE_STD_IOSTREAM
4814 fi
4815
4816 { echo "$as_me:$LINENO: result: $result" >&5
4817 echo "${ECHO_T}$result" >&6; }
4818
4819
4820 enablestring=
4821 defaultval=
4822 if test -z "$defaultval"; then
4823 if test x"$enablestring" = xdisable; then
4824 defaultval=yes
4825 else
4826 defaultval=no
4827 fi
4828 fi
4829
4830 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4831 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4832 # Check whether --enable-std_string was given.
4833 if test "${enable_std_string+set}" = set; then
4834 enableval=$enable_std_string;
4835 if test "$enableval" = yes; then
4836 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4837 else
4838 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4839 fi
4840
4841 else
4842
4843 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4844
4845 fi
4846
4847
4848 eval "$wx_cv_use_std_string"
4849
4850 if test x"$enablestring" = xdisable; then
4851 if test $wxUSE_STD_STRING = no; then
4852 result=yes
4853 else
4854 result=no
4855 fi
4856 else
4857 result=$wxUSE_STD_STRING
4858 fi
4859
4860 { echo "$as_me:$LINENO: result: $result" >&5
4861 echo "${ECHO_T}$result" >&6; }
4862
4863
4864 enablestring=disable
4865 defaultval=
4866 if test -z "$defaultval"; then
4867 if test x"$enablestring" = xdisable; then
4868 defaultval=yes
4869 else
4870 defaultval=no
4871 fi
4872 fi
4873
4874 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4875 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4876 # Check whether --enable-unicode was given.
4877 if test "${enable_unicode+set}" = set; then
4878 enableval=$enable_unicode;
4879 if test "$enableval" = yes; then
4880 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4881 else
4882 wx_cv_use_unicode='wxUSE_UNICODE=no'
4883 fi
4884
4885 else
4886
4887 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4888
4889 fi
4890
4891
4892 eval "$wx_cv_use_unicode"
4893
4894 if test x"$enablestring" = xdisable; then
4895 if test $wxUSE_UNICODE = no; then
4896 result=yes
4897 else
4898 result=no
4899 fi
4900 else
4901 result=$wxUSE_UNICODE
4902 fi
4903
4904 { echo "$as_me:$LINENO: result: $result" >&5
4905 echo "${ECHO_T}$result" >&6; }
4906
4907
4908 enablestring=
4909 defaultval=
4910 if test -z "$defaultval"; then
4911 if test x"$enablestring" = xdisable; then
4912 defaultval=yes
4913 else
4914 defaultval=no
4915 fi
4916 fi
4917
4918 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4919 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4920 # Check whether --enable-mslu was given.
4921 if test "${enable_mslu+set}" = set; then
4922 enableval=$enable_mslu;
4923 if test "$enableval" = yes; then
4924 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4925 else
4926 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4927 fi
4928
4929 else
4930
4931 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4932
4933 fi
4934
4935
4936 eval "$wx_cv_use_mslu"
4937
4938 if test x"$enablestring" = xdisable; then
4939 if test $wxUSE_UNICODE_MSLU = no; then
4940 result=yes
4941 else
4942 result=no
4943 fi
4944 else
4945 result=$wxUSE_UNICODE_MSLU
4946 fi
4947
4948 { echo "$as_me:$LINENO: result: $result" >&5
4949 echo "${ECHO_T}$result" >&6; }
4950
4951
4952 enablestring=
4953 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4954 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4955 # Check whether --enable-utf8 was given.
4956 if test "${enable_utf8+set}" = set; then
4957 enableval=$enable_utf8;
4958 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4959
4960 else
4961
4962 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4963
4964 fi
4965
4966
4967 eval "$wx_cv_use_utf8"
4968
4969 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4970 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4971
4972
4973 enablestring=
4974 defaultval=
4975 if test -z "$defaultval"; then
4976 if test x"$enablestring" = xdisable; then
4977 defaultval=yes
4978 else
4979 defaultval=no
4980 fi
4981 fi
4982
4983 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4984 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4985 # Check whether --enable-utf8only was given.
4986 if test "${enable_utf8only+set}" = set; then
4987 enableval=$enable_utf8only;
4988 if test "$enableval" = yes; then
4989 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4990 else
4991 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4992 fi
4993
4994 else
4995
4996 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4997
4998 fi
4999
5000
5001 eval "$wx_cv_use_utf8only"
5002
5003 if test x"$enablestring" = xdisable; then
5004 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
5005 result=yes
5006 else
5007 result=no
5008 fi
5009 else
5010 result=$wxUSE_UNICODE_UTF8_LOCALE
5011 fi
5012
5013 { echo "$as_me:$LINENO: result: $result" >&5
5014 echo "${ECHO_T}$result" >&6; }
5015
5016
5017 enablestring=
5018 defaultval=
5019 if test -z "$defaultval"; then
5020 if test x"$enablestring" = xdisable; then
5021 defaultval=yes
5022 else
5023 defaultval=no
5024 fi
5025 fi
5026
5027 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5028 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5029 # Check whether --enable-extended_rtti was given.
5030 if test "${enable_extended_rtti+set}" = set; then
5031 enableval=$enable_extended_rtti;
5032 if test "$enableval" = yes; then
5033 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
5034 else
5035 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
5036 fi
5037
5038 else
5039
5040 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5041
5042 fi
5043
5044
5045 eval "$wx_cv_use_extended_rtti"
5046
5047 if test x"$enablestring" = xdisable; then
5048 if test $wxUSE_EXTENDED_RTTI = no; then
5049 result=yes
5050 else
5051 result=no
5052 fi
5053 else
5054 result=$wxUSE_EXTENDED_RTTI
5055 fi
5056
5057 { echo "$as_me:$LINENO: result: $result" >&5
5058 echo "${ECHO_T}$result" >&6; }
5059
5060 if test "$USE_OS2" = 1; then
5061 DEFAULT_wxUSE_OMF=no
5062
5063 enablestring=
5064 defaultval=
5065 if test -z "$defaultval"; then
5066 if test x"$enablestring" = xdisable; then
5067 defaultval=yes
5068 else
5069 defaultval=no
5070 fi
5071 fi
5072
5073 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5074 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5075 # Check whether --enable-omf was given.
5076 if test "${enable_omf+set}" = set; then
5077 enableval=$enable_omf;
5078 if test "$enableval" = yes; then
5079 wx_cv_use_omf='wxUSE_OMF=yes'
5080 else
5081 wx_cv_use_omf='wxUSE_OMF=no'
5082 fi
5083
5084 else
5085
5086 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5087
5088 fi
5089
5090
5091 eval "$wx_cv_use_omf"
5092
5093 if test x"$enablestring" = xdisable; then
5094 if test $wxUSE_OMF = no; then
5095 result=yes
5096 else
5097 result=no
5098 fi
5099 else
5100 result=$wxUSE_OMF
5101 fi
5102
5103 { echo "$as_me:$LINENO: result: $result" >&5
5104 echo "${ECHO_T}$result" >&6; }
5105
5106 fi
5107
5108
5109 enablestring=disable
5110 defaultval=
5111 if test -z "$defaultval"; then
5112 if test x"$enablestring" = xdisable; then
5113 defaultval=yes
5114 else
5115 defaultval=no
5116 fi
5117 fi
5118
5119 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
5120 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
5121 # Check whether --enable-optimise was given.
5122 if test "${enable_optimise+set}" = set; then
5123 enableval=$enable_optimise;
5124 if test "$enableval" = yes; then
5125 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
5126 else
5127 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
5128 fi
5129
5130 else
5131
5132 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5133
5134 fi
5135
5136
5137 eval "$wx_cv_use_optimise"
5138
5139 if test x"$enablestring" = xdisable; then
5140 if test $wxUSE_OPTIMISE = no; then
5141 result=yes
5142 else
5143 result=no
5144 fi
5145 else
5146 result=$wxUSE_OPTIMISE
5147 fi
5148
5149 { echo "$as_me:$LINENO: result: $result" >&5
5150 echo "${ECHO_T}$result" >&6; }
5151
5152
5153
5154 enablestring=
5155 defaultval=
5156 if test -z "$defaultval"; then
5157 if test x"$enablestring" = xdisable; then
5158 defaultval=yes
5159 else
5160 defaultval=no
5161 fi
5162 fi
5163
5164 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5165 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5166 # Check whether --enable-profile was given.
5167 if test "${enable_profile+set}" = set; then
5168 enableval=$enable_profile;
5169 if test "$enableval" = yes; then
5170 wx_cv_use_profile='wxUSE_PROFILE=yes'
5171 else
5172 wx_cv_use_profile='wxUSE_PROFILE=no'
5173 fi
5174
5175 else
5176
5177 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5178
5179 fi
5180
5181
5182 eval "$wx_cv_use_profile"
5183
5184 if test x"$enablestring" = xdisable; then
5185 if test $wxUSE_PROFILE = no; then
5186 result=yes
5187 else
5188 result=no
5189 fi
5190 else
5191 result=$wxUSE_PROFILE
5192 fi
5193
5194 { echo "$as_me:$LINENO: result: $result" >&5
5195 echo "${ECHO_T}$result" >&6; }
5196
5197
5198 enablestring=
5199 defaultval=
5200 if test -z "$defaultval"; then
5201 if test x"$enablestring" = xdisable; then
5202 defaultval=yes
5203 else
5204 defaultval=no
5205 fi
5206 fi
5207
5208 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5209 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5210 # Check whether --enable-no_rtti was given.
5211 if test "${enable_no_rtti+set}" = set; then
5212 enableval=$enable_no_rtti;
5213 if test "$enableval" = yes; then
5214 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5215 else
5216 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5217 fi
5218
5219 else
5220
5221 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5222
5223 fi
5224
5225
5226 eval "$wx_cv_use_no_rtti"
5227
5228 if test x"$enablestring" = xdisable; then
5229 if test $wxUSE_NO_RTTI = no; then
5230 result=yes
5231 else
5232 result=no
5233 fi
5234 else
5235 result=$wxUSE_NO_RTTI
5236 fi
5237
5238 { echo "$as_me:$LINENO: result: $result" >&5
5239 echo "${ECHO_T}$result" >&6; }
5240
5241
5242 enablestring=
5243 defaultval=
5244 if test -z "$defaultval"; then
5245 if test x"$enablestring" = xdisable; then
5246 defaultval=yes
5247 else
5248 defaultval=no
5249 fi
5250 fi
5251
5252 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5253 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5254 # Check whether --enable-no_exceptions was given.
5255 if test "${enable_no_exceptions+set}" = set; then
5256 enableval=$enable_no_exceptions;
5257 if test "$enableval" = yes; then
5258 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5259 else
5260 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5261 fi
5262
5263 else
5264
5265 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5266
5267 fi
5268
5269
5270 eval "$wx_cv_use_no_exceptions"
5271
5272 if test x"$enablestring" = xdisable; then
5273 if test $wxUSE_NO_EXCEPTIONS = no; then
5274 result=yes
5275 else
5276 result=no
5277 fi
5278 else
5279 result=$wxUSE_NO_EXCEPTIONS
5280 fi
5281
5282 { echo "$as_me:$LINENO: result: $result" >&5
5283 echo "${ECHO_T}$result" >&6; }
5284
5285
5286 enablestring=
5287 defaultval=
5288 if test -z "$defaultval"; then
5289 if test x"$enablestring" = xdisable; then
5290 defaultval=yes
5291 else
5292 defaultval=no
5293 fi
5294 fi
5295
5296 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5297 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5298 # Check whether --enable-permissive was given.
5299 if test "${enable_permissive+set}" = set; then
5300 enableval=$enable_permissive;
5301 if test "$enableval" = yes; then
5302 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5303 else
5304 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5305 fi
5306
5307 else
5308
5309 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5310
5311 fi
5312
5313
5314 eval "$wx_cv_use_permissive"
5315
5316 if test x"$enablestring" = xdisable; then
5317 if test $wxUSE_PERMISSIVE = no; then
5318 result=yes
5319 else
5320 result=no
5321 fi
5322 else
5323 result=$wxUSE_PERMISSIVE
5324 fi
5325
5326 { echo "$as_me:$LINENO: result: $result" >&5
5327 echo "${ECHO_T}$result" >&6; }
5328
5329
5330 enablestring=
5331 defaultval=
5332 if test -z "$defaultval"; then
5333 if test x"$enablestring" = xdisable; then
5334 defaultval=yes
5335 else
5336 defaultval=no
5337 fi
5338 fi
5339
5340 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5341 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5342 # Check whether --enable-no_deps was given.
5343 if test "${enable_no_deps+set}" = set; then
5344 enableval=$enable_no_deps;
5345 if test "$enableval" = yes; then
5346 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5347 else
5348 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5349 fi
5350
5351 else
5352
5353 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5354
5355 fi
5356
5357
5358 eval "$wx_cv_use_no_deps"
5359
5360 if test x"$enablestring" = xdisable; then
5361 if test $wxUSE_NO_DEPS = no; then
5362 result=yes
5363 else
5364 result=no
5365 fi
5366 else
5367 result=$wxUSE_NO_DEPS
5368 fi
5369
5370 { echo "$as_me:$LINENO: result: $result" >&5
5371 echo "${ECHO_T}$result" >&6; }
5372
5373
5374 enablestring=disable
5375 defaultval=
5376 if test -z "$defaultval"; then
5377 if test x"$enablestring" = xdisable; then
5378 defaultval=yes
5379 else
5380 defaultval=no
5381 fi
5382 fi
5383
5384 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5385 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5386 # Check whether --enable-vararg_macros was given.
5387 if test "${enable_vararg_macros+set}" = set; then
5388 enableval=$enable_vararg_macros;
5389 if test "$enableval" = yes; then
5390 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5391 else
5392 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5393 fi
5394
5395 else
5396
5397 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5398
5399 fi
5400
5401
5402 eval "$wx_cv_use_vararg_macros"
5403
5404 if test x"$enablestring" = xdisable; then
5405 if test $wxUSE_VARARG_MACROS = no; then
5406 result=yes
5407 else
5408 result=no
5409 fi
5410 else
5411 result=$wxUSE_VARARG_MACROS
5412 fi
5413
5414 { echo "$as_me:$LINENO: result: $result" >&5
5415 echo "${ECHO_T}$result" >&6; }
5416
5417
5418
5419 enablestring=
5420 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5421 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5422 # Check whether --enable-universal_binary was given.
5423 if test "${enable_universal_binary+set}" = set; then
5424 enableval=$enable_universal_binary;
5425 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5426
5427 else
5428
5429 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5430
5431 fi
5432
5433
5434 eval "$wx_cv_use_universal_binary"
5435
5436 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5437 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5438
5439
5440 enablestring=
5441 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-macosx_arch" >&5
5442 echo $ECHO_N "checking for --${enablestring:-enable}-macosx_arch... $ECHO_C" >&6; }
5443 # Check whether --enable-macosx_arch was given.
5444 if test "${enable_macosx_arch+set}" = set; then
5445 enableval=$enable_macosx_arch;
5446 wx_cv_use_macosx_arch="wxUSE_MAC_ARCH='$enableval'"
5447
5448 else
5449
5450 wx_cv_use_macosx_arch='wxUSE_MAC_ARCH='$DEFAULT_wxUSE_MAC_ARCH
5451
5452 fi
5453
5454
5455 eval "$wx_cv_use_macosx_arch"
5456
5457 { echo "$as_me:$LINENO: result: $wxUSE_MAC_ARCH" >&5
5458 echo "${ECHO_T}$wxUSE_MAC_ARCH" >&6; }
5459
5460
5461
5462 enablestring=
5463 defaultval=
5464 if test -z "$defaultval"; then
5465 if test x"$enablestring" = xdisable; then
5466 defaultval=yes
5467 else
5468 defaultval=no
5469 fi
5470 fi
5471
5472 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5473 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5474 # Check whether --enable-compat26 was given.
5475 if test "${enable_compat26+set}" = set; then
5476 enableval=$enable_compat26;
5477 if test "$enableval" = yes; then
5478 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5479 else
5480 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5481 fi
5482
5483 else
5484
5485 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5486
5487 fi
5488
5489
5490 eval "$wx_cv_use_compat26"
5491
5492 if test x"$enablestring" = xdisable; then
5493 if test $WXWIN_COMPATIBILITY_2_6 = no; then
5494 result=yes
5495 else
5496 result=no
5497 fi
5498 else
5499 result=$WXWIN_COMPATIBILITY_2_6
5500 fi
5501
5502 { echo "$as_me:$LINENO: result: $result" >&5
5503 echo "${ECHO_T}$result" >&6; }
5504
5505
5506 enablestring=disable
5507 defaultval=
5508 if test -z "$defaultval"; then
5509 if test x"$enablestring" = xdisable; then
5510 defaultval=yes
5511 else
5512 defaultval=no
5513 fi
5514 fi
5515
5516 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5517 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5518 # Check whether --enable-compat28 was given.
5519 if test "${enable_compat28+set}" = set; then
5520 enableval=$enable_compat28;
5521 if test "$enableval" = yes; then
5522 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5523 else
5524 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5525 fi
5526
5527 else
5528
5529 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5530
5531 fi
5532
5533
5534 eval "$wx_cv_use_compat28"
5535
5536 if test x"$enablestring" = xdisable; then
5537 if test $WXWIN_COMPATIBILITY_2_8 = no; then
5538 result=yes
5539 else
5540 result=no
5541 fi
5542 else
5543 result=$WXWIN_COMPATIBILITY_2_8
5544 fi
5545
5546 { echo "$as_me:$LINENO: result: $result" >&5
5547 echo "${ECHO_T}$result" >&6; }
5548
5549
5550
5551 enablestring=disable
5552 defaultval=
5553 if test -z "$defaultval"; then
5554 if test x"$enablestring" = xdisable; then
5555 defaultval=yes
5556 else
5557 defaultval=no
5558 fi
5559 fi
5560
5561 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5562 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5563 # Check whether --enable-rpath was given.
5564 if test "${enable_rpath+set}" = set; then
5565 enableval=$enable_rpath;
5566 if test "$enableval" = yes; then
5567 wx_cv_use_rpath='wxUSE_RPATH=yes'
5568 else
5569 wx_cv_use_rpath='wxUSE_RPATH=no'
5570 fi
5571
5572 else
5573
5574 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5575
5576 fi
5577
5578
5579 eval "$wx_cv_use_rpath"
5580
5581 if test x"$enablestring" = xdisable; then
5582 if test $wxUSE_RPATH = no; then
5583 result=yes
5584 else
5585 result=no
5586 fi
5587 else
5588 result=$wxUSE_RPATH
5589 fi
5590
5591 { echo "$as_me:$LINENO: result: $result" >&5
5592 echo "${ECHO_T}$result" >&6; }
5593
5594
5595
5596 enablestring=
5597 defaultval=
5598 if test -z "$defaultval"; then
5599 if test x"$enablestring" = xdisable; then
5600 defaultval=yes
5601 else
5602 defaultval=no
5603 fi
5604 fi
5605
5606 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5607 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5608 # Check whether --enable-objc_uniquifying was given.
5609 if test "${enable_objc_uniquifying+set}" = set; then
5610 enableval=$enable_objc_uniquifying;
5611 if test "$enableval" = yes; then
5612 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5613 else
5614 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5615 fi
5616
5617 else
5618
5619 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5620
5621 fi
5622
5623
5624 eval "$wx_cv_use_objc_uniquifying"
5625
5626 if test x"$enablestring" = xdisable; then
5627 if test $wxUSE_OBJC_UNIQUIFYING = no; then
5628 result=yes
5629 else
5630 result=no
5631 fi
5632 else
5633 result=$wxUSE_OBJC_UNIQUIFYING
5634 fi
5635
5636 { echo "$as_me:$LINENO: result: $result" >&5
5637 echo "${ECHO_T}$result" >&6; }
5638
5639
5640
5641 enablestring=disable
5642 defaultval=
5643 if test -z "$defaultval"; then
5644 if test x"$enablestring" = xdisable; then
5645 defaultval=yes
5646 else
5647 defaultval=no
5648 fi
5649 fi
5650
5651 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5652 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5653 # Check whether --enable-visibility was given.
5654 if test "${enable_visibility+set}" = set; then
5655 enableval=$enable_visibility;
5656 if test "$enableval" = yes; then
5657 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5658 else
5659 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5660 fi
5661
5662 else
5663
5664 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5665
5666 fi
5667
5668
5669 eval "$wx_cv_use_visibility"
5670
5671 if test x"$enablestring" = xdisable; then
5672 if test $wxUSE_VISIBILITY = no; then
5673 result=yes
5674 else
5675 result=no
5676 fi
5677 else
5678 result=$wxUSE_VISIBILITY
5679 fi
5680
5681 { echo "$as_me:$LINENO: result: $result" >&5
5682 echo "${ECHO_T}$result" >&6; }
5683
5684
5685 enablestring=disable
5686 defaultval=
5687 if test -z "$defaultval"; then
5688 if test x"$enablestring" = xdisable; then
5689 defaultval=yes
5690 else
5691 defaultval=no
5692 fi
5693 fi
5694
5695 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tls" >&5
5696 echo $ECHO_N "checking for --${enablestring:-enable}-tls... $ECHO_C" >&6; }
5697 # Check whether --enable-tls was given.
5698 if test "${enable_tls+set}" = set; then
5699 enableval=$enable_tls;
5700 if test "$enableval" = yes; then
5701 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
5702 else
5703 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
5704 fi
5705
5706 else
5707
5708 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5709
5710 fi
5711
5712
5713 eval "$wx_cv_use_tls"
5714
5715 if test x"$enablestring" = xdisable; then
5716 if test $wxUSE_COMPILER_TLS = no; then
5717 result=yes
5718 else
5719 result=no
5720 fi
5721 else
5722 result=$wxUSE_COMPILER_TLS
5723 fi
5724
5725 { echo "$as_me:$LINENO: result: $result" >&5
5726 echo "${ECHO_T}$result" >&6; }
5727
5728
5729
5730
5731 enablestring=
5732 defaultval=$wxUSE_ALL_FEATURES
5733 if test -z "$defaultval"; then
5734 if test x"$enablestring" = xdisable; then
5735 defaultval=yes
5736 else
5737 defaultval=no
5738 fi
5739 fi
5740
5741 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5742 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5743 # Check whether --enable-intl was given.
5744 if test "${enable_intl+set}" = set; then
5745 enableval=$enable_intl;
5746 if test "$enableval" = yes; then
5747 wx_cv_use_intl='wxUSE_INTL=yes'
5748 else
5749 wx_cv_use_intl='wxUSE_INTL=no'
5750 fi
5751
5752 else
5753
5754 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5755
5756 fi
5757
5758
5759 eval "$wx_cv_use_intl"
5760
5761 if test x"$enablestring" = xdisable; then
5762 if test $wxUSE_INTL = no; then
5763 result=yes
5764 else
5765 result=no
5766 fi
5767 else
5768 result=$wxUSE_INTL
5769 fi
5770
5771 { echo "$as_me:$LINENO: result: $result" >&5
5772 echo "${ECHO_T}$result" >&6; }
5773
5774
5775 enablestring=
5776 defaultval=$wxUSE_ALL_FEATURES
5777 if test -z "$defaultval"; then
5778 if test x"$enablestring" = xdisable; then
5779 defaultval=yes
5780 else
5781 defaultval=no
5782 fi
5783 fi
5784
5785 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5786 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5787 # Check whether --enable-xlocale was given.
5788 if test "${enable_xlocale+set}" = set; then
5789 enableval=$enable_xlocale;
5790 if test "$enableval" = yes; then
5791 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5792 else
5793 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5794 fi
5795
5796 else
5797
5798 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5799
5800 fi
5801
5802
5803 eval "$wx_cv_use_xlocale"
5804
5805 if test x"$enablestring" = xdisable; then
5806 if test $wxUSE_XLOCALE = no; then
5807 result=yes
5808 else
5809 result=no
5810 fi
5811 else
5812 result=$wxUSE_XLOCALE
5813 fi
5814
5815 { echo "$as_me:$LINENO: result: $result" >&5
5816 echo "${ECHO_T}$result" >&6; }
5817
5818
5819 enablestring=
5820 defaultval=$wxUSE_ALL_FEATURES
5821 if test -z "$defaultval"; then
5822 if test x"$enablestring" = xdisable; then
5823 defaultval=yes
5824 else
5825 defaultval=no
5826 fi
5827 fi
5828
5829 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5830 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5831 # Check whether --enable-config was given.
5832 if test "${enable_config+set}" = set; then
5833 enableval=$enable_config;
5834 if test "$enableval" = yes; then
5835 wx_cv_use_config='wxUSE_CONFIG=yes'
5836 else
5837 wx_cv_use_config='wxUSE_CONFIG=no'
5838 fi
5839
5840 else
5841
5842 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5843
5844 fi
5845
5846
5847 eval "$wx_cv_use_config"
5848
5849 if test x"$enablestring" = xdisable; then
5850 if test $wxUSE_CONFIG = no; then
5851 result=yes
5852 else
5853 result=no
5854 fi
5855 else
5856 result=$wxUSE_CONFIG
5857 fi
5858
5859 { echo "$as_me:$LINENO: result: $result" >&5
5860 echo "${ECHO_T}$result" >&6; }
5861
5862
5863
5864 enablestring=
5865 defaultval=$wxUSE_ALL_FEATURES
5866 if test -z "$defaultval"; then
5867 if test x"$enablestring" = xdisable; then
5868 defaultval=yes
5869 else
5870 defaultval=no
5871 fi
5872 fi
5873
5874 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5875 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5876 # Check whether --enable-protocols was given.
5877 if test "${enable_protocols+set}" = set; then
5878 enableval=$enable_protocols;
5879 if test "$enableval" = yes; then
5880 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5881 else
5882 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5883 fi
5884
5885 else
5886
5887 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5888
5889 fi
5890
5891
5892 eval "$wx_cv_use_protocols"
5893
5894 if test x"$enablestring" = xdisable; then
5895 if test $wxUSE_PROTOCOL = no; then
5896 result=yes
5897 else
5898 result=no
5899 fi
5900 else
5901 result=$wxUSE_PROTOCOL
5902 fi
5903
5904 { echo "$as_me:$LINENO: result: $result" >&5
5905 echo "${ECHO_T}$result" >&6; }
5906
5907
5908 enablestring=
5909 defaultval=$wxUSE_ALL_FEATURES
5910 if test -z "$defaultval"; then
5911 if test x"$enablestring" = xdisable; then
5912 defaultval=yes
5913 else
5914 defaultval=no
5915 fi
5916 fi
5917
5918 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5919 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5920 # Check whether --enable-ftp was given.
5921 if test "${enable_ftp+set}" = set; then
5922 enableval=$enable_ftp;
5923 if test "$enableval" = yes; then
5924 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5925 else
5926 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5927 fi
5928
5929 else
5930
5931 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5932
5933 fi
5934
5935
5936 eval "$wx_cv_use_ftp"
5937
5938 if test x"$enablestring" = xdisable; then
5939 if test $wxUSE_PROTOCOL_FTP = no; then
5940 result=yes
5941 else
5942 result=no
5943 fi
5944 else
5945 result=$wxUSE_PROTOCOL_FTP
5946 fi
5947
5948 { echo "$as_me:$LINENO: result: $result" >&5
5949 echo "${ECHO_T}$result" >&6; }
5950
5951
5952 enablestring=
5953 defaultval=$wxUSE_ALL_FEATURES
5954 if test -z "$defaultval"; then
5955 if test x"$enablestring" = xdisable; then
5956 defaultval=yes
5957 else
5958 defaultval=no
5959 fi
5960 fi
5961
5962 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5963 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5964 # Check whether --enable-http was given.
5965 if test "${enable_http+set}" = set; then
5966 enableval=$enable_http;
5967 if test "$enableval" = yes; then
5968 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5969 else
5970 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5971 fi
5972
5973 else
5974
5975 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5976
5977 fi
5978
5979
5980 eval "$wx_cv_use_http"
5981
5982 if test x"$enablestring" = xdisable; then
5983 if test $wxUSE_PROTOCOL_HTTP = no; then
5984 result=yes
5985 else
5986 result=no
5987 fi
5988 else
5989 result=$wxUSE_PROTOCOL_HTTP
5990 fi
5991
5992 { echo "$as_me:$LINENO: result: $result" >&5
5993 echo "${ECHO_T}$result" >&6; }
5994
5995
5996 enablestring=
5997 defaultval=$wxUSE_ALL_FEATURES
5998 if test -z "$defaultval"; then
5999 if test x"$enablestring" = xdisable; then
6000 defaultval=yes
6001 else
6002 defaultval=no
6003 fi
6004 fi
6005
6006 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6007 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6008 # Check whether --enable-fileproto was given.
6009 if test "${enable_fileproto+set}" = set; then
6010 enableval=$enable_fileproto;
6011 if test "$enableval" = yes; then
6012 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6013 else
6014 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6015 fi
6016
6017 else
6018
6019 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6020
6021 fi
6022
6023
6024 eval "$wx_cv_use_fileproto"
6025
6026 if test x"$enablestring" = xdisable; then
6027 if test $wxUSE_PROTOCOL_FILE = no; then
6028 result=yes
6029 else
6030 result=no
6031 fi
6032 else
6033 result=$wxUSE_PROTOCOL_FILE
6034 fi
6035
6036 { echo "$as_me:$LINENO: result: $result" >&5
6037 echo "${ECHO_T}$result" >&6; }
6038
6039
6040 enablestring=
6041 defaultval=$wxUSE_ALL_FEATURES
6042 if test -z "$defaultval"; then
6043 if test x"$enablestring" = xdisable; then
6044 defaultval=yes
6045 else
6046 defaultval=no
6047 fi
6048 fi
6049
6050 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6051 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6052 # Check whether --enable-sockets was given.
6053 if test "${enable_sockets+set}" = set; then
6054 enableval=$enable_sockets;
6055 if test "$enableval" = yes; then
6056 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6057 else
6058 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6059 fi
6060
6061 else
6062
6063 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6064
6065 fi
6066
6067
6068 eval "$wx_cv_use_sockets"
6069
6070 if test x"$enablestring" = xdisable; then
6071 if test $wxUSE_SOCKETS = no; then
6072 result=yes
6073 else
6074 result=no
6075 fi
6076 else
6077 result=$wxUSE_SOCKETS
6078 fi
6079
6080 { echo "$as_me:$LINENO: result: $result" >&5
6081 echo "${ECHO_T}$result" >&6; }
6082
6083
6084 enablestring=
6085 defaultval=$wxUSE_ALL_FEATURES
6086 if test -z "$defaultval"; then
6087 if test x"$enablestring" = xdisable; then
6088 defaultval=yes
6089 else
6090 defaultval=no
6091 fi
6092 fi
6093
6094 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
6095 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
6096 # Check whether --enable-ipv6 was given.
6097 if test "${enable_ipv6+set}" = set; then
6098 enableval=$enable_ipv6;
6099 if test "$enableval" = yes; then
6100 wx_cv_use_ipv6='wxUSE_IPV6=yes'
6101 else
6102 wx_cv_use_ipv6='wxUSE_IPV6=no'
6103 fi
6104
6105 else
6106
6107 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6108
6109 fi
6110
6111
6112 eval "$wx_cv_use_ipv6"
6113
6114 if test x"$enablestring" = xdisable; then
6115 if test $wxUSE_IPV6 = no; then
6116 result=yes
6117 else
6118 result=no
6119 fi
6120 else
6121 result=$wxUSE_IPV6
6122 fi
6123
6124 { echo "$as_me:$LINENO: result: $result" >&5
6125 echo "${ECHO_T}$result" >&6; }
6126
6127
6128 enablestring=
6129 defaultval=$wxUSE_ALL_FEATURES
6130 if test -z "$defaultval"; then
6131 if test x"$enablestring" = xdisable; then
6132 defaultval=yes
6133 else
6134 defaultval=no
6135 fi
6136 fi
6137
6138 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6139 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6140 # Check whether --enable-ole was given.
6141 if test "${enable_ole+set}" = set; then
6142 enableval=$enable_ole;
6143 if test "$enableval" = yes; then
6144 wx_cv_use_ole='wxUSE_OLE=yes'
6145 else
6146 wx_cv_use_ole='wxUSE_OLE=no'
6147 fi
6148
6149 else
6150
6151 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6152
6153 fi
6154
6155
6156 eval "$wx_cv_use_ole"
6157
6158 if test x"$enablestring" = xdisable; then
6159 if test $wxUSE_OLE = no; then
6160 result=yes
6161 else
6162 result=no
6163 fi
6164 else
6165 result=$wxUSE_OLE
6166 fi
6167
6168 { echo "$as_me:$LINENO: result: $result" >&5
6169 echo "${ECHO_T}$result" >&6; }
6170
6171
6172 enablestring=
6173 defaultval=$wxUSE_ALL_FEATURES
6174 if test -z "$defaultval"; then
6175 if test x"$enablestring" = xdisable; then
6176 defaultval=yes
6177 else
6178 defaultval=no
6179 fi
6180 fi
6181
6182 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6183 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6184 # Check whether --enable-dataobj was given.
6185 if test "${enable_dataobj+set}" = set; then
6186 enableval=$enable_dataobj;
6187 if test "$enableval" = yes; then
6188 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6189 else
6190 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6191 fi
6192
6193 else
6194
6195 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6196
6197 fi
6198
6199
6200 eval "$wx_cv_use_dataobj"
6201
6202 if test x"$enablestring" = xdisable; then
6203 if test $wxUSE_DATAOBJ = no; then
6204 result=yes
6205 else
6206 result=no
6207 fi
6208 else
6209 result=$wxUSE_DATAOBJ
6210 fi
6211
6212 { echo "$as_me:$LINENO: result: $result" >&5
6213 echo "${ECHO_T}$result" >&6; }
6214
6215
6216
6217 enablestring=
6218 defaultval=$wxUSE_ALL_FEATURES
6219 if test -z "$defaultval"; then
6220 if test x"$enablestring" = xdisable; then
6221 defaultval=yes
6222 else
6223 defaultval=no
6224 fi
6225 fi
6226
6227 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6228 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6229 # Check whether --enable-ipc was given.
6230 if test "${enable_ipc+set}" = set; then
6231 enableval=$enable_ipc;
6232 if test "$enableval" = yes; then
6233 wx_cv_use_ipc='wxUSE_IPC=yes'
6234 else
6235 wx_cv_use_ipc='wxUSE_IPC=no'
6236 fi
6237
6238 else
6239
6240 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6241
6242 fi
6243
6244
6245 eval "$wx_cv_use_ipc"
6246
6247 if test x"$enablestring" = xdisable; then
6248 if test $wxUSE_IPC = no; then
6249 result=yes
6250 else
6251 result=no
6252 fi
6253 else
6254 result=$wxUSE_IPC
6255 fi
6256
6257 { echo "$as_me:$LINENO: result: $result" >&5
6258 echo "${ECHO_T}$result" >&6; }
6259
6260
6261
6262 enablestring=
6263 defaultval=$wxUSE_ALL_FEATURES
6264 if test -z "$defaultval"; then
6265 if test x"$enablestring" = xdisable; then
6266 defaultval=yes
6267 else
6268 defaultval=no
6269 fi
6270 fi
6271
6272 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6273 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6274 # Check whether --enable-baseevtloop was given.
6275 if test "${enable_baseevtloop+set}" = set; then
6276 enableval=$enable_baseevtloop;
6277 if test "$enableval" = yes; then
6278 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6279 else
6280 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6281 fi
6282
6283 else
6284
6285 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6286
6287 fi
6288
6289
6290 eval "$wx_cv_use_baseevtloop"
6291
6292 if test x"$enablestring" = xdisable; then
6293 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
6294 result=yes
6295 else
6296 result=no
6297 fi
6298 else
6299 result=$wxUSE_CONSOLE_EVENTLOOP
6300 fi
6301
6302 { echo "$as_me:$LINENO: result: $result" >&5
6303 echo "${ECHO_T}$result" >&6; }
6304
6305
6306 enablestring=
6307 defaultval=$wxUSE_ALL_FEATURES
6308 if test -z "$defaultval"; then
6309 if test x"$enablestring" = xdisable; then
6310 defaultval=yes
6311 else
6312 defaultval=no
6313 fi
6314 fi
6315
6316 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6317 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6318 # Check whether --enable-epollloop was given.
6319 if test "${enable_epollloop+set}" = set; then
6320 enableval=$enable_epollloop;
6321 if test "$enableval" = yes; then
6322 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6323 else
6324 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6325 fi
6326
6327 else
6328
6329 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6330
6331 fi
6332
6333
6334 eval "$wx_cv_use_epollloop"
6335
6336 if test x"$enablestring" = xdisable; then
6337 if test $wxUSE_EPOLL_DISPATCHER = no; then
6338 result=yes
6339 else
6340 result=no
6341 fi
6342 else
6343 result=$wxUSE_EPOLL_DISPATCHER
6344 fi
6345
6346 { echo "$as_me:$LINENO: result: $result" >&5
6347 echo "${ECHO_T}$result" >&6; }
6348
6349
6350 enablestring=
6351 defaultval=$wxUSE_ALL_FEATURES
6352 if test -z "$defaultval"; then
6353 if test x"$enablestring" = xdisable; then
6354 defaultval=yes
6355 else
6356 defaultval=no
6357 fi
6358 fi
6359
6360 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6361 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6362 # Check whether --enable-selectloop was given.
6363 if test "${enable_selectloop+set}" = set; then
6364 enableval=$enable_selectloop;
6365 if test "$enableval" = yes; then
6366 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6367 else
6368 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6369 fi
6370
6371 else
6372
6373 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6374
6375 fi
6376
6377
6378 eval "$wx_cv_use_selectloop"
6379
6380 if test x"$enablestring" = xdisable; then
6381 if test $wxUSE_SELECT_DISPATCHER = no; then
6382 result=yes
6383 else
6384 result=no
6385 fi
6386 else
6387 result=$wxUSE_SELECT_DISPATCHER
6388 fi
6389
6390 { echo "$as_me:$LINENO: result: $result" >&5
6391 echo "${ECHO_T}$result" >&6; }
6392
6393
6394
6395 enablestring=
6396 defaultval=$wxUSE_ALL_FEATURES
6397 if test -z "$defaultval"; then
6398 if test x"$enablestring" = xdisable; then
6399 defaultval=yes
6400 else
6401 defaultval=no
6402 fi
6403 fi
6404
6405 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-any" >&5
6406 echo $ECHO_N "checking for --${enablestring:-enable}-any... $ECHO_C" >&6; }
6407 # Check whether --enable-any was given.
6408 if test "${enable_any+set}" = set; then
6409 enableval=$enable_any;
6410 if test "$enableval" = yes; then
6411 wx_cv_use_any='wxUSE_ANY=yes'
6412 else
6413 wx_cv_use_any='wxUSE_ANY=no'
6414 fi
6415
6416 else
6417
6418 wx_cv_use_any='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
6419
6420 fi
6421
6422
6423 eval "$wx_cv_use_any"
6424
6425 if test x"$enablestring" = xdisable; then
6426 if test $wxUSE_ANY = no; then
6427 result=yes
6428 else
6429 result=no
6430 fi
6431 else
6432 result=$wxUSE_ANY
6433 fi
6434
6435 { echo "$as_me:$LINENO: result: $result" >&5
6436 echo "${ECHO_T}$result" >&6; }
6437
6438
6439 enablestring=
6440 defaultval=$wxUSE_ALL_FEATURES
6441 if test -z "$defaultval"; then
6442 if test x"$enablestring" = xdisable; then
6443 defaultval=yes
6444 else
6445 defaultval=no
6446 fi
6447 fi
6448
6449 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6450 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6451 # Check whether --enable-apple_ieee was given.
6452 if test "${enable_apple_ieee+set}" = set; then
6453 enableval=$enable_apple_ieee;
6454 if test "$enableval" = yes; then
6455 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6456 else
6457 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6458 fi
6459
6460 else
6461
6462 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6463
6464 fi
6465
6466
6467 eval "$wx_cv_use_apple_ieee"
6468
6469 if test x"$enablestring" = xdisable; then
6470 if test $wxUSE_APPLE_IEEE = no; then
6471 result=yes
6472 else
6473 result=no
6474 fi
6475 else
6476 result=$wxUSE_APPLE_IEEE
6477 fi
6478
6479 { echo "$as_me:$LINENO: result: $result" >&5
6480 echo "${ECHO_T}$result" >&6; }
6481
6482
6483 enablestring=
6484 defaultval=$wxUSE_ALL_FEATURES
6485 if test -z "$defaultval"; then
6486 if test x"$enablestring" = xdisable; then
6487 defaultval=yes
6488 else
6489 defaultval=no
6490 fi
6491 fi
6492
6493 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6494 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6495 # Check whether --enable-arcstream was given.
6496 if test "${enable_arcstream+set}" = set; then
6497 enableval=$enable_arcstream;
6498 if test "$enableval" = yes; then
6499 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6500 else
6501 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6502 fi
6503
6504 else
6505
6506 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6507
6508 fi
6509
6510
6511 eval "$wx_cv_use_arcstream"
6512
6513 if test x"$enablestring" = xdisable; then
6514 if test $wxUSE_ARCHIVE_STREAMS = no; then
6515 result=yes
6516 else
6517 result=no
6518 fi
6519 else
6520 result=$wxUSE_ARCHIVE_STREAMS
6521 fi
6522
6523 { echo "$as_me:$LINENO: result: $result" >&5
6524 echo "${ECHO_T}$result" >&6; }
6525
6526
6527 enablestring=
6528 defaultval=$wxUSE_ALL_FEATURES
6529 if test -z "$defaultval"; then
6530 if test x"$enablestring" = xdisable; then
6531 defaultval=yes
6532 else
6533 defaultval=no
6534 fi
6535 fi
6536
6537 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6538 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6539 # Check whether --enable-base64 was given.
6540 if test "${enable_base64+set}" = set; then
6541 enableval=$enable_base64;
6542 if test "$enableval" = yes; then
6543 wx_cv_use_base64='wxUSE_BASE64=yes'
6544 else
6545 wx_cv_use_base64='wxUSE_BASE64=no'
6546 fi
6547
6548 else
6549
6550 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6551
6552 fi
6553
6554
6555 eval "$wx_cv_use_base64"
6556
6557 if test x"$enablestring" = xdisable; then
6558 if test $wxUSE_BASE64 = no; then
6559 result=yes
6560 else
6561 result=no
6562 fi
6563 else
6564 result=$wxUSE_BASE64
6565 fi
6566
6567 { echo "$as_me:$LINENO: result: $result" >&5
6568 echo "${ECHO_T}$result" >&6; }
6569
6570
6571 enablestring=
6572 defaultval=$wxUSE_ALL_FEATURES
6573 if test -z "$defaultval"; then
6574 if test x"$enablestring" = xdisable; then
6575 defaultval=yes
6576 else
6577 defaultval=no
6578 fi
6579 fi
6580
6581 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6582 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6583 # Check whether --enable-backtrace was given.
6584 if test "${enable_backtrace+set}" = set; then
6585 enableval=$enable_backtrace;
6586 if test "$enableval" = yes; then
6587 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6588 else
6589 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6590 fi
6591
6592 else
6593
6594 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6595
6596 fi
6597
6598
6599 eval "$wx_cv_use_backtrace"
6600
6601 if test x"$enablestring" = xdisable; then
6602 if test $wxUSE_STACKWALKER = no; then
6603 result=yes
6604 else
6605 result=no
6606 fi
6607 else
6608 result=$wxUSE_STACKWALKER
6609 fi
6610
6611 { echo "$as_me:$LINENO: result: $result" >&5
6612 echo "${ECHO_T}$result" >&6; }
6613
6614
6615 enablestring=
6616 defaultval=$wxUSE_ALL_FEATURES
6617 if test -z "$defaultval"; then
6618 if test x"$enablestring" = xdisable; then
6619 defaultval=yes
6620 else
6621 defaultval=no
6622 fi
6623 fi
6624
6625 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6626 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6627 # Check whether --enable-catch_segvs was given.
6628 if test "${enable_catch_segvs+set}" = set; then
6629 enableval=$enable_catch_segvs;
6630 if test "$enableval" = yes; then
6631 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6632 else
6633 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6634 fi
6635
6636 else
6637
6638 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6639
6640 fi
6641
6642
6643 eval "$wx_cv_use_catch_segvs"
6644
6645 if test x"$enablestring" = xdisable; then
6646 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
6647 result=yes
6648 else
6649 result=no
6650 fi
6651 else
6652 result=$wxUSE_ON_FATAL_EXCEPTION
6653 fi
6654
6655 { echo "$as_me:$LINENO: result: $result" >&5
6656 echo "${ECHO_T}$result" >&6; }
6657
6658
6659 enablestring=
6660 defaultval=$wxUSE_ALL_FEATURES
6661 if test -z "$defaultval"; then
6662 if test x"$enablestring" = xdisable; then
6663 defaultval=yes
6664 else
6665 defaultval=no
6666 fi
6667 fi
6668
6669 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6670 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6671 # Check whether --enable-cmdline was given.
6672 if test "${enable_cmdline+set}" = set; then
6673 enableval=$enable_cmdline;
6674 if test "$enableval" = yes; then
6675 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6676 else
6677 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6678 fi
6679
6680 else
6681
6682 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6683
6684 fi
6685
6686
6687 eval "$wx_cv_use_cmdline"
6688
6689 if test x"$enablestring" = xdisable; then
6690 if test $wxUSE_CMDLINE_PARSER = no; then
6691 result=yes
6692 else
6693 result=no
6694 fi
6695 else
6696 result=$wxUSE_CMDLINE_PARSER
6697 fi
6698
6699 { echo "$as_me:$LINENO: result: $result" >&5
6700 echo "${ECHO_T}$result" >&6; }
6701
6702
6703 enablestring=
6704 defaultval=$wxUSE_ALL_FEATURES
6705 if test -z "$defaultval"; then
6706 if test x"$enablestring" = xdisable; then
6707 defaultval=yes
6708 else
6709 defaultval=no
6710 fi
6711 fi
6712
6713 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6714 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6715 # Check whether --enable-datetime was given.
6716 if test "${enable_datetime+set}" = set; then
6717 enableval=$enable_datetime;
6718 if test "$enableval" = yes; then
6719 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6720 else
6721 wx_cv_use_datetime='wxUSE_DATETIME=no'
6722 fi
6723
6724 else
6725
6726 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6727
6728 fi
6729
6730
6731 eval "$wx_cv_use_datetime"
6732
6733 if test x"$enablestring" = xdisable; then
6734 if test $wxUSE_DATETIME = no; then
6735 result=yes
6736 else
6737 result=no
6738 fi
6739 else
6740 result=$wxUSE_DATETIME
6741 fi
6742
6743 { echo "$as_me:$LINENO: result: $result" >&5
6744 echo "${ECHO_T}$result" >&6; }
6745
6746
6747 enablestring=
6748 defaultval=$wxUSE_ALL_FEATURES
6749 if test -z "$defaultval"; then
6750 if test x"$enablestring" = xdisable; then
6751 defaultval=yes
6752 else
6753 defaultval=no
6754 fi
6755 fi
6756
6757 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6758 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6759 # Check whether --enable-debugreport was given.
6760 if test "${enable_debugreport+set}" = set; then
6761 enableval=$enable_debugreport;
6762 if test "$enableval" = yes; then
6763 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6764 else
6765 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6766 fi
6767
6768 else
6769
6770 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6771
6772 fi
6773
6774
6775 eval "$wx_cv_use_debugreport"
6776
6777 if test x"$enablestring" = xdisable; then
6778 if test $wxUSE_DEBUGREPORT = no; then
6779 result=yes
6780 else
6781 result=no
6782 fi
6783 else
6784 result=$wxUSE_DEBUGREPORT
6785 fi
6786
6787 { echo "$as_me:$LINENO: result: $result" >&5
6788 echo "${ECHO_T}$result" >&6; }
6789
6790
6791 enablestring=
6792 defaultval=$wxUSE_ALL_FEATURES
6793 if test -z "$defaultval"; then
6794 if test x"$enablestring" = xdisable; then
6795 defaultval=yes
6796 else
6797 defaultval=no
6798 fi
6799 fi
6800
6801 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6802 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6803 # Check whether --enable-dialupman was given.
6804 if test "${enable_dialupman+set}" = set; then
6805 enableval=$enable_dialupman;
6806 if test "$enableval" = yes; then
6807 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6808 else
6809 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6810 fi
6811
6812 else
6813
6814 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6815
6816 fi
6817
6818
6819 eval "$wx_cv_use_dialupman"
6820
6821 if test x"$enablestring" = xdisable; then
6822 if test $wxUSE_DIALUP_MANAGER = no; then
6823 result=yes
6824 else
6825 result=no
6826 fi
6827 else
6828 result=$wxUSE_DIALUP_MANAGER
6829 fi
6830
6831 { echo "$as_me:$LINENO: result: $result" >&5
6832 echo "${ECHO_T}$result" >&6; }
6833
6834
6835 enablestring=
6836 defaultval=$wxUSE_ALL_FEATURES
6837 if test -z "$defaultval"; then
6838 if test x"$enablestring" = xdisable; then
6839 defaultval=yes
6840 else
6841 defaultval=no
6842 fi
6843 fi
6844
6845 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6846 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6847 # Check whether --enable-dynlib was given.
6848 if test "${enable_dynlib+set}" = set; then
6849 enableval=$enable_dynlib;
6850 if test "$enableval" = yes; then
6851 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6852 else
6853 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6854 fi
6855
6856 else
6857
6858 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6859
6860 fi
6861
6862
6863 eval "$wx_cv_use_dynlib"
6864
6865 if test x"$enablestring" = xdisable; then
6866 if test $wxUSE_DYNLIB_CLASS = no; then
6867 result=yes
6868 else
6869 result=no
6870 fi
6871 else
6872 result=$wxUSE_DYNLIB_CLASS
6873 fi
6874
6875 { echo "$as_me:$LINENO: result: $result" >&5
6876 echo "${ECHO_T}$result" >&6; }
6877
6878
6879 enablestring=
6880 defaultval=$wxUSE_ALL_FEATURES
6881 if test -z "$defaultval"; then
6882 if test x"$enablestring" = xdisable; then
6883 defaultval=yes
6884 else
6885 defaultval=no
6886 fi
6887 fi
6888
6889 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6890 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6891 # Check whether --enable-dynamicloader was given.
6892 if test "${enable_dynamicloader+set}" = set; then
6893 enableval=$enable_dynamicloader;
6894 if test "$enableval" = yes; then
6895 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6896 else
6897 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6898 fi
6899
6900 else
6901
6902 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6903
6904 fi
6905
6906
6907 eval "$wx_cv_use_dynamicloader"
6908
6909 if test x"$enablestring" = xdisable; then
6910 if test $wxUSE_DYNAMIC_LOADER = no; then
6911 result=yes
6912 else
6913 result=no
6914 fi
6915 else
6916 result=$wxUSE_DYNAMIC_LOADER
6917 fi
6918
6919 { echo "$as_me:$LINENO: result: $result" >&5
6920 echo "${ECHO_T}$result" >&6; }
6921
6922
6923 enablestring=
6924 defaultval=$wxUSE_ALL_FEATURES
6925 if test -z "$defaultval"; then
6926 if test x"$enablestring" = xdisable; then
6927 defaultval=yes
6928 else
6929 defaultval=no
6930 fi
6931 fi
6932
6933 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6934 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6935 # Check whether --enable-exceptions was given.
6936 if test "${enable_exceptions+set}" = set; then
6937 enableval=$enable_exceptions;
6938 if test "$enableval" = yes; then
6939 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6940 else
6941 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6942 fi
6943
6944 else
6945
6946 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6947
6948 fi
6949
6950
6951 eval "$wx_cv_use_exceptions"
6952
6953 if test x"$enablestring" = xdisable; then
6954 if test $wxUSE_EXCEPTIONS = no; then
6955 result=yes
6956 else
6957 result=no
6958 fi
6959 else
6960 result=$wxUSE_EXCEPTIONS
6961 fi
6962
6963 { echo "$as_me:$LINENO: result: $result" >&5
6964 echo "${ECHO_T}$result" >&6; }
6965
6966
6967 enablestring=
6968 defaultval=$wxUSE_ALL_FEATURES
6969 if test -z "$defaultval"; then
6970 if test x"$enablestring" = xdisable; then
6971 defaultval=yes
6972 else
6973 defaultval=no
6974 fi
6975 fi
6976
6977 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6978 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6979 # Check whether --enable-ffile was given.
6980 if test "${enable_ffile+set}" = set; then
6981 enableval=$enable_ffile;
6982 if test "$enableval" = yes; then
6983 wx_cv_use_ffile='wxUSE_FFILE=yes'
6984 else
6985 wx_cv_use_ffile='wxUSE_FFILE=no'
6986 fi
6987
6988 else
6989
6990 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6991
6992 fi
6993
6994
6995 eval "$wx_cv_use_ffile"
6996
6997 if test x"$enablestring" = xdisable; then
6998 if test $wxUSE_FFILE = no; then
6999 result=yes
7000 else
7001 result=no
7002 fi
7003 else
7004 result=$wxUSE_FFILE
7005 fi
7006
7007 { echo "$as_me:$LINENO: result: $result" >&5
7008 echo "${ECHO_T}$result" >&6; }
7009
7010
7011 enablestring=
7012 defaultval=$wxUSE_ALL_FEATURES
7013 if test -z "$defaultval"; then
7014 if test x"$enablestring" = xdisable; then
7015 defaultval=yes
7016 else
7017 defaultval=no
7018 fi
7019 fi
7020
7021 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
7022 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
7023 # Check whether --enable-file was given.
7024 if test "${enable_file+set}" = set; then
7025 enableval=$enable_file;
7026 if test "$enableval" = yes; then
7027 wx_cv_use_file='wxUSE_FILE=yes'
7028 else
7029 wx_cv_use_file='wxUSE_FILE=no'
7030 fi
7031
7032 else
7033
7034 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7035
7036 fi
7037
7038
7039 eval "$wx_cv_use_file"
7040
7041 if test x"$enablestring" = xdisable; then
7042 if test $wxUSE_FILE = no; then
7043 result=yes
7044 else
7045 result=no
7046 fi
7047 else
7048 result=$wxUSE_FILE
7049 fi
7050
7051 { echo "$as_me:$LINENO: result: $result" >&5
7052 echo "${ECHO_T}$result" >&6; }
7053
7054
7055 enablestring=
7056 defaultval=$wxUSE_ALL_FEATURES
7057 if test -z "$defaultval"; then
7058 if test x"$enablestring" = xdisable; then
7059 defaultval=yes
7060 else
7061 defaultval=no
7062 fi
7063 fi
7064
7065 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filehistory" >&5
7066 echo $ECHO_N "checking for --${enablestring:-enable}-filehistory... $ECHO_C" >&6; }
7067 # Check whether --enable-filehistory was given.
7068 if test "${enable_filehistory+set}" = set; then
7069 enableval=$enable_filehistory;
7070 if test "$enableval" = yes; then
7071 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=yes'
7072 else
7073 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=no'
7074 fi
7075
7076 else
7077
7078 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
7079
7080 fi
7081
7082
7083 eval "$wx_cv_use_filehistory"
7084
7085 if test x"$enablestring" = xdisable; then
7086 if test $wxUSE_FILE_HISTORY = no; then
7087 result=yes
7088 else
7089 result=no
7090 fi
7091 else
7092 result=$wxUSE_FILE_HISTORY
7093 fi
7094
7095 { echo "$as_me:$LINENO: result: $result" >&5
7096 echo "${ECHO_T}$result" >&6; }
7097
7098
7099 enablestring=
7100 defaultval=$wxUSE_ALL_FEATURES
7101 if test -z "$defaultval"; then
7102 if test x"$enablestring" = xdisable; then
7103 defaultval=yes
7104 else
7105 defaultval=no
7106 fi
7107 fi
7108
7109 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7110 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7111 # Check whether --enable-filesystem was given.
7112 if test "${enable_filesystem+set}" = set; then
7113 enableval=$enable_filesystem;
7114 if test "$enableval" = yes; then
7115 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7116 else
7117 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7118 fi
7119
7120 else
7121
7122 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7123
7124 fi
7125
7126
7127 eval "$wx_cv_use_filesystem"
7128
7129 if test x"$enablestring" = xdisable; then
7130 if test $wxUSE_FILESYSTEM = no; then
7131 result=yes
7132 else
7133 result=no
7134 fi
7135 else
7136 result=$wxUSE_FILESYSTEM
7137 fi
7138
7139 { echo "$as_me:$LINENO: result: $result" >&5
7140 echo "${ECHO_T}$result" >&6; }
7141
7142
7143 enablestring=
7144 defaultval=$wxUSE_ALL_FEATURES
7145 if test -z "$defaultval"; then
7146 if test x"$enablestring" = xdisable; then
7147 defaultval=yes
7148 else
7149 defaultval=no
7150 fi
7151 fi
7152
7153 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7154 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7155 # Check whether --enable-fontenum was given.
7156 if test "${enable_fontenum+set}" = set; then
7157 enableval=$enable_fontenum;
7158 if test "$enableval" = yes; then
7159 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7160 else
7161 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7162 fi
7163
7164 else
7165
7166 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7167
7168 fi
7169
7170
7171 eval "$wx_cv_use_fontenum"
7172
7173 if test x"$enablestring" = xdisable; then
7174 if test $wxUSE_FONTENUM = no; then
7175 result=yes
7176 else
7177 result=no
7178 fi
7179 else
7180 result=$wxUSE_FONTENUM
7181 fi
7182
7183 { echo "$as_me:$LINENO: result: $result" >&5
7184 echo "${ECHO_T}$result" >&6; }
7185
7186
7187 enablestring=
7188 defaultval=$wxUSE_ALL_FEATURES
7189 if test -z "$defaultval"; then
7190 if test x"$enablestring" = xdisable; then
7191 defaultval=yes
7192 else
7193 defaultval=no
7194 fi
7195 fi
7196
7197 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7198 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7199 # Check whether --enable-fontmap was given.
7200 if test "${enable_fontmap+set}" = set; then
7201 enableval=$enable_fontmap;
7202 if test "$enableval" = yes; then
7203 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7204 else
7205 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7206 fi
7207
7208 else
7209
7210 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7211
7212 fi
7213
7214
7215 eval "$wx_cv_use_fontmap"
7216
7217 if test x"$enablestring" = xdisable; then
7218 if test $wxUSE_FONTMAP = no; then
7219 result=yes
7220 else
7221 result=no
7222 fi
7223 else
7224 result=$wxUSE_FONTMAP
7225 fi
7226
7227 { echo "$as_me:$LINENO: result: $result" >&5
7228 echo "${ECHO_T}$result" >&6; }
7229
7230
7231 enablestring=
7232 defaultval=$wxUSE_ALL_FEATURES
7233 if test -z "$defaultval"; then
7234 if test x"$enablestring" = xdisable; then
7235 defaultval=yes
7236 else
7237 defaultval=no
7238 fi
7239 fi
7240
7241 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7242 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7243 # Check whether --enable-fs_archive was given.
7244 if test "${enable_fs_archive+set}" = set; then
7245 enableval=$enable_fs_archive;
7246 if test "$enableval" = yes; then
7247 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7248 else
7249 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7250 fi
7251
7252 else
7253
7254 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7255
7256 fi
7257
7258
7259 eval "$wx_cv_use_fs_archive"
7260
7261 if test x"$enablestring" = xdisable; then
7262 if test $wxUSE_FS_ARCHIVE = no; then
7263 result=yes
7264 else
7265 result=no
7266 fi
7267 else
7268 result=$wxUSE_FS_ARCHIVE
7269 fi
7270
7271 { echo "$as_me:$LINENO: result: $result" >&5
7272 echo "${ECHO_T}$result" >&6; }
7273
7274
7275 enablestring=
7276 defaultval=$wxUSE_ALL_FEATURES
7277 if test -z "$defaultval"; then
7278 if test x"$enablestring" = xdisable; then
7279 defaultval=yes
7280 else
7281 defaultval=no
7282 fi
7283 fi
7284
7285 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7286 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7287 # Check whether --enable-fs_inet was given.
7288 if test "${enable_fs_inet+set}" = set; then
7289 enableval=$enable_fs_inet;
7290 if test "$enableval" = yes; then
7291 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7292 else
7293 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7294 fi
7295
7296 else
7297
7298 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7299
7300 fi
7301
7302
7303 eval "$wx_cv_use_fs_inet"
7304
7305 if test x"$enablestring" = xdisable; then
7306 if test $wxUSE_FS_INET = no; then
7307 result=yes
7308 else
7309 result=no
7310 fi
7311 else
7312 result=$wxUSE_FS_INET
7313 fi
7314
7315 { echo "$as_me:$LINENO: result: $result" >&5
7316 echo "${ECHO_T}$result" >&6; }
7317
7318
7319 enablestring=
7320 defaultval=$wxUSE_ALL_FEATURES
7321 if test -z "$defaultval"; then
7322 if test x"$enablestring" = xdisable; then
7323 defaultval=yes
7324 else
7325 defaultval=no
7326 fi
7327 fi
7328
7329 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7330 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7331 # Check whether --enable-fs_zip was given.
7332 if test "${enable_fs_zip+set}" = set; then
7333 enableval=$enable_fs_zip;
7334 if test "$enableval" = yes; then
7335 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7336 else
7337 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7338 fi
7339
7340 else
7341
7342 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7343
7344 fi
7345
7346
7347 eval "$wx_cv_use_fs_zip"
7348
7349 if test x"$enablestring" = xdisable; then
7350 if test $wxUSE_FS_ZIP = no; then
7351 result=yes
7352 else
7353 result=no
7354 fi
7355 else
7356 result=$wxUSE_FS_ZIP
7357 fi
7358
7359 { echo "$as_me:$LINENO: result: $result" >&5
7360 echo "${ECHO_T}$result" >&6; }
7361
7362
7363 enablestring=
7364 defaultval=$wxUSE_ALL_FEATURES
7365 if test -z "$defaultval"; then
7366 if test x"$enablestring" = xdisable; then
7367 defaultval=yes
7368 else
7369 defaultval=no
7370 fi
7371 fi
7372
7373 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fswatcher" >&5
7374 echo $ECHO_N "checking for --${enablestring:-enable}-fswatcher... $ECHO_C" >&6; }
7375 # Check whether --enable-fswatcher was given.
7376 if test "${enable_fswatcher+set}" = set; then
7377 enableval=$enable_fswatcher;
7378 if test "$enableval" = yes; then
7379 wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
7380 else
7381 wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
7382 fi
7383
7384 else
7385
7386 wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
7387
7388 fi
7389
7390
7391 eval "$wx_cv_use_fswatcher"
7392
7393 if test x"$enablestring" = xdisable; then
7394 if test $wxUSE_FSWATCHER = no; then
7395 result=yes
7396 else
7397 result=no
7398 fi
7399 else
7400 result=$wxUSE_FSWATCHER
7401 fi
7402
7403 { echo "$as_me:$LINENO: result: $result" >&5
7404 echo "${ECHO_T}$result" >&6; }
7405
7406
7407 enablestring=
7408 defaultval=$wxUSE_ALL_FEATURES
7409 if test -z "$defaultval"; then
7410 if test x"$enablestring" = xdisable; then
7411 defaultval=yes
7412 else
7413 defaultval=no
7414 fi
7415 fi
7416
7417 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7418 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7419 # Check whether --enable-geometry was given.
7420 if test "${enable_geometry+set}" = set; then
7421 enableval=$enable_geometry;
7422 if test "$enableval" = yes; then
7423 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7424 else
7425 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7426 fi
7427
7428 else
7429
7430 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7431
7432 fi
7433
7434
7435 eval "$wx_cv_use_geometry"
7436
7437 if test x"$enablestring" = xdisable; then
7438 if test $wxUSE_GEOMETRY = no; then
7439 result=yes
7440 else
7441 result=no
7442 fi
7443 else
7444 result=$wxUSE_GEOMETRY
7445 fi
7446
7447 { echo "$as_me:$LINENO: result: $result" >&5
7448 echo "${ECHO_T}$result" >&6; }
7449
7450
7451 enablestring=
7452 defaultval=$wxUSE_ALL_FEATURES
7453 if test -z "$defaultval"; then
7454 if test x"$enablestring" = xdisable; then
7455 defaultval=yes
7456 else
7457 defaultval=no
7458 fi
7459 fi
7460
7461 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7462 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7463 # Check whether --enable-log was given.
7464 if test "${enable_log+set}" = set; then
7465 enableval=$enable_log;
7466 if test "$enableval" = yes; then
7467 wx_cv_use_log='wxUSE_LOG=yes'
7468 else
7469 wx_cv_use_log='wxUSE_LOG=no'
7470 fi
7471
7472 else
7473
7474 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7475
7476 fi
7477
7478
7479 eval "$wx_cv_use_log"
7480
7481 if test x"$enablestring" = xdisable; then
7482 if test $wxUSE_LOG = no; then
7483 result=yes
7484 else
7485 result=no
7486 fi
7487 else
7488 result=$wxUSE_LOG
7489 fi
7490
7491 { echo "$as_me:$LINENO: result: $result" >&5
7492 echo "${ECHO_T}$result" >&6; }
7493
7494
7495 enablestring=
7496 defaultval=$wxUSE_ALL_FEATURES
7497 if test -z "$defaultval"; then
7498 if test x"$enablestring" = xdisable; then
7499 defaultval=yes
7500 else
7501 defaultval=no
7502 fi
7503 fi
7504
7505 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7506 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7507 # Check whether --enable-longlong was given.
7508 if test "${enable_longlong+set}" = set; then
7509 enableval=$enable_longlong;
7510 if test "$enableval" = yes; then
7511 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7512 else
7513 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7514 fi
7515
7516 else
7517
7518 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7519
7520 fi
7521
7522
7523 eval "$wx_cv_use_longlong"
7524
7525 if test x"$enablestring" = xdisable; then
7526 if test $wxUSE_LONGLONG = no; then
7527 result=yes
7528 else
7529 result=no
7530 fi
7531 else
7532 result=$wxUSE_LONGLONG
7533 fi
7534
7535 { echo "$as_me:$LINENO: result: $result" >&5
7536 echo "${ECHO_T}$result" >&6; }
7537
7538
7539 enablestring=
7540 defaultval=$wxUSE_ALL_FEATURES
7541 if test -z "$defaultval"; then
7542 if test x"$enablestring" = xdisable; then
7543 defaultval=yes
7544 else
7545 defaultval=no
7546 fi
7547 fi
7548
7549 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7550 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7551 # Check whether --enable-mimetype was given.
7552 if test "${enable_mimetype+set}" = set; then
7553 enableval=$enable_mimetype;
7554 if test "$enableval" = yes; then
7555 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7556 else
7557 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7558 fi
7559
7560 else
7561
7562 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7563
7564 fi
7565
7566
7567 eval "$wx_cv_use_mimetype"
7568
7569 if test x"$enablestring" = xdisable; then
7570 if test $wxUSE_MIMETYPE = no; then
7571 result=yes
7572 else
7573 result=no
7574 fi
7575 else
7576 result=$wxUSE_MIMETYPE
7577 fi
7578
7579 { echo "$as_me:$LINENO: result: $result" >&5
7580 echo "${ECHO_T}$result" >&6; }
7581
7582
7583 enablestring=
7584 defaultval=$wxUSE_ALL_FEATURES
7585 if test -z "$defaultval"; then
7586 if test x"$enablestring" = xdisable; then
7587 defaultval=yes
7588 else
7589 defaultval=no
7590 fi
7591 fi
7592
7593 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7594 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7595 # Check whether --enable-printfposparam was given.
7596 if test "${enable_printfposparam+set}" = set; then
7597 enableval=$enable_printfposparam;
7598 if test "$enableval" = yes; then
7599 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7600 else
7601 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7602 fi
7603
7604 else
7605
7606 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7607
7608 fi
7609
7610
7611 eval "$wx_cv_use_printfposparam"
7612
7613 if test x"$enablestring" = xdisable; then
7614 if test $wxUSE_PRINTF_POS_PARAMS = no; then
7615 result=yes
7616 else
7617 result=no
7618 fi
7619 else
7620 result=$wxUSE_PRINTF_POS_PARAMS
7621 fi
7622
7623 { echo "$as_me:$LINENO: result: $result" >&5
7624 echo "${ECHO_T}$result" >&6; }
7625
7626
7627 enablestring=
7628 defaultval=$wxUSE_ALL_FEATURES
7629 if test -z "$defaultval"; then
7630 if test x"$enablestring" = xdisable; then
7631 defaultval=yes
7632 else
7633 defaultval=no
7634 fi
7635 fi
7636
7637 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7638 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7639 # Check whether --enable-snglinst was given.
7640 if test "${enable_snglinst+set}" = set; then
7641 enableval=$enable_snglinst;
7642 if test "$enableval" = yes; then
7643 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7644 else
7645 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7646 fi
7647
7648 else
7649
7650 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7651
7652 fi
7653
7654
7655 eval "$wx_cv_use_snglinst"
7656
7657 if test x"$enablestring" = xdisable; then
7658 if test $wxUSE_SNGLINST_CHECKER = no; then
7659 result=yes
7660 else
7661 result=no
7662 fi
7663 else
7664 result=$wxUSE_SNGLINST_CHECKER
7665 fi
7666
7667 { echo "$as_me:$LINENO: result: $result" >&5
7668 echo "${ECHO_T}$result" >&6; }
7669
7670
7671 enablestring=
7672 defaultval=$wxUSE_ALL_FEATURES
7673 if test -z "$defaultval"; then
7674 if test x"$enablestring" = xdisable; then
7675 defaultval=yes
7676 else
7677 defaultval=no
7678 fi
7679 fi
7680
7681 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7682 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7683 # Check whether --enable-sound was given.
7684 if test "${enable_sound+set}" = set; then
7685 enableval=$enable_sound;
7686 if test "$enableval" = yes; then
7687 wx_cv_use_sound='wxUSE_SOUND=yes'
7688 else
7689 wx_cv_use_sound='wxUSE_SOUND=no'
7690 fi
7691
7692 else
7693
7694 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7695
7696 fi
7697
7698
7699 eval "$wx_cv_use_sound"
7700
7701 if test x"$enablestring" = xdisable; then
7702 if test $wxUSE_SOUND = no; then
7703 result=yes
7704 else
7705 result=no
7706 fi
7707 else
7708 result=$wxUSE_SOUND
7709 fi
7710
7711 { echo "$as_me:$LINENO: result: $result" >&5
7712 echo "${ECHO_T}$result" >&6; }
7713
7714
7715 enablestring=
7716 defaultval=$wxUSE_ALL_FEATURES
7717 if test -z "$defaultval"; then
7718 if test x"$enablestring" = xdisable; then
7719 defaultval=yes
7720 else
7721 defaultval=no
7722 fi
7723 fi
7724
7725 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7726 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7727 # Check whether --enable-stdpaths was given.
7728 if test "${enable_stdpaths+set}" = set; then
7729 enableval=$enable_stdpaths;
7730 if test "$enableval" = yes; then
7731 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7732 else
7733 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7734 fi
7735
7736 else
7737
7738 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7739
7740 fi
7741
7742
7743 eval "$wx_cv_use_stdpaths"
7744
7745 if test x"$enablestring" = xdisable; then
7746 if test $wxUSE_STDPATHS = no; then
7747 result=yes
7748 else
7749 result=no
7750 fi
7751 else
7752 result=$wxUSE_STDPATHS
7753 fi
7754
7755 { echo "$as_me:$LINENO: result: $result" >&5
7756 echo "${ECHO_T}$result" >&6; }
7757
7758
7759 enablestring=
7760 defaultval=$wxUSE_ALL_FEATURES
7761 if test -z "$defaultval"; then
7762 if test x"$enablestring" = xdisable; then
7763 defaultval=yes
7764 else
7765 defaultval=no
7766 fi
7767 fi
7768
7769 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7770 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7771 # Check whether --enable-stopwatch was given.
7772 if test "${enable_stopwatch+set}" = set; then
7773 enableval=$enable_stopwatch;
7774 if test "$enableval" = yes; then
7775 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7776 else
7777 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7778 fi
7779
7780 else
7781
7782 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7783
7784 fi
7785
7786
7787 eval "$wx_cv_use_stopwatch"
7788
7789 if test x"$enablestring" = xdisable; then
7790 if test $wxUSE_STOPWATCH = no; then
7791 result=yes
7792 else
7793 result=no
7794 fi
7795 else
7796 result=$wxUSE_STOPWATCH
7797 fi
7798
7799 { echo "$as_me:$LINENO: result: $result" >&5
7800 echo "${ECHO_T}$result" >&6; }
7801
7802
7803 enablestring=
7804 defaultval=$wxUSE_ALL_FEATURES
7805 if test -z "$defaultval"; then
7806 if test x"$enablestring" = xdisable; then
7807 defaultval=yes
7808 else
7809 defaultval=no
7810 fi
7811 fi
7812
7813 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7814 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7815 # Check whether --enable-streams was given.
7816 if test "${enable_streams+set}" = set; then
7817 enableval=$enable_streams;
7818 if test "$enableval" = yes; then
7819 wx_cv_use_streams='wxUSE_STREAMS=yes'
7820 else
7821 wx_cv_use_streams='wxUSE_STREAMS=no'
7822 fi
7823
7824 else
7825
7826 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7827
7828 fi
7829
7830
7831 eval "$wx_cv_use_streams"
7832
7833 if test x"$enablestring" = xdisable; then
7834 if test $wxUSE_STREAMS = no; then
7835 result=yes
7836 else
7837 result=no
7838 fi
7839 else
7840 result=$wxUSE_STREAMS
7841 fi
7842
7843 { echo "$as_me:$LINENO: result: $result" >&5
7844 echo "${ECHO_T}$result" >&6; }
7845
7846
7847 enablestring=
7848 defaultval=$wxUSE_ALL_FEATURES
7849 if test -z "$defaultval"; then
7850 if test x"$enablestring" = xdisable; then
7851 defaultval=yes
7852 else
7853 defaultval=no
7854 fi
7855 fi
7856
7857 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sysoptions" >&5
7858 echo $ECHO_N "checking for --${enablestring:-enable}-sysoptions... $ECHO_C" >&6; }
7859 # Check whether --enable-sysoptions was given.
7860 if test "${enable_sysoptions+set}" = set; then
7861 enableval=$enable_sysoptions;
7862 if test "$enableval" = yes; then
7863 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=yes'
7864 else
7865 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=no'
7866 fi
7867
7868 else
7869
7870 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7871
7872 fi
7873
7874
7875 eval "$wx_cv_use_sysoptions"
7876
7877 if test x"$enablestring" = xdisable; then
7878 if test $wxUSE_SYSTEM_OPTIONS = no; then
7879 result=yes
7880 else
7881 result=no
7882 fi
7883 else
7884 result=$wxUSE_SYSTEM_OPTIONS
7885 fi
7886
7887 { echo "$as_me:$LINENO: result: $result" >&5
7888 echo "${ECHO_T}$result" >&6; }
7889
7890
7891 enablestring=
7892 defaultval=$wxUSE_ALL_FEATURES
7893 if test -z "$defaultval"; then
7894 if test x"$enablestring" = xdisable; then
7895 defaultval=yes
7896 else
7897 defaultval=no
7898 fi
7899 fi
7900
7901 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7902 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7903 # Check whether --enable-tarstream was given.
7904 if test "${enable_tarstream+set}" = set; then
7905 enableval=$enable_tarstream;
7906 if test "$enableval" = yes; then
7907 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7908 else
7909 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7910 fi
7911
7912 else
7913
7914 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7915
7916 fi
7917
7918
7919 eval "$wx_cv_use_tarstream"
7920
7921 if test x"$enablestring" = xdisable; then
7922 if test $wxUSE_TARSTREAM = no; then
7923 result=yes
7924 else
7925 result=no
7926 fi
7927 else
7928 result=$wxUSE_TARSTREAM
7929 fi
7930
7931 { echo "$as_me:$LINENO: result: $result" >&5
7932 echo "${ECHO_T}$result" >&6; }
7933
7934
7935 enablestring=
7936 defaultval=$wxUSE_ALL_FEATURES
7937 if test -z "$defaultval"; then
7938 if test x"$enablestring" = xdisable; then
7939 defaultval=yes
7940 else
7941 defaultval=no
7942 fi
7943 fi
7944
7945 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7946 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7947 # Check whether --enable-textbuf was given.
7948 if test "${enable_textbuf+set}" = set; then
7949 enableval=$enable_textbuf;
7950 if test "$enableval" = yes; then
7951 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7952 else
7953 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7954 fi
7955
7956 else
7957
7958 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7959
7960 fi
7961
7962
7963 eval "$wx_cv_use_textbuf"
7964
7965 if test x"$enablestring" = xdisable; then
7966 if test $wxUSE_TEXTBUFFER = no; then
7967 result=yes
7968 else
7969 result=no
7970 fi
7971 else
7972 result=$wxUSE_TEXTBUFFER
7973 fi
7974
7975 { echo "$as_me:$LINENO: result: $result" >&5
7976 echo "${ECHO_T}$result" >&6; }
7977
7978
7979 enablestring=
7980 defaultval=$wxUSE_ALL_FEATURES
7981 if test -z "$defaultval"; then
7982 if test x"$enablestring" = xdisable; then
7983 defaultval=yes
7984 else
7985 defaultval=no
7986 fi
7987 fi
7988
7989 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7990 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7991 # Check whether --enable-textfile was given.
7992 if test "${enable_textfile+set}" = set; then
7993 enableval=$enable_textfile;
7994 if test "$enableval" = yes; then
7995 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7996 else
7997 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
7998 fi
7999
8000 else
8001
8002 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8003
8004 fi
8005
8006
8007 eval "$wx_cv_use_textfile"
8008
8009 if test x"$enablestring" = xdisable; then
8010 if test $wxUSE_TEXTFILE = no; then
8011 result=yes
8012 else
8013 result=no
8014 fi
8015 else
8016 result=$wxUSE_TEXTFILE
8017 fi
8018
8019 { echo "$as_me:$LINENO: result: $result" >&5
8020 echo "${ECHO_T}$result" >&6; }
8021
8022
8023 enablestring=
8024 defaultval=$wxUSE_ALL_FEATURES
8025 if test -z "$defaultval"; then
8026 if test x"$enablestring" = xdisable; then
8027 defaultval=yes
8028 else
8029 defaultval=no
8030 fi
8031 fi
8032
8033 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8034 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8035 # Check whether --enable-timer was given.
8036 if test "${enable_timer+set}" = set; then
8037 enableval=$enable_timer;
8038 if test "$enableval" = yes; then
8039 wx_cv_use_timer='wxUSE_TIMER=yes'
8040 else
8041 wx_cv_use_timer='wxUSE_TIMER=no'
8042 fi
8043
8044 else
8045
8046 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8047
8048 fi
8049
8050
8051 eval "$wx_cv_use_timer"
8052
8053 if test x"$enablestring" = xdisable; then
8054 if test $wxUSE_TIMER = no; then
8055 result=yes
8056 else
8057 result=no
8058 fi
8059 else
8060 result=$wxUSE_TIMER
8061 fi
8062
8063 { echo "$as_me:$LINENO: result: $result" >&5
8064 echo "${ECHO_T}$result" >&6; }
8065
8066
8067 enablestring=
8068 defaultval=$wxUSE_ALL_FEATURES
8069 if test -z "$defaultval"; then
8070 if test x"$enablestring" = xdisable; then
8071 defaultval=yes
8072 else
8073 defaultval=no
8074 fi
8075 fi
8076
8077 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
8078 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
8079 # Check whether --enable-variant was given.
8080 if test "${enable_variant+set}" = set; then
8081 enableval=$enable_variant;
8082 if test "$enableval" = yes; then
8083 wx_cv_use_variant='wxUSE_VARIANT=yes'
8084 else
8085 wx_cv_use_variant='wxUSE_VARIANT=no'
8086 fi
8087
8088 else
8089
8090 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8091
8092 fi
8093
8094
8095 eval "$wx_cv_use_variant"
8096
8097 if test x"$enablestring" = xdisable; then
8098 if test $wxUSE_VARIANT = no; then
8099 result=yes
8100 else
8101 result=no
8102 fi
8103 else
8104 result=$wxUSE_VARIANT
8105 fi
8106
8107 { echo "$as_me:$LINENO: result: $result" >&5
8108 echo "${ECHO_T}$result" >&6; }
8109
8110
8111 enablestring=
8112 defaultval=$wxUSE_ALL_FEATURES
8113 if test -z "$defaultval"; then
8114 if test x"$enablestring" = xdisable; then
8115 defaultval=yes
8116 else
8117 defaultval=no
8118 fi
8119 fi
8120
8121 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8122 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8123 # Check whether --enable-zipstream was given.
8124 if test "${enable_zipstream+set}" = set; then
8125 enableval=$enable_zipstream;
8126 if test "$enableval" = yes; then
8127 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8128 else
8129 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8130 fi
8131
8132 else
8133
8134 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8135
8136 fi
8137
8138
8139 eval "$wx_cv_use_zipstream"
8140
8141 if test x"$enablestring" = xdisable; then
8142 if test $wxUSE_ZIPSTREAM = no; then
8143 result=yes
8144 else
8145 result=no
8146 fi
8147 else
8148 result=$wxUSE_ZIPSTREAM
8149 fi
8150
8151 { echo "$as_me:$LINENO: result: $result" >&5
8152 echo "${ECHO_T}$result" >&6; }
8153
8154
8155
8156 enablestring=
8157 defaultval=$wxUSE_ALL_FEATURES
8158 if test -z "$defaultval"; then
8159 if test x"$enablestring" = xdisable; then
8160 defaultval=yes
8161 else
8162 defaultval=no
8163 fi
8164 fi
8165
8166 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8167 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8168 # Check whether --enable-url was given.
8169 if test "${enable_url+set}" = set; then
8170 enableval=$enable_url;
8171 if test "$enableval" = yes; then
8172 wx_cv_use_url='wxUSE_URL=yes'
8173 else
8174 wx_cv_use_url='wxUSE_URL=no'
8175 fi
8176
8177 else
8178
8179 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8180
8181 fi
8182
8183
8184 eval "$wx_cv_use_url"
8185
8186 if test x"$enablestring" = xdisable; then
8187 if test $wxUSE_URL = no; then
8188 result=yes
8189 else
8190 result=no
8191 fi
8192 else
8193 result=$wxUSE_URL
8194 fi
8195
8196 { echo "$as_me:$LINENO: result: $result" >&5
8197 echo "${ECHO_T}$result" >&6; }
8198
8199
8200 enablestring=
8201 defaultval=$wxUSE_ALL_FEATURES
8202 if test -z "$defaultval"; then
8203 if test x"$enablestring" = xdisable; then
8204 defaultval=yes
8205 else
8206 defaultval=no
8207 fi
8208 fi
8209
8210 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8211 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8212 # Check whether --enable-protocol was given.
8213 if test "${enable_protocol+set}" = set; then
8214 enableval=$enable_protocol;
8215 if test "$enableval" = yes; then
8216 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8217 else
8218 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8219 fi
8220
8221 else
8222
8223 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8224
8225 fi
8226
8227
8228 eval "$wx_cv_use_protocol"
8229
8230 if test x"$enablestring" = xdisable; then
8231 if test $wxUSE_PROTOCOL = no; then
8232 result=yes
8233 else
8234 result=no
8235 fi
8236 else
8237 result=$wxUSE_PROTOCOL
8238 fi
8239
8240 { echo "$as_me:$LINENO: result: $result" >&5
8241 echo "${ECHO_T}$result" >&6; }
8242
8243
8244 enablestring=
8245 defaultval=$wxUSE_ALL_FEATURES
8246 if test -z "$defaultval"; then
8247 if test x"$enablestring" = xdisable; then
8248 defaultval=yes
8249 else
8250 defaultval=no
8251 fi
8252 fi
8253
8254 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8255 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8256 # Check whether --enable-protocol_http was given.
8257 if test "${enable_protocol_http+set}" = set; then
8258 enableval=$enable_protocol_http;
8259 if test "$enableval" = yes; then
8260 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8261 else
8262 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8263 fi
8264
8265 else
8266
8267 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8268
8269 fi
8270
8271
8272 eval "$wx_cv_use_protocol_http"
8273
8274 if test x"$enablestring" = xdisable; then
8275 if test $wxUSE_PROTOCOL_HTTP = no; then
8276 result=yes
8277 else
8278 result=no
8279 fi
8280 else
8281 result=$wxUSE_PROTOCOL_HTTP
8282 fi
8283
8284 { echo "$as_me:$LINENO: result: $result" >&5
8285 echo "${ECHO_T}$result" >&6; }
8286
8287
8288 enablestring=
8289 defaultval=$wxUSE_ALL_FEATURES
8290 if test -z "$defaultval"; then
8291 if test x"$enablestring" = xdisable; then
8292 defaultval=yes
8293 else
8294 defaultval=no
8295 fi
8296 fi
8297
8298 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8299 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8300 # Check whether --enable-protocol_ftp was given.
8301 if test "${enable_protocol_ftp+set}" = set; then
8302 enableval=$enable_protocol_ftp;
8303 if test "$enableval" = yes; then
8304 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8305 else
8306 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8307 fi
8308
8309 else
8310
8311 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8312
8313 fi
8314
8315
8316 eval "$wx_cv_use_protocol_ftp"
8317
8318 if test x"$enablestring" = xdisable; then
8319 if test $wxUSE_PROTOCOL_FTP = no; then
8320 result=yes
8321 else
8322 result=no
8323 fi
8324 else
8325 result=$wxUSE_PROTOCOL_FTP
8326 fi
8327
8328 { echo "$as_me:$LINENO: result: $result" >&5
8329 echo "${ECHO_T}$result" >&6; }
8330
8331
8332 enablestring=
8333 defaultval=$wxUSE_ALL_FEATURES
8334 if test -z "$defaultval"; then
8335 if test x"$enablestring" = xdisable; then
8336 defaultval=yes
8337 else
8338 defaultval=no
8339 fi
8340 fi
8341
8342 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8343 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8344 # Check whether --enable-protocol_file was given.
8345 if test "${enable_protocol_file+set}" = set; then
8346 enableval=$enable_protocol_file;
8347 if test "$enableval" = yes; then
8348 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8349 else
8350 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8351 fi
8352
8353 else
8354
8355 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8356
8357 fi
8358
8359
8360 eval "$wx_cv_use_protocol_file"
8361
8362 if test x"$enablestring" = xdisable; then
8363 if test $wxUSE_PROTOCOL_FILE = no; then
8364 result=yes
8365 else
8366 result=no
8367 fi
8368 else
8369 result=$wxUSE_PROTOCOL_FILE
8370 fi
8371
8372 { echo "$as_me:$LINENO: result: $result" >&5
8373 echo "${ECHO_T}$result" >&6; }
8374
8375
8376
8377 enablestring=
8378 defaultval=$wxUSE_ALL_FEATURES
8379 if test -z "$defaultval"; then
8380 if test x"$enablestring" = xdisable; then
8381 defaultval=yes
8382 else
8383 defaultval=no
8384 fi
8385 fi
8386
8387 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8388 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8389 # Check whether --enable-threads was given.
8390 if test "${enable_threads+set}" = set; then
8391 enableval=$enable_threads;
8392 if test "$enableval" = yes; then
8393 wx_cv_use_threads='wxUSE_THREADS=yes'
8394 else
8395 wx_cv_use_threads='wxUSE_THREADS=no'
8396 fi
8397
8398 else
8399
8400 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8401
8402 fi
8403
8404
8405 eval "$wx_cv_use_threads"
8406
8407 if test x"$enablestring" = xdisable; then
8408 if test $wxUSE_THREADS = no; then
8409 result=yes
8410 else
8411 result=no
8412 fi
8413 else
8414 result=$wxUSE_THREADS
8415 fi
8416
8417 { echo "$as_me:$LINENO: result: $result" >&5
8418 echo "${ECHO_T}$result" >&6; }
8419
8420
8421
8422 enablestring=
8423 defaultval=
8424 if test -z "$defaultval"; then
8425 if test x"$enablestring" = xdisable; then
8426 defaultval=yes
8427 else
8428 defaultval=no
8429 fi
8430 fi
8431
8432 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8433 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8434 # Check whether --enable-iniconf was given.
8435 if test "${enable_iniconf+set}" = set; then
8436 enableval=$enable_iniconf;
8437 if test "$enableval" = yes; then
8438 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8439 else
8440 wx_cv_use_iniconf='wxUSE_INICONF=no'
8441 fi
8442
8443 else
8444
8445 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8446
8447 fi
8448
8449
8450 eval "$wx_cv_use_iniconf"
8451
8452 if test x"$enablestring" = xdisable; then
8453 if test $wxUSE_INICONF = no; then
8454 result=yes
8455 else
8456 result=no
8457 fi
8458 else
8459 result=$wxUSE_INICONF
8460 fi
8461
8462 { echo "$as_me:$LINENO: result: $result" >&5
8463 echo "${ECHO_T}$result" >&6; }
8464
8465
8466 enablestring=
8467 defaultval=$wxUSE_ALL_FEATURES
8468 if test -z "$defaultval"; then
8469 if test x"$enablestring" = xdisable; then
8470 defaultval=yes
8471 else
8472 defaultval=no
8473 fi
8474 fi
8475
8476 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8477 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8478 # Check whether --enable-regkey was given.
8479 if test "${enable_regkey+set}" = set; then
8480 enableval=$enable_regkey;
8481 if test "$enableval" = yes; then
8482 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8483 else
8484 wx_cv_use_regkey='wxUSE_REGKEY=no'
8485 fi
8486
8487 else
8488
8489 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8490
8491 fi
8492
8493
8494 eval "$wx_cv_use_regkey"
8495
8496 if test x"$enablestring" = xdisable; then
8497 if test $wxUSE_REGKEY = no; then
8498 result=yes
8499 else
8500 result=no
8501 fi
8502 else
8503 result=$wxUSE_REGKEY
8504 fi
8505
8506 { echo "$as_me:$LINENO: result: $result" >&5
8507 echo "${ECHO_T}$result" >&6; }
8508
8509
8510 if test "$wxUSE_GUI" = "yes"; then
8511
8512
8513
8514 enablestring=
8515 defaultval=$wxUSE_ALL_FEATURES
8516 if test -z "$defaultval"; then
8517 if test x"$enablestring" = xdisable; then
8518 defaultval=yes
8519 else
8520 defaultval=no
8521 fi
8522 fi
8523
8524 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8525 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8526 # Check whether --enable-docview was given.
8527 if test "${enable_docview+set}" = set; then
8528 enableval=$enable_docview;
8529 if test "$enableval" = yes; then
8530 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8531 else
8532 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8533 fi
8534
8535 else
8536
8537 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8538
8539 fi
8540
8541
8542 eval "$wx_cv_use_docview"
8543
8544 if test x"$enablestring" = xdisable; then
8545 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
8546 result=yes
8547 else
8548 result=no
8549 fi
8550 else
8551 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8552 fi
8553
8554 { echo "$as_me:$LINENO: result: $result" >&5
8555 echo "${ECHO_T}$result" >&6; }
8556
8557
8558 enablestring=
8559 defaultval=$wxUSE_ALL_FEATURES
8560 if test -z "$defaultval"; then
8561 if test x"$enablestring" = xdisable; then
8562 defaultval=yes
8563 else
8564 defaultval=no
8565 fi
8566 fi
8567
8568 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8569 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8570 # Check whether --enable-help was given.
8571 if test "${enable_help+set}" = set; then
8572 enableval=$enable_help;
8573 if test "$enableval" = yes; then
8574 wx_cv_use_help='wxUSE_HELP=yes'
8575 else
8576 wx_cv_use_help='wxUSE_HELP=no'
8577 fi
8578
8579 else
8580
8581 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8582
8583 fi
8584
8585
8586 eval "$wx_cv_use_help"
8587
8588 if test x"$enablestring" = xdisable; then
8589 if test $wxUSE_HELP = no; then
8590 result=yes
8591 else
8592 result=no
8593 fi
8594 else
8595 result=$wxUSE_HELP
8596 fi
8597
8598 { echo "$as_me:$LINENO: result: $result" >&5
8599 echo "${ECHO_T}$result" >&6; }
8600
8601
8602 enablestring=
8603 defaultval=$wxUSE_ALL_FEATURES
8604 if test -z "$defaultval"; then
8605 if test x"$enablestring" = xdisable; then
8606 defaultval=yes
8607 else
8608 defaultval=no
8609 fi
8610 fi
8611
8612 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8613 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8614 # Check whether --enable-mshtmlhelp was given.
8615 if test "${enable_mshtmlhelp+set}" = set; then
8616 enableval=$enable_mshtmlhelp;
8617 if test "$enableval" = yes; then
8618 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8619 else
8620 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8621 fi
8622
8623 else
8624
8625 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8626
8627 fi
8628
8629
8630 eval "$wx_cv_use_mshtmlhelp"
8631
8632 if test x"$enablestring" = xdisable; then
8633 if test $wxUSE_MS_HTML_HELP = no; then
8634 result=yes
8635 else
8636 result=no
8637 fi
8638 else
8639 result=$wxUSE_MS_HTML_HELP
8640 fi
8641
8642 { echo "$as_me:$LINENO: result: $result" >&5
8643 echo "${ECHO_T}$result" >&6; }
8644
8645
8646 enablestring=
8647 defaultval=$wxUSE_ALL_FEATURES
8648 if test -z "$defaultval"; then
8649 if test x"$enablestring" = xdisable; then
8650 defaultval=yes
8651 else
8652 defaultval=no
8653 fi
8654 fi
8655
8656 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8657 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8658 # Check whether --enable-html was given.
8659 if test "${enable_html+set}" = set; then
8660 enableval=$enable_html;
8661 if test "$enableval" = yes; then
8662 wx_cv_use_html='wxUSE_HTML=yes'
8663 else
8664 wx_cv_use_html='wxUSE_HTML=no'
8665 fi
8666
8667 else
8668
8669 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8670
8671 fi
8672
8673
8674 eval "$wx_cv_use_html"
8675
8676 if test x"$enablestring" = xdisable; then
8677 if test $wxUSE_HTML = no; then
8678 result=yes
8679 else
8680 result=no
8681 fi
8682 else
8683 result=$wxUSE_HTML
8684 fi
8685
8686 { echo "$as_me:$LINENO: result: $result" >&5
8687 echo "${ECHO_T}$result" >&6; }
8688
8689
8690 enablestring=
8691 defaultval=$wxUSE_ALL_FEATURES
8692 if test -z "$defaultval"; then
8693 if test x"$enablestring" = xdisable; then
8694 defaultval=yes
8695 else
8696 defaultval=no
8697 fi
8698 fi
8699
8700 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8701 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8702 # Check whether --enable-htmlhelp was given.
8703 if test "${enable_htmlhelp+set}" = set; then
8704 enableval=$enable_htmlhelp;
8705 if test "$enableval" = yes; then
8706 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8707 else
8708 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8709 fi
8710
8711 else
8712
8713 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8714
8715 fi
8716
8717
8718 eval "$wx_cv_use_htmlhelp"
8719
8720 if test x"$enablestring" = xdisable; then
8721 if test $wxUSE_WXHTML_HELP = no; then
8722 result=yes
8723 else
8724 result=no
8725 fi
8726 else
8727 result=$wxUSE_WXHTML_HELP
8728 fi
8729
8730 { echo "$as_me:$LINENO: result: $result" >&5
8731 echo "${ECHO_T}$result" >&6; }
8732
8733
8734 enablestring=
8735 defaultval=$wxUSE_ALL_FEATURES
8736 if test -z "$defaultval"; then
8737 if test x"$enablestring" = xdisable; then
8738 defaultval=yes
8739 else
8740 defaultval=no
8741 fi
8742 fi
8743
8744 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8745 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8746 # Check whether --enable-xrc was given.
8747 if test "${enable_xrc+set}" = set; then
8748 enableval=$enable_xrc;
8749 if test "$enableval" = yes; then
8750 wx_cv_use_xrc='wxUSE_XRC=yes'
8751 else
8752 wx_cv_use_xrc='wxUSE_XRC=no'
8753 fi
8754
8755 else
8756
8757 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8758
8759 fi
8760
8761
8762 eval "$wx_cv_use_xrc"
8763
8764 if test x"$enablestring" = xdisable; then
8765 if test $wxUSE_XRC = no; then
8766 result=yes
8767 else
8768 result=no
8769 fi
8770 else
8771 result=$wxUSE_XRC
8772 fi
8773
8774 { echo "$as_me:$LINENO: result: $result" >&5
8775 echo "${ECHO_T}$result" >&6; }
8776
8777
8778 enablestring=
8779 defaultval=$wxUSE_ALL_FEATURES
8780 if test -z "$defaultval"; then
8781 if test x"$enablestring" = xdisable; then
8782 defaultval=yes
8783 else
8784 defaultval=no
8785 fi
8786 fi
8787
8788 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8789 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8790 # Check whether --enable-aui was given.
8791 if test "${enable_aui+set}" = set; then
8792 enableval=$enable_aui;
8793 if test "$enableval" = yes; then
8794 wx_cv_use_aui='wxUSE_AUI=yes'
8795 else
8796 wx_cv_use_aui='wxUSE_AUI=no'
8797 fi
8798
8799 else
8800
8801 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8802
8803 fi
8804
8805
8806 eval "$wx_cv_use_aui"
8807
8808 if test x"$enablestring" = xdisable; then
8809 if test $wxUSE_AUI = no; then
8810 result=yes
8811 else
8812 result=no
8813 fi
8814 else
8815 result=$wxUSE_AUI
8816 fi
8817
8818 { echo "$as_me:$LINENO: result: $result" >&5
8819 echo "${ECHO_T}$result" >&6; }
8820
8821
8822 enablestring=
8823 defaultval=$wxUSE_ALL_FEATURES
8824 if test -z "$defaultval"; then
8825 if test x"$enablestring" = xdisable; then
8826 defaultval=yes
8827 else
8828 defaultval=no
8829 fi
8830 fi
8831
8832 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8833 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8834 # Check whether --enable-propgrid was given.
8835 if test "${enable_propgrid+set}" = set; then
8836 enableval=$enable_propgrid;
8837 if test "$enableval" = yes; then
8838 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8839 else
8840 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8841 fi
8842
8843 else
8844
8845 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8846
8847 fi
8848
8849
8850 eval "$wx_cv_use_propgrid"
8851
8852 if test x"$enablestring" = xdisable; then
8853 if test $wxUSE_PROPGRID = no; then
8854 result=yes
8855 else
8856 result=no
8857 fi
8858 else
8859 result=$wxUSE_PROPGRID
8860 fi
8861
8862 { echo "$as_me:$LINENO: result: $result" >&5
8863 echo "${ECHO_T}$result" >&6; }
8864
8865
8866 enablestring=
8867 defaultval=$wxUSE_ALL_FEATURES
8868 if test -z "$defaultval"; then
8869 if test x"$enablestring" = xdisable; then
8870 defaultval=yes
8871 else
8872 defaultval=no
8873 fi
8874 fi
8875
8876 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ribbon" >&5
8877 echo $ECHO_N "checking for --${enablestring:-enable}-ribbon... $ECHO_C" >&6; }
8878 # Check whether --enable-ribbon was given.
8879 if test "${enable_ribbon+set}" = set; then
8880 enableval=$enable_ribbon;
8881 if test "$enableval" = yes; then
8882 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
8883 else
8884 wx_cv_use_ribbon='wxUSE_RIBBON=no'
8885 fi
8886
8887 else
8888
8889 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
8890
8891 fi
8892
8893
8894 eval "$wx_cv_use_ribbon"
8895
8896 if test x"$enablestring" = xdisable; then
8897 if test $wxUSE_RIBBON = no; then
8898 result=yes
8899 else
8900 result=no
8901 fi
8902 else
8903 result=$wxUSE_RIBBON
8904 fi
8905
8906 { echo "$as_me:$LINENO: result: $result" >&5
8907 echo "${ECHO_T}$result" >&6; }
8908
8909
8910 enablestring=
8911 defaultval=$wxUSE_ALL_FEATURES
8912 if test -z "$defaultval"; then
8913 if test x"$enablestring" = xdisable; then
8914 defaultval=yes
8915 else
8916 defaultval=no
8917 fi
8918 fi
8919
8920 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8921 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8922 # Check whether --enable-stc was given.
8923 if test "${enable_stc+set}" = set; then
8924 enableval=$enable_stc;
8925 if test "$enableval" = yes; then
8926 wx_cv_use_stc='wxUSE_STC=yes'
8927 else
8928 wx_cv_use_stc='wxUSE_STC=no'
8929 fi
8930
8931 else
8932
8933 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8934
8935 fi
8936
8937
8938 eval "$wx_cv_use_stc"
8939
8940 if test x"$enablestring" = xdisable; then
8941 if test $wxUSE_STC = no; then
8942 result=yes
8943 else
8944 result=no
8945 fi
8946 else
8947 result=$wxUSE_STC
8948 fi
8949
8950 { echo "$as_me:$LINENO: result: $result" >&5
8951 echo "${ECHO_T}$result" >&6; }
8952
8953
8954 enablestring=
8955 defaultval=$wxUSE_ALL_FEATURES
8956 if test -z "$defaultval"; then
8957 if test x"$enablestring" = xdisable; then
8958 defaultval=yes
8959 else
8960 defaultval=no
8961 fi
8962 fi
8963
8964 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8965 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8966 # Check whether --enable-constraints was given.
8967 if test "${enable_constraints+set}" = set; then
8968 enableval=$enable_constraints;
8969 if test "$enableval" = yes; then
8970 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8971 else
8972 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8973 fi
8974
8975 else
8976
8977 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8978
8979 fi
8980
8981
8982 eval "$wx_cv_use_constraints"
8983
8984 if test x"$enablestring" = xdisable; then
8985 if test $wxUSE_CONSTRAINTS = no; then
8986 result=yes
8987 else
8988 result=no
8989 fi
8990 else
8991 result=$wxUSE_CONSTRAINTS
8992 fi
8993
8994 { echo "$as_me:$LINENO: result: $result" >&5
8995 echo "${ECHO_T}$result" >&6; }
8996
8997
8998 enablestring=
8999 defaultval=$wxUSE_ALL_FEATURES
9000 if test -z "$defaultval"; then
9001 if test x"$enablestring" = xdisable; then
9002 defaultval=yes
9003 else
9004 defaultval=no
9005 fi
9006 fi
9007
9008 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
9009 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
9010 # Check whether --enable-loggui was given.
9011 if test "${enable_loggui+set}" = set; then
9012 enableval=$enable_loggui;
9013 if test "$enableval" = yes; then
9014 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
9015 else
9016 wx_cv_use_loggui='wxUSE_LOGGUI=no'
9017 fi
9018
9019 else
9020
9021 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
9022
9023 fi
9024
9025
9026 eval "$wx_cv_use_loggui"
9027
9028 if test x"$enablestring" = xdisable; then
9029 if test $wxUSE_LOGGUI = no; then
9030 result=yes
9031 else
9032 result=no
9033 fi
9034 else
9035 result=$wxUSE_LOGGUI
9036 fi
9037
9038 { echo "$as_me:$LINENO: result: $result" >&5
9039 echo "${ECHO_T}$result" >&6; }
9040
9041
9042 enablestring=
9043 defaultval=$wxUSE_ALL_FEATURES
9044 if test -z "$defaultval"; then
9045 if test x"$enablestring" = xdisable; then
9046 defaultval=yes
9047 else
9048 defaultval=no
9049 fi
9050 fi
9051
9052 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9053 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9054 # Check whether --enable-logwin was given.
9055 if test "${enable_logwin+set}" = set; then
9056 enableval=$enable_logwin;
9057 if test "$enableval" = yes; then
9058 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
9059 else
9060 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
9061 fi
9062
9063 else
9064
9065 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9066
9067 fi
9068
9069
9070 eval "$wx_cv_use_logwin"
9071
9072 if test x"$enablestring" = xdisable; then
9073 if test $wxUSE_LOGWINDOW = no; then
9074 result=yes
9075 else
9076 result=no
9077 fi
9078 else
9079 result=$wxUSE_LOGWINDOW
9080 fi
9081
9082 { echo "$as_me:$LINENO: result: $result" >&5
9083 echo "${ECHO_T}$result" >&6; }
9084
9085
9086 enablestring=
9087 defaultval=$wxUSE_ALL_FEATURES
9088 if test -z "$defaultval"; then
9089 if test x"$enablestring" = xdisable; then
9090 defaultval=yes
9091 else
9092 defaultval=no
9093 fi
9094 fi
9095
9096 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9097 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
9098 # Check whether --enable-logdialog was given.
9099 if test "${enable_logdialog+set}" = set; then
9100 enableval=$enable_logdialog;
9101 if test "$enableval" = yes; then
9102 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
9103 else
9104 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
9105 fi
9106
9107 else
9108
9109 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9110
9111 fi
9112
9113
9114 eval "$wx_cv_use_logdialog"
9115
9116 if test x"$enablestring" = xdisable; then
9117 if test $wxUSE_LOGDIALOG = no; then
9118 result=yes
9119 else
9120 result=no
9121 fi
9122 else
9123 result=$wxUSE_LOGDIALOG
9124 fi
9125
9126 { echo "$as_me:$LINENO: result: $result" >&5
9127 echo "${ECHO_T}$result" >&6; }
9128
9129
9130 enablestring=
9131 defaultval=$wxUSE_ALL_FEATURES
9132 if test -z "$defaultval"; then
9133 if test x"$enablestring" = xdisable; then
9134 defaultval=yes
9135 else
9136 defaultval=no
9137 fi
9138 fi
9139
9140 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9141 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
9142 # Check whether --enable-mdi was given.
9143 if test "${enable_mdi+set}" = set; then
9144 enableval=$enable_mdi;
9145 if test "$enableval" = yes; then
9146 wx_cv_use_mdi='wxUSE_MDI=yes'
9147 else
9148 wx_cv_use_mdi='wxUSE_MDI=no'
9149 fi
9150
9151 else
9152
9153 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9154
9155 fi
9156
9157
9158 eval "$wx_cv_use_mdi"
9159
9160 if test x"$enablestring" = xdisable; then
9161 if test $wxUSE_MDI = no; then
9162 result=yes
9163 else
9164 result=no
9165 fi
9166 else
9167 result=$wxUSE_MDI
9168 fi
9169
9170 { echo "$as_me:$LINENO: result: $result" >&5
9171 echo "${ECHO_T}$result" >&6; }
9172
9173
9174 enablestring=
9175 defaultval=$wxUSE_ALL_FEATURES
9176 if test -z "$defaultval"; then
9177 if test x"$enablestring" = xdisable; then
9178 defaultval=yes
9179 else
9180 defaultval=no
9181 fi
9182 fi
9183
9184 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9185 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9186 # Check whether --enable-mdidoc was given.
9187 if test "${enable_mdidoc+set}" = set; then
9188 enableval=$enable_mdidoc;
9189 if test "$enableval" = yes; then
9190 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
9191 else
9192 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
9193 fi
9194
9195 else
9196
9197 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9198
9199 fi
9200
9201
9202 eval "$wx_cv_use_mdidoc"
9203
9204 if test x"$enablestring" = xdisable; then
9205 if test $wxUSE_MDI_ARCHITECTURE = no; then
9206 result=yes
9207 else
9208 result=no
9209 fi
9210 else
9211 result=$wxUSE_MDI_ARCHITECTURE
9212 fi
9213
9214 { echo "$as_me:$LINENO: result: $result" >&5
9215 echo "${ECHO_T}$result" >&6; }
9216
9217
9218 enablestring=
9219 defaultval=$wxUSE_ALL_FEATURES
9220 if test -z "$defaultval"; then
9221 if test x"$enablestring" = xdisable; then
9222 defaultval=yes
9223 else
9224 defaultval=no
9225 fi
9226 fi
9227
9228 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
9229 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
9230 # Check whether --enable-mediactrl was given.
9231 if test "${enable_mediactrl+set}" = set; then
9232 enableval=$enable_mediactrl;
9233 if test "$enableval" = yes; then
9234 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
9235 else
9236 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
9237 fi
9238
9239 else
9240
9241 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
9242
9243 fi
9244
9245
9246 eval "$wx_cv_use_mediactrl"
9247
9248 if test x"$enablestring" = xdisable; then
9249 if test $wxUSE_MEDIACTRL = no; then
9250 result=yes
9251 else
9252 result=no
9253 fi
9254 else
9255 result=$wxUSE_MEDIACTRL
9256 fi
9257
9258 { echo "$as_me:$LINENO: result: $result" >&5
9259 echo "${ECHO_T}$result" >&6; }
9260
9261
9262 enablestring=
9263 defaultval=$wxUSE_ALL_FEATURES
9264 if test -z "$defaultval"; then
9265 if test x"$enablestring" = xdisable; then
9266 defaultval=yes
9267 else
9268 defaultval=no
9269 fi
9270 fi
9271
9272 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
9273 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
9274 # Check whether --enable-gstreamer8 was given.
9275 if test "${enable_gstreamer8+set}" = set; then
9276 enableval=$enable_gstreamer8;
9277 if test "$enableval" = yes; then
9278 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
9279 else
9280 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
9281 fi
9282
9283 else
9284
9285 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9286
9287 fi
9288
9289
9290 eval "$wx_cv_use_gstreamer8"
9291
9292 if test x"$enablestring" = xdisable; then
9293 if test $wxUSE_GSTREAMER8 = no; then
9294 result=yes
9295 else
9296 result=no
9297 fi
9298 else
9299 result=$wxUSE_GSTREAMER8
9300 fi
9301
9302 { echo "$as_me:$LINENO: result: $result" >&5
9303 echo "${ECHO_T}$result" >&6; }
9304
9305
9306 enablestring=
9307 defaultval=$wxUSE_ALL_FEATURES
9308 if test -z "$defaultval"; then
9309 if test x"$enablestring" = xdisable; then
9310 defaultval=yes
9311 else
9312 defaultval=no
9313 fi
9314 fi
9315
9316 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9317 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9318 # Check whether --enable-webkit was given.
9319 if test "${enable_webkit+set}" = set; then
9320 enableval=$enable_webkit;
9321 if test "$enableval" = yes; then
9322 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9323 else
9324 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9325 fi
9326
9327 else
9328
9329 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9330
9331 fi
9332
9333
9334 eval "$wx_cv_use_webkit"
9335
9336 if test x"$enablestring" = xdisable; then
9337 if test $wxUSE_WEBKIT = no; then
9338 result=yes
9339 else
9340 result=no
9341 fi
9342 else
9343 result=$wxUSE_WEBKIT
9344 fi
9345
9346 { echo "$as_me:$LINENO: result: $result" >&5
9347 echo "${ECHO_T}$result" >&6; }
9348
9349
9350 enablestring=
9351 defaultval=$wxUSE_ALL_FEATURES
9352 if test -z "$defaultval"; then
9353 if test x"$enablestring" = xdisable; then
9354 defaultval=yes
9355 else
9356 defaultval=no
9357 fi
9358 fi
9359
9360 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9361 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9362 # Check whether --enable-richtext was given.
9363 if test "${enable_richtext+set}" = set; then
9364 enableval=$enable_richtext;
9365 if test "$enableval" = yes; then
9366 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9367 else
9368 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9369 fi
9370
9371 else
9372
9373 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9374
9375 fi
9376
9377
9378 eval "$wx_cv_use_richtext"
9379
9380 if test x"$enablestring" = xdisable; then
9381 if test $wxUSE_RICHTEXT = no; then
9382 result=yes
9383 else
9384 result=no
9385 fi
9386 else
9387 result=$wxUSE_RICHTEXT
9388 fi
9389
9390 { echo "$as_me:$LINENO: result: $result" >&5
9391 echo "${ECHO_T}$result" >&6; }
9392
9393
9394 enablestring=
9395 defaultval=$wxUSE_ALL_FEATURES
9396 if test -z "$defaultval"; then
9397 if test x"$enablestring" = xdisable; then
9398 defaultval=yes
9399 else
9400 defaultval=no
9401 fi
9402 fi
9403
9404 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9405 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9406 # Check whether --enable-postscript was given.
9407 if test "${enable_postscript+set}" = set; then
9408 enableval=$enable_postscript;
9409 if test "$enableval" = yes; then
9410 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9411 else
9412 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9413 fi
9414
9415 else
9416
9417 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9418
9419 fi
9420
9421
9422 eval "$wx_cv_use_postscript"
9423
9424 if test x"$enablestring" = xdisable; then
9425 if test $wxUSE_POSTSCRIPT = no; then
9426 result=yes
9427 else
9428 result=no
9429 fi
9430 else
9431 result=$wxUSE_POSTSCRIPT
9432 fi
9433
9434 { echo "$as_me:$LINENO: result: $result" >&5
9435 echo "${ECHO_T}$result" >&6; }
9436
9437
9438 enablestring=
9439 defaultval=$wxUSE_ALL_FEATURES
9440 if test -z "$defaultval"; then
9441 if test x"$enablestring" = xdisable; then
9442 defaultval=yes
9443 else
9444 defaultval=no
9445 fi
9446 fi
9447
9448 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9449 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9450 # Check whether --enable-printarch was given.
9451 if test "${enable_printarch+set}" = set; then
9452 enableval=$enable_printarch;
9453 if test "$enableval" = yes; then
9454 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9455 else
9456 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9457 fi
9458
9459 else
9460
9461 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9462
9463 fi
9464
9465
9466 eval "$wx_cv_use_printarch"
9467
9468 if test x"$enablestring" = xdisable; then
9469 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
9470 result=yes
9471 else
9472 result=no
9473 fi
9474 else
9475 result=$wxUSE_PRINTING_ARCHITECTURE
9476 fi
9477
9478 { echo "$as_me:$LINENO: result: $result" >&5
9479 echo "${ECHO_T}$result" >&6; }
9480
9481
9482 enablestring=
9483 defaultval=$wxUSE_ALL_FEATURES
9484 if test -z "$defaultval"; then
9485 if test x"$enablestring" = xdisable; then
9486 defaultval=yes
9487 else
9488 defaultval=no
9489 fi
9490 fi
9491
9492 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9493 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9494 # Check whether --enable-svg was given.
9495 if test "${enable_svg+set}" = set; then
9496 enableval=$enable_svg;
9497 if test "$enableval" = yes; then
9498 wx_cv_use_svg='wxUSE_SVG=yes'
9499 else
9500 wx_cv_use_svg='wxUSE_SVG=no'
9501 fi
9502
9503 else
9504
9505 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9506
9507 fi
9508
9509
9510 eval "$wx_cv_use_svg"
9511
9512 if test x"$enablestring" = xdisable; then
9513 if test $wxUSE_SVG = no; then
9514 result=yes
9515 else
9516 result=no
9517 fi
9518 else
9519 result=$wxUSE_SVG
9520 fi
9521
9522 { echo "$as_me:$LINENO: result: $result" >&5
9523 echo "${ECHO_T}$result" >&6; }
9524
9525
9526 if test "$wxUSE_MAC" != 1; then
9527
9528 enablestring=
9529 defaultval=$wxUSE_ALL_FEATURES
9530 if test -z "$defaultval"; then
9531 if test x"$enablestring" = xdisable; then
9532 defaultval=yes
9533 else
9534 defaultval=no
9535 fi
9536 fi
9537
9538 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9539 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9540 # Check whether --enable-graphics_ctx was given.
9541 if test "${enable_graphics_ctx+set}" = set; then
9542 enableval=$enable_graphics_ctx;
9543 if test "$enableval" = yes; then
9544 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9545 else
9546 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9547 fi
9548
9549 else
9550
9551 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9552
9553 fi
9554
9555
9556 eval "$wx_cv_use_graphics_ctx"
9557
9558 if test x"$enablestring" = xdisable; then
9559 if test $wxUSE_GRAPHICS_CONTEXT = no; then
9560 result=yes
9561 else
9562 result=no
9563 fi
9564 else
9565 result=$wxUSE_GRAPHICS_CONTEXT
9566 fi
9567
9568 { echo "$as_me:$LINENO: result: $result" >&5
9569 echo "${ECHO_T}$result" >&6; }
9570
9571 fi
9572
9573
9574
9575 enablestring=
9576 defaultval=$wxUSE_ALL_FEATURES
9577 if test -z "$defaultval"; then
9578 if test x"$enablestring" = xdisable; then
9579 defaultval=yes
9580 else
9581 defaultval=no
9582 fi
9583 fi
9584
9585 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9586 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9587 # Check whether --enable-clipboard was given.
9588 if test "${enable_clipboard+set}" = set; then
9589 enableval=$enable_clipboard;
9590 if test "$enableval" = yes; then
9591 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9592 else
9593 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9594 fi
9595
9596 else
9597
9598 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9599
9600 fi
9601
9602
9603 eval "$wx_cv_use_clipboard"
9604
9605 if test x"$enablestring" = xdisable; then
9606 if test $wxUSE_CLIPBOARD = no; then
9607 result=yes
9608 else
9609 result=no
9610 fi
9611 else
9612 result=$wxUSE_CLIPBOARD
9613 fi
9614
9615 { echo "$as_me:$LINENO: result: $result" >&5
9616 echo "${ECHO_T}$result" >&6; }
9617
9618
9619 enablestring=
9620 defaultval=$wxUSE_ALL_FEATURES
9621 if test -z "$defaultval"; then
9622 if test x"$enablestring" = xdisable; then
9623 defaultval=yes
9624 else
9625 defaultval=no
9626 fi
9627 fi
9628
9629 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9630 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9631 # Check whether --enable-dnd was given.
9632 if test "${enable_dnd+set}" = set; then
9633 enableval=$enable_dnd;
9634 if test "$enableval" = yes; then
9635 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9636 else
9637 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9638 fi
9639
9640 else
9641
9642 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9643
9644 fi
9645
9646
9647 eval "$wx_cv_use_dnd"
9648
9649 if test x"$enablestring" = xdisable; then
9650 if test $wxUSE_DRAG_AND_DROP = no; then
9651 result=yes
9652 else
9653 result=no
9654 fi
9655 else
9656 result=$wxUSE_DRAG_AND_DROP
9657 fi
9658
9659 { echo "$as_me:$LINENO: result: $result" >&5
9660 echo "${ECHO_T}$result" >&6; }
9661
9662
9663 enablestring=
9664 defaultval=$wxUSE_ALL_FEATURES
9665 if test -z "$defaultval"; then
9666 if test x"$enablestring" = xdisable; then
9667 defaultval=yes
9668 else
9669 defaultval=no
9670 fi
9671 fi
9672
9673 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9674 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9675 # Check whether --enable-metafile was given.
9676 if test "${enable_metafile+set}" = set; then
9677 enableval=$enable_metafile;
9678 if test "$enableval" = yes; then
9679 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9680 else
9681 wx_cv_use_metafile='wxUSE_METAFILE=no'
9682 fi
9683
9684 else
9685
9686 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9687
9688 fi
9689
9690
9691 eval "$wx_cv_use_metafile"
9692
9693 if test x"$enablestring" = xdisable; then
9694 if test $wxUSE_METAFILE = no; then
9695 result=yes
9696 else
9697 result=no
9698 fi
9699 else
9700 result=$wxUSE_METAFILE
9701 fi
9702
9703 { echo "$as_me:$LINENO: result: $result" >&5
9704 echo "${ECHO_T}$result" >&6; }
9705
9706
9707
9708 DEFAULT_wxUSE_CONTROLS=none
9709
9710 enablestring=disable
9711 defaultval=
9712 if test -z "$defaultval"; then
9713 if test x"$enablestring" = xdisable; then
9714 defaultval=yes
9715 else
9716 defaultval=no
9717 fi
9718 fi
9719
9720 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9721 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9722 # Check whether --enable-controls was given.
9723 if test "${enable_controls+set}" = set; then
9724 enableval=$enable_controls;
9725 if test "$enableval" = yes; then
9726 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9727 else
9728 wx_cv_use_controls='wxUSE_CONTROLS=no'
9729 fi
9730
9731 else
9732
9733 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9734
9735 fi
9736
9737
9738 eval "$wx_cv_use_controls"
9739
9740 if test x"$enablestring" = xdisable; then
9741 if test $wxUSE_CONTROLS = no; then
9742 result=yes
9743 else
9744 result=no
9745 fi
9746 else
9747 result=$wxUSE_CONTROLS
9748 fi
9749
9750 { echo "$as_me:$LINENO: result: $result" >&5
9751 echo "${ECHO_T}$result" >&6; }
9752
9753
9754 if test "$wxUSE_CONTROLS" = "no"; then
9755 DEFAULT_wxUSE_ACCEL=no
9756 DEFAULT_wxUSE_ANIMATIONCTRL=no
9757 DEFAULT_wxUSE_BMPBUTTON=no
9758 DEFAULT_wxUSE_BUTTON=no
9759 DEFAULT_wxUSE_CALCTRL=no
9760 DEFAULT_wxUSE_CARET=no
9761 DEFAULT_wxUSE_CHECKBOX=no
9762 DEFAULT_wxUSE_CHECKLISTBOX=no
9763 DEFAULT_wxUSE_CHOICE=no
9764 DEFAULT_wxUSE_CHOICEBOOK=no
9765 DEFAULT_wxUSE_COLLPANE=no
9766 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9767 DEFAULT_wxUSE_COMBOBOX=no
9768 DEFAULT_wxUSE_COMBOBOX=no
9769 DEFAULT_wxUSE_COMMANDLINKBUTTON=no
9770 DEFAULT_wxUSE_DATAVIEWCTRL=no
9771 DEFAULT_wxUSE_DATEPICKCTRL=no
9772 DEFAULT_wxUSE_DETECT_SM=no
9773 DEFAULT_wxUSE_DIRPICKERCTRL=no
9774 DEFAULT_wxUSE_DISPLAY=no
9775 DEFAULT_wxUSE_FILECTRL=no
9776 DEFAULT_wxUSE_FILEPICKERCTRL=no
9777 DEFAULT_wxUSE_FONTPICKERCTRL=no
9778 DEFAULT_wxUSE_GAUGE=no
9779 DEFAULT_wxUSE_GRID=no
9780 DEFAULT_wxUSE_HEADERCTRL=no
9781 DEFAULT_wxUSE_HYPERLINKCTRL=no
9782 DEFAULT_wxUSE_IMAGLIST=no
9783 DEFAULT_wxUSE_LISTBOOK=no
9784 DEFAULT_wxUSE_LISTBOX=no
9785 DEFAULT_wxUSE_LISTCTRL=no
9786 DEFAULT_wxUSE_NOTEBOOK=no
9787 DEFAULT_wxUSE_POPUPWIN=no
9788 DEFAULT_wxUSE_RADIOBOX=no
9789 DEFAULT_wxUSE_RADIOBTN=no
9790 DEFAULT_wxUSE_RICHMSGDLG=no
9791 DEFAULT_wxUSE_REARRANGECTRL=no
9792 DEFAULT_wxUSE_SASH=no
9793 DEFAULT_wxUSE_SCROLLBAR=no
9794 DEFAULT_wxUSE_SEARCHCTRL=no
9795 DEFAULT_wxUSE_SLIDER=no
9796 DEFAULT_wxUSE_SPINBTN=no
9797 DEFAULT_wxUSE_SPINCTRL=no
9798 DEFAULT_wxUSE_SPLITTER=no
9799 DEFAULT_wxUSE_STATBMP=no
9800 DEFAULT_wxUSE_STATBOX=no
9801 DEFAULT_wxUSE_STATLINE=no
9802 DEFAULT_wxUSE_STATUSBAR=no
9803 DEFAULT_wxUSE_TIPWINDOW=no
9804 DEFAULT_wxUSE_TOGGLEBTN=no
9805 DEFAULT_wxUSE_TOOLBAR=no
9806 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9807 DEFAULT_wxUSE_TOOLBOOK=no
9808 DEFAULT_wxUSE_TOOLTIPS=no
9809 DEFAULT_wxUSE_TREEBOOK=no
9810 DEFAULT_wxUSE_TREECTRL=no
9811 fi
9812
9813
9814 enablestring=
9815 defaultval=$wxUSE_ALL_FEATURES
9816 if test -z "$defaultval"; then
9817 if test x"$enablestring" = xdisable; then
9818 defaultval=yes
9819 else
9820 defaultval=no
9821 fi
9822 fi
9823
9824 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9825 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9826 # Check whether --enable-accel was given.
9827 if test "${enable_accel+set}" = set; then
9828 enableval=$enable_accel;
9829 if test "$enableval" = yes; then
9830 wx_cv_use_accel='wxUSE_ACCEL=yes'
9831 else
9832 wx_cv_use_accel='wxUSE_ACCEL=no'
9833 fi
9834
9835 else
9836
9837 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9838
9839 fi
9840
9841
9842 eval "$wx_cv_use_accel"
9843
9844 if test x"$enablestring" = xdisable; then
9845 if test $wxUSE_ACCEL = no; then
9846 result=yes
9847 else
9848 result=no
9849 fi
9850 else
9851 result=$wxUSE_ACCEL
9852 fi
9853
9854 { echo "$as_me:$LINENO: result: $result" >&5
9855 echo "${ECHO_T}$result" >&6; }
9856
9857
9858 enablestring=
9859 defaultval=$wxUSE_ALL_FEATURES
9860 if test -z "$defaultval"; then
9861 if test x"$enablestring" = xdisable; then
9862 defaultval=yes
9863 else
9864 defaultval=no
9865 fi
9866 fi
9867
9868 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9869 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9870 # Check whether --enable-animatectrl was given.
9871 if test "${enable_animatectrl+set}" = set; then
9872 enableval=$enable_animatectrl;
9873 if test "$enableval" = yes; then
9874 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9875 else
9876 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9877 fi
9878
9879 else
9880
9881 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9882
9883 fi
9884
9885
9886 eval "$wx_cv_use_animatectrl"
9887
9888 if test x"$enablestring" = xdisable; then
9889 if test $wxUSE_ANIMATIONCTRL = no; then
9890 result=yes
9891 else
9892 result=no
9893 fi
9894 else
9895 result=$wxUSE_ANIMATIONCTRL
9896 fi
9897
9898 { echo "$as_me:$LINENO: result: $result" >&5
9899 echo "${ECHO_T}$result" >&6; }
9900
9901
9902 enablestring=
9903 defaultval=$wxUSE_ALL_FEATURES
9904 if test -z "$defaultval"; then
9905 if test x"$enablestring" = xdisable; then
9906 defaultval=yes
9907 else
9908 defaultval=no
9909 fi
9910 fi
9911
9912 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arttango" >&5
9913 echo $ECHO_N "checking for --${enablestring:-enable}-arttango... $ECHO_C" >&6; }
9914 # Check whether --enable-arttango was given.
9915 if test "${enable_arttango+set}" = set; then
9916 enableval=$enable_arttango;
9917 if test "$enableval" = yes; then
9918 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=yes'
9919 else
9920 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=no'
9921 fi
9922
9923 else
9924
9925 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
9926
9927 fi
9928
9929
9930 eval "$wx_cv_use_arttango"
9931
9932 if test x"$enablestring" = xdisable; then
9933 if test $wxUSE_ARTPROVIDER_TANGO = no; then
9934 result=yes
9935 else
9936 result=no
9937 fi
9938 else
9939 result=$wxUSE_ARTPROVIDER_TANGO
9940 fi
9941
9942 { echo "$as_me:$LINENO: result: $result" >&5
9943 echo "${ECHO_T}$result" >&6; }
9944
9945
9946 enablestring=
9947 defaultval=$wxUSE_ALL_FEATURES
9948 if test -z "$defaultval"; then
9949 if test x"$enablestring" = xdisable; then
9950 defaultval=yes
9951 else
9952 defaultval=no
9953 fi
9954 fi
9955
9956 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9957 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9958 # Check whether --enable-bmpbutton was given.
9959 if test "${enable_bmpbutton+set}" = set; then
9960 enableval=$enable_bmpbutton;
9961 if test "$enableval" = yes; then
9962 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9963 else
9964 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9965 fi
9966
9967 else
9968
9969 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9970
9971 fi
9972
9973
9974 eval "$wx_cv_use_bmpbutton"
9975
9976 if test x"$enablestring" = xdisable; then
9977 if test $wxUSE_BMPBUTTON = no; then
9978 result=yes
9979 else
9980 result=no
9981 fi
9982 else
9983 result=$wxUSE_BMPBUTTON
9984 fi
9985
9986 { echo "$as_me:$LINENO: result: $result" >&5
9987 echo "${ECHO_T}$result" >&6; }
9988
9989
9990 enablestring=
9991 defaultval=$wxUSE_ALL_FEATURES
9992 if test -z "$defaultval"; then
9993 if test x"$enablestring" = xdisable; then
9994 defaultval=yes
9995 else
9996 defaultval=no
9997 fi
9998 fi
9999
10000 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
10001 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
10002 # Check whether --enable-bmpcombobox was given.
10003 if test "${enable_bmpcombobox+set}" = set; then
10004 enableval=$enable_bmpcombobox;
10005 if test "$enableval" = yes; then
10006 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
10007 else
10008 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
10009 fi
10010
10011 else
10012
10013 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
10014
10015 fi
10016
10017
10018 eval "$wx_cv_use_bmpcombobox"
10019
10020 if test x"$enablestring" = xdisable; then
10021 if test $wxUSE_BITMAPCOMBOBOX = no; then
10022 result=yes
10023 else
10024 result=no
10025 fi
10026 else
10027 result=$wxUSE_BITMAPCOMBOBOX
10028 fi
10029
10030 { echo "$as_me:$LINENO: result: $result" >&5
10031 echo "${ECHO_T}$result" >&6; }
10032
10033
10034 enablestring=
10035 defaultval=$wxUSE_ALL_FEATURES
10036 if test -z "$defaultval"; then
10037 if test x"$enablestring" = xdisable; then
10038 defaultval=yes
10039 else
10040 defaultval=no
10041 fi
10042 fi
10043
10044 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
10045 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
10046 # Check whether --enable-button was given.
10047 if test "${enable_button+set}" = set; then
10048 enableval=$enable_button;
10049 if test "$enableval" = yes; then
10050 wx_cv_use_button='wxUSE_BUTTON=yes'
10051 else
10052 wx_cv_use_button='wxUSE_BUTTON=no'
10053 fi
10054
10055 else
10056
10057 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
10058
10059 fi
10060
10061
10062 eval "$wx_cv_use_button"
10063
10064 if test x"$enablestring" = xdisable; then
10065 if test $wxUSE_BUTTON = no; then
10066 result=yes
10067 else
10068 result=no
10069 fi
10070 else
10071 result=$wxUSE_BUTTON
10072 fi
10073
10074 { echo "$as_me:$LINENO: result: $result" >&5
10075 echo "${ECHO_T}$result" >&6; }
10076
10077
10078 enablestring=
10079 defaultval=$wxUSE_ALL_FEATURES
10080 if test -z "$defaultval"; then
10081 if test x"$enablestring" = xdisable; then
10082 defaultval=yes
10083 else
10084 defaultval=no
10085 fi
10086 fi
10087
10088 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10089 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10090 # Check whether --enable-calendar was given.
10091 if test "${enable_calendar+set}" = set; then
10092 enableval=$enable_calendar;
10093 if test "$enableval" = yes; then
10094 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
10095 else
10096 wx_cv_use_calendar='wxUSE_CALCTRL=no'
10097 fi
10098
10099 else
10100
10101 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10102
10103 fi
10104
10105
10106 eval "$wx_cv_use_calendar"
10107
10108 if test x"$enablestring" = xdisable; then
10109 if test $wxUSE_CALCTRL = no; then
10110 result=yes
10111 else
10112 result=no
10113 fi
10114 else
10115 result=$wxUSE_CALCTRL
10116 fi
10117
10118 { echo "$as_me:$LINENO: result: $result" >&5
10119 echo "${ECHO_T}$result" >&6; }
10120
10121
10122 enablestring=
10123 defaultval=$wxUSE_ALL_FEATURES
10124 if test -z "$defaultval"; then
10125 if test x"$enablestring" = xdisable; then
10126 defaultval=yes
10127 else
10128 defaultval=no
10129 fi
10130 fi
10131
10132 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
10133 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
10134 # Check whether --enable-caret was given.
10135 if test "${enable_caret+set}" = set; then
10136 enableval=$enable_caret;
10137 if test "$enableval" = yes; then
10138 wx_cv_use_caret='wxUSE_CARET=yes'
10139 else
10140 wx_cv_use_caret='wxUSE_CARET=no'
10141 fi
10142
10143 else
10144
10145 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10146
10147 fi
10148
10149
10150 eval "$wx_cv_use_caret"
10151
10152 if test x"$enablestring" = xdisable; then
10153 if test $wxUSE_CARET = no; then
10154 result=yes
10155 else
10156 result=no
10157 fi
10158 else
10159 result=$wxUSE_CARET
10160 fi
10161
10162 { echo "$as_me:$LINENO: result: $result" >&5
10163 echo "${ECHO_T}$result" >&6; }
10164
10165
10166 enablestring=
10167 defaultval=$wxUSE_ALL_FEATURES
10168 if test -z "$defaultval"; then
10169 if test x"$enablestring" = xdisable; then
10170 defaultval=yes
10171 else
10172 defaultval=no
10173 fi
10174 fi
10175
10176 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10177 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10178 # Check whether --enable-checkbox was given.
10179 if test "${enable_checkbox+set}" = set; then
10180 enableval=$enable_checkbox;
10181 if test "$enableval" = yes; then
10182 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
10183 else
10184 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
10185 fi
10186
10187 else
10188
10189 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10190
10191 fi
10192
10193
10194 eval "$wx_cv_use_checkbox"
10195
10196 if test x"$enablestring" = xdisable; then
10197 if test $wxUSE_CHECKBOX = no; then
10198 result=yes
10199 else
10200 result=no
10201 fi
10202 else
10203 result=$wxUSE_CHECKBOX
10204 fi
10205
10206 { echo "$as_me:$LINENO: result: $result" >&5
10207 echo "${ECHO_T}$result" >&6; }
10208
10209
10210 enablestring=
10211 defaultval=$wxUSE_ALL_FEATURES
10212 if test -z "$defaultval"; then
10213 if test x"$enablestring" = xdisable; then
10214 defaultval=yes
10215 else
10216 defaultval=no
10217 fi
10218 fi
10219
10220 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10221 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10222 # Check whether --enable-checklst was given.
10223 if test "${enable_checklst+set}" = set; then
10224 enableval=$enable_checklst;
10225 if test "$enableval" = yes; then
10226 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
10227 else
10228 wx_cv_use_checklst='wxUSE_CHECKLST=no'
10229 fi
10230
10231 else
10232
10233 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10234
10235 fi
10236
10237
10238 eval "$wx_cv_use_checklst"
10239
10240 if test x"$enablestring" = xdisable; then
10241 if test $wxUSE_CHECKLST = no; then
10242 result=yes
10243 else
10244 result=no
10245 fi
10246 else
10247 result=$wxUSE_CHECKLST
10248 fi
10249
10250 { echo "$as_me:$LINENO: result: $result" >&5
10251 echo "${ECHO_T}$result" >&6; }
10252
10253
10254 enablestring=
10255 defaultval=$wxUSE_ALL_FEATURES
10256 if test -z "$defaultval"; then
10257 if test x"$enablestring" = xdisable; then
10258 defaultval=yes
10259 else
10260 defaultval=no
10261 fi
10262 fi
10263
10264 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10265 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
10266 # Check whether --enable-choice was given.
10267 if test "${enable_choice+set}" = set; then
10268 enableval=$enable_choice;
10269 if test "$enableval" = yes; then
10270 wx_cv_use_choice='wxUSE_CHOICE=yes'
10271 else
10272 wx_cv_use_choice='wxUSE_CHOICE=no'
10273 fi
10274
10275 else
10276
10277 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10278
10279 fi
10280
10281
10282 eval "$wx_cv_use_choice"
10283
10284 if test x"$enablestring" = xdisable; then
10285 if test $wxUSE_CHOICE = no; then
10286 result=yes
10287 else
10288 result=no
10289 fi
10290 else
10291 result=$wxUSE_CHOICE
10292 fi
10293
10294 { echo "$as_me:$LINENO: result: $result" >&5
10295 echo "${ECHO_T}$result" >&6; }
10296
10297
10298 enablestring=
10299 defaultval=$wxUSE_ALL_FEATURES
10300 if test -z "$defaultval"; then
10301 if test x"$enablestring" = xdisable; then
10302 defaultval=yes
10303 else
10304 defaultval=no
10305 fi
10306 fi
10307
10308 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10309 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10310 # Check whether --enable-choicebook was given.
10311 if test "${enable_choicebook+set}" = set; then
10312 enableval=$enable_choicebook;
10313 if test "$enableval" = yes; then
10314 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10315 else
10316 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10317 fi
10318
10319 else
10320
10321 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10322
10323 fi
10324
10325
10326 eval "$wx_cv_use_choicebook"
10327
10328 if test x"$enablestring" = xdisable; then
10329 if test $wxUSE_CHOICEBOOK = no; then
10330 result=yes
10331 else
10332 result=no
10333 fi
10334 else
10335 result=$wxUSE_CHOICEBOOK
10336 fi
10337
10338 { echo "$as_me:$LINENO: result: $result" >&5
10339 echo "${ECHO_T}$result" >&6; }
10340
10341
10342 enablestring=
10343 defaultval=$wxUSE_ALL_FEATURES
10344 if test -z "$defaultval"; then
10345 if test x"$enablestring" = xdisable; then
10346 defaultval=yes
10347 else
10348 defaultval=no
10349 fi
10350 fi
10351
10352 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10353 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10354 # Check whether --enable-collpane was given.
10355 if test "${enable_collpane+set}" = set; then
10356 enableval=$enable_collpane;
10357 if test "$enableval" = yes; then
10358 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10359 else
10360 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10361 fi
10362
10363 else
10364
10365 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10366
10367 fi
10368
10369
10370 eval "$wx_cv_use_collpane"
10371
10372 if test x"$enablestring" = xdisable; then
10373 if test $wxUSE_COLLPANE = no; then
10374 result=yes
10375 else
10376 result=no
10377 fi
10378 else
10379 result=$wxUSE_COLLPANE
10380 fi
10381
10382 { echo "$as_me:$LINENO: result: $result" >&5
10383 echo "${ECHO_T}$result" >&6; }
10384
10385
10386 enablestring=
10387 defaultval=$wxUSE_ALL_FEATURES
10388 if test -z "$defaultval"; then
10389 if test x"$enablestring" = xdisable; then
10390 defaultval=yes
10391 else
10392 defaultval=no
10393 fi
10394 fi
10395
10396 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10397 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10398 # Check whether --enable-colourpicker was given.
10399 if test "${enable_colourpicker+set}" = set; then
10400 enableval=$enable_colourpicker;
10401 if test "$enableval" = yes; then
10402 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10403 else
10404 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10405 fi
10406
10407 else
10408
10409 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10410
10411 fi
10412
10413
10414 eval "$wx_cv_use_colourpicker"
10415
10416 if test x"$enablestring" = xdisable; then
10417 if test $wxUSE_COLOURPICKERCTRL = no; then
10418 result=yes
10419 else
10420 result=no
10421 fi
10422 else
10423 result=$wxUSE_COLOURPICKERCTRL
10424 fi
10425
10426 { echo "$as_me:$LINENO: result: $result" >&5
10427 echo "${ECHO_T}$result" >&6; }
10428
10429
10430 enablestring=
10431 defaultval=$wxUSE_ALL_FEATURES
10432 if test -z "$defaultval"; then
10433 if test x"$enablestring" = xdisable; then
10434 defaultval=yes
10435 else
10436 defaultval=no
10437 fi
10438 fi
10439
10440 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10441 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10442 # Check whether --enable-combobox was given.
10443 if test "${enable_combobox+set}" = set; then
10444 enableval=$enable_combobox;
10445 if test "$enableval" = yes; then
10446 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10447 else
10448 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10449 fi
10450
10451 else
10452
10453 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10454
10455 fi
10456
10457
10458 eval "$wx_cv_use_combobox"
10459
10460 if test x"$enablestring" = xdisable; then
10461 if test $wxUSE_COMBOBOX = no; then
10462 result=yes
10463 else
10464 result=no
10465 fi
10466 else
10467 result=$wxUSE_COMBOBOX
10468 fi
10469
10470 { echo "$as_me:$LINENO: result: $result" >&5
10471 echo "${ECHO_T}$result" >&6; }
10472
10473
10474 enablestring=
10475 defaultval=$wxUSE_ALL_FEATURES
10476 if test -z "$defaultval"; then
10477 if test x"$enablestring" = xdisable; then
10478 defaultval=yes
10479 else
10480 defaultval=no
10481 fi
10482 fi
10483
10484 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10485 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10486 # Check whether --enable-comboctrl was given.
10487 if test "${enable_comboctrl+set}" = set; then
10488 enableval=$enable_comboctrl;
10489 if test "$enableval" = yes; then
10490 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10491 else
10492 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10493 fi
10494
10495 else
10496
10497 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10498
10499 fi
10500
10501
10502 eval "$wx_cv_use_comboctrl"
10503
10504 if test x"$enablestring" = xdisable; then
10505 if test $wxUSE_COMBOCTRL = no; then
10506 result=yes
10507 else
10508 result=no
10509 fi
10510 else
10511 result=$wxUSE_COMBOCTRL
10512 fi
10513
10514 { echo "$as_me:$LINENO: result: $result" >&5
10515 echo "${ECHO_T}$result" >&6; }
10516
10517
10518 enablestring=
10519 defaultval=$wxUSE_ALL_FEATURES
10520 if test -z "$defaultval"; then
10521 if test x"$enablestring" = xdisable; then
10522 defaultval=yes
10523 else
10524 defaultval=no
10525 fi
10526 fi
10527
10528 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commandlinkbutton" >&5
10529 echo $ECHO_N "checking for --${enablestring:-enable}-commandlinkbutton... $ECHO_C" >&6; }
10530 # Check whether --enable-commandlinkbutton was given.
10531 if test "${enable_commandlinkbutton+set}" = set; then
10532 enableval=$enable_commandlinkbutton;
10533 if test "$enableval" = yes; then
10534 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=yes'
10535 else
10536 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=no'
10537 fi
10538
10539 else
10540
10541 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
10542
10543 fi
10544
10545
10546 eval "$wx_cv_use_commandlinkbutton"
10547
10548 if test x"$enablestring" = xdisable; then
10549 if test $wxUSE_COMMANDLINKBUTTON = no; then
10550 result=yes
10551 else
10552 result=no
10553 fi
10554 else
10555 result=$wxUSE_COMMANDLINKBUTTON
10556 fi
10557
10558 { echo "$as_me:$LINENO: result: $result" >&5
10559 echo "${ECHO_T}$result" >&6; }
10560
10561
10562 enablestring=
10563 defaultval=$wxUSE_ALL_FEATURES
10564 if test -z "$defaultval"; then
10565 if test x"$enablestring" = xdisable; then
10566 defaultval=yes
10567 else
10568 defaultval=no
10569 fi
10570 fi
10571
10572 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10573 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10574 # Check whether --enable-dataviewctrl was given.
10575 if test "${enable_dataviewctrl+set}" = set; then
10576 enableval=$enable_dataviewctrl;
10577 if test "$enableval" = yes; then
10578 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10579 else
10580 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10581 fi
10582
10583 else
10584
10585 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10586
10587 fi
10588
10589
10590 eval "$wx_cv_use_dataviewctrl"
10591
10592 if test x"$enablestring" = xdisable; then
10593 if test $wxUSE_DATAVIEWCTRL = no; then
10594 result=yes
10595 else
10596 result=no
10597 fi
10598 else
10599 result=$wxUSE_DATAVIEWCTRL
10600 fi
10601
10602 { echo "$as_me:$LINENO: result: $result" >&5
10603 echo "${ECHO_T}$result" >&6; }
10604
10605
10606 enablestring=
10607 defaultval=$wxUSE_ALL_FEATURES
10608 if test -z "$defaultval"; then
10609 if test x"$enablestring" = xdisable; then
10610 defaultval=yes
10611 else
10612 defaultval=no
10613 fi
10614 fi
10615
10616 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10617 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10618 # Check whether --enable-datepick was given.
10619 if test "${enable_datepick+set}" = set; then
10620 enableval=$enable_datepick;
10621 if test "$enableval" = yes; then
10622 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10623 else
10624 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10625 fi
10626
10627 else
10628
10629 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10630
10631 fi
10632
10633
10634 eval "$wx_cv_use_datepick"
10635
10636 if test x"$enablestring" = xdisable; then
10637 if test $wxUSE_DATEPICKCTRL = no; then
10638 result=yes
10639 else
10640 result=no
10641 fi
10642 else
10643 result=$wxUSE_DATEPICKCTRL
10644 fi
10645
10646 { echo "$as_me:$LINENO: result: $result" >&5
10647 echo "${ECHO_T}$result" >&6; }
10648
10649
10650 enablestring=
10651 defaultval=$wxUSE_ALL_FEATURES
10652 if test -z "$defaultval"; then
10653 if test x"$enablestring" = xdisable; then
10654 defaultval=yes
10655 else
10656 defaultval=no
10657 fi
10658 fi
10659
10660 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10661 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10662 # Check whether --enable-detect_sm was given.
10663 if test "${enable_detect_sm+set}" = set; then
10664 enableval=$enable_detect_sm;
10665 if test "$enableval" = yes; then
10666 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10667 else
10668 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10669 fi
10670
10671 else
10672
10673 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10674
10675 fi
10676
10677
10678 eval "$wx_cv_use_detect_sm"
10679
10680 if test x"$enablestring" = xdisable; then
10681 if test $wxUSE_DETECT_SM = no; then
10682 result=yes
10683 else
10684 result=no
10685 fi
10686 else
10687 result=$wxUSE_DETECT_SM
10688 fi
10689
10690 { echo "$as_me:$LINENO: result: $result" >&5
10691 echo "${ECHO_T}$result" >&6; }
10692
10693
10694 enablestring=
10695 defaultval=$wxUSE_ALL_FEATURES
10696 if test -z "$defaultval"; then
10697 if test x"$enablestring" = xdisable; then
10698 defaultval=yes
10699 else
10700 defaultval=no
10701 fi
10702 fi
10703
10704 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10705 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10706 # Check whether --enable-dirpicker was given.
10707 if test "${enable_dirpicker+set}" = set; then
10708 enableval=$enable_dirpicker;
10709 if test "$enableval" = yes; then
10710 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10711 else
10712 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10713 fi
10714
10715 else
10716
10717 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10718
10719 fi
10720
10721
10722 eval "$wx_cv_use_dirpicker"
10723
10724 if test x"$enablestring" = xdisable; then
10725 if test $wxUSE_DIRPICKERCTRL = no; then
10726 result=yes
10727 else
10728 result=no
10729 fi
10730 else
10731 result=$wxUSE_DIRPICKERCTRL
10732 fi
10733
10734 { echo "$as_me:$LINENO: result: $result" >&5
10735 echo "${ECHO_T}$result" >&6; }
10736
10737
10738 enablestring=
10739 defaultval=$wxUSE_ALL_FEATURES
10740 if test -z "$defaultval"; then
10741 if test x"$enablestring" = xdisable; then
10742 defaultval=yes
10743 else
10744 defaultval=no
10745 fi
10746 fi
10747
10748 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10749 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10750 # Check whether --enable-display was given.
10751 if test "${enable_display+set}" = set; then
10752 enableval=$enable_display;
10753 if test "$enableval" = yes; then
10754 wx_cv_use_display='wxUSE_DISPLAY=yes'
10755 else
10756 wx_cv_use_display='wxUSE_DISPLAY=no'
10757 fi
10758
10759 else
10760
10761 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10762
10763 fi
10764
10765
10766 eval "$wx_cv_use_display"
10767
10768 if test x"$enablestring" = xdisable; then
10769 if test $wxUSE_DISPLAY = no; then
10770 result=yes
10771 else
10772 result=no
10773 fi
10774 else
10775 result=$wxUSE_DISPLAY
10776 fi
10777
10778 { echo "$as_me:$LINENO: result: $result" >&5
10779 echo "${ECHO_T}$result" >&6; }
10780
10781
10782 enablestring=
10783 defaultval=$wxUSE_ALL_FEATURES
10784 if test -z "$defaultval"; then
10785 if test x"$enablestring" = xdisable; then
10786 defaultval=yes
10787 else
10788 defaultval=no
10789 fi
10790 fi
10791
10792 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10793 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10794 # Check whether --enable-editablebox was given.
10795 if test "${enable_editablebox+set}" = set; then
10796 enableval=$enable_editablebox;
10797 if test "$enableval" = yes; then
10798 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10799 else
10800 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10801 fi
10802
10803 else
10804
10805 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10806
10807 fi
10808
10809
10810 eval "$wx_cv_use_editablebox"
10811
10812 if test x"$enablestring" = xdisable; then
10813 if test $wxUSE_EDITABLELISTBOX = no; then
10814 result=yes
10815 else
10816 result=no
10817 fi
10818 else
10819 result=$wxUSE_EDITABLELISTBOX
10820 fi
10821
10822 { echo "$as_me:$LINENO: result: $result" >&5
10823 echo "${ECHO_T}$result" >&6; }
10824
10825
10826 enablestring=
10827 defaultval=$wxUSE_ALL_FEATURES
10828 if test -z "$defaultval"; then
10829 if test x"$enablestring" = xdisable; then
10830 defaultval=yes
10831 else
10832 defaultval=no
10833 fi
10834 fi
10835
10836 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10837 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10838 # Check whether --enable-filectrl was given.
10839 if test "${enable_filectrl+set}" = set; then
10840 enableval=$enable_filectrl;
10841 if test "$enableval" = yes; then
10842 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10843 else
10844 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10845 fi
10846
10847 else
10848
10849 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10850
10851 fi
10852
10853
10854 eval "$wx_cv_use_filectrl"
10855
10856 if test x"$enablestring" = xdisable; then
10857 if test $wxUSE_FILECTRL = no; then
10858 result=yes
10859 else
10860 result=no
10861 fi
10862 else
10863 result=$wxUSE_FILECTRL
10864 fi
10865
10866 { echo "$as_me:$LINENO: result: $result" >&5
10867 echo "${ECHO_T}$result" >&6; }
10868
10869
10870 enablestring=
10871 defaultval=$wxUSE_ALL_FEATURES
10872 if test -z "$defaultval"; then
10873 if test x"$enablestring" = xdisable; then
10874 defaultval=yes
10875 else
10876 defaultval=no
10877 fi
10878 fi
10879
10880 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10881 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10882 # Check whether --enable-filepicker was given.
10883 if test "${enable_filepicker+set}" = set; then
10884 enableval=$enable_filepicker;
10885 if test "$enableval" = yes; then
10886 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10887 else
10888 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10889 fi
10890
10891 else
10892
10893 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10894
10895 fi
10896
10897
10898 eval "$wx_cv_use_filepicker"
10899
10900 if test x"$enablestring" = xdisable; then
10901 if test $wxUSE_FILEPICKERCTRL = no; then
10902 result=yes
10903 else
10904 result=no
10905 fi
10906 else
10907 result=$wxUSE_FILEPICKERCTRL
10908 fi
10909
10910 { echo "$as_me:$LINENO: result: $result" >&5
10911 echo "${ECHO_T}$result" >&6; }
10912
10913
10914 enablestring=
10915 defaultval=$wxUSE_ALL_FEATURES
10916 if test -z "$defaultval"; then
10917 if test x"$enablestring" = xdisable; then
10918 defaultval=yes
10919 else
10920 defaultval=no
10921 fi
10922 fi
10923
10924 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10925 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10926 # Check whether --enable-fontpicker was given.
10927 if test "${enable_fontpicker+set}" = set; then
10928 enableval=$enable_fontpicker;
10929 if test "$enableval" = yes; then
10930 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10931 else
10932 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10933 fi
10934
10935 else
10936
10937 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10938
10939 fi
10940
10941
10942 eval "$wx_cv_use_fontpicker"
10943
10944 if test x"$enablestring" = xdisable; then
10945 if test $wxUSE_FONTPICKERCTRL = no; then
10946 result=yes
10947 else
10948 result=no
10949 fi
10950 else
10951 result=$wxUSE_FONTPICKERCTRL
10952 fi
10953
10954 { echo "$as_me:$LINENO: result: $result" >&5
10955 echo "${ECHO_T}$result" >&6; }
10956
10957
10958 enablestring=
10959 defaultval=$wxUSE_ALL_FEATURES
10960 if test -z "$defaultval"; then
10961 if test x"$enablestring" = xdisable; then
10962 defaultval=yes
10963 else
10964 defaultval=no
10965 fi
10966 fi
10967
10968 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10969 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10970 # Check whether --enable-gauge was given.
10971 if test "${enable_gauge+set}" = set; then
10972 enableval=$enable_gauge;
10973 if test "$enableval" = yes; then
10974 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10975 else
10976 wx_cv_use_gauge='wxUSE_GAUGE=no'
10977 fi
10978
10979 else
10980
10981 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10982
10983 fi
10984
10985
10986 eval "$wx_cv_use_gauge"
10987
10988 if test x"$enablestring" = xdisable; then
10989 if test $wxUSE_GAUGE = no; then
10990 result=yes
10991 else
10992 result=no
10993 fi
10994 else
10995 result=$wxUSE_GAUGE
10996 fi
10997
10998 { echo "$as_me:$LINENO: result: $result" >&5
10999 echo "${ECHO_T}$result" >&6; }
11000
11001
11002 enablestring=
11003 defaultval=$wxUSE_ALL_FEATURES
11004 if test -z "$defaultval"; then
11005 if test x"$enablestring" = xdisable; then
11006 defaultval=yes
11007 else
11008 defaultval=no
11009 fi
11010 fi
11011
11012 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
11013 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
11014 # Check whether --enable-grid was given.
11015 if test "${enable_grid+set}" = set; then
11016 enableval=$enable_grid;
11017 if test "$enableval" = yes; then
11018 wx_cv_use_grid='wxUSE_GRID=yes'
11019 else
11020 wx_cv_use_grid='wxUSE_GRID=no'
11021 fi
11022
11023 else
11024
11025 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
11026
11027 fi
11028
11029
11030 eval "$wx_cv_use_grid"
11031
11032 if test x"$enablestring" = xdisable; then
11033 if test $wxUSE_GRID = no; then
11034 result=yes
11035 else
11036 result=no
11037 fi
11038 else
11039 result=$wxUSE_GRID
11040 fi
11041
11042 { echo "$as_me:$LINENO: result: $result" >&5
11043 echo "${ECHO_T}$result" >&6; }
11044
11045
11046 enablestring=
11047 defaultval=$wxUSE_ALL_FEATURES
11048 if test -z "$defaultval"; then
11049 if test x"$enablestring" = xdisable; then
11050 defaultval=yes
11051 else
11052 defaultval=no
11053 fi
11054 fi
11055
11056 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
11057 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
11058 # Check whether --enable-headerctrl was given.
11059 if test "${enable_headerctrl+set}" = set; then
11060 enableval=$enable_headerctrl;
11061 if test "$enableval" = yes; then
11062 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
11063 else
11064 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
11065 fi
11066
11067 else
11068
11069 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
11070
11071 fi
11072
11073
11074 eval "$wx_cv_use_headerctrl"
11075
11076 if test x"$enablestring" = xdisable; then
11077 if test $wxUSE_HEADERCTRL = no; then
11078 result=yes
11079 else
11080 result=no
11081 fi
11082 else
11083 result=$wxUSE_HEADERCTRL
11084 fi
11085
11086 { echo "$as_me:$LINENO: result: $result" >&5
11087 echo "${ECHO_T}$result" >&6; }
11088
11089
11090 enablestring=
11091 defaultval=$wxUSE_ALL_FEATURES
11092 if test -z "$defaultval"; then
11093 if test x"$enablestring" = xdisable; then
11094 defaultval=yes
11095 else
11096 defaultval=no
11097 fi
11098 fi
11099
11100 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
11101 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
11102 # Check whether --enable-hyperlink was given.
11103 if test "${enable_hyperlink+set}" = set; then
11104 enableval=$enable_hyperlink;
11105 if test "$enableval" = yes; then
11106 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
11107 else
11108 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
11109 fi
11110
11111 else
11112
11113 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
11114
11115 fi
11116
11117
11118 eval "$wx_cv_use_hyperlink"
11119
11120 if test x"$enablestring" = xdisable; then
11121 if test $wxUSE_HYPERLINKCTRL = no; then
11122 result=yes
11123 else
11124 result=no
11125 fi
11126 else
11127 result=$wxUSE_HYPERLINKCTRL
11128 fi
11129
11130 { echo "$as_me:$LINENO: result: $result" >&5
11131 echo "${ECHO_T}$result" >&6; }
11132
11133
11134 enablestring=
11135 defaultval=$wxUSE_ALL_FEATURES
11136 if test -z "$defaultval"; then
11137 if test x"$enablestring" = xdisable; then
11138 defaultval=yes
11139 else
11140 defaultval=no
11141 fi
11142 fi
11143
11144 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
11145 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
11146 # Check whether --enable-imaglist was given.
11147 if test "${enable_imaglist+set}" = set; then
11148 enableval=$enable_imaglist;
11149 if test "$enableval" = yes; then
11150 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
11151 else
11152 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
11153 fi
11154
11155 else
11156
11157 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11158
11159 fi
11160
11161
11162 eval "$wx_cv_use_imaglist"
11163
11164 if test x"$enablestring" = xdisable; then
11165 if test $wxUSE_IMAGLIST = no; then
11166 result=yes
11167 else
11168 result=no
11169 fi
11170 else
11171 result=$wxUSE_IMAGLIST
11172 fi
11173
11174 { echo "$as_me:$LINENO: result: $result" >&5
11175 echo "${ECHO_T}$result" >&6; }
11176
11177
11178 enablestring=
11179 defaultval=$wxUSE_ALL_FEATURES
11180 if test -z "$defaultval"; then
11181 if test x"$enablestring" = xdisable; then
11182 defaultval=yes
11183 else
11184 defaultval=no
11185 fi
11186 fi
11187
11188 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-infobar" >&5
11189 echo $ECHO_N "checking for --${enablestring:-enable}-infobar... $ECHO_C" >&6; }
11190 # Check whether --enable-infobar was given.
11191 if test "${enable_infobar+set}" = set; then
11192 enableval=$enable_infobar;
11193 if test "$enableval" = yes; then
11194 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
11195 else
11196 wx_cv_use_infobar='wxUSE_INFOBAR=no'
11197 fi
11198
11199 else
11200
11201 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
11202
11203 fi
11204
11205
11206 eval "$wx_cv_use_infobar"
11207
11208 if test x"$enablestring" = xdisable; then
11209 if test $wxUSE_INFOBAR = no; then
11210 result=yes
11211 else
11212 result=no
11213 fi
11214 else
11215 result=$wxUSE_INFOBAR
11216 fi
11217
11218 { echo "$as_me:$LINENO: result: $result" >&5
11219 echo "${ECHO_T}$result" >&6; }
11220
11221
11222 enablestring=
11223 defaultval=$wxUSE_ALL_FEATURES
11224 if test -z "$defaultval"; then
11225 if test x"$enablestring" = xdisable; then
11226 defaultval=yes
11227 else
11228 defaultval=no
11229 fi
11230 fi
11231
11232 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
11233 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
11234 # Check whether --enable-listbook was given.
11235 if test "${enable_listbook+set}" = set; then
11236 enableval=$enable_listbook;
11237 if test "$enableval" = yes; then
11238 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
11239 else
11240 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
11241 fi
11242
11243 else
11244
11245 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11246
11247 fi
11248
11249
11250 eval "$wx_cv_use_listbook"
11251
11252 if test x"$enablestring" = xdisable; then
11253 if test $wxUSE_LISTBOOK = no; then
11254 result=yes
11255 else
11256 result=no
11257 fi
11258 else
11259 result=$wxUSE_LISTBOOK
11260 fi
11261
11262 { echo "$as_me:$LINENO: result: $result" >&5
11263 echo "${ECHO_T}$result" >&6; }
11264
11265
11266 enablestring=
11267 defaultval=$wxUSE_ALL_FEATURES
11268 if test -z "$defaultval"; then
11269 if test x"$enablestring" = xdisable; then
11270 defaultval=yes
11271 else
11272 defaultval=no
11273 fi
11274 fi
11275
11276 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11277 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
11278 # Check whether --enable-listbox was given.
11279 if test "${enable_listbox+set}" = set; then
11280 enableval=$enable_listbox;
11281 if test "$enableval" = yes; then
11282 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
11283 else
11284 wx_cv_use_listbox='wxUSE_LISTBOX=no'
11285 fi
11286
11287 else
11288
11289 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11290
11291 fi
11292
11293
11294 eval "$wx_cv_use_listbox"
11295
11296 if test x"$enablestring" = xdisable; then
11297 if test $wxUSE_LISTBOX = no; then
11298 result=yes
11299 else
11300 result=no
11301 fi
11302 else
11303 result=$wxUSE_LISTBOX
11304 fi
11305
11306 { echo "$as_me:$LINENO: result: $result" >&5
11307 echo "${ECHO_T}$result" >&6; }
11308
11309
11310 enablestring=
11311 defaultval=$wxUSE_ALL_FEATURES
11312 if test -z "$defaultval"; then
11313 if test x"$enablestring" = xdisable; then
11314 defaultval=yes
11315 else
11316 defaultval=no
11317 fi
11318 fi
11319
11320 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
11321 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
11322 # Check whether --enable-listctrl was given.
11323 if test "${enable_listctrl+set}" = set; then
11324 enableval=$enable_listctrl;
11325 if test "$enableval" = yes; then
11326 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11327 else
11328 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
11329 fi
11330
11331 else
11332
11333 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11334
11335 fi
11336
11337
11338 eval "$wx_cv_use_listctrl"
11339
11340 if test x"$enablestring" = xdisable; then
11341 if test $wxUSE_LISTCTRL = no; then
11342 result=yes
11343 else
11344 result=no
11345 fi
11346 else
11347 result=$wxUSE_LISTCTRL
11348 fi
11349
11350 { echo "$as_me:$LINENO: result: $result" >&5
11351 echo "${ECHO_T}$result" >&6; }
11352
11353
11354 enablestring=
11355 defaultval=$wxUSE_ALL_FEATURES
11356 if test -z "$defaultval"; then
11357 if test x"$enablestring" = xdisable; then
11358 defaultval=yes
11359 else
11360 defaultval=no
11361 fi
11362 fi
11363
11364 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11365 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11366 # Check whether --enable-notebook was given.
11367 if test "${enable_notebook+set}" = set; then
11368 enableval=$enable_notebook;
11369 if test "$enableval" = yes; then
11370 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
11371 else
11372 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
11373 fi
11374
11375 else
11376
11377 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11378
11379 fi
11380
11381
11382 eval "$wx_cv_use_notebook"
11383
11384 if test x"$enablestring" = xdisable; then
11385 if test $wxUSE_NOTEBOOK = no; then
11386 result=yes
11387 else
11388 result=no
11389 fi
11390 else
11391 result=$wxUSE_NOTEBOOK
11392 fi
11393
11394 { echo "$as_me:$LINENO: result: $result" >&5
11395 echo "${ECHO_T}$result" >&6; }
11396
11397
11398 enablestring=
11399 defaultval=$wxUSE_ALL_FEATURES
11400 if test -z "$defaultval"; then
11401 if test x"$enablestring" = xdisable; then
11402 defaultval=yes
11403 else
11404 defaultval=no
11405 fi
11406 fi
11407
11408 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
11409 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
11410 # Check whether --enable-notifmsg was given.
11411 if test "${enable_notifmsg+set}" = set; then
11412 enableval=$enable_notifmsg;
11413 if test "$enableval" = yes; then
11414 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
11415 else
11416 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
11417 fi
11418
11419 else
11420
11421 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11422
11423 fi
11424
11425
11426 eval "$wx_cv_use_notifmsg"
11427
11428 if test x"$enablestring" = xdisable; then
11429 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
11430 result=yes
11431 else
11432 result=no
11433 fi
11434 else
11435 result=$wxUSE_NOTIFICATION_MESSAGE
11436 fi
11437
11438 { echo "$as_me:$LINENO: result: $result" >&5
11439 echo "${ECHO_T}$result" >&6; }
11440
11441
11442 enablestring=
11443 defaultval=$wxUSE_ALL_FEATURES
11444 if test -z "$defaultval"; then
11445 if test x"$enablestring" = xdisable; then
11446 defaultval=yes
11447 else
11448 defaultval=no
11449 fi
11450 fi
11451
11452 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11453 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11454 # Check whether --enable-odcombobox was given.
11455 if test "${enable_odcombobox+set}" = set; then
11456 enableval=$enable_odcombobox;
11457 if test "$enableval" = yes; then
11458 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11459 else
11460 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11461 fi
11462
11463 else
11464
11465 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11466
11467 fi
11468
11469
11470 eval "$wx_cv_use_odcombobox"
11471
11472 if test x"$enablestring" = xdisable; then
11473 if test $wxUSE_ODCOMBOBOX = no; then
11474 result=yes
11475 else
11476 result=no
11477 fi
11478 else
11479 result=$wxUSE_ODCOMBOBOX
11480 fi
11481
11482 { echo "$as_me:$LINENO: result: $result" >&5
11483 echo "${ECHO_T}$result" >&6; }
11484
11485
11486 enablestring=
11487 defaultval=$wxUSE_ALL_FEATURES
11488 if test -z "$defaultval"; then
11489 if test x"$enablestring" = xdisable; then
11490 defaultval=yes
11491 else
11492 defaultval=no
11493 fi
11494 fi
11495
11496 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11497 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11498 # Check whether --enable-popupwin was given.
11499 if test "${enable_popupwin+set}" = set; then
11500 enableval=$enable_popupwin;
11501 if test "$enableval" = yes; then
11502 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11503 else
11504 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11505 fi
11506
11507 else
11508
11509 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11510
11511 fi
11512
11513
11514 eval "$wx_cv_use_popupwin"
11515
11516 if test x"$enablestring" = xdisable; then
11517 if test $wxUSE_POPUPWIN = no; then
11518 result=yes
11519 else
11520 result=no
11521 fi
11522 else
11523 result=$wxUSE_POPUPWIN
11524 fi
11525
11526 { echo "$as_me:$LINENO: result: $result" >&5
11527 echo "${ECHO_T}$result" >&6; }
11528
11529
11530 enablestring=
11531 defaultval=$wxUSE_ALL_FEATURES
11532 if test -z "$defaultval"; then
11533 if test x"$enablestring" = xdisable; then
11534 defaultval=yes
11535 else
11536 defaultval=no
11537 fi
11538 fi
11539
11540 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11541 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11542 # Check whether --enable-radiobox was given.
11543 if test "${enable_radiobox+set}" = set; then
11544 enableval=$enable_radiobox;
11545 if test "$enableval" = yes; then
11546 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11547 else
11548 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11549 fi
11550
11551 else
11552
11553 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11554
11555 fi
11556
11557
11558 eval "$wx_cv_use_radiobox"
11559
11560 if test x"$enablestring" = xdisable; then
11561 if test $wxUSE_RADIOBOX = no; then
11562 result=yes
11563 else
11564 result=no
11565 fi
11566 else
11567 result=$wxUSE_RADIOBOX
11568 fi
11569
11570 { echo "$as_me:$LINENO: result: $result" >&5
11571 echo "${ECHO_T}$result" >&6; }
11572
11573
11574 enablestring=
11575 defaultval=$wxUSE_ALL_FEATURES
11576 if test -z "$defaultval"; then
11577 if test x"$enablestring" = xdisable; then
11578 defaultval=yes
11579 else
11580 defaultval=no
11581 fi
11582 fi
11583
11584 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11585 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11586 # Check whether --enable-radiobtn was given.
11587 if test "${enable_radiobtn+set}" = set; then
11588 enableval=$enable_radiobtn;
11589 if test "$enableval" = yes; then
11590 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11591 else
11592 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11593 fi
11594
11595 else
11596
11597 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11598
11599 fi
11600
11601
11602 eval "$wx_cv_use_radiobtn"
11603
11604 if test x"$enablestring" = xdisable; then
11605 if test $wxUSE_RADIOBTN = no; then
11606 result=yes
11607 else
11608 result=no
11609 fi
11610 else
11611 result=$wxUSE_RADIOBTN
11612 fi
11613
11614 { echo "$as_me:$LINENO: result: $result" >&5
11615 echo "${ECHO_T}$result" >&6; }
11616
11617
11618 enablestring=
11619 defaultval=$wxUSE_ALL_FEATURES
11620 if test -z "$defaultval"; then
11621 if test x"$enablestring" = xdisable; then
11622 defaultval=yes
11623 else
11624 defaultval=no
11625 fi
11626 fi
11627
11628 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richmsgdlg" >&5
11629 echo $ECHO_N "checking for --${enablestring:-enable}-richmsgdlg... $ECHO_C" >&6; }
11630 # Check whether --enable-richmsgdlg was given.
11631 if test "${enable_richmsgdlg+set}" = set; then
11632 enableval=$enable_richmsgdlg;
11633 if test "$enableval" = yes; then
11634 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=yes'
11635 else
11636 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=no'
11637 fi
11638
11639 else
11640
11641 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
11642
11643 fi
11644
11645
11646 eval "$wx_cv_use_richmsgdlg"
11647
11648 if test x"$enablestring" = xdisable; then
11649 if test $wxUSE_RICHMSGDLG = no; then
11650 result=yes
11651 else
11652 result=no
11653 fi
11654 else
11655 result=$wxUSE_RICHMSGDLG
11656 fi
11657
11658 { echo "$as_me:$LINENO: result: $result" >&5
11659 echo "${ECHO_T}$result" >&6; }
11660
11661
11662 enablestring=
11663 defaultval=$wxUSE_ALL_FEATURES
11664 if test -z "$defaultval"; then
11665 if test x"$enablestring" = xdisable; then
11666 defaultval=yes
11667 else
11668 defaultval=no
11669 fi
11670 fi
11671
11672 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11673 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11674 # Check whether --enable-rearrangectrl was given.
11675 if test "${enable_rearrangectrl+set}" = set; then
11676 enableval=$enable_rearrangectrl;
11677 if test "$enableval" = yes; then
11678 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
11679 else
11680 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
11681 fi
11682
11683 else
11684
11685 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11686
11687 fi
11688
11689
11690 eval "$wx_cv_use_rearrangectrl"
11691
11692 if test x"$enablestring" = xdisable; then
11693 if test $wxUSE_REARRANGECTRL = no; then
11694 result=yes
11695 else
11696 result=no
11697 fi
11698 else
11699 result=$wxUSE_REARRANGECTRL
11700 fi
11701
11702 { echo "$as_me:$LINENO: result: $result" >&5
11703 echo "${ECHO_T}$result" >&6; }
11704
11705
11706 enablestring=
11707 defaultval=$wxUSE_ALL_FEATURES
11708 if test -z "$defaultval"; then
11709 if test x"$enablestring" = xdisable; then
11710 defaultval=yes
11711 else
11712 defaultval=no
11713 fi
11714 fi
11715
11716 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11717 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11718 # Check whether --enable-sash was given.
11719 if test "${enable_sash+set}" = set; then
11720 enableval=$enable_sash;
11721 if test "$enableval" = yes; then
11722 wx_cv_use_sash='wxUSE_SASH=yes'
11723 else
11724 wx_cv_use_sash='wxUSE_SASH=no'
11725 fi
11726
11727 else
11728
11729 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11730
11731 fi
11732
11733
11734 eval "$wx_cv_use_sash"
11735
11736 if test x"$enablestring" = xdisable; then
11737 if test $wxUSE_SASH = no; then
11738 result=yes
11739 else
11740 result=no
11741 fi
11742 else
11743 result=$wxUSE_SASH
11744 fi
11745
11746 { echo "$as_me:$LINENO: result: $result" >&5
11747 echo "${ECHO_T}$result" >&6; }
11748
11749
11750 enablestring=
11751 defaultval=$wxUSE_ALL_FEATURES
11752 if test -z "$defaultval"; then
11753 if test x"$enablestring" = xdisable; then
11754 defaultval=yes
11755 else
11756 defaultval=no
11757 fi
11758 fi
11759
11760 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11761 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11762 # Check whether --enable-scrollbar was given.
11763 if test "${enable_scrollbar+set}" = set; then
11764 enableval=$enable_scrollbar;
11765 if test "$enableval" = yes; then
11766 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11767 else
11768 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11769 fi
11770
11771 else
11772
11773 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11774
11775 fi
11776
11777
11778 eval "$wx_cv_use_scrollbar"
11779
11780 if test x"$enablestring" = xdisable; then
11781 if test $wxUSE_SCROLLBAR = no; then
11782 result=yes
11783 else
11784 result=no
11785 fi
11786 else
11787 result=$wxUSE_SCROLLBAR
11788 fi
11789
11790 { echo "$as_me:$LINENO: result: $result" >&5
11791 echo "${ECHO_T}$result" >&6; }
11792
11793
11794 enablestring=
11795 defaultval=$wxUSE_ALL_FEATURES
11796 if test -z "$defaultval"; then
11797 if test x"$enablestring" = xdisable; then
11798 defaultval=yes
11799 else
11800 defaultval=no
11801 fi
11802 fi
11803
11804 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11805 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11806 # Check whether --enable-searchctrl was given.
11807 if test "${enable_searchctrl+set}" = set; then
11808 enableval=$enable_searchctrl;
11809 if test "$enableval" = yes; then
11810 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11811 else
11812 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
11813 fi
11814
11815 else
11816
11817 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11818
11819 fi
11820
11821
11822 eval "$wx_cv_use_searchctrl"
11823
11824 if test x"$enablestring" = xdisable; then
11825 if test $wxUSE_SEARCHCTRL = no; then
11826 result=yes
11827 else
11828 result=no
11829 fi
11830 else
11831 result=$wxUSE_SEARCHCTRL
11832 fi
11833
11834 { echo "$as_me:$LINENO: result: $result" >&5
11835 echo "${ECHO_T}$result" >&6; }
11836
11837
11838 enablestring=
11839 defaultval=$wxUSE_ALL_FEATURES
11840 if test -z "$defaultval"; then
11841 if test x"$enablestring" = xdisable; then
11842 defaultval=yes
11843 else
11844 defaultval=no
11845 fi
11846 fi
11847
11848 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11849 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11850 # Check whether --enable-slider was given.
11851 if test "${enable_slider+set}" = set; then
11852 enableval=$enable_slider;
11853 if test "$enableval" = yes; then
11854 wx_cv_use_slider='wxUSE_SLIDER=yes'
11855 else
11856 wx_cv_use_slider='wxUSE_SLIDER=no'
11857 fi
11858
11859 else
11860
11861 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11862
11863 fi
11864
11865
11866 eval "$wx_cv_use_slider"
11867
11868 if test x"$enablestring" = xdisable; then
11869 if test $wxUSE_SLIDER = no; then
11870 result=yes
11871 else
11872 result=no
11873 fi
11874 else
11875 result=$wxUSE_SLIDER
11876 fi
11877
11878 { echo "$as_me:$LINENO: result: $result" >&5
11879 echo "${ECHO_T}$result" >&6; }
11880
11881
11882 enablestring=
11883 defaultval=$wxUSE_ALL_FEATURES
11884 if test -z "$defaultval"; then
11885 if test x"$enablestring" = xdisable; then
11886 defaultval=yes
11887 else
11888 defaultval=no
11889 fi
11890 fi
11891
11892 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11893 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11894 # Check whether --enable-spinbtn was given.
11895 if test "${enable_spinbtn+set}" = set; then
11896 enableval=$enable_spinbtn;
11897 if test "$enableval" = yes; then
11898 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11899 else
11900 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11901 fi
11902
11903 else
11904
11905 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11906
11907 fi
11908
11909
11910 eval "$wx_cv_use_spinbtn"
11911
11912 if test x"$enablestring" = xdisable; then
11913 if test $wxUSE_SPINBTN = no; then
11914 result=yes
11915 else
11916 result=no
11917 fi
11918 else
11919 result=$wxUSE_SPINBTN
11920 fi
11921
11922 { echo "$as_me:$LINENO: result: $result" >&5
11923 echo "${ECHO_T}$result" >&6; }
11924
11925
11926 enablestring=
11927 defaultval=$wxUSE_ALL_FEATURES
11928 if test -z "$defaultval"; then
11929 if test x"$enablestring" = xdisable; then
11930 defaultval=yes
11931 else
11932 defaultval=no
11933 fi
11934 fi
11935
11936 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11937 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11938 # Check whether --enable-spinctrl was given.
11939 if test "${enable_spinctrl+set}" = set; then
11940 enableval=$enable_spinctrl;
11941 if test "$enableval" = yes; then
11942 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11943 else
11944 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11945 fi
11946
11947 else
11948
11949 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11950
11951 fi
11952
11953
11954 eval "$wx_cv_use_spinctrl"
11955
11956 if test x"$enablestring" = xdisable; then
11957 if test $wxUSE_SPINCTRL = no; then
11958 result=yes
11959 else
11960 result=no
11961 fi
11962 else
11963 result=$wxUSE_SPINCTRL
11964 fi
11965
11966 { echo "$as_me:$LINENO: result: $result" >&5
11967 echo "${ECHO_T}$result" >&6; }
11968
11969
11970 enablestring=
11971 defaultval=$wxUSE_ALL_FEATURES
11972 if test -z "$defaultval"; then
11973 if test x"$enablestring" = xdisable; then
11974 defaultval=yes
11975 else
11976 defaultval=no
11977 fi
11978 fi
11979
11980 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11981 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11982 # Check whether --enable-splitter was given.
11983 if test "${enable_splitter+set}" = set; then
11984 enableval=$enable_splitter;
11985 if test "$enableval" = yes; then
11986 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11987 else
11988 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11989 fi
11990
11991 else
11992
11993 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11994
11995 fi
11996
11997
11998 eval "$wx_cv_use_splitter"
11999
12000 if test x"$enablestring" = xdisable; then
12001 if test $wxUSE_SPLITTER = no; then
12002 result=yes
12003 else
12004 result=no
12005 fi
12006 else
12007 result=$wxUSE_SPLITTER
12008 fi
12009
12010 { echo "$as_me:$LINENO: result: $result" >&5
12011 echo "${ECHO_T}$result" >&6; }
12012
12013
12014 enablestring=
12015 defaultval=$wxUSE_ALL_FEATURES
12016 if test -z "$defaultval"; then
12017 if test x"$enablestring" = xdisable; then
12018 defaultval=yes
12019 else
12020 defaultval=no
12021 fi
12022 fi
12023
12024 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
12025 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
12026 # Check whether --enable-statbmp was given.
12027 if test "${enable_statbmp+set}" = set; then
12028 enableval=$enable_statbmp;
12029 if test "$enableval" = yes; then
12030 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
12031 else
12032 wx_cv_use_statbmp='wxUSE_STATBMP=no'
12033 fi
12034
12035 else
12036
12037 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
12038
12039 fi
12040
12041
12042 eval "$wx_cv_use_statbmp"
12043
12044 if test x"$enablestring" = xdisable; then
12045 if test $wxUSE_STATBMP = no; then
12046 result=yes
12047 else
12048 result=no
12049 fi
12050 else
12051 result=$wxUSE_STATBMP
12052 fi
12053
12054 { echo "$as_me:$LINENO: result: $result" >&5
12055 echo "${ECHO_T}$result" >&6; }
12056
12057
12058 enablestring=
12059 defaultval=$wxUSE_ALL_FEATURES
12060 if test -z "$defaultval"; then
12061 if test x"$enablestring" = xdisable; then
12062 defaultval=yes
12063 else
12064 defaultval=no
12065 fi
12066 fi
12067
12068 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
12069 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
12070 # Check whether --enable-statbox was given.
12071 if test "${enable_statbox+set}" = set; then
12072 enableval=$enable_statbox;
12073 if test "$enableval" = yes; then
12074 wx_cv_use_statbox='wxUSE_STATBOX=yes'
12075 else
12076 wx_cv_use_statbox='wxUSE_STATBOX=no'
12077 fi
12078
12079 else
12080
12081 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
12082
12083 fi
12084
12085
12086 eval "$wx_cv_use_statbox"
12087
12088 if test x"$enablestring" = xdisable; then
12089 if test $wxUSE_STATBOX = no; then
12090 result=yes
12091 else
12092 result=no
12093 fi
12094 else
12095 result=$wxUSE_STATBOX
12096 fi
12097
12098 { echo "$as_me:$LINENO: result: $result" >&5
12099 echo "${ECHO_T}$result" >&6; }
12100
12101
12102 enablestring=
12103 defaultval=$wxUSE_ALL_FEATURES
12104 if test -z "$defaultval"; then
12105 if test x"$enablestring" = xdisable; then
12106 defaultval=yes
12107 else
12108 defaultval=no
12109 fi
12110 fi
12111
12112 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
12113 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
12114 # Check whether --enable-statline was given.
12115 if test "${enable_statline+set}" = set; then
12116 enableval=$enable_statline;
12117 if test "$enableval" = yes; then
12118 wx_cv_use_statline='wxUSE_STATLINE=yes'
12119 else
12120 wx_cv_use_statline='wxUSE_STATLINE=no'
12121 fi
12122
12123 else
12124
12125 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
12126
12127 fi
12128
12129
12130 eval "$wx_cv_use_statline"
12131
12132 if test x"$enablestring" = xdisable; then
12133 if test $wxUSE_STATLINE = no; then
12134 result=yes
12135 else
12136 result=no
12137 fi
12138 else
12139 result=$wxUSE_STATLINE
12140 fi
12141
12142 { echo "$as_me:$LINENO: result: $result" >&5
12143 echo "${ECHO_T}$result" >&6; }
12144
12145
12146 enablestring=
12147 defaultval=$wxUSE_ALL_FEATURES
12148 if test -z "$defaultval"; then
12149 if test x"$enablestring" = xdisable; then
12150 defaultval=yes
12151 else
12152 defaultval=no
12153 fi
12154 fi
12155
12156 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
12157 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
12158 # Check whether --enable-stattext was given.
12159 if test "${enable_stattext+set}" = set; then
12160 enableval=$enable_stattext;
12161 if test "$enableval" = yes; then
12162 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
12163 else
12164 wx_cv_use_stattext='wxUSE_STATTEXT=no'
12165 fi
12166
12167 else
12168
12169 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12170
12171 fi
12172
12173
12174 eval "$wx_cv_use_stattext"
12175
12176 if test x"$enablestring" = xdisable; then
12177 if test $wxUSE_STATTEXT = no; then
12178 result=yes
12179 else
12180 result=no
12181 fi
12182 else
12183 result=$wxUSE_STATTEXT
12184 fi
12185
12186 { echo "$as_me:$LINENO: result: $result" >&5
12187 echo "${ECHO_T}$result" >&6; }
12188
12189
12190 enablestring=
12191 defaultval=$wxUSE_ALL_FEATURES
12192 if test -z "$defaultval"; then
12193 if test x"$enablestring" = xdisable; then
12194 defaultval=yes
12195 else
12196 defaultval=no
12197 fi
12198 fi
12199
12200 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
12201 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
12202 # Check whether --enable-statusbar was given.
12203 if test "${enable_statusbar+set}" = set; then
12204 enableval=$enable_statusbar;
12205 if test "$enableval" = yes; then
12206 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
12207 else
12208 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
12209 fi
12210
12211 else
12212
12213 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12214
12215 fi
12216
12217
12218 eval "$wx_cv_use_statusbar"
12219
12220 if test x"$enablestring" = xdisable; then
12221 if test $wxUSE_STATUSBAR = no; then
12222 result=yes
12223 else
12224 result=no
12225 fi
12226 else
12227 result=$wxUSE_STATUSBAR
12228 fi
12229
12230 { echo "$as_me:$LINENO: result: $result" >&5
12231 echo "${ECHO_T}$result" >&6; }
12232
12233
12234 enablestring=
12235 defaultval=$wxUSE_ALL_FEATURES
12236 if test -z "$defaultval"; then
12237 if test x"$enablestring" = xdisable; then
12238 defaultval=yes
12239 else
12240 defaultval=no
12241 fi
12242 fi
12243
12244 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
12245 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
12246 # Check whether --enable-taskbaricon was given.
12247 if test "${enable_taskbaricon+set}" = set; then
12248 enableval=$enable_taskbaricon;
12249 if test "$enableval" = yes; then
12250 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
12251 else
12252 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
12253 fi
12254
12255 else
12256
12257 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
12258
12259 fi
12260
12261
12262 eval "$wx_cv_use_taskbaricon"
12263
12264 if test x"$enablestring" = xdisable; then
12265 if test $wxUSE_TASKBARICON = no; then
12266 result=yes
12267 else
12268 result=no
12269 fi
12270 else
12271 result=$wxUSE_TASKBARICON
12272 fi
12273
12274 { echo "$as_me:$LINENO: result: $result" >&5
12275 echo "${ECHO_T}$result" >&6; }
12276
12277
12278 enablestring=
12279 defaultval=$wxUSE_ALL_FEATURES
12280 if test -z "$defaultval"; then
12281 if test x"$enablestring" = xdisable; then
12282 defaultval=yes
12283 else
12284 defaultval=no
12285 fi
12286 fi
12287
12288 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
12289 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
12290 # Check whether --enable-tbarnative was given.
12291 if test "${enable_tbarnative+set}" = set; then
12292 enableval=$enable_tbarnative;
12293 if test "$enableval" = yes; then
12294 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
12295 else
12296 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
12297 fi
12298
12299 else
12300
12301 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
12302
12303 fi
12304
12305
12306 eval "$wx_cv_use_tbarnative"
12307
12308 if test x"$enablestring" = xdisable; then
12309 if test $wxUSE_TOOLBAR_NATIVE = no; then
12310 result=yes
12311 else
12312 result=no
12313 fi
12314 else
12315 result=$wxUSE_TOOLBAR_NATIVE
12316 fi
12317
12318 { echo "$as_me:$LINENO: result: $result" >&5
12319 echo "${ECHO_T}$result" >&6; }
12320
12321
12322 enablestring=
12323 defaultval=$wxUSE_ALL_FEATURES
12324 if test -z "$defaultval"; then
12325 if test x"$enablestring" = xdisable; then
12326 defaultval=yes
12327 else
12328 defaultval=no
12329 fi
12330 fi
12331
12332 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12333 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
12334 # Check whether --enable-textctrl was given.
12335 if test "${enable_textctrl+set}" = set; then
12336 enableval=$enable_textctrl;
12337 if test "$enableval" = yes; then
12338 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
12339 else
12340 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
12341 fi
12342
12343 else
12344
12345 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12346
12347 fi
12348
12349
12350 eval "$wx_cv_use_textctrl"
12351
12352 if test x"$enablestring" = xdisable; then
12353 if test $wxUSE_TEXTCTRL = no; then
12354 result=yes
12355 else
12356 result=no
12357 fi
12358 else
12359 result=$wxUSE_TEXTCTRL
12360 fi
12361
12362 { echo "$as_me:$LINENO: result: $result" >&5
12363 echo "${ECHO_T}$result" >&6; }
12364
12365
12366 enablestring=
12367 defaultval=$wxUSE_ALL_FEATURES
12368 if test -z "$defaultval"; then
12369 if test x"$enablestring" = xdisable; then
12370 defaultval=yes
12371 else
12372 defaultval=no
12373 fi
12374 fi
12375
12376 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12377 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12378 # Check whether --enable-tipwindow was given.
12379 if test "${enable_tipwindow+set}" = set; then
12380 enableval=$enable_tipwindow;
12381 if test "$enableval" = yes; then
12382 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12383 else
12384 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12385 fi
12386
12387 else
12388
12389 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12390
12391 fi
12392
12393
12394 eval "$wx_cv_use_tipwindow"
12395
12396 if test x"$enablestring" = xdisable; then
12397 if test $wxUSE_TIPWINDOW = no; then
12398 result=yes
12399 else
12400 result=no
12401 fi
12402 else
12403 result=$wxUSE_TIPWINDOW
12404 fi
12405
12406 { echo "$as_me:$LINENO: result: $result" >&5
12407 echo "${ECHO_T}$result" >&6; }
12408
12409
12410 enablestring=
12411 defaultval=$wxUSE_ALL_FEATURES
12412 if test -z "$defaultval"; then
12413 if test x"$enablestring" = xdisable; then
12414 defaultval=yes
12415 else
12416 defaultval=no
12417 fi
12418 fi
12419
12420 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12421 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12422 # Check whether --enable-togglebtn was given.
12423 if test "${enable_togglebtn+set}" = set; then
12424 enableval=$enable_togglebtn;
12425 if test "$enableval" = yes; then
12426 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
12427 else
12428 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
12429 fi
12430
12431 else
12432
12433 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12434
12435 fi
12436
12437
12438 eval "$wx_cv_use_togglebtn"
12439
12440 if test x"$enablestring" = xdisable; then
12441 if test $wxUSE_TOGGLEBTN = no; then
12442 result=yes
12443 else
12444 result=no
12445 fi
12446 else
12447 result=$wxUSE_TOGGLEBTN
12448 fi
12449
12450 { echo "$as_me:$LINENO: result: $result" >&5
12451 echo "${ECHO_T}$result" >&6; }
12452
12453
12454 enablestring=
12455 defaultval=$wxUSE_ALL_FEATURES
12456 if test -z "$defaultval"; then
12457 if test x"$enablestring" = xdisable; then
12458 defaultval=yes
12459 else
12460 defaultval=no
12461 fi
12462 fi
12463
12464 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12465 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12466 # Check whether --enable-toolbar was given.
12467 if test "${enable_toolbar+set}" = set; then
12468 enableval=$enable_toolbar;
12469 if test "$enableval" = yes; then
12470 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
12471 else
12472 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
12473 fi
12474
12475 else
12476
12477 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12478
12479 fi
12480
12481
12482 eval "$wx_cv_use_toolbar"
12483
12484 if test x"$enablestring" = xdisable; then
12485 if test $wxUSE_TOOLBAR = no; then
12486 result=yes
12487 else
12488 result=no
12489 fi
12490 else
12491 result=$wxUSE_TOOLBAR
12492 fi
12493
12494 { echo "$as_me:$LINENO: result: $result" >&5
12495 echo "${ECHO_T}$result" >&6; }
12496
12497
12498 enablestring=
12499 defaultval=$wxUSE_ALL_FEATURES
12500 if test -z "$defaultval"; then
12501 if test x"$enablestring" = xdisable; then
12502 defaultval=yes
12503 else
12504 defaultval=no
12505 fi
12506 fi
12507
12508 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12509 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12510 # Check whether --enable-toolbook was given.
12511 if test "${enable_toolbook+set}" = set; then
12512 enableval=$enable_toolbook;
12513 if test "$enableval" = yes; then
12514 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12515 else
12516 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12517 fi
12518
12519 else
12520
12521 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12522
12523 fi
12524
12525
12526 eval "$wx_cv_use_toolbook"
12527
12528 if test x"$enablestring" = xdisable; then
12529 if test $wxUSE_TOOLBOOK = no; then
12530 result=yes
12531 else
12532 result=no
12533 fi
12534 else
12535 result=$wxUSE_TOOLBOOK
12536 fi
12537
12538 { echo "$as_me:$LINENO: result: $result" >&5
12539 echo "${ECHO_T}$result" >&6; }
12540
12541
12542 enablestring=
12543 defaultval=$wxUSE_ALL_FEATURES
12544 if test -z "$defaultval"; then
12545 if test x"$enablestring" = xdisable; then
12546 defaultval=yes
12547 else
12548 defaultval=no
12549 fi
12550 fi
12551
12552 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12553 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12554 # Check whether --enable-treebook was given.
12555 if test "${enable_treebook+set}" = set; then
12556 enableval=$enable_treebook;
12557 if test "$enableval" = yes; then
12558 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
12559 else
12560 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
12561 fi
12562
12563 else
12564
12565 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12566
12567 fi
12568
12569
12570 eval "$wx_cv_use_treebook"
12571
12572 if test x"$enablestring" = xdisable; then
12573 if test $wxUSE_TREEBOOK = no; then
12574 result=yes
12575 else
12576 result=no
12577 fi
12578 else
12579 result=$wxUSE_TREEBOOK
12580 fi
12581
12582 { echo "$as_me:$LINENO: result: $result" >&5
12583 echo "${ECHO_T}$result" >&6; }
12584
12585
12586 enablestring=
12587 defaultval=$wxUSE_ALL_FEATURES
12588 if test -z "$defaultval"; then
12589 if test x"$enablestring" = xdisable; then
12590 defaultval=yes
12591 else
12592 defaultval=no
12593 fi
12594 fi
12595
12596 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12597 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12598 # Check whether --enable-treectrl was given.
12599 if test "${enable_treectrl+set}" = set; then
12600 enableval=$enable_treectrl;
12601 if test "$enableval" = yes; then
12602 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12603 else
12604 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12605 fi
12606
12607 else
12608
12609 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12610
12611 fi
12612
12613
12614 eval "$wx_cv_use_treectrl"
12615
12616 if test x"$enablestring" = xdisable; then
12617 if test $wxUSE_TREECTRL = no; then
12618 result=yes
12619 else
12620 result=no
12621 fi
12622 else
12623 result=$wxUSE_TREECTRL
12624 fi
12625
12626 { echo "$as_me:$LINENO: result: $result" >&5
12627 echo "${ECHO_T}$result" >&6; }
12628
12629
12630
12631
12632 enablestring=
12633 defaultval=$wxUSE_ALL_FEATURES
12634 if test -z "$defaultval"; then
12635 if test x"$enablestring" = xdisable; then
12636 defaultval=yes
12637 else
12638 defaultval=no
12639 fi
12640 fi
12641
12642 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12643 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12644 # Check whether --enable-commondlg was given.
12645 if test "${enable_commondlg+set}" = set; then
12646 enableval=$enable_commondlg;
12647 if test "$enableval" = yes; then
12648 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12649 else
12650 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12651 fi
12652
12653 else
12654
12655 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12656
12657 fi
12658
12659
12660 eval "$wx_cv_use_commondlg"
12661
12662 if test x"$enablestring" = xdisable; then
12663 if test $wxUSE_COMMONDLGS = no; then
12664 result=yes
12665 else
12666 result=no
12667 fi
12668 else
12669 result=$wxUSE_COMMONDLGS
12670 fi
12671
12672 { echo "$as_me:$LINENO: result: $result" >&5
12673 echo "${ECHO_T}$result" >&6; }
12674
12675
12676 enablestring=
12677 defaultval=$wxUSE_ALL_FEATURES
12678 if test -z "$defaultval"; then
12679 if test x"$enablestring" = xdisable; then
12680 defaultval=yes
12681 else
12682 defaultval=no
12683 fi
12684 fi
12685
12686 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12687 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12688 # Check whether --enable-aboutdlg was given.
12689 if test "${enable_aboutdlg+set}" = set; then
12690 enableval=$enable_aboutdlg;
12691 if test "$enableval" = yes; then
12692 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12693 else
12694 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12695 fi
12696
12697 else
12698
12699 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12700
12701 fi
12702
12703
12704 eval "$wx_cv_use_aboutdlg"
12705
12706 if test x"$enablestring" = xdisable; then
12707 if test $wxUSE_ABOUTDLG = no; then
12708 result=yes
12709 else
12710 result=no
12711 fi
12712 else
12713 result=$wxUSE_ABOUTDLG
12714 fi
12715
12716 { echo "$as_me:$LINENO: result: $result" >&5
12717 echo "${ECHO_T}$result" >&6; }
12718
12719
12720 enablestring=
12721 defaultval=$wxUSE_ALL_FEATURES
12722 if test -z "$defaultval"; then
12723 if test x"$enablestring" = xdisable; then
12724 defaultval=yes
12725 else
12726 defaultval=no
12727 fi
12728 fi
12729
12730 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12731 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12732 # Check whether --enable-choicedlg was given.
12733 if test "${enable_choicedlg+set}" = set; then
12734 enableval=$enable_choicedlg;
12735 if test "$enableval" = yes; then
12736 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12737 else
12738 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12739 fi
12740
12741 else
12742
12743 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12744
12745 fi
12746
12747
12748 eval "$wx_cv_use_choicedlg"
12749
12750 if test x"$enablestring" = xdisable; then
12751 if test $wxUSE_CHOICEDLG = no; then
12752 result=yes
12753 else
12754 result=no
12755 fi
12756 else
12757 result=$wxUSE_CHOICEDLG
12758 fi
12759
12760 { echo "$as_me:$LINENO: result: $result" >&5
12761 echo "${ECHO_T}$result" >&6; }
12762
12763
12764 enablestring=
12765 defaultval=$wxUSE_ALL_FEATURES
12766 if test -z "$defaultval"; then
12767 if test x"$enablestring" = xdisable; then
12768 defaultval=yes
12769 else
12770 defaultval=no
12771 fi
12772 fi
12773
12774 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12775 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12776 # Check whether --enable-coldlg was given.
12777 if test "${enable_coldlg+set}" = set; then
12778 enableval=$enable_coldlg;
12779 if test "$enableval" = yes; then
12780 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12781 else
12782 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12783 fi
12784
12785 else
12786
12787 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12788
12789 fi
12790
12791
12792 eval "$wx_cv_use_coldlg"
12793
12794 if test x"$enablestring" = xdisable; then
12795 if test $wxUSE_COLOURDLG = no; then
12796 result=yes
12797 else
12798 result=no
12799 fi
12800 else
12801 result=$wxUSE_COLOURDLG
12802 fi
12803
12804 { echo "$as_me:$LINENO: result: $result" >&5
12805 echo "${ECHO_T}$result" >&6; }
12806
12807
12808 enablestring=
12809 defaultval=$wxUSE_ALL_FEATURES
12810 if test -z "$defaultval"; then
12811 if test x"$enablestring" = xdisable; then
12812 defaultval=yes
12813 else
12814 defaultval=no
12815 fi
12816 fi
12817
12818 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12819 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12820 # Check whether --enable-filedlg was given.
12821 if test "${enable_filedlg+set}" = set; then
12822 enableval=$enable_filedlg;
12823 if test "$enableval" = yes; then
12824 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12825 else
12826 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12827 fi
12828
12829 else
12830
12831 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12832
12833 fi
12834
12835
12836 eval "$wx_cv_use_filedlg"
12837
12838 if test x"$enablestring" = xdisable; then
12839 if test $wxUSE_FILEDLG = no; then
12840 result=yes
12841 else
12842 result=no
12843 fi
12844 else
12845 result=$wxUSE_FILEDLG
12846 fi
12847
12848 { echo "$as_me:$LINENO: result: $result" >&5
12849 echo "${ECHO_T}$result" >&6; }
12850
12851
12852 enablestring=
12853 defaultval=$wxUSE_ALL_FEATURES
12854 if test -z "$defaultval"; then
12855 if test x"$enablestring" = xdisable; then
12856 defaultval=yes
12857 else
12858 defaultval=no
12859 fi
12860 fi
12861
12862 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12863 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12864 # Check whether --enable-finddlg was given.
12865 if test "${enable_finddlg+set}" = set; then
12866 enableval=$enable_finddlg;
12867 if test "$enableval" = yes; then
12868 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12869 else
12870 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12871 fi
12872
12873 else
12874
12875 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12876
12877 fi
12878
12879
12880 eval "$wx_cv_use_finddlg"
12881
12882 if test x"$enablestring" = xdisable; then
12883 if test $wxUSE_FINDREPLDLG = no; then
12884 result=yes
12885 else
12886 result=no
12887 fi
12888 else
12889 result=$wxUSE_FINDREPLDLG
12890 fi
12891
12892 { echo "$as_me:$LINENO: result: $result" >&5
12893 echo "${ECHO_T}$result" >&6; }
12894
12895
12896 enablestring=
12897 defaultval=$wxUSE_ALL_FEATURES
12898 if test -z "$defaultval"; then
12899 if test x"$enablestring" = xdisable; then
12900 defaultval=yes
12901 else
12902 defaultval=no
12903 fi
12904 fi
12905
12906 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12907 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12908 # Check whether --enable-fontdlg was given.
12909 if test "${enable_fontdlg+set}" = set; then
12910 enableval=$enable_fontdlg;
12911 if test "$enableval" = yes; then
12912 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12913 else
12914 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12915 fi
12916
12917 else
12918
12919 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12920
12921 fi
12922
12923
12924 eval "$wx_cv_use_fontdlg"
12925
12926 if test x"$enablestring" = xdisable; then
12927 if test $wxUSE_FONTDLG = no; then
12928 result=yes
12929 else
12930 result=no
12931 fi
12932 else
12933 result=$wxUSE_FONTDLG
12934 fi
12935
12936 { echo "$as_me:$LINENO: result: $result" >&5
12937 echo "${ECHO_T}$result" >&6; }
12938
12939
12940 enablestring=
12941 defaultval=$wxUSE_ALL_FEATURES
12942 if test -z "$defaultval"; then
12943 if test x"$enablestring" = xdisable; then
12944 defaultval=yes
12945 else
12946 defaultval=no
12947 fi
12948 fi
12949
12950 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12951 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12952 # Check whether --enable-dirdlg was given.
12953 if test "${enable_dirdlg+set}" = set; then
12954 enableval=$enable_dirdlg;
12955 if test "$enableval" = yes; then
12956 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12957 else
12958 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12959 fi
12960
12961 else
12962
12963 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12964
12965 fi
12966
12967
12968 eval "$wx_cv_use_dirdlg"
12969
12970 if test x"$enablestring" = xdisable; then
12971 if test $wxUSE_DIRDLG = no; then
12972 result=yes
12973 else
12974 result=no
12975 fi
12976 else
12977 result=$wxUSE_DIRDLG
12978 fi
12979
12980 { echo "$as_me:$LINENO: result: $result" >&5
12981 echo "${ECHO_T}$result" >&6; }
12982
12983
12984 enablestring=
12985 defaultval=$wxUSE_ALL_FEATURES
12986 if test -z "$defaultval"; then
12987 if test x"$enablestring" = xdisable; then
12988 defaultval=yes
12989 else
12990 defaultval=no
12991 fi
12992 fi
12993
12994 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12995 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12996 # Check whether --enable-msgdlg was given.
12997 if test "${enable_msgdlg+set}" = set; then
12998 enableval=$enable_msgdlg;
12999 if test "$enableval" = yes; then
13000 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
13001 else
13002 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
13003 fi
13004
13005 else
13006
13007 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
13008
13009 fi
13010
13011
13012 eval "$wx_cv_use_msgdlg"
13013
13014 if test x"$enablestring" = xdisable; then
13015 if test $wxUSE_MSGDLG = no; then
13016 result=yes
13017 else
13018 result=no
13019 fi
13020 else
13021 result=$wxUSE_MSGDLG
13022 fi
13023
13024 { echo "$as_me:$LINENO: result: $result" >&5
13025 echo "${ECHO_T}$result" >&6; }
13026
13027
13028 enablestring=
13029 defaultval=$wxUSE_ALL_FEATURES
13030 if test -z "$defaultval"; then
13031 if test x"$enablestring" = xdisable; then
13032 defaultval=yes
13033 else
13034 defaultval=no
13035 fi
13036 fi
13037
13038 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
13039 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
13040 # Check whether --enable-numberdlg was given.
13041 if test "${enable_numberdlg+set}" = set; then
13042 enableval=$enable_numberdlg;
13043 if test "$enableval" = yes; then
13044 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
13045 else
13046 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
13047 fi
13048
13049 else
13050
13051 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
13052
13053 fi
13054
13055
13056 eval "$wx_cv_use_numberdlg"
13057
13058 if test x"$enablestring" = xdisable; then
13059 if test $wxUSE_NUMBERDLG = no; then
13060 result=yes
13061 else
13062 result=no
13063 fi
13064 else
13065 result=$wxUSE_NUMBERDLG
13066 fi
13067
13068 { echo "$as_me:$LINENO: result: $result" >&5
13069 echo "${ECHO_T}$result" >&6; }
13070
13071
13072 enablestring=
13073 defaultval=$wxUSE_ALL_FEATURES
13074 if test -z "$defaultval"; then
13075 if test x"$enablestring" = xdisable; then
13076 defaultval=yes
13077 else
13078 defaultval=no
13079 fi
13080 fi
13081
13082 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
13083 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
13084 # Check whether --enable-splash was given.
13085 if test "${enable_splash+set}" = set; then
13086 enableval=$enable_splash;
13087 if test "$enableval" = yes; then
13088 wx_cv_use_splash='wxUSE_SPLASH=yes'
13089 else
13090 wx_cv_use_splash='wxUSE_SPLASH=no'
13091 fi
13092
13093 else
13094
13095 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
13096
13097 fi
13098
13099
13100 eval "$wx_cv_use_splash"
13101
13102 if test x"$enablestring" = xdisable; then
13103 if test $wxUSE_SPLASH = no; then
13104 result=yes
13105 else
13106 result=no
13107 fi
13108 else
13109 result=$wxUSE_SPLASH
13110 fi
13111
13112 { echo "$as_me:$LINENO: result: $result" >&5
13113 echo "${ECHO_T}$result" >&6; }
13114
13115
13116 enablestring=
13117 defaultval=$wxUSE_ALL_FEATURES
13118 if test -z "$defaultval"; then
13119 if test x"$enablestring" = xdisable; then
13120 defaultval=yes
13121 else
13122 defaultval=no
13123 fi
13124 fi
13125
13126 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
13127 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
13128 # Check whether --enable-textdlg was given.
13129 if test "${enable_textdlg+set}" = set; then
13130 enableval=$enable_textdlg;
13131 if test "$enableval" = yes; then
13132 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
13133 else
13134 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
13135 fi
13136
13137 else
13138
13139 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
13140
13141 fi
13142
13143
13144 eval "$wx_cv_use_textdlg"
13145
13146 if test x"$enablestring" = xdisable; then
13147 if test $wxUSE_TEXTDLG = no; then
13148 result=yes
13149 else
13150 result=no
13151 fi
13152 else
13153 result=$wxUSE_TEXTDLG
13154 fi
13155
13156 { echo "$as_me:$LINENO: result: $result" >&5
13157 echo "${ECHO_T}$result" >&6; }
13158
13159
13160 enablestring=
13161 defaultval=$wxUSE_ALL_FEATURES
13162 if test -z "$defaultval"; then
13163 if test x"$enablestring" = xdisable; then
13164 defaultval=yes
13165 else
13166 defaultval=no
13167 fi
13168 fi
13169
13170 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
13171 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
13172 # Check whether --enable-tipdlg was given.
13173 if test "${enable_tipdlg+set}" = set; then
13174 enableval=$enable_tipdlg;
13175 if test "$enableval" = yes; then
13176 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
13177 else
13178 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
13179 fi
13180
13181 else
13182
13183 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
13184
13185 fi
13186
13187
13188 eval "$wx_cv_use_tipdlg"
13189
13190 if test x"$enablestring" = xdisable; then
13191 if test $wxUSE_STARTUP_TIPS = no; then
13192 result=yes
13193 else
13194 result=no
13195 fi
13196 else
13197 result=$wxUSE_STARTUP_TIPS
13198 fi
13199
13200 { echo "$as_me:$LINENO: result: $result" >&5
13201 echo "${ECHO_T}$result" >&6; }
13202
13203
13204 enablestring=
13205 defaultval=$wxUSE_ALL_FEATURES
13206 if test -z "$defaultval"; then
13207 if test x"$enablestring" = xdisable; then
13208 defaultval=yes
13209 else
13210 defaultval=no
13211 fi
13212 fi
13213
13214 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
13215 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
13216 # Check whether --enable-progressdlg was given.
13217 if test "${enable_progressdlg+set}" = set; then
13218 enableval=$enable_progressdlg;
13219 if test "$enableval" = yes; then
13220 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
13221 else
13222 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
13223 fi
13224
13225 else
13226
13227 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
13228
13229 fi
13230
13231
13232 eval "$wx_cv_use_progressdlg"
13233
13234 if test x"$enablestring" = xdisable; then
13235 if test $wxUSE_PROGRESSDLG = no; then
13236 result=yes
13237 else
13238 result=no
13239 fi
13240 else
13241 result=$wxUSE_PROGRESSDLG
13242 fi
13243
13244 { echo "$as_me:$LINENO: result: $result" >&5
13245 echo "${ECHO_T}$result" >&6; }
13246
13247
13248 enablestring=
13249 defaultval=$wxUSE_ALL_FEATURES
13250 if test -z "$defaultval"; then
13251 if test x"$enablestring" = xdisable; then
13252 defaultval=yes
13253 else
13254 defaultval=no
13255 fi
13256 fi
13257
13258 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
13259 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
13260 # Check whether --enable-wizarddlg was given.
13261 if test "${enable_wizarddlg+set}" = set; then
13262 enableval=$enable_wizarddlg;
13263 if test "$enableval" = yes; then
13264 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
13265 else
13266 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
13267 fi
13268
13269 else
13270
13271 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
13272
13273 fi
13274
13275
13276 eval "$wx_cv_use_wizarddlg"
13277
13278 if test x"$enablestring" = xdisable; then
13279 if test $wxUSE_WIZARDDLG = no; then
13280 result=yes
13281 else
13282 result=no
13283 fi
13284 else
13285 result=$wxUSE_WIZARDDLG
13286 fi
13287
13288 { echo "$as_me:$LINENO: result: $result" >&5
13289 echo "${ECHO_T}$result" >&6; }
13290
13291
13292
13293
13294 enablestring=
13295 defaultval=$wxUSE_ALL_FEATURES
13296 if test -z "$defaultval"; then
13297 if test x"$enablestring" = xdisable; then
13298 defaultval=yes
13299 else
13300 defaultval=no
13301 fi
13302 fi
13303
13304 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
13305 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
13306 # Check whether --enable-menus was given.
13307 if test "${enable_menus+set}" = set; then
13308 enableval=$enable_menus;
13309 if test "$enableval" = yes; then
13310 wx_cv_use_menus='wxUSE_MENUS=yes'
13311 else
13312 wx_cv_use_menus='wxUSE_MENUS=no'
13313 fi
13314
13315 else
13316
13317 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
13318
13319 fi
13320
13321
13322 eval "$wx_cv_use_menus"
13323
13324 if test x"$enablestring" = xdisable; then
13325 if test $wxUSE_MENUS = no; then
13326 result=yes
13327 else
13328 result=no
13329 fi
13330 else
13331 result=$wxUSE_MENUS
13332 fi
13333
13334 { echo "$as_me:$LINENO: result: $result" >&5
13335 echo "${ECHO_T}$result" >&6; }
13336
13337
13338 enablestring=
13339 defaultval=$wxUSE_ALL_FEATURES
13340 if test -z "$defaultval"; then
13341 if test x"$enablestring" = xdisable; then
13342 defaultval=yes
13343 else
13344 defaultval=no
13345 fi
13346 fi
13347
13348 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
13349 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
13350 # Check whether --enable-miniframe was given.
13351 if test "${enable_miniframe+set}" = set; then
13352 enableval=$enable_miniframe;
13353 if test "$enableval" = yes; then
13354 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
13355 else
13356 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
13357 fi
13358
13359 else
13360
13361 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13362
13363 fi
13364
13365
13366 eval "$wx_cv_use_miniframe"
13367
13368 if test x"$enablestring" = xdisable; then
13369 if test $wxUSE_MINIFRAME = no; then
13370 result=yes
13371 else
13372 result=no
13373 fi
13374 else
13375 result=$wxUSE_MINIFRAME
13376 fi
13377
13378 { echo "$as_me:$LINENO: result: $result" >&5
13379 echo "${ECHO_T}$result" >&6; }
13380
13381
13382 enablestring=
13383 defaultval=$wxUSE_ALL_FEATURES
13384 if test -z "$defaultval"; then
13385 if test x"$enablestring" = xdisable; then
13386 defaultval=yes
13387 else
13388 defaultval=no
13389 fi
13390 fi
13391
13392 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
13393 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
13394 # Check whether --enable-tooltips was given.
13395 if test "${enable_tooltips+set}" = set; then
13396 enableval=$enable_tooltips;
13397 if test "$enableval" = yes; then
13398 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
13399 else
13400 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
13401 fi
13402
13403 else
13404
13405 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13406
13407 fi
13408
13409
13410 eval "$wx_cv_use_tooltips"
13411
13412 if test x"$enablestring" = xdisable; then
13413 if test $wxUSE_TOOLTIPS = no; then
13414 result=yes
13415 else
13416 result=no
13417 fi
13418 else
13419 result=$wxUSE_TOOLTIPS
13420 fi
13421
13422 { echo "$as_me:$LINENO: result: $result" >&5
13423 echo "${ECHO_T}$result" >&6; }
13424
13425
13426 enablestring=
13427 defaultval=$wxUSE_ALL_FEATURES
13428 if test -z "$defaultval"; then
13429 if test x"$enablestring" = xdisable; then
13430 defaultval=yes
13431 else
13432 defaultval=no
13433 fi
13434 fi
13435
13436 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
13437 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
13438 # Check whether --enable-splines was given.
13439 if test "${enable_splines+set}" = set; then
13440 enableval=$enable_splines;
13441 if test "$enableval" = yes; then
13442 wx_cv_use_splines='wxUSE_SPLINES=yes'
13443 else
13444 wx_cv_use_splines='wxUSE_SPLINES=no'
13445 fi
13446
13447 else
13448
13449 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13450
13451 fi
13452
13453
13454 eval "$wx_cv_use_splines"
13455
13456 if test x"$enablestring" = xdisable; then
13457 if test $wxUSE_SPLINES = no; then
13458 result=yes
13459 else
13460 result=no
13461 fi
13462 else
13463 result=$wxUSE_SPLINES
13464 fi
13465
13466 { echo "$as_me:$LINENO: result: $result" >&5
13467 echo "${ECHO_T}$result" >&6; }
13468
13469
13470 enablestring=
13471 defaultval=$wxUSE_ALL_FEATURES
13472 if test -z "$defaultval"; then
13473 if test x"$enablestring" = xdisable; then
13474 defaultval=yes
13475 else
13476 defaultval=no
13477 fi
13478 fi
13479
13480 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13481 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13482 # Check whether --enable-mousewheel was given.
13483 if test "${enable_mousewheel+set}" = set; then
13484 enableval=$enable_mousewheel;
13485 if test "$enableval" = yes; then
13486 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
13487 else
13488 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
13489 fi
13490
13491 else
13492
13493 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13494
13495 fi
13496
13497
13498 eval "$wx_cv_use_mousewheel"
13499
13500 if test x"$enablestring" = xdisable; then
13501 if test $wxUSE_MOUSEWHEEL = no; then
13502 result=yes
13503 else
13504 result=no
13505 fi
13506 else
13507 result=$wxUSE_MOUSEWHEEL
13508 fi
13509
13510 { echo "$as_me:$LINENO: result: $result" >&5
13511 echo "${ECHO_T}$result" >&6; }
13512
13513
13514 enablestring=
13515 defaultval=$wxUSE_ALL_FEATURES
13516 if test -z "$defaultval"; then
13517 if test x"$enablestring" = xdisable; then
13518 defaultval=yes
13519 else
13520 defaultval=no
13521 fi
13522 fi
13523
13524 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13525 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13526 # Check whether --enable-validators was given.
13527 if test "${enable_validators+set}" = set; then
13528 enableval=$enable_validators;
13529 if test "$enableval" = yes; then
13530 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13531 else
13532 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13533 fi
13534
13535 else
13536
13537 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13538
13539 fi
13540
13541
13542 eval "$wx_cv_use_validators"
13543
13544 if test x"$enablestring" = xdisable; then
13545 if test $wxUSE_VALIDATORS = no; then
13546 result=yes
13547 else
13548 result=no
13549 fi
13550 else
13551 result=$wxUSE_VALIDATORS
13552 fi
13553
13554 { echo "$as_me:$LINENO: result: $result" >&5
13555 echo "${ECHO_T}$result" >&6; }
13556
13557
13558 enablestring=
13559 defaultval=$wxUSE_ALL_FEATURES
13560 if test -z "$defaultval"; then
13561 if test x"$enablestring" = xdisable; then
13562 defaultval=yes
13563 else
13564 defaultval=no
13565 fi
13566 fi
13567
13568 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13569 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13570 # Check whether --enable-busyinfo was given.
13571 if test "${enable_busyinfo+set}" = set; then
13572 enableval=$enable_busyinfo;
13573 if test "$enableval" = yes; then
13574 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13575 else
13576 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13577 fi
13578
13579 else
13580
13581 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13582
13583 fi
13584
13585
13586 eval "$wx_cv_use_busyinfo"
13587
13588 if test x"$enablestring" = xdisable; then
13589 if test $wxUSE_BUSYINFO = no; then
13590 result=yes
13591 else
13592 result=no
13593 fi
13594 else
13595 result=$wxUSE_BUSYINFO
13596 fi
13597
13598 { echo "$as_me:$LINENO: result: $result" >&5
13599 echo "${ECHO_T}$result" >&6; }
13600
13601
13602 enablestring=
13603 defaultval=$wxUSE_ALL_FEATURES
13604 if test -z "$defaultval"; then
13605 if test x"$enablestring" = xdisable; then
13606 defaultval=yes
13607 else
13608 defaultval=no
13609 fi
13610 fi
13611
13612 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13613 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13614 # Check whether --enable-joystick was given.
13615 if test "${enable_joystick+set}" = set; then
13616 enableval=$enable_joystick;
13617 if test "$enableval" = yes; then
13618 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13619 else
13620 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13621 fi
13622
13623 else
13624
13625 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13626
13627 fi
13628
13629
13630 eval "$wx_cv_use_joystick"
13631
13632 if test x"$enablestring" = xdisable; then
13633 if test $wxUSE_JOYSTICK = no; then
13634 result=yes
13635 else
13636 result=no
13637 fi
13638 else
13639 result=$wxUSE_JOYSTICK
13640 fi
13641
13642 { echo "$as_me:$LINENO: result: $result" >&5
13643 echo "${ECHO_T}$result" >&6; }
13644
13645
13646 enablestring=
13647 defaultval=$wxUSE_ALL_FEATURES
13648 if test -z "$defaultval"; then
13649 if test x"$enablestring" = xdisable; then
13650 defaultval=yes
13651 else
13652 defaultval=no
13653 fi
13654 fi
13655
13656 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13657 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13658 # Check whether --enable-metafile was given.
13659 if test "${enable_metafile+set}" = set; then
13660 enableval=$enable_metafile;
13661 if test "$enableval" = yes; then
13662 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13663 else
13664 wx_cv_use_metafile='wxUSE_METAFILE=no'
13665 fi
13666
13667 else
13668
13669 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13670
13671 fi
13672
13673
13674 eval "$wx_cv_use_metafile"
13675
13676 if test x"$enablestring" = xdisable; then
13677 if test $wxUSE_METAFILE = no; then
13678 result=yes
13679 else
13680 result=no
13681 fi
13682 else
13683 result=$wxUSE_METAFILE
13684 fi
13685
13686 { echo "$as_me:$LINENO: result: $result" >&5
13687 echo "${ECHO_T}$result" >&6; }
13688
13689
13690 enablestring=
13691 defaultval=$wxUSE_ALL_FEATURES
13692 if test -z "$defaultval"; then
13693 if test x"$enablestring" = xdisable; then
13694 defaultval=yes
13695 else
13696 defaultval=no
13697 fi
13698 fi
13699
13700 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13701 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13702 # Check whether --enable-dragimage was given.
13703 if test "${enable_dragimage+set}" = set; then
13704 enableval=$enable_dragimage;
13705 if test "$enableval" = yes; then
13706 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13707 else
13708 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13709 fi
13710
13711 else
13712
13713 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13714
13715 fi
13716
13717
13718 eval "$wx_cv_use_dragimage"
13719
13720 if test x"$enablestring" = xdisable; then
13721 if test $wxUSE_DRAGIMAGE = no; then
13722 result=yes
13723 else
13724 result=no
13725 fi
13726 else
13727 result=$wxUSE_DRAGIMAGE
13728 fi
13729
13730 { echo "$as_me:$LINENO: result: $result" >&5
13731 echo "${ECHO_T}$result" >&6; }
13732
13733
13734 enablestring=
13735 defaultval=$wxUSE_ALL_FEATURES
13736 if test -z "$defaultval"; then
13737 if test x"$enablestring" = xdisable; then
13738 defaultval=yes
13739 else
13740 defaultval=no
13741 fi
13742 fi
13743
13744 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13745 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13746 # Check whether --enable-accessibility was given.
13747 if test "${enable_accessibility+set}" = set; then
13748 enableval=$enable_accessibility;
13749 if test "$enableval" = yes; then
13750 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13751 else
13752 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13753 fi
13754
13755 else
13756
13757 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13758
13759 fi
13760
13761
13762 eval "$wx_cv_use_accessibility"
13763
13764 if test x"$enablestring" = xdisable; then
13765 if test $wxUSE_ACCESSIBILITY = no; then
13766 result=yes
13767 else
13768 result=no
13769 fi
13770 else
13771 result=$wxUSE_ACCESSIBILITY
13772 fi
13773
13774 { echo "$as_me:$LINENO: result: $result" >&5
13775 echo "${ECHO_T}$result" >&6; }
13776
13777
13778 enablestring=
13779 defaultval=$wxUSE_ALL_FEATURES
13780 if test -z "$defaultval"; then
13781 if test x"$enablestring" = xdisable; then
13782 defaultval=yes
13783 else
13784 defaultval=no
13785 fi
13786 fi
13787
13788 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uiactionsim" >&5
13789 echo $ECHO_N "checking for --${enablestring:-enable}-uiactionsim... $ECHO_C" >&6; }
13790 # Check whether --enable-uiactionsim was given.
13791 if test "${enable_uiactionsim+set}" = set; then
13792 enableval=$enable_uiactionsim;
13793 if test "$enableval" = yes; then
13794 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
13795 else
13796 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
13797 fi
13798
13799 else
13800
13801 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
13802
13803 fi
13804
13805
13806 eval "$wx_cv_use_uiactionsim"
13807
13808 if test x"$enablestring" = xdisable; then
13809 if test $wxUSE_UIACTIONSIMULATOR = no; then
13810 result=yes
13811 else
13812 result=no
13813 fi
13814 else
13815 result=$wxUSE_UIACTIONSIMULATOR
13816 fi
13817
13818 { echo "$as_me:$LINENO: result: $result" >&5
13819 echo "${ECHO_T}$result" >&6; }
13820
13821
13822
13823
13824 enablestring=
13825 defaultval=$wxUSE_ALL_FEATURES
13826 if test -z "$defaultval"; then
13827 if test x"$enablestring" = xdisable; then
13828 defaultval=yes
13829 else
13830 defaultval=no
13831 fi
13832 fi
13833
13834 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13835 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13836 # Check whether --enable-palette was given.
13837 if test "${enable_palette+set}" = set; then
13838 enableval=$enable_palette;
13839 if test "$enableval" = yes; then
13840 wx_cv_use_palette='wxUSE_PALETTE=yes'
13841 else
13842 wx_cv_use_palette='wxUSE_PALETTE=no'
13843 fi
13844
13845 else
13846
13847 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13848
13849 fi
13850
13851
13852 eval "$wx_cv_use_palette"
13853
13854 if test x"$enablestring" = xdisable; then
13855 if test $wxUSE_PALETTE = no; then
13856 result=yes
13857 else
13858 result=no
13859 fi
13860 else
13861 result=$wxUSE_PALETTE
13862 fi
13863
13864 { echo "$as_me:$LINENO: result: $result" >&5
13865 echo "${ECHO_T}$result" >&6; }
13866
13867
13868 enablestring=
13869 defaultval=$wxUSE_ALL_FEATURES
13870 if test -z "$defaultval"; then
13871 if test x"$enablestring" = xdisable; then
13872 defaultval=yes
13873 else
13874 defaultval=no
13875 fi
13876 fi
13877
13878 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13879 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13880 # Check whether --enable-image was given.
13881 if test "${enable_image+set}" = set; then
13882 enableval=$enable_image;
13883 if test "$enableval" = yes; then
13884 wx_cv_use_image='wxUSE_IMAGE=yes'
13885 else
13886 wx_cv_use_image='wxUSE_IMAGE=no'
13887 fi
13888
13889 else
13890
13891 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13892
13893 fi
13894
13895
13896 eval "$wx_cv_use_image"
13897
13898 if test x"$enablestring" = xdisable; then
13899 if test $wxUSE_IMAGE = no; then
13900 result=yes
13901 else
13902 result=no
13903 fi
13904 else
13905 result=$wxUSE_IMAGE
13906 fi
13907
13908 { echo "$as_me:$LINENO: result: $result" >&5
13909 echo "${ECHO_T}$result" >&6; }
13910
13911
13912 enablestring=
13913 defaultval=$wxUSE_ALL_FEATURES
13914 if test -z "$defaultval"; then
13915 if test x"$enablestring" = xdisable; then
13916 defaultval=yes
13917 else
13918 defaultval=no
13919 fi
13920 fi
13921
13922 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13923 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13924 # Check whether --enable-gif was given.
13925 if test "${enable_gif+set}" = set; then
13926 enableval=$enable_gif;
13927 if test "$enableval" = yes; then
13928 wx_cv_use_gif='wxUSE_GIF=yes'
13929 else
13930 wx_cv_use_gif='wxUSE_GIF=no'
13931 fi
13932
13933 else
13934
13935 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13936
13937 fi
13938
13939
13940 eval "$wx_cv_use_gif"
13941
13942 if test x"$enablestring" = xdisable; then
13943 if test $wxUSE_GIF = no; then
13944 result=yes
13945 else
13946 result=no
13947 fi
13948 else
13949 result=$wxUSE_GIF
13950 fi
13951
13952 { echo "$as_me:$LINENO: result: $result" >&5
13953 echo "${ECHO_T}$result" >&6; }
13954
13955
13956 enablestring=
13957 defaultval=$wxUSE_ALL_FEATURES
13958 if test -z "$defaultval"; then
13959 if test x"$enablestring" = xdisable; then
13960 defaultval=yes
13961 else
13962 defaultval=no
13963 fi
13964 fi
13965
13966 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13967 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13968 # Check whether --enable-pcx was given.
13969 if test "${enable_pcx+set}" = set; then
13970 enableval=$enable_pcx;
13971 if test "$enableval" = yes; then
13972 wx_cv_use_pcx='wxUSE_PCX=yes'
13973 else
13974 wx_cv_use_pcx='wxUSE_PCX=no'
13975 fi
13976
13977 else
13978
13979 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13980
13981 fi
13982
13983
13984 eval "$wx_cv_use_pcx"
13985
13986 if test x"$enablestring" = xdisable; then
13987 if test $wxUSE_PCX = no; then
13988 result=yes
13989 else
13990 result=no
13991 fi
13992 else
13993 result=$wxUSE_PCX
13994 fi
13995
13996 { echo "$as_me:$LINENO: result: $result" >&5
13997 echo "${ECHO_T}$result" >&6; }
13998
13999
14000 enablestring=
14001 defaultval=$wxUSE_ALL_FEATURES
14002 if test -z "$defaultval"; then
14003 if test x"$enablestring" = xdisable; then
14004 defaultval=yes
14005 else
14006 defaultval=no
14007 fi
14008 fi
14009
14010 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
14011 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
14012 # Check whether --enable-tga was given.
14013 if test "${enable_tga+set}" = set; then
14014 enableval=$enable_tga;
14015 if test "$enableval" = yes; then
14016 wx_cv_use_tga='wxUSE_TGA=yes'
14017 else
14018 wx_cv_use_tga='wxUSE_TGA=no'
14019 fi
14020
14021 else
14022
14023 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
14024
14025 fi
14026
14027
14028 eval "$wx_cv_use_tga"
14029
14030 if test x"$enablestring" = xdisable; then
14031 if test $wxUSE_TGA = no; then
14032 result=yes
14033 else
14034 result=no
14035 fi
14036 else
14037 result=$wxUSE_TGA
14038 fi
14039
14040 { echo "$as_me:$LINENO: result: $result" >&5
14041 echo "${ECHO_T}$result" >&6; }
14042
14043
14044 enablestring=
14045 defaultval=$wxUSE_ALL_FEATURES
14046 if test -z "$defaultval"; then
14047 if test x"$enablestring" = xdisable; then
14048 defaultval=yes
14049 else
14050 defaultval=no
14051 fi
14052 fi
14053
14054 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
14055 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
14056 # Check whether --enable-iff was given.
14057 if test "${enable_iff+set}" = set; then
14058 enableval=$enable_iff;
14059 if test "$enableval" = yes; then
14060 wx_cv_use_iff='wxUSE_IFF=yes'
14061 else
14062 wx_cv_use_iff='wxUSE_IFF=no'
14063 fi
14064
14065 else
14066
14067 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
14068
14069 fi
14070
14071
14072 eval "$wx_cv_use_iff"
14073
14074 if test x"$enablestring" = xdisable; then
14075 if test $wxUSE_IFF = no; then
14076 result=yes
14077 else
14078 result=no
14079 fi
14080 else
14081 result=$wxUSE_IFF
14082 fi
14083
14084 { echo "$as_me:$LINENO: result: $result" >&5
14085 echo "${ECHO_T}$result" >&6; }
14086
14087
14088 enablestring=
14089 defaultval=$wxUSE_ALL_FEATURES
14090 if test -z "$defaultval"; then
14091 if test x"$enablestring" = xdisable; then
14092 defaultval=yes
14093 else
14094 defaultval=no
14095 fi
14096 fi
14097
14098 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
14099 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
14100 # Check whether --enable-pnm was given.
14101 if test "${enable_pnm+set}" = set; then
14102 enableval=$enable_pnm;
14103 if test "$enableval" = yes; then
14104 wx_cv_use_pnm='wxUSE_PNM=yes'
14105 else
14106 wx_cv_use_pnm='wxUSE_PNM=no'
14107 fi
14108
14109 else
14110
14111 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
14112
14113 fi
14114
14115
14116 eval "$wx_cv_use_pnm"
14117
14118 if test x"$enablestring" = xdisable; then
14119 if test $wxUSE_PNM = no; then
14120 result=yes
14121 else
14122 result=no
14123 fi
14124 else
14125 result=$wxUSE_PNM
14126 fi
14127
14128 { echo "$as_me:$LINENO: result: $result" >&5
14129 echo "${ECHO_T}$result" >&6; }
14130
14131
14132 enablestring=
14133 defaultval=$wxUSE_ALL_FEATURES
14134 if test -z "$defaultval"; then
14135 if test x"$enablestring" = xdisable; then
14136 defaultval=yes
14137 else
14138 defaultval=no
14139 fi
14140 fi
14141
14142 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
14143 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
14144 # Check whether --enable-xpm was given.
14145 if test "${enable_xpm+set}" = set; then
14146 enableval=$enable_xpm;
14147 if test "$enableval" = yes; then
14148 wx_cv_use_xpm='wxUSE_XPM=yes'
14149 else
14150 wx_cv_use_xpm='wxUSE_XPM=no'
14151 fi
14152
14153 else
14154
14155 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
14156
14157 fi
14158
14159
14160 eval "$wx_cv_use_xpm"
14161
14162 if test x"$enablestring" = xdisable; then
14163 if test $wxUSE_XPM = no; then
14164 result=yes
14165 else
14166 result=no
14167 fi
14168 else
14169 result=$wxUSE_XPM
14170 fi
14171
14172 { echo "$as_me:$LINENO: result: $result" >&5
14173 echo "${ECHO_T}$result" >&6; }
14174
14175
14176 enablestring=
14177 defaultval=$wxUSE_ALL_FEATURES
14178 if test -z "$defaultval"; then
14179 if test x"$enablestring" = xdisable; then
14180 defaultval=yes
14181 else
14182 defaultval=no
14183 fi
14184 fi
14185
14186 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
14187 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
14188 # Check whether --enable-ico_cur was given.
14189 if test "${enable_ico_cur+set}" = set; then
14190 enableval=$enable_ico_cur;
14191 if test "$enableval" = yes; then
14192 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
14193 else
14194 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
14195 fi
14196
14197 else
14198
14199 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
14200
14201 fi
14202
14203
14204 eval "$wx_cv_use_ico_cur"
14205
14206 if test x"$enablestring" = xdisable; then
14207 if test $wxUSE_ICO_CUR = no; then
14208 result=yes
14209 else
14210 result=no
14211 fi
14212 else
14213 result=$wxUSE_ICO_CUR
14214 fi
14215
14216 { echo "$as_me:$LINENO: result: $result" >&5
14217 echo "${ECHO_T}$result" >&6; }
14218
14219
14220
14221
14222 enablestring=
14223 defaultval=$wxUSE_ALL_FEATURES
14224 if test -z "$defaultval"; then
14225 if test x"$enablestring" = xdisable; then
14226 defaultval=yes
14227 else
14228 defaultval=no
14229 fi
14230 fi
14231
14232 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
14233 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
14234 # Check whether --enable-dccache was given.
14235 if test "${enable_dccache+set}" = set; then
14236 enableval=$enable_dccache;
14237 if test "$enableval" = yes; then
14238 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
14239 else
14240 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
14241 fi
14242
14243 else
14244
14245 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
14246
14247 fi
14248
14249
14250 eval "$wx_cv_use_dccache"
14251
14252 if test x"$enablestring" = xdisable; then
14253 if test $wxUSE_DC_CACHEING = no; then
14254 result=yes
14255 else
14256 result=no
14257 fi
14258 else
14259 result=$wxUSE_DC_CACHEING
14260 fi
14261
14262 { echo "$as_me:$LINENO: result: $result" >&5
14263 echo "${ECHO_T}$result" >&6; }
14264
14265
14266 enablestring=
14267 defaultval=$wxUSE_ALL_FEATURES
14268 if test -z "$defaultval"; then
14269 if test x"$enablestring" = xdisable; then
14270 defaultval=yes
14271 else
14272 defaultval=no
14273 fi
14274 fi
14275
14276 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
14277 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
14278 # Check whether --enable-ps-in-msw was given.
14279 if test "${enable_ps_in_msw+set}" = set; then
14280 enableval=$enable_ps_in_msw;
14281 if test "$enableval" = yes; then
14282 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
14283 else
14284 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
14285 fi
14286
14287 else
14288
14289 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
14290
14291 fi
14292
14293
14294 eval "$wx_cv_use_ps_in_msw"
14295
14296 if test x"$enablestring" = xdisable; then
14297 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
14298 result=yes
14299 else
14300 result=no
14301 fi
14302 else
14303 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
14304 fi
14305
14306 { echo "$as_me:$LINENO: result: $result" >&5
14307 echo "${ECHO_T}$result" >&6; }
14308
14309
14310 enablestring=
14311 defaultval=$wxUSE_ALL_FEATURES
14312 if test -z "$defaultval"; then
14313 if test x"$enablestring" = xdisable; then
14314 defaultval=yes
14315 else
14316 defaultval=no
14317 fi
14318 fi
14319
14320 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
14321 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
14322 # Check whether --enable-ownerdrawn was given.
14323 if test "${enable_ownerdrawn+set}" = set; then
14324 enableval=$enable_ownerdrawn;
14325 if test "$enableval" = yes; then
14326 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
14327 else
14328 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
14329 fi
14330
14331 else
14332
14333 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
14334
14335 fi
14336
14337
14338 eval "$wx_cv_use_ownerdrawn"
14339
14340 if test x"$enablestring" = xdisable; then
14341 if test $wxUSE_OWNER_DRAWN = no; then
14342 result=yes
14343 else
14344 result=no
14345 fi
14346 else
14347 result=$wxUSE_OWNER_DRAWN
14348 fi
14349
14350 { echo "$as_me:$LINENO: result: $result" >&5
14351 echo "${ECHO_T}$result" >&6; }
14352
14353
14354 enablestring=
14355 defaultval=$wxUSE_ALL_FEATURES
14356 if test -z "$defaultval"; then
14357 if test x"$enablestring" = xdisable; then
14358 defaultval=yes
14359 else
14360 defaultval=no
14361 fi
14362 fi
14363
14364 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
14365 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
14366 # Check whether --enable-uxtheme was given.
14367 if test "${enable_uxtheme+set}" = set; then
14368 enableval=$enable_uxtheme;
14369 if test "$enableval" = yes; then
14370 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
14371 else
14372 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
14373 fi
14374
14375 else
14376
14377 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
14378
14379 fi
14380
14381
14382 eval "$wx_cv_use_uxtheme"
14383
14384 if test x"$enablestring" = xdisable; then
14385 if test $wxUSE_UXTHEME = no; then
14386 result=yes
14387 else
14388 result=no
14389 fi
14390 else
14391 result=$wxUSE_UXTHEME
14392 fi
14393
14394 { echo "$as_me:$LINENO: result: $result" >&5
14395 echo "${ECHO_T}$result" >&6; }
14396
14397
14398 enablestring=
14399 defaultval=$wxUSE_ALL_FEATURES
14400 if test -z "$defaultval"; then
14401 if test x"$enablestring" = xdisable; then
14402 defaultval=yes
14403 else
14404 defaultval=no
14405 fi
14406 fi
14407
14408 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
14409 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
14410 # Check whether --enable-wxdib was given.
14411 if test "${enable_wxdib+set}" = set; then
14412 enableval=$enable_wxdib;
14413 if test "$enableval" = yes; then
14414 wx_cv_use_wxdib='wxUSE_DIB=yes'
14415 else
14416 wx_cv_use_wxdib='wxUSE_DIB=no'
14417 fi
14418
14419 else
14420
14421 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
14422
14423 fi
14424
14425
14426 eval "$wx_cv_use_wxdib"
14427
14428 if test x"$enablestring" = xdisable; then
14429 if test $wxUSE_DIB = no; then
14430 result=yes
14431 else
14432 result=no
14433 fi
14434 else
14435 result=$wxUSE_DIB
14436 fi
14437
14438 { echo "$as_me:$LINENO: result: $result" >&5
14439 echo "${ECHO_T}$result" >&6; }
14440
14441
14442 if test "$wxUSE_MSW" != 1; then
14443 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
14444 fi
14445
14446
14447 enablestring=
14448 defaultval=$wxUSE_ALL_FEATURES
14449 if test -z "$defaultval"; then
14450 if test x"$enablestring" = xdisable; then
14451 defaultval=yes
14452 else
14453 defaultval=no
14454 fi
14455 fi
14456
14457 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
14458 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
14459 # Check whether --enable-autoidman was given.
14460 if test "${enable_autoidman+set}" = set; then
14461 enableval=$enable_autoidman;
14462 if test "$enableval" = yes; then
14463 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
14464 else
14465 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
14466 fi
14467
14468 else
14469
14470 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
14471
14472 fi
14473
14474
14475 eval "$wx_cv_use_autoidman"
14476
14477 if test x"$enablestring" = xdisable; then
14478 if test $wxUSE_AUTOID_MANAGEMENT = no; then
14479 result=yes
14480 else
14481 result=no
14482 fi
14483 else
14484 result=$wxUSE_AUTOID_MANAGEMENT
14485 fi
14486
14487 { echo "$as_me:$LINENO: result: $result" >&5
14488 echo "${ECHO_T}$result" >&6; }
14489
14490
14491 fi
14492
14493
14494 cat >confcache <<\_ACEOF
14495 # This file is a shell script that caches the results of configure
14496 # tests run on this system so they can be shared between configure
14497 # scripts and configure runs, see configure's option --config-cache.
14498 # It is not useful on other systems. If it contains results you don't
14499 # want to keep, you may remove or edit it.
14500 #
14501 # config.status only pays attention to the cache file if you give it
14502 # the --recheck option to rerun configure.
14503 #
14504 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14505 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14506 # following values.
14507
14508 _ACEOF
14509
14510 # The following way of writing the cache mishandles newlines in values,
14511 # but we know of no workaround that is simple, portable, and efficient.
14512 # So, we kill variables containing newlines.
14513 # Ultrix sh set writes to stderr and can't be redirected directly,
14514 # and sets the high bit in the cache file unless we assign to the vars.
14515 (
14516 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14517 eval ac_val=\$$ac_var
14518 case $ac_val in #(
14519 *${as_nl}*)
14520 case $ac_var in #(
14521 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14522 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14523 esac
14524 case $ac_var in #(
14525 _ | IFS | as_nl) ;; #(
14526 *) $as_unset $ac_var ;;
14527 esac ;;
14528 esac
14529 done
14530
14531 (set) 2>&1 |
14532 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14533 *${as_nl}ac_space=\ *)
14534 # `set' does not quote correctly, so add quotes (double-quote
14535 # substitution turns \\\\ into \\, and sed turns \\ into \).
14536 sed -n \
14537 "s/'/'\\\\''/g;
14538 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14539 ;; #(
14540 *)
14541 # `set' quotes correctly as required by POSIX, so do not add quotes.
14542 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14543 ;;
14544 esac |
14545 sort
14546 ) |
14547 sed '
14548 /^ac_cv_env_/b end
14549 t clear
14550 :clear
14551 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14552 t end
14553 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14554 :end' >>confcache
14555 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14556 if test -w "$cache_file"; then
14557 test "x$cache_file" != "x/dev/null" &&
14558 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14559 echo "$as_me: updating cache $cache_file" >&6;}
14560 cat confcache >$cache_file
14561 else
14562 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14563 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14564 fi
14565 fi
14566 rm -f confcache
14567
14568 CFLAGS=${CFLAGS:=}
14569 ac_ext=c
14570 ac_cpp='$CPP $CPPFLAGS'
14571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14574 if test -n "$ac_tool_prefix"; then
14575 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14576 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14577 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14578 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14579 if test "${ac_cv_prog_CC+set}" = set; then
14580 echo $ECHO_N "(cached) $ECHO_C" >&6
14581 else
14582 if test -n "$CC"; then
14583 ac_cv_prog_CC="$CC" # Let the user override the test.
14584 else
14585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14586 for as_dir in $PATH
14587 do
14588 IFS=$as_save_IFS
14589 test -z "$as_dir" && as_dir=.
14590 for ac_exec_ext in '' $ac_executable_extensions; do
14591 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14592 ac_cv_prog_CC="${ac_tool_prefix}gcc"
14593 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14594 break 2
14595 fi
14596 done
14597 done
14598 IFS=$as_save_IFS
14599
14600 fi
14601 fi
14602 CC=$ac_cv_prog_CC
14603 if test -n "$CC"; then
14604 { echo "$as_me:$LINENO: result: $CC" >&5
14605 echo "${ECHO_T}$CC" >&6; }
14606 else
14607 { echo "$as_me:$LINENO: result: no" >&5
14608 echo "${ECHO_T}no" >&6; }
14609 fi
14610
14611
14612 fi
14613 if test -z "$ac_cv_prog_CC"; then
14614 ac_ct_CC=$CC
14615 # Extract the first word of "gcc", so it can be a program name with args.
14616 set dummy gcc; ac_word=$2
14617 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14618 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14619 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14620 echo $ECHO_N "(cached) $ECHO_C" >&6
14621 else
14622 if test -n "$ac_ct_CC"; then
14623 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14624 else
14625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14626 for as_dir in $PATH
14627 do
14628 IFS=$as_save_IFS
14629 test -z "$as_dir" && as_dir=.
14630 for ac_exec_ext in '' $ac_executable_extensions; do
14631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14632 ac_cv_prog_ac_ct_CC="gcc"
14633 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14634 break 2
14635 fi
14636 done
14637 done
14638 IFS=$as_save_IFS
14639
14640 fi
14641 fi
14642 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14643 if test -n "$ac_ct_CC"; then
14644 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14645 echo "${ECHO_T}$ac_ct_CC" >&6; }
14646 else
14647 { echo "$as_me:$LINENO: result: no" >&5
14648 echo "${ECHO_T}no" >&6; }
14649 fi
14650
14651 if test "x$ac_ct_CC" = x; then
14652 CC=""
14653 else
14654 case $cross_compiling:$ac_tool_warned in
14655 yes:)
14656 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14657 whose name does not start with the host triplet. If you think this
14658 configuration is useful to you, please write to autoconf@gnu.org." >&5
14659 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14660 whose name does not start with the host triplet. If you think this
14661 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14662 ac_tool_warned=yes ;;
14663 esac
14664 CC=$ac_ct_CC
14665 fi
14666 else
14667 CC="$ac_cv_prog_CC"
14668 fi
14669
14670 if test -z "$CC"; then
14671 if test -n "$ac_tool_prefix"; then
14672 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14673 set dummy ${ac_tool_prefix}cc; ac_word=$2
14674 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14675 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14676 if test "${ac_cv_prog_CC+set}" = set; then
14677 echo $ECHO_N "(cached) $ECHO_C" >&6
14678 else
14679 if test -n "$CC"; then
14680 ac_cv_prog_CC="$CC" # Let the user override the test.
14681 else
14682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14683 for as_dir in $PATH
14684 do
14685 IFS=$as_save_IFS
14686 test -z "$as_dir" && as_dir=.
14687 for ac_exec_ext in '' $ac_executable_extensions; do
14688 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14689 ac_cv_prog_CC="${ac_tool_prefix}cc"
14690 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14691 break 2
14692 fi
14693 done
14694 done
14695 IFS=$as_save_IFS
14696
14697 fi
14698 fi
14699 CC=$ac_cv_prog_CC
14700 if test -n "$CC"; then
14701 { echo "$as_me:$LINENO: result: $CC" >&5
14702 echo "${ECHO_T}$CC" >&6; }
14703 else
14704 { echo "$as_me:$LINENO: result: no" >&5
14705 echo "${ECHO_T}no" >&6; }
14706 fi
14707
14708
14709 fi
14710 fi
14711 if test -z "$CC"; then
14712 # Extract the first word of "cc", so it can be a program name with args.
14713 set dummy cc; ac_word=$2
14714 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14715 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14716 if test "${ac_cv_prog_CC+set}" = set; then
14717 echo $ECHO_N "(cached) $ECHO_C" >&6
14718 else
14719 if test -n "$CC"; then
14720 ac_cv_prog_CC="$CC" # Let the user override the test.
14721 else
14722 ac_prog_rejected=no
14723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14724 for as_dir in $PATH
14725 do
14726 IFS=$as_save_IFS
14727 test -z "$as_dir" && as_dir=.
14728 for ac_exec_ext in '' $ac_executable_extensions; do
14729 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14730 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14731 ac_prog_rejected=yes
14732 continue
14733 fi
14734 ac_cv_prog_CC="cc"
14735 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14736 break 2
14737 fi
14738 done
14739 done
14740 IFS=$as_save_IFS
14741
14742 if test $ac_prog_rejected = yes; then
14743 # We found a bogon in the path, so make sure we never use it.
14744 set dummy $ac_cv_prog_CC
14745 shift
14746 if test $# != 0; then
14747 # We chose a different compiler from the bogus one.
14748 # However, it has the same basename, so the bogon will be chosen
14749 # first if we set CC to just the basename; use the full file name.
14750 shift
14751 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14752 fi
14753 fi
14754 fi
14755 fi
14756 CC=$ac_cv_prog_CC
14757 if test -n "$CC"; then
14758 { echo "$as_me:$LINENO: result: $CC" >&5
14759 echo "${ECHO_T}$CC" >&6; }
14760 else
14761 { echo "$as_me:$LINENO: result: no" >&5
14762 echo "${ECHO_T}no" >&6; }
14763 fi
14764
14765
14766 fi
14767 if test -z "$CC"; then
14768 if test -n "$ac_tool_prefix"; then
14769 for ac_prog in cl.exe
14770 do
14771 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14772 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14773 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14774 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14775 if test "${ac_cv_prog_CC+set}" = set; then
14776 echo $ECHO_N "(cached) $ECHO_C" >&6
14777 else
14778 if test -n "$CC"; then
14779 ac_cv_prog_CC="$CC" # Let the user override the test.
14780 else
14781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14782 for as_dir in $PATH
14783 do
14784 IFS=$as_save_IFS
14785 test -z "$as_dir" && as_dir=.
14786 for ac_exec_ext in '' $ac_executable_extensions; do
14787 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14788 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14789 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14790 break 2
14791 fi
14792 done
14793 done
14794 IFS=$as_save_IFS
14795
14796 fi
14797 fi
14798 CC=$ac_cv_prog_CC
14799 if test -n "$CC"; then
14800 { echo "$as_me:$LINENO: result: $CC" >&5
14801 echo "${ECHO_T}$CC" >&6; }
14802 else
14803 { echo "$as_me:$LINENO: result: no" >&5
14804 echo "${ECHO_T}no" >&6; }
14805 fi
14806
14807
14808 test -n "$CC" && break
14809 done
14810 fi
14811 if test -z "$CC"; then
14812 ac_ct_CC=$CC
14813 for ac_prog in cl.exe
14814 do
14815 # Extract the first word of "$ac_prog", so it can be a program name with args.
14816 set dummy $ac_prog; ac_word=$2
14817 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14818 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14819 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14820 echo $ECHO_N "(cached) $ECHO_C" >&6
14821 else
14822 if test -n "$ac_ct_CC"; then
14823 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14824 else
14825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14826 for as_dir in $PATH
14827 do
14828 IFS=$as_save_IFS
14829 test -z "$as_dir" && as_dir=.
14830 for ac_exec_ext in '' $ac_executable_extensions; do
14831 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14832 ac_cv_prog_ac_ct_CC="$ac_prog"
14833 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14834 break 2
14835 fi
14836 done
14837 done
14838 IFS=$as_save_IFS
14839
14840 fi
14841 fi
14842 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14843 if test -n "$ac_ct_CC"; then
14844 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14845 echo "${ECHO_T}$ac_ct_CC" >&6; }
14846 else
14847 { echo "$as_me:$LINENO: result: no" >&5
14848 echo "${ECHO_T}no" >&6; }
14849 fi
14850
14851
14852 test -n "$ac_ct_CC" && break
14853 done
14854
14855 if test "x$ac_ct_CC" = x; then
14856 CC=""
14857 else
14858 case $cross_compiling:$ac_tool_warned in
14859 yes:)
14860 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14861 whose name does not start with the host triplet. If you think this
14862 configuration is useful to you, please write to autoconf@gnu.org." >&5
14863 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14864 whose name does not start with the host triplet. If you think this
14865 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14866 ac_tool_warned=yes ;;
14867 esac
14868 CC=$ac_ct_CC
14869 fi
14870 fi
14871
14872 fi
14873
14874
14875 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14876 See \`config.log' for more details." >&5
14877 echo "$as_me: error: no acceptable C compiler found in \$PATH
14878 See \`config.log' for more details." >&2;}
14879 { (exit 1); exit 1; }; }
14880
14881 # Provide some information about the compiler.
14882 echo "$as_me:$LINENO: checking for C compiler version" >&5
14883 ac_compiler=`set X $ac_compile; echo $2`
14884 { (ac_try="$ac_compiler --version >&5"
14885 case "(($ac_try" in
14886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14887 *) ac_try_echo=$ac_try;;
14888 esac
14889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14890 (eval "$ac_compiler --version >&5") 2>&5
14891 ac_status=$?
14892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14893 (exit $ac_status); }
14894 { (ac_try="$ac_compiler -v >&5"
14895 case "(($ac_try" in
14896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14897 *) ac_try_echo=$ac_try;;
14898 esac
14899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14900 (eval "$ac_compiler -v >&5") 2>&5
14901 ac_status=$?
14902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14903 (exit $ac_status); }
14904 { (ac_try="$ac_compiler -V >&5"
14905 case "(($ac_try" in
14906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14907 *) ac_try_echo=$ac_try;;
14908 esac
14909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14910 (eval "$ac_compiler -V >&5") 2>&5
14911 ac_status=$?
14912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14913 (exit $ac_status); }
14914
14915 cat >conftest.$ac_ext <<_ACEOF
14916 /* confdefs.h. */
14917 _ACEOF
14918 cat confdefs.h >>conftest.$ac_ext
14919 cat >>conftest.$ac_ext <<_ACEOF
14920 /* end confdefs.h. */
14921
14922 int
14923 main ()
14924 {
14925
14926 ;
14927 return 0;
14928 }
14929 _ACEOF
14930 ac_clean_files_save=$ac_clean_files
14931 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14932 # Try to create an executable without -o first, disregard a.out.
14933 # It will help us diagnose broken compilers, and finding out an intuition
14934 # of exeext.
14935 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14936 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14937 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14938 #
14939 # List of possible output files, starting from the most likely.
14940 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
14941 # only as a last resort. b.out is created by i960 compilers.
14942 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14943 #
14944 # The IRIX 6 linker writes into existing files which may not be
14945 # executable, retaining their permissions. Remove them first so a
14946 # subsequent execution test works.
14947 ac_rmfiles=
14948 for ac_file in $ac_files
14949 do
14950 case $ac_file in
14951 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14952 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14953 esac
14954 done
14955 rm -f $ac_rmfiles
14956
14957 if { (ac_try="$ac_link_default"
14958 case "(($ac_try" in
14959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14960 *) ac_try_echo=$ac_try;;
14961 esac
14962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14963 (eval "$ac_link_default") 2>&5
14964 ac_status=$?
14965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14966 (exit $ac_status); }; then
14967 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14968 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14969 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14970 # so that the user can short-circuit this test for compilers unknown to
14971 # Autoconf.
14972 for ac_file in $ac_files ''
14973 do
14974 test -f "$ac_file" || continue
14975 case $ac_file in
14976 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14977 ;;
14978 [ab].out )
14979 # We found the default executable, but exeext='' is most
14980 # certainly right.
14981 break;;
14982 *.* )
14983 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14984 then :; else
14985 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14986 fi
14987 # We set ac_cv_exeext here because the later test for it is not
14988 # safe: cross compilers may not add the suffix if given an `-o'
14989 # argument, so we may need to know it at that point already.
14990 # Even if this section looks crufty: it has the advantage of
14991 # actually working.
14992 break;;
14993 * )
14994 break;;
14995 esac
14996 done
14997 test "$ac_cv_exeext" = no && ac_cv_exeext=
14998
14999 else
15000 ac_file=''
15001 fi
15002
15003 { echo "$as_me:$LINENO: result: $ac_file" >&5
15004 echo "${ECHO_T}$ac_file" >&6; }
15005 if test -z "$ac_file"; then
15006 echo "$as_me: failed program was:" >&5
15007 sed 's/^/| /' conftest.$ac_ext >&5
15008
15009 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
15010 See \`config.log' for more details." >&5
15011 echo "$as_me: error: C compiler cannot create executables
15012 See \`config.log' for more details." >&2;}
15013 { (exit 77); exit 77; }; }
15014 fi
15015
15016 ac_exeext=$ac_cv_exeext
15017
15018 # Check that the compiler produces executables we can run. If not, either
15019 # the compiler is broken, or we cross compile.
15020 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
15021 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
15022 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
15023 # If not cross compiling, check that we can run a simple program.
15024 if test "$cross_compiling" != yes; then
15025 if { ac_try='./$ac_file'
15026 { (case "(($ac_try" in
15027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15028 *) ac_try_echo=$ac_try;;
15029 esac
15030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15031 (eval "$ac_try") 2>&5
15032 ac_status=$?
15033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15034 (exit $ac_status); }; }; then
15035 cross_compiling=no
15036 else
15037 if test "$cross_compiling" = maybe; then
15038 cross_compiling=yes
15039 else
15040 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
15041 If you meant to cross compile, use \`--host'.
15042 See \`config.log' for more details." >&5
15043 echo "$as_me: error: cannot run C compiled programs.
15044 If you meant to cross compile, use \`--host'.
15045 See \`config.log' for more details." >&2;}
15046 { (exit 1); exit 1; }; }
15047 fi
15048 fi
15049 fi
15050 { echo "$as_me:$LINENO: result: yes" >&5
15051 echo "${ECHO_T}yes" >&6; }
15052
15053 rm -f a.out a.exe conftest$ac_cv_exeext b.out
15054 ac_clean_files=$ac_clean_files_save
15055 # Check that the compiler produces executables we can run. If not, either
15056 # the compiler is broken, or we cross compile.
15057 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
15058 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
15059 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
15060 echo "${ECHO_T}$cross_compiling" >&6; }
15061
15062 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
15063 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
15064 if { (ac_try="$ac_link"
15065 case "(($ac_try" in
15066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15067 *) ac_try_echo=$ac_try;;
15068 esac
15069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15070 (eval "$ac_link") 2>&5
15071 ac_status=$?
15072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15073 (exit $ac_status); }; then
15074 # If both `conftest.exe' and `conftest' are `present' (well, observable)
15075 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
15076 # work properly (i.e., refer to `conftest.exe'), while it won't with
15077 # `rm'.
15078 for ac_file in conftest.exe conftest conftest.*; do
15079 test -f "$ac_file" || continue
15080 case $ac_file in
15081 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
15082 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
15083 break;;
15084 * ) break;;
15085 esac
15086 done
15087 else
15088 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
15089 See \`config.log' for more details." >&5
15090 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
15091 See \`config.log' for more details." >&2;}
15092 { (exit 1); exit 1; }; }
15093 fi
15094
15095 rm -f conftest$ac_cv_exeext
15096 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
15097 echo "${ECHO_T}$ac_cv_exeext" >&6; }
15098
15099 rm -f conftest.$ac_ext
15100 EXEEXT=$ac_cv_exeext
15101 ac_exeext=$EXEEXT
15102 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
15103 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
15104 if test "${ac_cv_objext+set}" = set; then
15105 echo $ECHO_N "(cached) $ECHO_C" >&6
15106 else
15107 cat >conftest.$ac_ext <<_ACEOF
15108 /* confdefs.h. */
15109 _ACEOF
15110 cat confdefs.h >>conftest.$ac_ext
15111 cat >>conftest.$ac_ext <<_ACEOF
15112 /* end confdefs.h. */
15113
15114 int
15115 main ()
15116 {
15117
15118 ;
15119 return 0;
15120 }
15121 _ACEOF
15122 rm -f conftest.o conftest.obj
15123 if { (ac_try="$ac_compile"
15124 case "(($ac_try" in
15125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15126 *) ac_try_echo=$ac_try;;
15127 esac
15128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15129 (eval "$ac_compile") 2>&5
15130 ac_status=$?
15131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15132 (exit $ac_status); }; then
15133 for ac_file in conftest.o conftest.obj conftest.*; do
15134 test -f "$ac_file" || continue;
15135 case $ac_file in
15136 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
15137 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
15138 break;;
15139 esac
15140 done
15141 else
15142 echo "$as_me: failed program was:" >&5
15143 sed 's/^/| /' conftest.$ac_ext >&5
15144
15145 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
15146 See \`config.log' for more details." >&5
15147 echo "$as_me: error: cannot compute suffix of object files: cannot compile
15148 See \`config.log' for more details." >&2;}
15149 { (exit 1); exit 1; }; }
15150 fi
15151
15152 rm -f conftest.$ac_cv_objext conftest.$ac_ext
15153 fi
15154 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
15155 echo "${ECHO_T}$ac_cv_objext" >&6; }
15156 OBJEXT=$ac_cv_objext
15157 ac_objext=$OBJEXT
15158 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
15159 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
15160 if test "${ac_cv_c_compiler_gnu+set}" = set; then
15161 echo $ECHO_N "(cached) $ECHO_C" >&6
15162 else
15163 cat >conftest.$ac_ext <<_ACEOF
15164 /* confdefs.h. */
15165 _ACEOF
15166 cat confdefs.h >>conftest.$ac_ext
15167 cat >>conftest.$ac_ext <<_ACEOF
15168 /* end confdefs.h. */
15169
15170 int
15171 main ()
15172 {
15173 #ifndef __GNUC__
15174 choke me
15175 #endif
15176
15177 ;
15178 return 0;
15179 }
15180 _ACEOF
15181 rm -f conftest.$ac_objext
15182 if { (ac_try="$ac_compile"
15183 case "(($ac_try" in
15184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15185 *) ac_try_echo=$ac_try;;
15186 esac
15187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15188 (eval "$ac_compile") 2>conftest.er1
15189 ac_status=$?
15190 grep -v '^ *+' conftest.er1 >conftest.err
15191 rm -f conftest.er1
15192 cat conftest.err >&5
15193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15194 (exit $ac_status); } && {
15195 test -z "$ac_c_werror_flag" ||
15196 test ! -s conftest.err
15197 } && test -s conftest.$ac_objext; then
15198 ac_compiler_gnu=yes
15199 else
15200 echo "$as_me: failed program was:" >&5
15201 sed 's/^/| /' conftest.$ac_ext >&5
15202
15203 ac_compiler_gnu=no
15204 fi
15205
15206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15207 ac_cv_c_compiler_gnu=$ac_compiler_gnu
15208
15209 fi
15210 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
15211 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
15212 GCC=`test $ac_compiler_gnu = yes && echo yes`
15213 ac_test_CFLAGS=${CFLAGS+set}
15214 ac_save_CFLAGS=$CFLAGS
15215 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15216 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15217 if test "${ac_cv_prog_cc_g+set}" = set; then
15218 echo $ECHO_N "(cached) $ECHO_C" >&6
15219 else
15220 ac_save_c_werror_flag=$ac_c_werror_flag
15221 ac_c_werror_flag=yes
15222 ac_cv_prog_cc_g=no
15223 CFLAGS="-g"
15224 cat >conftest.$ac_ext <<_ACEOF
15225 /* confdefs.h. */
15226 _ACEOF
15227 cat confdefs.h >>conftest.$ac_ext
15228 cat >>conftest.$ac_ext <<_ACEOF
15229 /* end confdefs.h. */
15230
15231 int
15232 main ()
15233 {
15234
15235 ;
15236 return 0;
15237 }
15238 _ACEOF
15239 rm -f conftest.$ac_objext
15240 if { (ac_try="$ac_compile"
15241 case "(($ac_try" in
15242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15243 *) ac_try_echo=$ac_try;;
15244 esac
15245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15246 (eval "$ac_compile") 2>conftest.er1
15247 ac_status=$?
15248 grep -v '^ *+' conftest.er1 >conftest.err
15249 rm -f conftest.er1
15250 cat conftest.err >&5
15251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15252 (exit $ac_status); } && {
15253 test -z "$ac_c_werror_flag" ||
15254 test ! -s conftest.err
15255 } && test -s conftest.$ac_objext; then
15256 ac_cv_prog_cc_g=yes
15257 else
15258 echo "$as_me: failed program was:" >&5
15259 sed 's/^/| /' conftest.$ac_ext >&5
15260
15261 CFLAGS=""
15262 cat >conftest.$ac_ext <<_ACEOF
15263 /* confdefs.h. */
15264 _ACEOF
15265 cat confdefs.h >>conftest.$ac_ext
15266 cat >>conftest.$ac_ext <<_ACEOF
15267 /* end confdefs.h. */
15268
15269 int
15270 main ()
15271 {
15272
15273 ;
15274 return 0;
15275 }
15276 _ACEOF
15277 rm -f conftest.$ac_objext
15278 if { (ac_try="$ac_compile"
15279 case "(($ac_try" in
15280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15281 *) ac_try_echo=$ac_try;;
15282 esac
15283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15284 (eval "$ac_compile") 2>conftest.er1
15285 ac_status=$?
15286 grep -v '^ *+' conftest.er1 >conftest.err
15287 rm -f conftest.er1
15288 cat conftest.err >&5
15289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15290 (exit $ac_status); } && {
15291 test -z "$ac_c_werror_flag" ||
15292 test ! -s conftest.err
15293 } && test -s conftest.$ac_objext; then
15294 :
15295 else
15296 echo "$as_me: failed program was:" >&5
15297 sed 's/^/| /' conftest.$ac_ext >&5
15298
15299 ac_c_werror_flag=$ac_save_c_werror_flag
15300 CFLAGS="-g"
15301 cat >conftest.$ac_ext <<_ACEOF
15302 /* confdefs.h. */
15303 _ACEOF
15304 cat confdefs.h >>conftest.$ac_ext
15305 cat >>conftest.$ac_ext <<_ACEOF
15306 /* end confdefs.h. */
15307
15308 int
15309 main ()
15310 {
15311
15312 ;
15313 return 0;
15314 }
15315 _ACEOF
15316 rm -f conftest.$ac_objext
15317 if { (ac_try="$ac_compile"
15318 case "(($ac_try" in
15319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15320 *) ac_try_echo=$ac_try;;
15321 esac
15322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15323 (eval "$ac_compile") 2>conftest.er1
15324 ac_status=$?
15325 grep -v '^ *+' conftest.er1 >conftest.err
15326 rm -f conftest.er1
15327 cat conftest.err >&5
15328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15329 (exit $ac_status); } && {
15330 test -z "$ac_c_werror_flag" ||
15331 test ! -s conftest.err
15332 } && test -s conftest.$ac_objext; then
15333 ac_cv_prog_cc_g=yes
15334 else
15335 echo "$as_me: failed program was:" >&5
15336 sed 's/^/| /' conftest.$ac_ext >&5
15337
15338
15339 fi
15340
15341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15342 fi
15343
15344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15345 fi
15346
15347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15348 ac_c_werror_flag=$ac_save_c_werror_flag
15349 fi
15350 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15351 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15352 if test "$ac_test_CFLAGS" = set; then
15353 CFLAGS=$ac_save_CFLAGS
15354 elif test $ac_cv_prog_cc_g = yes; then
15355 if test "$GCC" = yes; then
15356 CFLAGS="-g -O2"
15357 else
15358 CFLAGS="-g"
15359 fi
15360 else
15361 if test "$GCC" = yes; then
15362 CFLAGS="-O2"
15363 else
15364 CFLAGS=
15365 fi
15366 fi
15367 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
15368 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
15369 if test "${ac_cv_prog_cc_c89+set}" = set; then
15370 echo $ECHO_N "(cached) $ECHO_C" >&6
15371 else
15372 ac_cv_prog_cc_c89=no
15373 ac_save_CC=$CC
15374 cat >conftest.$ac_ext <<_ACEOF
15375 /* confdefs.h. */
15376 _ACEOF
15377 cat confdefs.h >>conftest.$ac_ext
15378 cat >>conftest.$ac_ext <<_ACEOF
15379 /* end confdefs.h. */
15380 #include <stdarg.h>
15381 #include <stdio.h>
15382 #include <sys/types.h>
15383 #include <sys/stat.h>
15384 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15385 struct buf { int x; };
15386 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15387 static char *e (p, i)
15388 char **p;
15389 int i;
15390 {
15391 return p[i];
15392 }
15393 static char *f (char * (*g) (char **, int), char **p, ...)
15394 {
15395 char *s;
15396 va_list v;
15397 va_start (v,p);
15398 s = g (p, va_arg (v,int));
15399 va_end (v);
15400 return s;
15401 }
15402
15403 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15404 function prototypes and stuff, but not '\xHH' hex character constants.
15405 These don't provoke an error unfortunately, instead are silently treated
15406 as 'x'. The following induces an error, until -std is added to get
15407 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
15408 array size at least. It's necessary to write '\x00'==0 to get something
15409 that's true only with -std. */
15410 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15411
15412 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
15413 inside strings and character constants. */
15414 #define FOO(x) 'x'
15415 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
15416
15417 int test (int i, double x);
15418 struct s1 {int (*f) (int a);};
15419 struct s2 {int (*f) (double a);};
15420 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15421 int argc;
15422 char **argv;
15423 int
15424 main ()
15425 {
15426 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
15427 ;
15428 return 0;
15429 }
15430 _ACEOF
15431 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
15432 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15433 do
15434 CC="$ac_save_CC $ac_arg"
15435 rm -f conftest.$ac_objext
15436 if { (ac_try="$ac_compile"
15437 case "(($ac_try" in
15438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15439 *) ac_try_echo=$ac_try;;
15440 esac
15441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15442 (eval "$ac_compile") 2>conftest.er1
15443 ac_status=$?
15444 grep -v '^ *+' conftest.er1 >conftest.err
15445 rm -f conftest.er1
15446 cat conftest.err >&5
15447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15448 (exit $ac_status); } && {
15449 test -z "$ac_c_werror_flag" ||
15450 test ! -s conftest.err
15451 } && test -s conftest.$ac_objext; then
15452 ac_cv_prog_cc_c89=$ac_arg
15453 else
15454 echo "$as_me: failed program was:" >&5
15455 sed 's/^/| /' conftest.$ac_ext >&5
15456
15457
15458 fi
15459
15460 rm -f core conftest.err conftest.$ac_objext
15461 test "x$ac_cv_prog_cc_c89" != "xno" && break
15462 done
15463 rm -f conftest.$ac_ext
15464 CC=$ac_save_CC
15465
15466 fi
15467 # AC_CACHE_VAL
15468 case "x$ac_cv_prog_cc_c89" in
15469 x)
15470 { echo "$as_me:$LINENO: result: none needed" >&5
15471 echo "${ECHO_T}none needed" >&6; } ;;
15472 xno)
15473 { echo "$as_me:$LINENO: result: unsupported" >&5
15474 echo "${ECHO_T}unsupported" >&6; } ;;
15475 *)
15476 CC="$CC $ac_cv_prog_cc_c89"
15477 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
15478 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
15479 esac
15480
15481
15482 ac_ext=c
15483 ac_cpp='$CPP $CPPFLAGS'
15484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15487
15488
15489
15490
15491
15492
15493
15494
15495 ac_ext=c
15496 ac_cpp='$CPP $CPPFLAGS'
15497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15500
15501 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
15502 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
15503 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15504 echo $ECHO_N "(cached) $ECHO_C" >&6
15505 else
15506 cat >conftest.$ac_ext <<_ACEOF
15507 /* confdefs.h. */
15508 _ACEOF
15509 cat confdefs.h >>conftest.$ac_ext
15510 cat >>conftest.$ac_ext <<_ACEOF
15511 /* end confdefs.h. */
15512
15513 int
15514 main ()
15515 {
15516
15517 #ifndef __INTEL_COMPILER
15518 choke me
15519 #endif
15520
15521 ;
15522 return 0;
15523 }
15524 _ACEOF
15525 rm -f conftest.$ac_objext
15526 if { (ac_try="$ac_compile"
15527 case "(($ac_try" in
15528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15529 *) ac_try_echo=$ac_try;;
15530 esac
15531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15532 (eval "$ac_compile") 2>conftest.er1
15533 ac_status=$?
15534 grep -v '^ *+' conftest.er1 >conftest.err
15535 rm -f conftest.er1
15536 cat conftest.err >&5
15537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15538 (exit $ac_status); } && {
15539 test -z "$ac_c_werror_flag" ||
15540 test ! -s conftest.err
15541 } && test -s conftest.$ac_objext; then
15542 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15543 else
15544 echo "$as_me: failed program was:" >&5
15545 sed 's/^/| /' conftest.$ac_ext >&5
15546
15547 bakefile_cv_c_compiler___INTEL_COMPILER=no
15548
15549 fi
15550
15551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15552
15553
15554 fi
15555 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15556 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15557 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15558 :; INTELCC=yes
15559 else
15560 :;
15561 fi
15562 ac_ext=c
15563 ac_cpp='$CPP $CPPFLAGS'
15564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15567
15568
15569
15570
15571 if test "$INTELCC" = "yes"; then
15572
15573
15574 ac_ext=c
15575 ac_cpp='$CPP $CPPFLAGS'
15576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15579
15580 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later" >&5
15581 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later... $ECHO_C" >&6; }
15582 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15583 echo $ECHO_N "(cached) $ECHO_C" >&6
15584 else
15585 cat >conftest.$ac_ext <<_ACEOF
15586 /* confdefs.h. */
15587 _ACEOF
15588 cat confdefs.h >>conftest.$ac_ext
15589 cat >>conftest.$ac_ext <<_ACEOF
15590 /* end confdefs.h. */
15591
15592 int
15593 main ()
15594 {
15595
15596 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15597 choke me
15598 #endif
15599
15600 ;
15601 return 0;
15602 }
15603 _ACEOF
15604 rm -f conftest.$ac_objext
15605 if { (ac_try="$ac_compile"
15606 case "(($ac_try" in
15607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15608 *) ac_try_echo=$ac_try;;
15609 esac
15610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15611 (eval "$ac_compile") 2>conftest.er1
15612 ac_status=$?
15613 grep -v '^ *+' conftest.er1 >conftest.err
15614 rm -f conftest.er1
15615 cat conftest.err >&5
15616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15617 (exit $ac_status); } && {
15618 test -z "$ac_c_werror_flag" ||
15619 test ! -s conftest.err
15620 } && test -s conftest.$ac_objext; then
15621 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15622 else
15623 echo "$as_me: failed program was:" >&5
15624 sed 's/^/| /' conftest.$ac_ext >&5
15625
15626 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15627
15628 fi
15629
15630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15631
15632
15633 fi
15634 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15635 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15636 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
15637 :; INTELCC8=yes
15638 else
15639 :;
15640 fi
15641 ac_ext=c
15642 ac_cpp='$CPP $CPPFLAGS'
15643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15646
15647
15648
15649
15650
15651 ac_ext=c
15652 ac_cpp='$CPP $CPPFLAGS'
15653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15656
15657 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later" >&5
15658 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later... $ECHO_C" >&6; }
15659 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15660 echo $ECHO_N "(cached) $ECHO_C" >&6
15661 else
15662 cat >conftest.$ac_ext <<_ACEOF
15663 /* confdefs.h. */
15664 _ACEOF
15665 cat confdefs.h >>conftest.$ac_ext
15666 cat >>conftest.$ac_ext <<_ACEOF
15667 /* end confdefs.h. */
15668
15669 int
15670 main ()
15671 {
15672
15673 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15674 choke me
15675 #endif
15676
15677 ;
15678 return 0;
15679 }
15680 _ACEOF
15681 rm -f conftest.$ac_objext
15682 if { (ac_try="$ac_compile"
15683 case "(($ac_try" in
15684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15685 *) ac_try_echo=$ac_try;;
15686 esac
15687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15688 (eval "$ac_compile") 2>conftest.er1
15689 ac_status=$?
15690 grep -v '^ *+' conftest.er1 >conftest.err
15691 rm -f conftest.er1
15692 cat conftest.err >&5
15693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15694 (exit $ac_status); } && {
15695 test -z "$ac_c_werror_flag" ||
15696 test ! -s conftest.err
15697 } && test -s conftest.$ac_objext; then
15698 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15699 else
15700 echo "$as_me: failed program was:" >&5
15701 sed 's/^/| /' conftest.$ac_ext >&5
15702
15703 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15704
15705 fi
15706
15707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15708
15709
15710 fi
15711 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15712 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15713 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
15714 :; INTELCC10=yes
15715 else
15716 :;
15717 fi
15718 ac_ext=c
15719 ac_cpp='$CPP $CPPFLAGS'
15720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15723
15724
15725
15726 fi
15727
15728 if test "x$GCC" != "xyes"; then
15729 if test "xCC" = "xC"; then
15730 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15731 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15732 if test "${bakefile_cv_c_exto+set}" = set; then
15733 echo $ECHO_N "(cached) $ECHO_C" >&6
15734 else
15735 cat >conftest.$ac_ext <<_ACEOF
15736 /* confdefs.h. */
15737 _ACEOF
15738 cat confdefs.h >>conftest.$ac_ext
15739 cat >>conftest.$ac_ext <<_ACEOF
15740 /* end confdefs.h. */
15741
15742 int
15743 main ()
15744 {
15745
15746 ;
15747 return 0;
15748 }
15749 _ACEOF
15750 rm -f conftest.$ac_objext conftest.$ac_ext.o
15751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15752 (eval $ac_compile) 2>&5
15753 ac_status=$?
15754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15755 (exit $ac_status); }; then
15756 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15757 case $ac_file in
15758 conftest.$ac_ext.o)
15759 bakefile_cv_c_exto="-ext o"
15760 ;;
15761 *)
15762 ;;
15763 esac
15764 done
15765 else
15766 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15767 See \`config.log' for more details." >&5
15768 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15769 See \`config.log' for more details." >&2;}
15770 { (exit 1); exit 1; }; }
15771
15772 fi
15773
15774 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15775
15776 fi
15777 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15778 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15779 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15780 if test "c" = "c"; then
15781 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15782 fi
15783 if test "c" = "cxx"; then
15784 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15785 fi
15786 fi
15787
15788 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15789 unset ac_cv_prog_cc_g
15790 ac_test_CFLAGS=${CFLAGS+set}
15791 ac_save_CFLAGS=$CFLAGS
15792 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15793 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15794 if test "${ac_cv_prog_cc_g+set}" = set; then
15795 echo $ECHO_N "(cached) $ECHO_C" >&6
15796 else
15797 ac_save_c_werror_flag=$ac_c_werror_flag
15798 ac_c_werror_flag=yes
15799 ac_cv_prog_cc_g=no
15800 CFLAGS="-g"
15801 cat >conftest.$ac_ext <<_ACEOF
15802 /* confdefs.h. */
15803 _ACEOF
15804 cat confdefs.h >>conftest.$ac_ext
15805 cat >>conftest.$ac_ext <<_ACEOF
15806 /* end confdefs.h. */
15807
15808 int
15809 main ()
15810 {
15811
15812 ;
15813 return 0;
15814 }
15815 _ACEOF
15816 rm -f conftest.$ac_objext
15817 if { (ac_try="$ac_compile"
15818 case "(($ac_try" in
15819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15820 *) ac_try_echo=$ac_try;;
15821 esac
15822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15823 (eval "$ac_compile") 2>conftest.er1
15824 ac_status=$?
15825 grep -v '^ *+' conftest.er1 >conftest.err
15826 rm -f conftest.er1
15827 cat conftest.err >&5
15828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15829 (exit $ac_status); } && {
15830 test -z "$ac_c_werror_flag" ||
15831 test ! -s conftest.err
15832 } && test -s conftest.$ac_objext; then
15833 ac_cv_prog_cc_g=yes
15834 else
15835 echo "$as_me: failed program was:" >&5
15836 sed 's/^/| /' conftest.$ac_ext >&5
15837
15838 CFLAGS=""
15839 cat >conftest.$ac_ext <<_ACEOF
15840 /* confdefs.h. */
15841 _ACEOF
15842 cat confdefs.h >>conftest.$ac_ext
15843 cat >>conftest.$ac_ext <<_ACEOF
15844 /* end confdefs.h. */
15845
15846 int
15847 main ()
15848 {
15849
15850 ;
15851 return 0;
15852 }
15853 _ACEOF
15854 rm -f conftest.$ac_objext
15855 if { (ac_try="$ac_compile"
15856 case "(($ac_try" in
15857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15858 *) ac_try_echo=$ac_try;;
15859 esac
15860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15861 (eval "$ac_compile") 2>conftest.er1
15862 ac_status=$?
15863 grep -v '^ *+' conftest.er1 >conftest.err
15864 rm -f conftest.er1
15865 cat conftest.err >&5
15866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15867 (exit $ac_status); } && {
15868 test -z "$ac_c_werror_flag" ||
15869 test ! -s conftest.err
15870 } && test -s conftest.$ac_objext; then
15871 :
15872 else
15873 echo "$as_me: failed program was:" >&5
15874 sed 's/^/| /' conftest.$ac_ext >&5
15875
15876 ac_c_werror_flag=$ac_save_c_werror_flag
15877 CFLAGS="-g"
15878 cat >conftest.$ac_ext <<_ACEOF
15879 /* confdefs.h. */
15880 _ACEOF
15881 cat confdefs.h >>conftest.$ac_ext
15882 cat >>conftest.$ac_ext <<_ACEOF
15883 /* end confdefs.h. */
15884
15885 int
15886 main ()
15887 {
15888
15889 ;
15890 return 0;
15891 }
15892 _ACEOF
15893 rm -f conftest.$ac_objext
15894 if { (ac_try="$ac_compile"
15895 case "(($ac_try" in
15896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15897 *) ac_try_echo=$ac_try;;
15898 esac
15899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15900 (eval "$ac_compile") 2>conftest.er1
15901 ac_status=$?
15902 grep -v '^ *+' conftest.er1 >conftest.err
15903 rm -f conftest.er1
15904 cat conftest.err >&5
15905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15906 (exit $ac_status); } && {
15907 test -z "$ac_c_werror_flag" ||
15908 test ! -s conftest.err
15909 } && test -s conftest.$ac_objext; then
15910 ac_cv_prog_cc_g=yes
15911 else
15912 echo "$as_me: failed program was:" >&5
15913 sed 's/^/| /' conftest.$ac_ext >&5
15914
15915
15916 fi
15917
15918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15919 fi
15920
15921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15922 fi
15923
15924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15925 ac_c_werror_flag=$ac_save_c_werror_flag
15926 fi
15927 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15928 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15929 if test "$ac_test_CFLAGS" = set; then
15930 CFLAGS=$ac_save_CFLAGS
15931 elif test $ac_cv_prog_cc_g = yes; then
15932 if test "$GCC" = yes; then
15933 CFLAGS="-g -O2"
15934 else
15935 CFLAGS="-g"
15936 fi
15937 else
15938 if test "$GCC" = yes; then
15939 CFLAGS="-O2"
15940 else
15941 CFLAGS=
15942 fi
15943 fi
15944 fi
15945 fi
15946
15947 case `uname -s` in
15948 AIX*)
15949
15950
15951 ac_ext=c
15952 ac_cpp='$CPP $CPPFLAGS'
15953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15956
15957 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15958 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15959 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15960 echo $ECHO_N "(cached) $ECHO_C" >&6
15961 else
15962 cat >conftest.$ac_ext <<_ACEOF
15963 /* confdefs.h. */
15964 _ACEOF
15965 cat confdefs.h >>conftest.$ac_ext
15966 cat >>conftest.$ac_ext <<_ACEOF
15967 /* end confdefs.h. */
15968
15969 int
15970 main ()
15971 {
15972
15973 #ifndef __xlC__
15974 choke me
15975 #endif
15976
15977 ;
15978 return 0;
15979 }
15980 _ACEOF
15981 rm -f conftest.$ac_objext
15982 if { (ac_try="$ac_compile"
15983 case "(($ac_try" in
15984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15985 *) ac_try_echo=$ac_try;;
15986 esac
15987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15988 (eval "$ac_compile") 2>conftest.er1
15989 ac_status=$?
15990 grep -v '^ *+' conftest.er1 >conftest.err
15991 rm -f conftest.er1
15992 cat conftest.err >&5
15993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15994 (exit $ac_status); } && {
15995 test -z "$ac_c_werror_flag" ||
15996 test ! -s conftest.err
15997 } && test -s conftest.$ac_objext; then
15998 bakefile_cv_c_compiler___xlC__=yes
15999 else
16000 echo "$as_me: failed program was:" >&5
16001 sed 's/^/| /' conftest.$ac_ext >&5
16002
16003 bakefile_cv_c_compiler___xlC__=no
16004
16005 fi
16006
16007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16008
16009
16010 fi
16011 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16012 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16013 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16014 :; XLCC=yes
16015 else
16016 :;
16017 fi
16018 ac_ext=c
16019 ac_cpp='$CPP $CPPFLAGS'
16020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16023
16024
16025
16026 ;;
16027
16028 Darwin)
16029
16030
16031 ac_ext=c
16032 ac_cpp='$CPP $CPPFLAGS'
16033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16036
16037 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
16038 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
16039 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
16040 echo $ECHO_N "(cached) $ECHO_C" >&6
16041 else
16042 cat >conftest.$ac_ext <<_ACEOF
16043 /* confdefs.h. */
16044 _ACEOF
16045 cat confdefs.h >>conftest.$ac_ext
16046 cat >>conftest.$ac_ext <<_ACEOF
16047 /* end confdefs.h. */
16048
16049 int
16050 main ()
16051 {
16052
16053 #ifndef __MWERKS__
16054 choke me
16055 #endif
16056
16057 ;
16058 return 0;
16059 }
16060 _ACEOF
16061 rm -f conftest.$ac_objext
16062 if { (ac_try="$ac_compile"
16063 case "(($ac_try" in
16064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16065 *) ac_try_echo=$ac_try;;
16066 esac
16067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16068 (eval "$ac_compile") 2>conftest.er1
16069 ac_status=$?
16070 grep -v '^ *+' conftest.er1 >conftest.err
16071 rm -f conftest.er1
16072 cat conftest.err >&5
16073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16074 (exit $ac_status); } && {
16075 test -z "$ac_c_werror_flag" ||
16076 test ! -s conftest.err
16077 } && test -s conftest.$ac_objext; then
16078 bakefile_cv_c_compiler___MWERKS__=yes
16079 else
16080 echo "$as_me: failed program was:" >&5
16081 sed 's/^/| /' conftest.$ac_ext >&5
16082
16083 bakefile_cv_c_compiler___MWERKS__=no
16084
16085 fi
16086
16087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16088
16089
16090 fi
16091 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
16092 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
16093 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
16094 :; MWCC=yes
16095 else
16096 :;
16097 fi
16098 ac_ext=c
16099 ac_cpp='$CPP $CPPFLAGS'
16100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16103
16104
16105
16106 if test "$MWCC" != "yes"; then
16107
16108
16109 ac_ext=c
16110 ac_cpp='$CPP $CPPFLAGS'
16111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16114
16115 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16116 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16117 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16118 echo $ECHO_N "(cached) $ECHO_C" >&6
16119 else
16120 cat >conftest.$ac_ext <<_ACEOF
16121 /* confdefs.h. */
16122 _ACEOF
16123 cat confdefs.h >>conftest.$ac_ext
16124 cat >>conftest.$ac_ext <<_ACEOF
16125 /* end confdefs.h. */
16126
16127 int
16128 main ()
16129 {
16130
16131 #ifndef __xlC__
16132 choke me
16133 #endif
16134
16135 ;
16136 return 0;
16137 }
16138 _ACEOF
16139 rm -f conftest.$ac_objext
16140 if { (ac_try="$ac_compile"
16141 case "(($ac_try" in
16142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16143 *) ac_try_echo=$ac_try;;
16144 esac
16145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16146 (eval "$ac_compile") 2>conftest.er1
16147 ac_status=$?
16148 grep -v '^ *+' conftest.er1 >conftest.err
16149 rm -f conftest.er1
16150 cat conftest.err >&5
16151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16152 (exit $ac_status); } && {
16153 test -z "$ac_c_werror_flag" ||
16154 test ! -s conftest.err
16155 } && test -s conftest.$ac_objext; then
16156 bakefile_cv_c_compiler___xlC__=yes
16157 else
16158 echo "$as_me: failed program was:" >&5
16159 sed 's/^/| /' conftest.$ac_ext >&5
16160
16161 bakefile_cv_c_compiler___xlC__=no
16162
16163 fi
16164
16165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16166
16167
16168 fi
16169 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16170 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16171 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16172 :; XLCC=yes
16173 else
16174 :;
16175 fi
16176 ac_ext=c
16177 ac_cpp='$CPP $CPPFLAGS'
16178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16181
16182
16183
16184 fi
16185 ;;
16186
16187 IRIX*)
16188
16189
16190 ac_ext=c
16191 ac_cpp='$CPP $CPPFLAGS'
16192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16195
16196 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
16197 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
16198 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
16199 echo $ECHO_N "(cached) $ECHO_C" >&6
16200 else
16201 cat >conftest.$ac_ext <<_ACEOF
16202 /* confdefs.h. */
16203 _ACEOF
16204 cat confdefs.h >>conftest.$ac_ext
16205 cat >>conftest.$ac_ext <<_ACEOF
16206 /* end confdefs.h. */
16207
16208 int
16209 main ()
16210 {
16211
16212 #ifndef _SGI_COMPILER_VERSION
16213 choke me
16214 #endif
16215
16216 ;
16217 return 0;
16218 }
16219 _ACEOF
16220 rm -f conftest.$ac_objext
16221 if { (ac_try="$ac_compile"
16222 case "(($ac_try" in
16223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16224 *) ac_try_echo=$ac_try;;
16225 esac
16226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16227 (eval "$ac_compile") 2>conftest.er1
16228 ac_status=$?
16229 grep -v '^ *+' conftest.er1 >conftest.err
16230 rm -f conftest.er1
16231 cat conftest.err >&5
16232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16233 (exit $ac_status); } && {
16234 test -z "$ac_c_werror_flag" ||
16235 test ! -s conftest.err
16236 } && test -s conftest.$ac_objext; then
16237 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
16238 else
16239 echo "$as_me: failed program was:" >&5
16240 sed 's/^/| /' conftest.$ac_ext >&5
16241
16242 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
16243
16244 fi
16245
16246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16247
16248
16249 fi
16250 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
16251 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
16252 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16253 :; SGICC=yes
16254 else
16255 :;
16256 fi
16257 ac_ext=c
16258 ac_cpp='$CPP $CPPFLAGS'
16259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16262
16263
16264
16265 ;;
16266
16267 Linux*)
16268 if test "$INTELCC" != "yes"; then
16269
16270
16271 ac_ext=c
16272 ac_cpp='$CPP $CPPFLAGS'
16273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16276
16277 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16278 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16279 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16280 echo $ECHO_N "(cached) $ECHO_C" >&6
16281 else
16282 cat >conftest.$ac_ext <<_ACEOF
16283 /* confdefs.h. */
16284 _ACEOF
16285 cat confdefs.h >>conftest.$ac_ext
16286 cat >>conftest.$ac_ext <<_ACEOF
16287 /* end confdefs.h. */
16288
16289 int
16290 main ()
16291 {
16292
16293 #ifndef __SUNPRO_C
16294 choke me
16295 #endif
16296
16297 ;
16298 return 0;
16299 }
16300 _ACEOF
16301 rm -f conftest.$ac_objext
16302 if { (ac_try="$ac_compile"
16303 case "(($ac_try" in
16304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16305 *) ac_try_echo=$ac_try;;
16306 esac
16307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16308 (eval "$ac_compile") 2>conftest.er1
16309 ac_status=$?
16310 grep -v '^ *+' conftest.er1 >conftest.err
16311 rm -f conftest.er1
16312 cat conftest.err >&5
16313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16314 (exit $ac_status); } && {
16315 test -z "$ac_c_werror_flag" ||
16316 test ! -s conftest.err
16317 } && test -s conftest.$ac_objext; then
16318 bakefile_cv_c_compiler___SUNPRO_C=yes
16319 else
16320 echo "$as_me: failed program was:" >&5
16321 sed 's/^/| /' conftest.$ac_ext >&5
16322
16323 bakefile_cv_c_compiler___SUNPRO_C=no
16324
16325 fi
16326
16327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16328
16329
16330 fi
16331 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16332 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16333 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16334 :; SUNCC=yes
16335 else
16336 :;
16337 fi
16338 ac_ext=c
16339 ac_cpp='$CPP $CPPFLAGS'
16340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16343
16344
16345
16346 fi
16347 ;;
16348
16349 HP-UX*)
16350
16351
16352 ac_ext=c
16353 ac_cpp='$CPP $CPPFLAGS'
16354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16357
16358 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
16359 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
16360 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
16361 echo $ECHO_N "(cached) $ECHO_C" >&6
16362 else
16363 cat >conftest.$ac_ext <<_ACEOF
16364 /* confdefs.h. */
16365 _ACEOF
16366 cat confdefs.h >>conftest.$ac_ext
16367 cat >>conftest.$ac_ext <<_ACEOF
16368 /* end confdefs.h. */
16369
16370 int
16371 main ()
16372 {
16373
16374 #ifndef __HP_cc
16375 choke me
16376 #endif
16377
16378 ;
16379 return 0;
16380 }
16381 _ACEOF
16382 rm -f conftest.$ac_objext
16383 if { (ac_try="$ac_compile"
16384 case "(($ac_try" in
16385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16386 *) ac_try_echo=$ac_try;;
16387 esac
16388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16389 (eval "$ac_compile") 2>conftest.er1
16390 ac_status=$?
16391 grep -v '^ *+' conftest.er1 >conftest.err
16392 rm -f conftest.er1
16393 cat conftest.err >&5
16394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16395 (exit $ac_status); } && {
16396 test -z "$ac_c_werror_flag" ||
16397 test ! -s conftest.err
16398 } && test -s conftest.$ac_objext; then
16399 bakefile_cv_c_compiler___HP_cc=yes
16400 else
16401 echo "$as_me: failed program was:" >&5
16402 sed 's/^/| /' conftest.$ac_ext >&5
16403
16404 bakefile_cv_c_compiler___HP_cc=no
16405
16406 fi
16407
16408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16409
16410
16411 fi
16412 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
16413 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
16414 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
16415 :; HPCC=yes
16416 else
16417 :;
16418 fi
16419 ac_ext=c
16420 ac_cpp='$CPP $CPPFLAGS'
16421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16424
16425
16426
16427 ;;
16428
16429 OSF1)
16430
16431
16432 ac_ext=c
16433 ac_cpp='$CPP $CPPFLAGS'
16434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16437
16438 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
16439 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
16440 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
16441 echo $ECHO_N "(cached) $ECHO_C" >&6
16442 else
16443 cat >conftest.$ac_ext <<_ACEOF
16444 /* confdefs.h. */
16445 _ACEOF
16446 cat confdefs.h >>conftest.$ac_ext
16447 cat >>conftest.$ac_ext <<_ACEOF
16448 /* end confdefs.h. */
16449
16450 int
16451 main ()
16452 {
16453
16454 #ifndef __DECC
16455 choke me
16456 #endif
16457
16458 ;
16459 return 0;
16460 }
16461 _ACEOF
16462 rm -f conftest.$ac_objext
16463 if { (ac_try="$ac_compile"
16464 case "(($ac_try" in
16465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16466 *) ac_try_echo=$ac_try;;
16467 esac
16468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16469 (eval "$ac_compile") 2>conftest.er1
16470 ac_status=$?
16471 grep -v '^ *+' conftest.er1 >conftest.err
16472 rm -f conftest.er1
16473 cat conftest.err >&5
16474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16475 (exit $ac_status); } && {
16476 test -z "$ac_c_werror_flag" ||
16477 test ! -s conftest.err
16478 } && test -s conftest.$ac_objext; then
16479 bakefile_cv_c_compiler___DECC=yes
16480 else
16481 echo "$as_me: failed program was:" >&5
16482 sed 's/^/| /' conftest.$ac_ext >&5
16483
16484 bakefile_cv_c_compiler___DECC=no
16485
16486 fi
16487
16488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16489
16490
16491 fi
16492 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
16493 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
16494 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
16495 :; COMPAQCC=yes
16496 else
16497 :;
16498 fi
16499 ac_ext=c
16500 ac_cpp='$CPP $CPPFLAGS'
16501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16504
16505
16506
16507 ;;
16508
16509 SunOS)
16510
16511
16512 ac_ext=c
16513 ac_cpp='$CPP $CPPFLAGS'
16514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16517
16518 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16519 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16520 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16521 echo $ECHO_N "(cached) $ECHO_C" >&6
16522 else
16523 cat >conftest.$ac_ext <<_ACEOF
16524 /* confdefs.h. */
16525 _ACEOF
16526 cat confdefs.h >>conftest.$ac_ext
16527 cat >>conftest.$ac_ext <<_ACEOF
16528 /* end confdefs.h. */
16529
16530 int
16531 main ()
16532 {
16533
16534 #ifndef __SUNPRO_C
16535 choke me
16536 #endif
16537
16538 ;
16539 return 0;
16540 }
16541 _ACEOF
16542 rm -f conftest.$ac_objext
16543 if { (ac_try="$ac_compile"
16544 case "(($ac_try" in
16545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16546 *) ac_try_echo=$ac_try;;
16547 esac
16548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16549 (eval "$ac_compile") 2>conftest.er1
16550 ac_status=$?
16551 grep -v '^ *+' conftest.er1 >conftest.err
16552 rm -f conftest.er1
16553 cat conftest.err >&5
16554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16555 (exit $ac_status); } && {
16556 test -z "$ac_c_werror_flag" ||
16557 test ! -s conftest.err
16558 } && test -s conftest.$ac_objext; then
16559 bakefile_cv_c_compiler___SUNPRO_C=yes
16560 else
16561 echo "$as_me: failed program was:" >&5
16562 sed 's/^/| /' conftest.$ac_ext >&5
16563
16564 bakefile_cv_c_compiler___SUNPRO_C=no
16565
16566 fi
16567
16568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16569
16570
16571 fi
16572 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16573 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16574 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16575 :; SUNCC=yes
16576 else
16577 :;
16578 fi
16579 ac_ext=c
16580 ac_cpp='$CPP $CPPFLAGS'
16581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16584
16585
16586
16587 ;;
16588 esac
16589 fi
16590
16591
16592
16593 ac_ext=c
16594 ac_cpp='$CPP $CPPFLAGS'
16595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16598 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16599 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16600 # On Suns, sometimes $CPP names a directory.
16601 if test -n "$CPP" && test -d "$CPP"; then
16602 CPP=
16603 fi
16604 if test -z "$CPP"; then
16605 if test "${ac_cv_prog_CPP+set}" = set; then
16606 echo $ECHO_N "(cached) $ECHO_C" >&6
16607 else
16608 # Double quotes because CPP needs to be expanded
16609 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16610 do
16611 ac_preproc_ok=false
16612 for ac_c_preproc_warn_flag in '' yes
16613 do
16614 # Use a header file that comes with gcc, so configuring glibc
16615 # with a fresh cross-compiler works.
16616 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16617 # <limits.h> exists even on freestanding compilers.
16618 # On the NeXT, cc -E runs the code through the compiler's parser,
16619 # not just through cpp. "Syntax error" is here to catch this case.
16620 cat >conftest.$ac_ext <<_ACEOF
16621 /* confdefs.h. */
16622 _ACEOF
16623 cat confdefs.h >>conftest.$ac_ext
16624 cat >>conftest.$ac_ext <<_ACEOF
16625 /* end confdefs.h. */
16626 #ifdef __STDC__
16627 # include <limits.h>
16628 #else
16629 # include <assert.h>
16630 #endif
16631 Syntax error
16632 _ACEOF
16633 if { (ac_try="$ac_cpp conftest.$ac_ext"
16634 case "(($ac_try" in
16635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16636 *) ac_try_echo=$ac_try;;
16637 esac
16638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16639 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16640 ac_status=$?
16641 grep -v '^ *+' conftest.er1 >conftest.err
16642 rm -f conftest.er1
16643 cat conftest.err >&5
16644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16645 (exit $ac_status); } >/dev/null && {
16646 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16647 test ! -s conftest.err
16648 }; then
16649 :
16650 else
16651 echo "$as_me: failed program was:" >&5
16652 sed 's/^/| /' conftest.$ac_ext >&5
16653
16654 # Broken: fails on valid input.
16655 continue
16656 fi
16657
16658 rm -f conftest.err conftest.$ac_ext
16659
16660 # OK, works on sane cases. Now check whether nonexistent headers
16661 # can be detected and how.
16662 cat >conftest.$ac_ext <<_ACEOF
16663 /* confdefs.h. */
16664 _ACEOF
16665 cat confdefs.h >>conftest.$ac_ext
16666 cat >>conftest.$ac_ext <<_ACEOF
16667 /* end confdefs.h. */
16668 #include <ac_nonexistent.h>
16669 _ACEOF
16670 if { (ac_try="$ac_cpp conftest.$ac_ext"
16671 case "(($ac_try" in
16672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16673 *) ac_try_echo=$ac_try;;
16674 esac
16675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16676 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16677 ac_status=$?
16678 grep -v '^ *+' conftest.er1 >conftest.err
16679 rm -f conftest.er1
16680 cat conftest.err >&5
16681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16682 (exit $ac_status); } >/dev/null && {
16683 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16684 test ! -s conftest.err
16685 }; then
16686 # Broken: success on invalid input.
16687 continue
16688 else
16689 echo "$as_me: failed program was:" >&5
16690 sed 's/^/| /' conftest.$ac_ext >&5
16691
16692 # Passes both tests.
16693 ac_preproc_ok=:
16694 break
16695 fi
16696
16697 rm -f conftest.err conftest.$ac_ext
16698
16699 done
16700 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16701 rm -f conftest.err conftest.$ac_ext
16702 if $ac_preproc_ok; then
16703 break
16704 fi
16705
16706 done
16707 ac_cv_prog_CPP=$CPP
16708
16709 fi
16710 CPP=$ac_cv_prog_CPP
16711 else
16712 ac_cv_prog_CPP=$CPP
16713 fi
16714 { echo "$as_me:$LINENO: result: $CPP" >&5
16715 echo "${ECHO_T}$CPP" >&6; }
16716 ac_preproc_ok=false
16717 for ac_c_preproc_warn_flag in '' yes
16718 do
16719 # Use a header file that comes with gcc, so configuring glibc
16720 # with a fresh cross-compiler works.
16721 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16722 # <limits.h> exists even on freestanding compilers.
16723 # On the NeXT, cc -E runs the code through the compiler's parser,
16724 # not just through cpp. "Syntax error" is here to catch this case.
16725 cat >conftest.$ac_ext <<_ACEOF
16726 /* confdefs.h. */
16727 _ACEOF
16728 cat confdefs.h >>conftest.$ac_ext
16729 cat >>conftest.$ac_ext <<_ACEOF
16730 /* end confdefs.h. */
16731 #ifdef __STDC__
16732 # include <limits.h>
16733 #else
16734 # include <assert.h>
16735 #endif
16736 Syntax error
16737 _ACEOF
16738 if { (ac_try="$ac_cpp conftest.$ac_ext"
16739 case "(($ac_try" in
16740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16741 *) ac_try_echo=$ac_try;;
16742 esac
16743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16744 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16745 ac_status=$?
16746 grep -v '^ *+' conftest.er1 >conftest.err
16747 rm -f conftest.er1
16748 cat conftest.err >&5
16749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16750 (exit $ac_status); } >/dev/null && {
16751 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16752 test ! -s conftest.err
16753 }; then
16754 :
16755 else
16756 echo "$as_me: failed program was:" >&5
16757 sed 's/^/| /' conftest.$ac_ext >&5
16758
16759 # Broken: fails on valid input.
16760 continue
16761 fi
16762
16763 rm -f conftest.err conftest.$ac_ext
16764
16765 # OK, works on sane cases. Now check whether nonexistent headers
16766 # can be detected and how.
16767 cat >conftest.$ac_ext <<_ACEOF
16768 /* confdefs.h. */
16769 _ACEOF
16770 cat confdefs.h >>conftest.$ac_ext
16771 cat >>conftest.$ac_ext <<_ACEOF
16772 /* end confdefs.h. */
16773 #include <ac_nonexistent.h>
16774 _ACEOF
16775 if { (ac_try="$ac_cpp conftest.$ac_ext"
16776 case "(($ac_try" in
16777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16778 *) ac_try_echo=$ac_try;;
16779 esac
16780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16781 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16782 ac_status=$?
16783 grep -v '^ *+' conftest.er1 >conftest.err
16784 rm -f conftest.er1
16785 cat conftest.err >&5
16786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16787 (exit $ac_status); } >/dev/null && {
16788 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16789 test ! -s conftest.err
16790 }; then
16791 # Broken: success on invalid input.
16792 continue
16793 else
16794 echo "$as_me: failed program was:" >&5
16795 sed 's/^/| /' conftest.$ac_ext >&5
16796
16797 # Passes both tests.
16798 ac_preproc_ok=:
16799 break
16800 fi
16801
16802 rm -f conftest.err conftest.$ac_ext
16803
16804 done
16805 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16806 rm -f conftest.err conftest.$ac_ext
16807 if $ac_preproc_ok; then
16808 :
16809 else
16810 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16811 See \`config.log' for more details." >&5
16812 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16813 See \`config.log' for more details." >&2;}
16814 { (exit 1); exit 1; }; }
16815 fi
16816
16817 ac_ext=c
16818 ac_cpp='$CPP $CPPFLAGS'
16819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16822
16823
16824 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16825 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16826 if test "${ac_cv_path_GREP+set}" = set; then
16827 echo $ECHO_N "(cached) $ECHO_C" >&6
16828 else
16829 # Extract the first word of "grep ggrep" to use in msg output
16830 if test -z "$GREP"; then
16831 set dummy grep ggrep; ac_prog_name=$2
16832 if test "${ac_cv_path_GREP+set}" = set; then
16833 echo $ECHO_N "(cached) $ECHO_C" >&6
16834 else
16835 ac_path_GREP_found=false
16836 # Loop through the user's path and test for each of PROGNAME-LIST
16837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16838 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16839 do
16840 IFS=$as_save_IFS
16841 test -z "$as_dir" && as_dir=.
16842 for ac_prog in grep ggrep; do
16843 for ac_exec_ext in '' $ac_executable_extensions; do
16844 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
16845 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16846 # Check for GNU ac_path_GREP and select it if it is found.
16847 # Check for GNU $ac_path_GREP
16848 case `"$ac_path_GREP" --version 2>&1` in
16849 *GNU*)
16850 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
16851 *)
16852 ac_count=0
16853 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16854 while :
16855 do
16856 cat "conftest.in" "conftest.in" >"conftest.tmp"
16857 mv "conftest.tmp" "conftest.in"
16858 cp "conftest.in" "conftest.nl"
16859 echo 'GREP' >> "conftest.nl"
16860 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16861 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16862 ac_count=`expr $ac_count + 1`
16863 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16864 # Best one so far, save it but keep looking for a better one
16865 ac_cv_path_GREP="$ac_path_GREP"
16866 ac_path_GREP_max=$ac_count
16867 fi
16868 # 10*(2^10) chars as input seems more than enough
16869 test $ac_count -gt 10 && break
16870 done
16871 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16872 esac
16873
16874
16875 $ac_path_GREP_found && break 3
16876 done
16877 done
16878
16879 done
16880 IFS=$as_save_IFS
16881
16882
16883 fi
16884
16885 GREP="$ac_cv_path_GREP"
16886 if test -z "$GREP"; then
16887 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16888 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16889 { (exit 1); exit 1; }; }
16890 fi
16891
16892 else
16893 ac_cv_path_GREP=$GREP
16894 fi
16895
16896
16897 fi
16898 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16899 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16900 GREP="$ac_cv_path_GREP"
16901
16902
16903 { echo "$as_me:$LINENO: checking for egrep" >&5
16904 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16905 if test "${ac_cv_path_EGREP+set}" = set; then
16906 echo $ECHO_N "(cached) $ECHO_C" >&6
16907 else
16908 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
16909 then ac_cv_path_EGREP="$GREP -E"
16910 else
16911 # Extract the first word of "egrep" to use in msg output
16912 if test -z "$EGREP"; then
16913 set dummy egrep; ac_prog_name=$2
16914 if test "${ac_cv_path_EGREP+set}" = set; then
16915 echo $ECHO_N "(cached) $ECHO_C" >&6
16916 else
16917 ac_path_EGREP_found=false
16918 # Loop through the user's path and test for each of PROGNAME-LIST
16919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16920 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16921 do
16922 IFS=$as_save_IFS
16923 test -z "$as_dir" && as_dir=.
16924 for ac_prog in egrep; do
16925 for ac_exec_ext in '' $ac_executable_extensions; do
16926 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
16927 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16928 # Check for GNU ac_path_EGREP and select it if it is found.
16929 # Check for GNU $ac_path_EGREP
16930 case `"$ac_path_EGREP" --version 2>&1` in
16931 *GNU*)
16932 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
16933 *)
16934 ac_count=0
16935 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16936 while :
16937 do
16938 cat "conftest.in" "conftest.in" >"conftest.tmp"
16939 mv "conftest.tmp" "conftest.in"
16940 cp "conftest.in" "conftest.nl"
16941 echo 'EGREP' >> "conftest.nl"
16942 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16943 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16944 ac_count=`expr $ac_count + 1`
16945 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16946 # Best one so far, save it but keep looking for a better one
16947 ac_cv_path_EGREP="$ac_path_EGREP"
16948 ac_path_EGREP_max=$ac_count
16949 fi
16950 # 10*(2^10) chars as input seems more than enough
16951 test $ac_count -gt 10 && break
16952 done
16953 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16954 esac
16955
16956
16957 $ac_path_EGREP_found && break 3
16958 done
16959 done
16960
16961 done
16962 IFS=$as_save_IFS
16963
16964
16965 fi
16966
16967 EGREP="$ac_cv_path_EGREP"
16968 if test -z "$EGREP"; then
16969 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16970 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16971 { (exit 1); exit 1; }; }
16972 fi
16973
16974 else
16975 ac_cv_path_EGREP=$EGREP
16976 fi
16977
16978
16979 fi
16980 fi
16981 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16982 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16983 EGREP="$ac_cv_path_EGREP"
16984
16985
16986 if test $ac_cv_c_compiler_gnu = yes; then
16987 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16988 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16989 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16990 echo $ECHO_N "(cached) $ECHO_C" >&6
16991 else
16992 ac_pattern="Autoconf.*'x'"
16993 cat >conftest.$ac_ext <<_ACEOF
16994 /* confdefs.h. */
16995 _ACEOF
16996 cat confdefs.h >>conftest.$ac_ext
16997 cat >>conftest.$ac_ext <<_ACEOF
16998 /* end confdefs.h. */
16999 #include <sgtty.h>
17000 Autoconf TIOCGETP
17001 _ACEOF
17002 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17003 $EGREP "$ac_pattern" >/dev/null 2>&1; then
17004 ac_cv_prog_gcc_traditional=yes
17005 else
17006 ac_cv_prog_gcc_traditional=no
17007 fi
17008 rm -f conftest*
17009
17010
17011 if test $ac_cv_prog_gcc_traditional = no; then
17012 cat >conftest.$ac_ext <<_ACEOF
17013 /* confdefs.h. */
17014 _ACEOF
17015 cat confdefs.h >>conftest.$ac_ext
17016 cat >>conftest.$ac_ext <<_ACEOF
17017 /* end confdefs.h. */
17018 #include <termio.h>
17019 Autoconf TCGETA
17020 _ACEOF
17021 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17022 $EGREP "$ac_pattern" >/dev/null 2>&1; then
17023 ac_cv_prog_gcc_traditional=yes
17024 fi
17025 rm -f conftest*
17026
17027 fi
17028 fi
17029 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
17030 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
17031 if test $ac_cv_prog_gcc_traditional = yes; then
17032 CC="$CC -traditional"
17033 fi
17034 fi
17035
17036
17037 CXXFLAGS=${CXXFLAGS:=}
17038 ac_ext=cpp
17039 ac_cpp='$CXXCPP $CPPFLAGS'
17040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17043 if test -z "$CXX"; then
17044 if test -n "$CCC"; then
17045 CXX=$CCC
17046 else
17047 if test -n "$ac_tool_prefix"; then
17048 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17049 do
17050 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17051 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
17052 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17053 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17054 if test "${ac_cv_prog_CXX+set}" = set; then
17055 echo $ECHO_N "(cached) $ECHO_C" >&6
17056 else
17057 if test -n "$CXX"; then
17058 ac_cv_prog_CXX="$CXX" # Let the user override the test.
17059 else
17060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17061 for as_dir in $PATH
17062 do
17063 IFS=$as_save_IFS
17064 test -z "$as_dir" && as_dir=.
17065 for ac_exec_ext in '' $ac_executable_extensions; do
17066 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17067 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
17068 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17069 break 2
17070 fi
17071 done
17072 done
17073 IFS=$as_save_IFS
17074
17075 fi
17076 fi
17077 CXX=$ac_cv_prog_CXX
17078 if test -n "$CXX"; then
17079 { echo "$as_me:$LINENO: result: $CXX" >&5
17080 echo "${ECHO_T}$CXX" >&6; }
17081 else
17082 { echo "$as_me:$LINENO: result: no" >&5
17083 echo "${ECHO_T}no" >&6; }
17084 fi
17085
17086
17087 test -n "$CXX" && break
17088 done
17089 fi
17090 if test -z "$CXX"; then
17091 ac_ct_CXX=$CXX
17092 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17093 do
17094 # Extract the first word of "$ac_prog", so it can be a program name with args.
17095 set dummy $ac_prog; ac_word=$2
17096 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17097 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17098 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
17099 echo $ECHO_N "(cached) $ECHO_C" >&6
17100 else
17101 if test -n "$ac_ct_CXX"; then
17102 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
17103 else
17104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17105 for as_dir in $PATH
17106 do
17107 IFS=$as_save_IFS
17108 test -z "$as_dir" && as_dir=.
17109 for ac_exec_ext in '' $ac_executable_extensions; do
17110 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17111 ac_cv_prog_ac_ct_CXX="$ac_prog"
17112 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17113 break 2
17114 fi
17115 done
17116 done
17117 IFS=$as_save_IFS
17118
17119 fi
17120 fi
17121 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
17122 if test -n "$ac_ct_CXX"; then
17123 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
17124 echo "${ECHO_T}$ac_ct_CXX" >&6; }
17125 else
17126 { echo "$as_me:$LINENO: result: no" >&5
17127 echo "${ECHO_T}no" >&6; }
17128 fi
17129
17130
17131 test -n "$ac_ct_CXX" && break
17132 done
17133
17134 if test "x$ac_ct_CXX" = x; then
17135 CXX="g++"
17136 else
17137 case $cross_compiling:$ac_tool_warned in
17138 yes:)
17139 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17140 whose name does not start with the host triplet. If you think this
17141 configuration is useful to you, please write to autoconf@gnu.org." >&5
17142 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17143 whose name does not start with the host triplet. If you think this
17144 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17145 ac_tool_warned=yes ;;
17146 esac
17147 CXX=$ac_ct_CXX
17148 fi
17149 fi
17150
17151 fi
17152 fi
17153 # Provide some information about the compiler.
17154 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
17155 ac_compiler=`set X $ac_compile; echo $2`
17156 { (ac_try="$ac_compiler --version >&5"
17157 case "(($ac_try" in
17158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17159 *) ac_try_echo=$ac_try;;
17160 esac
17161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17162 (eval "$ac_compiler --version >&5") 2>&5
17163 ac_status=$?
17164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17165 (exit $ac_status); }
17166 { (ac_try="$ac_compiler -v >&5"
17167 case "(($ac_try" in
17168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17169 *) ac_try_echo=$ac_try;;
17170 esac
17171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17172 (eval "$ac_compiler -v >&5") 2>&5
17173 ac_status=$?
17174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17175 (exit $ac_status); }
17176 { (ac_try="$ac_compiler -V >&5"
17177 case "(($ac_try" in
17178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17179 *) ac_try_echo=$ac_try;;
17180 esac
17181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17182 (eval "$ac_compiler -V >&5") 2>&5
17183 ac_status=$?
17184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17185 (exit $ac_status); }
17186
17187 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
17188 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
17189 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
17190 echo $ECHO_N "(cached) $ECHO_C" >&6
17191 else
17192 cat >conftest.$ac_ext <<_ACEOF
17193 /* confdefs.h. */
17194 _ACEOF
17195 cat confdefs.h >>conftest.$ac_ext
17196 cat >>conftest.$ac_ext <<_ACEOF
17197 /* end confdefs.h. */
17198
17199 int
17200 main ()
17201 {
17202 #ifndef __GNUC__
17203 choke me
17204 #endif
17205
17206 ;
17207 return 0;
17208 }
17209 _ACEOF
17210 rm -f conftest.$ac_objext
17211 if { (ac_try="$ac_compile"
17212 case "(($ac_try" in
17213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17214 *) ac_try_echo=$ac_try;;
17215 esac
17216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17217 (eval "$ac_compile") 2>conftest.er1
17218 ac_status=$?
17219 grep -v '^ *+' conftest.er1 >conftest.err
17220 rm -f conftest.er1
17221 cat conftest.err >&5
17222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17223 (exit $ac_status); } && {
17224 test -z "$ac_cxx_werror_flag" ||
17225 test ! -s conftest.err
17226 } && test -s conftest.$ac_objext; then
17227 ac_compiler_gnu=yes
17228 else
17229 echo "$as_me: failed program was:" >&5
17230 sed 's/^/| /' conftest.$ac_ext >&5
17231
17232 ac_compiler_gnu=no
17233 fi
17234
17235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17236 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
17237
17238 fi
17239 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
17240 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
17241 GXX=`test $ac_compiler_gnu = yes && echo yes`
17242 ac_test_CXXFLAGS=${CXXFLAGS+set}
17243 ac_save_CXXFLAGS=$CXXFLAGS
17244 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
17245 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
17246 if test "${ac_cv_prog_cxx_g+set}" = set; then
17247 echo $ECHO_N "(cached) $ECHO_C" >&6
17248 else
17249 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
17250 ac_cxx_werror_flag=yes
17251 ac_cv_prog_cxx_g=no
17252 CXXFLAGS="-g"
17253 cat >conftest.$ac_ext <<_ACEOF
17254 /* confdefs.h. */
17255 _ACEOF
17256 cat confdefs.h >>conftest.$ac_ext
17257 cat >>conftest.$ac_ext <<_ACEOF
17258 /* end confdefs.h. */
17259
17260 int
17261 main ()
17262 {
17263
17264 ;
17265 return 0;
17266 }
17267 _ACEOF
17268 rm -f conftest.$ac_objext
17269 if { (ac_try="$ac_compile"
17270 case "(($ac_try" in
17271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17272 *) ac_try_echo=$ac_try;;
17273 esac
17274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17275 (eval "$ac_compile") 2>conftest.er1
17276 ac_status=$?
17277 grep -v '^ *+' conftest.er1 >conftest.err
17278 rm -f conftest.er1
17279 cat conftest.err >&5
17280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17281 (exit $ac_status); } && {
17282 test -z "$ac_cxx_werror_flag" ||
17283 test ! -s conftest.err
17284 } && test -s conftest.$ac_objext; then
17285 ac_cv_prog_cxx_g=yes
17286 else
17287 echo "$as_me: failed program was:" >&5
17288 sed 's/^/| /' conftest.$ac_ext >&5
17289
17290 CXXFLAGS=""
17291 cat >conftest.$ac_ext <<_ACEOF
17292 /* confdefs.h. */
17293 _ACEOF
17294 cat confdefs.h >>conftest.$ac_ext
17295 cat >>conftest.$ac_ext <<_ACEOF
17296 /* end confdefs.h. */
17297
17298 int
17299 main ()
17300 {
17301
17302 ;
17303 return 0;
17304 }
17305 _ACEOF
17306 rm -f conftest.$ac_objext
17307 if { (ac_try="$ac_compile"
17308 case "(($ac_try" in
17309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17310 *) ac_try_echo=$ac_try;;
17311 esac
17312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17313 (eval "$ac_compile") 2>conftest.er1
17314 ac_status=$?
17315 grep -v '^ *+' conftest.er1 >conftest.err
17316 rm -f conftest.er1
17317 cat conftest.err >&5
17318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17319 (exit $ac_status); } && {
17320 test -z "$ac_cxx_werror_flag" ||
17321 test ! -s conftest.err
17322 } && test -s conftest.$ac_objext; then
17323 :
17324 else
17325 echo "$as_me: failed program was:" >&5
17326 sed 's/^/| /' conftest.$ac_ext >&5
17327
17328 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17329 CXXFLAGS="-g"
17330 cat >conftest.$ac_ext <<_ACEOF
17331 /* confdefs.h. */
17332 _ACEOF
17333 cat confdefs.h >>conftest.$ac_ext
17334 cat >>conftest.$ac_ext <<_ACEOF
17335 /* end confdefs.h. */
17336
17337 int
17338 main ()
17339 {
17340
17341 ;
17342 return 0;
17343 }
17344 _ACEOF
17345 rm -f conftest.$ac_objext
17346 if { (ac_try="$ac_compile"
17347 case "(($ac_try" in
17348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17349 *) ac_try_echo=$ac_try;;
17350 esac
17351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17352 (eval "$ac_compile") 2>conftest.er1
17353 ac_status=$?
17354 grep -v '^ *+' conftest.er1 >conftest.err
17355 rm -f conftest.er1
17356 cat conftest.err >&5
17357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17358 (exit $ac_status); } && {
17359 test -z "$ac_cxx_werror_flag" ||
17360 test ! -s conftest.err
17361 } && test -s conftest.$ac_objext; then
17362 ac_cv_prog_cxx_g=yes
17363 else
17364 echo "$as_me: failed program was:" >&5
17365 sed 's/^/| /' conftest.$ac_ext >&5
17366
17367
17368 fi
17369
17370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17371 fi
17372
17373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17374 fi
17375
17376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17377 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17378 fi
17379 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17380 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
17381 if test "$ac_test_CXXFLAGS" = set; then
17382 CXXFLAGS=$ac_save_CXXFLAGS
17383 elif test $ac_cv_prog_cxx_g = yes; then
17384 if test "$GXX" = yes; then
17385 CXXFLAGS="-g -O2"
17386 else
17387 CXXFLAGS="-g"
17388 fi
17389 else
17390 if test "$GXX" = yes; then
17391 CXXFLAGS="-O2"
17392 else
17393 CXXFLAGS=
17394 fi
17395 fi
17396 ac_ext=c
17397 ac_cpp='$CPP $CPPFLAGS'
17398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17401
17402
17403
17404
17405
17406
17407
17408
17409 ac_ext=cpp
17410 ac_cpp='$CXXCPP $CPPFLAGS'
17411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17414
17415 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
17416 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
17417 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
17418 echo $ECHO_N "(cached) $ECHO_C" >&6
17419 else
17420 cat >conftest.$ac_ext <<_ACEOF
17421 /* confdefs.h. */
17422 _ACEOF
17423 cat confdefs.h >>conftest.$ac_ext
17424 cat >>conftest.$ac_ext <<_ACEOF
17425 /* end confdefs.h. */
17426
17427 int
17428 main ()
17429 {
17430
17431 #ifndef __INTEL_COMPILER
17432 choke me
17433 #endif
17434
17435 ;
17436 return 0;
17437 }
17438 _ACEOF
17439 rm -f conftest.$ac_objext
17440 if { (ac_try="$ac_compile"
17441 case "(($ac_try" in
17442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17443 *) ac_try_echo=$ac_try;;
17444 esac
17445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17446 (eval "$ac_compile") 2>conftest.er1
17447 ac_status=$?
17448 grep -v '^ *+' conftest.er1 >conftest.err
17449 rm -f conftest.er1
17450 cat conftest.err >&5
17451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17452 (exit $ac_status); } && {
17453 test -z "$ac_cxx_werror_flag" ||
17454 test ! -s conftest.err
17455 } && test -s conftest.$ac_objext; then
17456 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
17457 else
17458 echo "$as_me: failed program was:" >&5
17459 sed 's/^/| /' conftest.$ac_ext >&5
17460
17461 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
17462
17463 fi
17464
17465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17466
17467
17468 fi
17469 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
17470 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
17471 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
17472 :; INTELCXX=yes
17473 else
17474 :;
17475 fi
17476 ac_ext=c
17477 ac_cpp='$CPP $CPPFLAGS'
17478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17481
17482
17483
17484
17485 if test "$INTELCXX" = "yes"; then
17486
17487
17488 ac_ext=cpp
17489 ac_cpp='$CXXCPP $CPPFLAGS'
17490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17493
17494 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
17495 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
17496 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
17497 echo $ECHO_N "(cached) $ECHO_C" >&6
17498 else
17499 cat >conftest.$ac_ext <<_ACEOF
17500 /* confdefs.h. */
17501 _ACEOF
17502 cat confdefs.h >>conftest.$ac_ext
17503 cat >>conftest.$ac_ext <<_ACEOF
17504 /* end confdefs.h. */
17505
17506 int
17507 main ()
17508 {
17509
17510 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17511 choke me
17512 #endif
17513
17514 ;
17515 return 0;
17516 }
17517 _ACEOF
17518 rm -f conftest.$ac_objext
17519 if { (ac_try="$ac_compile"
17520 case "(($ac_try" in
17521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17522 *) ac_try_echo=$ac_try;;
17523 esac
17524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17525 (eval "$ac_compile") 2>conftest.er1
17526 ac_status=$?
17527 grep -v '^ *+' conftest.er1 >conftest.err
17528 rm -f conftest.er1
17529 cat conftest.err >&5
17530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17531 (exit $ac_status); } && {
17532 test -z "$ac_cxx_werror_flag" ||
17533 test ! -s conftest.err
17534 } && test -s conftest.$ac_objext; then
17535 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17536 else
17537 echo "$as_me: failed program was:" >&5
17538 sed 's/^/| /' conftest.$ac_ext >&5
17539
17540 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17541
17542 fi
17543
17544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17545
17546
17547 fi
17548 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17549 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17550 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17551 :; INTELCXX8=yes
17552 else
17553 :;
17554 fi
17555 ac_ext=c
17556 ac_cpp='$CPP $CPPFLAGS'
17557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17560
17561
17562
17563
17564
17565 ac_ext=cpp
17566 ac_cpp='$CXXCPP $CPPFLAGS'
17567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17570
17571 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17572 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17573 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17574 echo $ECHO_N "(cached) $ECHO_C" >&6
17575 else
17576 cat >conftest.$ac_ext <<_ACEOF
17577 /* confdefs.h. */
17578 _ACEOF
17579 cat confdefs.h >>conftest.$ac_ext
17580 cat >>conftest.$ac_ext <<_ACEOF
17581 /* end confdefs.h. */
17582
17583 int
17584 main ()
17585 {
17586
17587 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17588 choke me
17589 #endif
17590
17591 ;
17592 return 0;
17593 }
17594 _ACEOF
17595 rm -f conftest.$ac_objext
17596 if { (ac_try="$ac_compile"
17597 case "(($ac_try" in
17598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17599 *) ac_try_echo=$ac_try;;
17600 esac
17601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17602 (eval "$ac_compile") 2>conftest.er1
17603 ac_status=$?
17604 grep -v '^ *+' conftest.er1 >conftest.err
17605 rm -f conftest.er1
17606 cat conftest.err >&5
17607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17608 (exit $ac_status); } && {
17609 test -z "$ac_cxx_werror_flag" ||
17610 test ! -s conftest.err
17611 } && test -s conftest.$ac_objext; then
17612 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
17613 else
17614 echo "$as_me: failed program was:" >&5
17615 sed 's/^/| /' conftest.$ac_ext >&5
17616
17617 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
17618
17619 fi
17620
17621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17622
17623
17624 fi
17625 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17626 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17627 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17628 :; INTELCXX10=yes
17629 else
17630 :;
17631 fi
17632 ac_ext=c
17633 ac_cpp='$CPP $CPPFLAGS'
17634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17637
17638
17639
17640 fi
17641
17642 if test "x$GCXX" != "xyes"; then
17643 if test "xCXX" = "xC"; then
17644 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17645 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17646 if test "${bakefile_cv_c_exto+set}" = set; then
17647 echo $ECHO_N "(cached) $ECHO_C" >&6
17648 else
17649 cat >conftest.$ac_ext <<_ACEOF
17650 /* confdefs.h. */
17651 _ACEOF
17652 cat confdefs.h >>conftest.$ac_ext
17653 cat >>conftest.$ac_ext <<_ACEOF
17654 /* end confdefs.h. */
17655
17656 int
17657 main ()
17658 {
17659
17660 ;
17661 return 0;
17662 }
17663 _ACEOF
17664 rm -f conftest.$ac_objext conftest.$ac_ext.o
17665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17666 (eval $ac_compile) 2>&5
17667 ac_status=$?
17668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17669 (exit $ac_status); }; then
17670 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17671 case $ac_file in
17672 conftest.$ac_ext.o)
17673 bakefile_cv_c_exto="-ext o"
17674 ;;
17675 *)
17676 ;;
17677 esac
17678 done
17679 else
17680 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17681 See \`config.log' for more details." >&5
17682 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17683 See \`config.log' for more details." >&2;}
17684 { (exit 1); exit 1; }; }
17685
17686 fi
17687
17688 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17689
17690 fi
17691 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17692 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17693 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17694 if test "c" = "c"; then
17695 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17696 fi
17697 if test "c" = "cxx"; then
17698 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17699 fi
17700 fi
17701
17702 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17703 unset ac_cv_prog_cc_g
17704 ac_test_CFLAGS=${CFLAGS+set}
17705 ac_save_CFLAGS=$CFLAGS
17706 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17707 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17708 if test "${ac_cv_prog_cc_g+set}" = set; then
17709 echo $ECHO_N "(cached) $ECHO_C" >&6
17710 else
17711 ac_save_c_werror_flag=$ac_c_werror_flag
17712 ac_c_werror_flag=yes
17713 ac_cv_prog_cc_g=no
17714 CFLAGS="-g"
17715 cat >conftest.$ac_ext <<_ACEOF
17716 /* confdefs.h. */
17717 _ACEOF
17718 cat confdefs.h >>conftest.$ac_ext
17719 cat >>conftest.$ac_ext <<_ACEOF
17720 /* end confdefs.h. */
17721
17722 int
17723 main ()
17724 {
17725
17726 ;
17727 return 0;
17728 }
17729 _ACEOF
17730 rm -f conftest.$ac_objext
17731 if { (ac_try="$ac_compile"
17732 case "(($ac_try" in
17733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17734 *) ac_try_echo=$ac_try;;
17735 esac
17736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17737 (eval "$ac_compile") 2>conftest.er1
17738 ac_status=$?
17739 grep -v '^ *+' conftest.er1 >conftest.err
17740 rm -f conftest.er1
17741 cat conftest.err >&5
17742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17743 (exit $ac_status); } && {
17744 test -z "$ac_c_werror_flag" ||
17745 test ! -s conftest.err
17746 } && test -s conftest.$ac_objext; then
17747 ac_cv_prog_cc_g=yes
17748 else
17749 echo "$as_me: failed program was:" >&5
17750 sed 's/^/| /' conftest.$ac_ext >&5
17751
17752 CFLAGS=""
17753 cat >conftest.$ac_ext <<_ACEOF
17754 /* confdefs.h. */
17755 _ACEOF
17756 cat confdefs.h >>conftest.$ac_ext
17757 cat >>conftest.$ac_ext <<_ACEOF
17758 /* end confdefs.h. */
17759
17760 int
17761 main ()
17762 {
17763
17764 ;
17765 return 0;
17766 }
17767 _ACEOF
17768 rm -f conftest.$ac_objext
17769 if { (ac_try="$ac_compile"
17770 case "(($ac_try" in
17771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17772 *) ac_try_echo=$ac_try;;
17773 esac
17774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17775 (eval "$ac_compile") 2>conftest.er1
17776 ac_status=$?
17777 grep -v '^ *+' conftest.er1 >conftest.err
17778 rm -f conftest.er1
17779 cat conftest.err >&5
17780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17781 (exit $ac_status); } && {
17782 test -z "$ac_c_werror_flag" ||
17783 test ! -s conftest.err
17784 } && test -s conftest.$ac_objext; then
17785 :
17786 else
17787 echo "$as_me: failed program was:" >&5
17788 sed 's/^/| /' conftest.$ac_ext >&5
17789
17790 ac_c_werror_flag=$ac_save_c_werror_flag
17791 CFLAGS="-g"
17792 cat >conftest.$ac_ext <<_ACEOF
17793 /* confdefs.h. */
17794 _ACEOF
17795 cat confdefs.h >>conftest.$ac_ext
17796 cat >>conftest.$ac_ext <<_ACEOF
17797 /* end confdefs.h. */
17798
17799 int
17800 main ()
17801 {
17802
17803 ;
17804 return 0;
17805 }
17806 _ACEOF
17807 rm -f conftest.$ac_objext
17808 if { (ac_try="$ac_compile"
17809 case "(($ac_try" in
17810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17811 *) ac_try_echo=$ac_try;;
17812 esac
17813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17814 (eval "$ac_compile") 2>conftest.er1
17815 ac_status=$?
17816 grep -v '^ *+' conftest.er1 >conftest.err
17817 rm -f conftest.er1
17818 cat conftest.err >&5
17819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17820 (exit $ac_status); } && {
17821 test -z "$ac_c_werror_flag" ||
17822 test ! -s conftest.err
17823 } && test -s conftest.$ac_objext; then
17824 ac_cv_prog_cc_g=yes
17825 else
17826 echo "$as_me: failed program was:" >&5
17827 sed 's/^/| /' conftest.$ac_ext >&5
17828
17829
17830 fi
17831
17832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17833 fi
17834
17835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17836 fi
17837
17838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17839 ac_c_werror_flag=$ac_save_c_werror_flag
17840 fi
17841 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17842 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17843 if test "$ac_test_CFLAGS" = set; then
17844 CFLAGS=$ac_save_CFLAGS
17845 elif test $ac_cv_prog_cc_g = yes; then
17846 if test "$GCC" = yes; then
17847 CFLAGS="-g -O2"
17848 else
17849 CFLAGS="-g"
17850 fi
17851 else
17852 if test "$GCC" = yes; then
17853 CFLAGS="-O2"
17854 else
17855 CFLAGS=
17856 fi
17857 fi
17858 fi
17859 fi
17860
17861 case `uname -s` in
17862 AIX*)
17863
17864
17865 ac_ext=cpp
17866 ac_cpp='$CXXCPP $CPPFLAGS'
17867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17870
17871 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17872 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17873 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17874 echo $ECHO_N "(cached) $ECHO_C" >&6
17875 else
17876 cat >conftest.$ac_ext <<_ACEOF
17877 /* confdefs.h. */
17878 _ACEOF
17879 cat confdefs.h >>conftest.$ac_ext
17880 cat >>conftest.$ac_ext <<_ACEOF
17881 /* end confdefs.h. */
17882
17883 int
17884 main ()
17885 {
17886
17887 #ifndef __xlC__
17888 choke me
17889 #endif
17890
17891 ;
17892 return 0;
17893 }
17894 _ACEOF
17895 rm -f conftest.$ac_objext
17896 if { (ac_try="$ac_compile"
17897 case "(($ac_try" in
17898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17899 *) ac_try_echo=$ac_try;;
17900 esac
17901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17902 (eval "$ac_compile") 2>conftest.er1
17903 ac_status=$?
17904 grep -v '^ *+' conftest.er1 >conftest.err
17905 rm -f conftest.er1
17906 cat conftest.err >&5
17907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17908 (exit $ac_status); } && {
17909 test -z "$ac_cxx_werror_flag" ||
17910 test ! -s conftest.err
17911 } && test -s conftest.$ac_objext; then
17912 bakefile_cv_cxx_compiler___xlC__=yes
17913 else
17914 echo "$as_me: failed program was:" >&5
17915 sed 's/^/| /' conftest.$ac_ext >&5
17916
17917 bakefile_cv_cxx_compiler___xlC__=no
17918
17919 fi
17920
17921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17922
17923
17924 fi
17925 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17926 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17927 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17928 :; XLCXX=yes
17929 else
17930 :;
17931 fi
17932 ac_ext=c
17933 ac_cpp='$CPP $CPPFLAGS'
17934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17937
17938
17939
17940 ;;
17941
17942 Darwin)
17943
17944
17945 ac_ext=cpp
17946 ac_cpp='$CXXCPP $CPPFLAGS'
17947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17950
17951 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17952 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17953 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17954 echo $ECHO_N "(cached) $ECHO_C" >&6
17955 else
17956 cat >conftest.$ac_ext <<_ACEOF
17957 /* confdefs.h. */
17958 _ACEOF
17959 cat confdefs.h >>conftest.$ac_ext
17960 cat >>conftest.$ac_ext <<_ACEOF
17961 /* end confdefs.h. */
17962
17963 int
17964 main ()
17965 {
17966
17967 #ifndef __MWERKS__
17968 choke me
17969 #endif
17970
17971 ;
17972 return 0;
17973 }
17974 _ACEOF
17975 rm -f conftest.$ac_objext
17976 if { (ac_try="$ac_compile"
17977 case "(($ac_try" in
17978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17979 *) ac_try_echo=$ac_try;;
17980 esac
17981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17982 (eval "$ac_compile") 2>conftest.er1
17983 ac_status=$?
17984 grep -v '^ *+' conftest.er1 >conftest.err
17985 rm -f conftest.er1
17986 cat conftest.err >&5
17987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17988 (exit $ac_status); } && {
17989 test -z "$ac_cxx_werror_flag" ||
17990 test ! -s conftest.err
17991 } && test -s conftest.$ac_objext; then
17992 bakefile_cv_cxx_compiler___MWERKS__=yes
17993 else
17994 echo "$as_me: failed program was:" >&5
17995 sed 's/^/| /' conftest.$ac_ext >&5
17996
17997 bakefile_cv_cxx_compiler___MWERKS__=no
17998
17999 fi
18000
18001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18002
18003
18004 fi
18005 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18006 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18007 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18008 :; MWCXX=yes
18009 else
18010 :;
18011 fi
18012 ac_ext=c
18013 ac_cpp='$CPP $CPPFLAGS'
18014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18017
18018
18019
18020 if test "$MWCXX" != "yes"; then
18021
18022
18023 ac_ext=cpp
18024 ac_cpp='$CXXCPP $CPPFLAGS'
18025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18028
18029 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18030 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18031 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18032 echo $ECHO_N "(cached) $ECHO_C" >&6
18033 else
18034 cat >conftest.$ac_ext <<_ACEOF
18035 /* confdefs.h. */
18036 _ACEOF
18037 cat confdefs.h >>conftest.$ac_ext
18038 cat >>conftest.$ac_ext <<_ACEOF
18039 /* end confdefs.h. */
18040
18041 int
18042 main ()
18043 {
18044
18045 #ifndef __xlC__
18046 choke me
18047 #endif
18048
18049 ;
18050 return 0;
18051 }
18052 _ACEOF
18053 rm -f conftest.$ac_objext
18054 if { (ac_try="$ac_compile"
18055 case "(($ac_try" in
18056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18057 *) ac_try_echo=$ac_try;;
18058 esac
18059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18060 (eval "$ac_compile") 2>conftest.er1
18061 ac_status=$?
18062 grep -v '^ *+' conftest.er1 >conftest.err
18063 rm -f conftest.er1
18064 cat conftest.err >&5
18065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18066 (exit $ac_status); } && {
18067 test -z "$ac_cxx_werror_flag" ||
18068 test ! -s conftest.err
18069 } && test -s conftest.$ac_objext; then
18070 bakefile_cv_cxx_compiler___xlC__=yes
18071 else
18072 echo "$as_me: failed program was:" >&5
18073 sed 's/^/| /' conftest.$ac_ext >&5
18074
18075 bakefile_cv_cxx_compiler___xlC__=no
18076
18077 fi
18078
18079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18080
18081
18082 fi
18083 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18084 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18085 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18086 :; XLCXX=yes
18087 else
18088 :;
18089 fi
18090 ac_ext=c
18091 ac_cpp='$CPP $CPPFLAGS'
18092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18095
18096
18097
18098 fi
18099 ;;
18100
18101 IRIX*)
18102
18103
18104 ac_ext=cpp
18105 ac_cpp='$CXXCPP $CPPFLAGS'
18106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18109
18110 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
18111 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
18112 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
18113 echo $ECHO_N "(cached) $ECHO_C" >&6
18114 else
18115 cat >conftest.$ac_ext <<_ACEOF
18116 /* confdefs.h. */
18117 _ACEOF
18118 cat confdefs.h >>conftest.$ac_ext
18119 cat >>conftest.$ac_ext <<_ACEOF
18120 /* end confdefs.h. */
18121
18122 int
18123 main ()
18124 {
18125
18126 #ifndef _SGI_COMPILER_VERSION
18127 choke me
18128 #endif
18129
18130 ;
18131 return 0;
18132 }
18133 _ACEOF
18134 rm -f conftest.$ac_objext
18135 if { (ac_try="$ac_compile"
18136 case "(($ac_try" in
18137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18138 *) ac_try_echo=$ac_try;;
18139 esac
18140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18141 (eval "$ac_compile") 2>conftest.er1
18142 ac_status=$?
18143 grep -v '^ *+' conftest.er1 >conftest.err
18144 rm -f conftest.er1
18145 cat conftest.err >&5
18146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18147 (exit $ac_status); } && {
18148 test -z "$ac_cxx_werror_flag" ||
18149 test ! -s conftest.err
18150 } && test -s conftest.$ac_objext; then
18151 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18152 else
18153 echo "$as_me: failed program was:" >&5
18154 sed 's/^/| /' conftest.$ac_ext >&5
18155
18156 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18157
18158 fi
18159
18160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18161
18162
18163 fi
18164 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18165 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18166 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18167 :; SGICXX=yes
18168 else
18169 :;
18170 fi
18171 ac_ext=c
18172 ac_cpp='$CPP $CPPFLAGS'
18173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18176
18177
18178
18179 ;;
18180
18181 Linux*)
18182 if test "$INTELCXX" != "yes"; then
18183
18184
18185 ac_ext=cpp
18186 ac_cpp='$CXXCPP $CPPFLAGS'
18187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18190
18191 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18192 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18193 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18194 echo $ECHO_N "(cached) $ECHO_C" >&6
18195 else
18196 cat >conftest.$ac_ext <<_ACEOF
18197 /* confdefs.h. */
18198 _ACEOF
18199 cat confdefs.h >>conftest.$ac_ext
18200 cat >>conftest.$ac_ext <<_ACEOF
18201 /* end confdefs.h. */
18202
18203 int
18204 main ()
18205 {
18206
18207 #ifndef __SUNPRO_CC
18208 choke me
18209 #endif
18210
18211 ;
18212 return 0;
18213 }
18214 _ACEOF
18215 rm -f conftest.$ac_objext
18216 if { (ac_try="$ac_compile"
18217 case "(($ac_try" in
18218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18219 *) ac_try_echo=$ac_try;;
18220 esac
18221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18222 (eval "$ac_compile") 2>conftest.er1
18223 ac_status=$?
18224 grep -v '^ *+' conftest.er1 >conftest.err
18225 rm -f conftest.er1
18226 cat conftest.err >&5
18227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18228 (exit $ac_status); } && {
18229 test -z "$ac_cxx_werror_flag" ||
18230 test ! -s conftest.err
18231 } && test -s conftest.$ac_objext; then
18232 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18233 else
18234 echo "$as_me: failed program was:" >&5
18235 sed 's/^/| /' conftest.$ac_ext >&5
18236
18237 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18238
18239 fi
18240
18241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18242
18243
18244 fi
18245 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18246 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18247 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18248 :; SUNCXX=yes
18249 else
18250 :;
18251 fi
18252 ac_ext=c
18253 ac_cpp='$CPP $CPPFLAGS'
18254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18257
18258
18259
18260 fi
18261 ;;
18262
18263 HP-UX*)
18264
18265
18266 ac_ext=cpp
18267 ac_cpp='$CXXCPP $CPPFLAGS'
18268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18271
18272 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
18273 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
18274 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
18275 echo $ECHO_N "(cached) $ECHO_C" >&6
18276 else
18277 cat >conftest.$ac_ext <<_ACEOF
18278 /* confdefs.h. */
18279 _ACEOF
18280 cat confdefs.h >>conftest.$ac_ext
18281 cat >>conftest.$ac_ext <<_ACEOF
18282 /* end confdefs.h. */
18283
18284 int
18285 main ()
18286 {
18287
18288 #ifndef __HP_aCC
18289 choke me
18290 #endif
18291
18292 ;
18293 return 0;
18294 }
18295 _ACEOF
18296 rm -f conftest.$ac_objext
18297 if { (ac_try="$ac_compile"
18298 case "(($ac_try" in
18299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18300 *) ac_try_echo=$ac_try;;
18301 esac
18302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18303 (eval "$ac_compile") 2>conftest.er1
18304 ac_status=$?
18305 grep -v '^ *+' conftest.er1 >conftest.err
18306 rm -f conftest.er1
18307 cat conftest.err >&5
18308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18309 (exit $ac_status); } && {
18310 test -z "$ac_cxx_werror_flag" ||
18311 test ! -s conftest.err
18312 } && test -s conftest.$ac_objext; then
18313 bakefile_cv_cxx_compiler___HP_aCC=yes
18314 else
18315 echo "$as_me: failed program was:" >&5
18316 sed 's/^/| /' conftest.$ac_ext >&5
18317
18318 bakefile_cv_cxx_compiler___HP_aCC=no
18319
18320 fi
18321
18322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18323
18324
18325 fi
18326 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18327 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18328 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18329 :; HPCXX=yes
18330 else
18331 :;
18332 fi
18333 ac_ext=c
18334 ac_cpp='$CPP $CPPFLAGS'
18335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18338
18339
18340
18341 ;;
18342
18343 OSF1)
18344
18345
18346 ac_ext=cpp
18347 ac_cpp='$CXXCPP $CPPFLAGS'
18348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18351
18352 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
18353 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
18354 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
18355 echo $ECHO_N "(cached) $ECHO_C" >&6
18356 else
18357 cat >conftest.$ac_ext <<_ACEOF
18358 /* confdefs.h. */
18359 _ACEOF
18360 cat confdefs.h >>conftest.$ac_ext
18361 cat >>conftest.$ac_ext <<_ACEOF
18362 /* end confdefs.h. */
18363
18364 int
18365 main ()
18366 {
18367
18368 #ifndef __DECCXX
18369 choke me
18370 #endif
18371
18372 ;
18373 return 0;
18374 }
18375 _ACEOF
18376 rm -f conftest.$ac_objext
18377 if { (ac_try="$ac_compile"
18378 case "(($ac_try" in
18379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18380 *) ac_try_echo=$ac_try;;
18381 esac
18382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18383 (eval "$ac_compile") 2>conftest.er1
18384 ac_status=$?
18385 grep -v '^ *+' conftest.er1 >conftest.err
18386 rm -f conftest.er1
18387 cat conftest.err >&5
18388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18389 (exit $ac_status); } && {
18390 test -z "$ac_cxx_werror_flag" ||
18391 test ! -s conftest.err
18392 } && test -s conftest.$ac_objext; then
18393 bakefile_cv_cxx_compiler___DECCXX=yes
18394 else
18395 echo "$as_me: failed program was:" >&5
18396 sed 's/^/| /' conftest.$ac_ext >&5
18397
18398 bakefile_cv_cxx_compiler___DECCXX=no
18399
18400 fi
18401
18402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18403
18404
18405 fi
18406 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
18407 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
18408 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
18409 :; COMPAQCXX=yes
18410 else
18411 :;
18412 fi
18413 ac_ext=c
18414 ac_cpp='$CPP $CPPFLAGS'
18415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18418
18419
18420
18421 ;;
18422
18423 SunOS)
18424
18425
18426 ac_ext=cpp
18427 ac_cpp='$CXXCPP $CPPFLAGS'
18428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18431
18432 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18433 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18434 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18435 echo $ECHO_N "(cached) $ECHO_C" >&6
18436 else
18437 cat >conftest.$ac_ext <<_ACEOF
18438 /* confdefs.h. */
18439 _ACEOF
18440 cat confdefs.h >>conftest.$ac_ext
18441 cat >>conftest.$ac_ext <<_ACEOF
18442 /* end confdefs.h. */
18443
18444 int
18445 main ()
18446 {
18447
18448 #ifndef __SUNPRO_CC
18449 choke me
18450 #endif
18451
18452 ;
18453 return 0;
18454 }
18455 _ACEOF
18456 rm -f conftest.$ac_objext
18457 if { (ac_try="$ac_compile"
18458 case "(($ac_try" in
18459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18460 *) ac_try_echo=$ac_try;;
18461 esac
18462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18463 (eval "$ac_compile") 2>conftest.er1
18464 ac_status=$?
18465 grep -v '^ *+' conftest.er1 >conftest.err
18466 rm -f conftest.er1
18467 cat conftest.err >&5
18468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18469 (exit $ac_status); } && {
18470 test -z "$ac_cxx_werror_flag" ||
18471 test ! -s conftest.err
18472 } && test -s conftest.$ac_objext; then
18473 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18474 else
18475 echo "$as_me: failed program was:" >&5
18476 sed 's/^/| /' conftest.$ac_ext >&5
18477
18478 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18479
18480 fi
18481
18482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18483
18484
18485 fi
18486 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18487 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18488 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18489 :; SUNCXX=yes
18490 else
18491 :;
18492 fi
18493 ac_ext=c
18494 ac_cpp='$CPP $CPPFLAGS'
18495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18498
18499
18500
18501 ;;
18502 esac
18503 fi
18504
18505
18506
18507 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18508 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18509 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18510 { (exit 1); exit 1; }; }
18511 fi
18512
18513 if test "x$SUNCXX" != xyes; then
18514 if test -n "$ac_tool_prefix"; then
18515 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18516 set dummy ${ac_tool_prefix}ar; ac_word=$2
18517 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18518 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18519 if test "${ac_cv_prog_AR+set}" = set; then
18520 echo $ECHO_N "(cached) $ECHO_C" >&6
18521 else
18522 if test -n "$AR"; then
18523 ac_cv_prog_AR="$AR" # Let the user override the test.
18524 else
18525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18526 for as_dir in $PATH
18527 do
18528 IFS=$as_save_IFS
18529 test -z "$as_dir" && as_dir=.
18530 for ac_exec_ext in '' $ac_executable_extensions; do
18531 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18532 ac_cv_prog_AR="${ac_tool_prefix}ar"
18533 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18534 break 2
18535 fi
18536 done
18537 done
18538 IFS=$as_save_IFS
18539
18540 fi
18541 fi
18542 AR=$ac_cv_prog_AR
18543 if test -n "$AR"; then
18544 { echo "$as_me:$LINENO: result: $AR" >&5
18545 echo "${ECHO_T}$AR" >&6; }
18546 else
18547 { echo "$as_me:$LINENO: result: no" >&5
18548 echo "${ECHO_T}no" >&6; }
18549 fi
18550
18551
18552 fi
18553 if test -z "$ac_cv_prog_AR"; then
18554 ac_ct_AR=$AR
18555 # Extract the first word of "ar", so it can be a program name with args.
18556 set dummy ar; ac_word=$2
18557 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18558 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18559 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18560 echo $ECHO_N "(cached) $ECHO_C" >&6
18561 else
18562 if test -n "$ac_ct_AR"; then
18563 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18564 else
18565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18566 for as_dir in $PATH
18567 do
18568 IFS=$as_save_IFS
18569 test -z "$as_dir" && as_dir=.
18570 for ac_exec_ext in '' $ac_executable_extensions; do
18571 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18572 ac_cv_prog_ac_ct_AR="ar"
18573 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18574 break 2
18575 fi
18576 done
18577 done
18578 IFS=$as_save_IFS
18579
18580 fi
18581 fi
18582 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18583 if test -n "$ac_ct_AR"; then
18584 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18585 echo "${ECHO_T}$ac_ct_AR" >&6; }
18586 else
18587 { echo "$as_me:$LINENO: result: no" >&5
18588 echo "${ECHO_T}no" >&6; }
18589 fi
18590
18591 if test "x$ac_ct_AR" = x; then
18592 AR=""
18593 else
18594 case $cross_compiling:$ac_tool_warned in
18595 yes:)
18596 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18597 whose name does not start with the host triplet. If you think this
18598 configuration is useful to you, please write to autoconf@gnu.org." >&5
18599 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18600 whose name does not start with the host triplet. If you think this
18601 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18602 ac_tool_warned=yes ;;
18603 esac
18604 AR=$ac_ct_AR
18605 fi
18606 else
18607 AR="$ac_cv_prog_AR"
18608 fi
18609
18610 if test "x$AR" = "x" ; then
18611 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18612 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18613 { (exit 1); exit 1; }; }
18614 fi
18615 fi
18616
18617
18618 if test "$wxUSE_MAC" = 1; then
18619
18620 retest_macosx_linking=no
18621
18622 OSX_ARCH_OPTS=""
18623 if test "x$wxUSE_MAC_ARCH" != xno; then
18624 OSX_ARCH_OPTS="-arch $wxUSE_MAC_ARCH"
18625 fi
18626
18627 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18628 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18629 # Implicitly turn on the new --with-macosx-sdk using the default
18630 # SDK which provides the behavior this option has always had.
18631 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18632 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18633 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18634 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18635 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18636 wxUSE_MACOSX_SDK=yes
18637 fi
18638 else
18639 # Complain to user if he specified an argument to --enable-universal_binary
18640 # and also 1) specified --with-macosx-sdk using the default (yes) or
18641 # 2) specified --with-macosx-sdk using a path or 3) specified
18642 # --without-macosx-sdk (no).
18643 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18644 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18645 See \`config.log' for more details." >&5
18646 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18647 See \`config.log' for more details." >&2;}
18648 { (exit 1); exit 1; }; }
18649 else
18650 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18651 # special-case the empty string because the below test simply
18652 # converts "no" to the empty string anyway.
18653 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18654 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
18655 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
18656 fi
18657 fi
18658 OSX_ARCH_OPTS="-arch ppc -arch i386"
18659 if test "$wxUSE_OSX_COCOA" = 1; then
18660 OSX_ARCH_OPTS="$OSX_ARCH_OPTS -arch x86_64"
18661 fi
18662 { echo "$as_me:$LINENO: checking for universal binary architectures" >&5
18663 echo $ECHO_N "checking for universal binary architectures... $ECHO_C" >&6; }
18664 { echo "$as_me:$LINENO: result: $OSX_ARCH_OPTS" >&5
18665 echo "${ECHO_T}$OSX_ARCH_OPTS" >&6; }
18666
18667 retest_macosx_linking=yes
18668
18669 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
18670 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
18671 bk_use_pch=no
18672 fi
18673
18674 CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
18675 CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
18676 OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
18677 OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
18678 LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
18679
18680 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
18681 wxUSE_MACOSX_SDK=
18682 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
18683 # TODO: Search for most recent SDK and use it.
18684 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
18685 fi
18686
18687
18688 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18689 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
18690 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
18691 if ! test -d "$wxUSE_MACOSX_SDK"; then
18692 { { echo "$as_me:$LINENO: error: not found
18693 See \`config.log' for more details." >&5
18694 echo "$as_me: error: not found
18695 See \`config.log' for more details." >&2;}
18696 { (exit 1); exit 1; }; }
18697 else
18698 { echo "$as_me:$LINENO: result: exists" >&5
18699 echo "${ECHO_T}exists" >&6; }
18700 fi
18701 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18702 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18703 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18704 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18705 retest_macosx_linking=yes
18706 fi
18707
18708 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18709 wxUSE_MACOSX_VERSION_MIN=
18710 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18711 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18712 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18713 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18714
18715 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/'`
18716
18717 # If that failed, try again with the new key
18718 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18719
18720 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/'`
18721
18722 fi
18723
18724 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18725 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18726 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18727 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18728 else
18729 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18730 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18731 wxUSE_MACOSX_VERSION_MIN=
18732 fi
18733 else
18734 wxUSE_MACOSX_VERSION_MIN=
18735 fi
18736 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18737 for ac_prog in sw_vers
18738 do
18739 # Extract the first word of "$ac_prog", so it can be a program name with args.
18740 set dummy $ac_prog; ac_word=$2
18741 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18742 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18743 if test "${ac_cv_prog_OSX_SW_VERS+set}" = set; then
18744 echo $ECHO_N "(cached) $ECHO_C" >&6
18745 else
18746 if test -n "$OSX_SW_VERS"; then
18747 ac_cv_prog_OSX_SW_VERS="$OSX_SW_VERS" # Let the user override the test.
18748 else
18749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18750 for as_dir in $PATH
18751 do
18752 IFS=$as_save_IFS
18753 test -z "$as_dir" && as_dir=.
18754 for ac_exec_ext in '' $ac_executable_extensions; do
18755 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18756 ac_cv_prog_OSX_SW_VERS="$ac_prog"
18757 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18758 break 2
18759 fi
18760 done
18761 done
18762 IFS=$as_save_IFS
18763
18764 fi
18765 fi
18766 OSX_SW_VERS=$ac_cv_prog_OSX_SW_VERS
18767 if test -n "$OSX_SW_VERS"; then
18768 { echo "$as_me:$LINENO: result: $OSX_SW_VERS" >&5
18769 echo "${ECHO_T}$OSX_SW_VERS" >&6; }
18770 else
18771 { echo "$as_me:$LINENO: result: no" >&5
18772 echo "${ECHO_T}no" >&6; }
18773 fi
18774
18775
18776 test -n "$OSX_SW_VERS" && break
18777 done
18778
18779 if test "$OSX_SW_VERS" != ""; then
18780 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
18781 else
18782 { echo "$as_me:$LINENO: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&5
18783 echo "$as_me: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&2;}
18784 OSX_VERSION="10.4"
18785 fi
18786
18787 case "$OSX_VERSION" in
18788 10.4* )
18789 wxUSE_MACOSX_VERSION_MIN=10.4
18790 ;;
18791
18792 * )
18793 if test "$wxUSE_OSX_CARBON" = 1; then
18794 # otherwise configure stops on leopard for universal_binary
18795 wxUSE_MACOSX_VERSION_MIN=10.4
18796 else
18797 # for Cocoa, use 10.5 to be able to compile it in 64 bits too
18798 wxUSE_MACOSX_VERSION_MIN=10.5
18799 fi
18800 ;;
18801 esac
18802 fi
18803
18804 NEEDS_GCC40="no"
18805 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
18806 NEEDS_GCC40="yes"
18807 fi
18808
18809 if test "$wxUSE_OSX_CARBON" = 1; then
18810 NEEDS_GCC40="yes"
18811 fi
18812
18813 if test "x$NEEDS_GCC40" == "xyes"; then
18814 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
18815 # and wants 10.4 compatible code, then 'downgrade' to 4.0
18816 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
18817 if test "x$CC" = "xgcc"; then
18818 CCVERSION=`$CC --version | grep 4.[2-9].`
18819 if test "x$CCVERSION" != "x"; then
18820 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
18821 CC="/usr/bin/gcc-4.0"
18822 fi
18823 fi
18824
18825 if test "x$CXX" = "xg++"; then
18826 CCVERSION=`$CXX --version | grep 4.[2-9].`
18827 if test "x$CCVERSION" != "x"; then
18828 CXX="/usr/bin/g++-4.0"
18829 fi
18830 fi
18831 fi
18832
18833 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18834 if test "$wxUSE_OSX_IPHONE" = 1; then
18835 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
18836 else
18837 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18838 fi
18839 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18840 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18841 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18842 retest_macosx_linking=yes
18843 fi
18844
18845 if test "x$retest_macosx_linking" = "xyes"; then
18846 ac_ext=c
18847 ac_cpp='$CPP $CPPFLAGS'
18848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18851
18852 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18853 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
18854 cat >conftest.$ac_ext <<_ACEOF
18855 /* confdefs.h. */
18856 _ACEOF
18857 cat confdefs.h >>conftest.$ac_ext
18858 cat >>conftest.$ac_ext <<_ACEOF
18859 /* end confdefs.h. */
18860
18861 int
18862 main ()
18863 {
18864
18865 ;
18866 return 0;
18867 }
18868 _ACEOF
18869 rm -f conftest.$ac_objext conftest$ac_exeext
18870 if { (ac_try="$ac_link"
18871 case "(($ac_try" in
18872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18873 *) ac_try_echo=$ac_try;;
18874 esac
18875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18876 (eval "$ac_link") 2>conftest.er1
18877 ac_status=$?
18878 grep -v '^ *+' conftest.er1 >conftest.err
18879 rm -f conftest.er1
18880 cat conftest.err >&5
18881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18882 (exit $ac_status); } && {
18883 test -z "$ac_c_werror_flag" ||
18884 test ! -s conftest.err
18885 } && test -s conftest$ac_exeext &&
18886 $as_test_x conftest$ac_exeext; then
18887 { echo "$as_me:$LINENO: result: yes" >&5
18888 echo "${ECHO_T}yes" >&6; }
18889 else
18890 echo "$as_me: failed program was:" >&5
18891 sed 's/^/| /' conftest.$ac_ext >&5
18892
18893 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18894 See \`config.log' for more details." >&5
18895 echo "$as_me: error: no. Try a different SDK
18896 See \`config.log' for more details." >&2;}
18897 { (exit 1); exit 1; }; }; exit 1
18898 fi
18899
18900 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18901 conftest$ac_exeext conftest.$ac_ext
18902 ac_ext=c
18903 ac_cpp='$CPP $CPPFLAGS'
18904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18907
18908
18909 ac_ext=cpp
18910 ac_cpp='$CXXCPP $CPPFLAGS'
18911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18914
18915 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
18916 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
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
18924 int
18925 main ()
18926 {
18927
18928 ;
18929 return 0;
18930 }
18931 _ACEOF
18932 rm -f conftest.$ac_objext conftest$ac_exeext
18933 if { (ac_try="$ac_link"
18934 case "(($ac_try" in
18935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18936 *) ac_try_echo=$ac_try;;
18937 esac
18938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18939 (eval "$ac_link") 2>conftest.er1
18940 ac_status=$?
18941 grep -v '^ *+' conftest.er1 >conftest.err
18942 rm -f conftest.er1
18943 cat conftest.err >&5
18944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18945 (exit $ac_status); } && {
18946 test -z "$ac_cxx_werror_flag" ||
18947 test ! -s conftest.err
18948 } && test -s conftest$ac_exeext &&
18949 $as_test_x conftest$ac_exeext; then
18950 { echo "$as_me:$LINENO: result: yes" >&5
18951 echo "${ECHO_T}yes" >&6; }
18952 else
18953 echo "$as_me: failed program was:" >&5
18954 sed 's/^/| /' conftest.$ac_ext >&5
18955
18956 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18957 See \`config.log' for more details." >&5
18958 echo "$as_me: error: no. Try a different SDK
18959 See \`config.log' for more details." >&2;}
18960 { (exit 1); exit 1; }; }; exit 1
18961 fi
18962
18963 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18964 conftest$ac_exeext conftest.$ac_ext
18965 ac_ext=c
18966 ac_cpp='$CPP $CPPFLAGS'
18967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18970
18971 fi
18972
18973 fi
18974 case "${host}" in
18975
18976 *-*-darwin* )
18977 INSTALL_PROGRAM="cp -fp"
18978 INSTALL_DATA="cp -fp"
18979 ;;
18980 *)
18981 ;;
18982 esac
18983
18984
18985 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18986 CXXFLAGS="-qunique $CXXFLAGS"
18987 fi
18988
18989 case "${host}" in
18990 powerpc-*-darwin* )
18991 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18992 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18993 cat >conftest.$ac_ext <<_ACEOF
18994 /* confdefs.h. */
18995 _ACEOF
18996 cat confdefs.h >>conftest.$ac_ext
18997 cat >>conftest.$ac_ext <<_ACEOF
18998 /* end confdefs.h. */
18999
19000 int
19001 main ()
19002 {
19003 #ifndef __POWERPC__
19004 choke me for lack of PowerPC
19005 #endif
19006
19007 ;
19008 return 0;
19009 }
19010 _ACEOF
19011 rm -f conftest.$ac_objext
19012 if { (ac_try="$ac_compile"
19013 case "(($ac_try" in
19014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19015 *) ac_try_echo=$ac_try;;
19016 esac
19017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19018 (eval "$ac_compile") 2>conftest.er1
19019 ac_status=$?
19020 grep -v '^ *+' conftest.er1 >conftest.err
19021 rm -f conftest.er1
19022 cat conftest.err >&5
19023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19024 (exit $ac_status); } && {
19025 test -z "$ac_c_werror_flag" ||
19026 test ! -s conftest.err
19027 } && test -s conftest.$ac_objext; then
19028 { echo "$as_me:$LINENO: result: yes" >&5
19029 echo "${ECHO_T}yes" >&6; }
19030 else
19031 echo "$as_me: failed program was:" >&5
19032 sed 's/^/| /' conftest.$ac_ext >&5
19033
19034 { echo "$as_me:$LINENO: result: no" >&5
19035 echo "${ECHO_T}no" >&6; }
19036 cat >>confdefs.h <<\_ACEOF
19037 #define __POWERPC__ 1
19038 _ACEOF
19039
19040
19041 fi
19042
19043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19044 ;;
19045 esac
19046
19047 case "${host}" in
19048 *-*-darwin* )
19049 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
19050 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
19051 cat >conftest.$ac_ext <<_ACEOF
19052 /* confdefs.h. */
19053 _ACEOF
19054 cat confdefs.h >>conftest.$ac_ext
19055 cat >>conftest.$ac_ext <<_ACEOF
19056 /* end confdefs.h. */
19057 #include <CoreFoundation/CFBase.h>
19058
19059 int
19060 main ()
19061 {
19062
19063 ;
19064 return 0;
19065 }
19066 _ACEOF
19067 rm -f conftest.$ac_objext
19068 if { (ac_try="$ac_compile"
19069 case "(($ac_try" in
19070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19071 *) ac_try_echo=$ac_try;;
19072 esac
19073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19074 (eval "$ac_compile") 2>conftest.er1
19075 ac_status=$?
19076 grep -v '^ *+' conftest.er1 >conftest.err
19077 rm -f conftest.er1
19078 cat conftest.err >&5
19079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19080 (exit $ac_status); } && {
19081 test -z "$ac_c_werror_flag" ||
19082 test ! -s conftest.err
19083 } && test -s conftest.$ac_objext; then
19084 { echo "$as_me:$LINENO: result: yes" >&5
19085 echo "${ECHO_T}yes" >&6; }
19086 else
19087 echo "$as_me: failed program was:" >&5
19088 sed 's/^/| /' conftest.$ac_ext >&5
19089
19090 { echo "$as_me:$LINENO: result: no" >&5
19091 echo "${ECHO_T}no" >&6; }
19092 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19093 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
19094 cat >conftest.$ac_ext <<_ACEOF
19095 /* confdefs.h. */
19096 _ACEOF
19097 cat confdefs.h >>conftest.$ac_ext
19098 cat >>conftest.$ac_ext <<_ACEOF
19099 /* end confdefs.h. */
19100 #define __CF_USE_FRAMEWORK_INCLUDES__
19101 #include <CoreFoundation/CFBase.h>
19102
19103 int
19104 main ()
19105 {
19106
19107 ;
19108 return 0;
19109 }
19110 _ACEOF
19111 rm -f conftest.$ac_objext
19112 if { (ac_try="$ac_compile"
19113 case "(($ac_try" in
19114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19115 *) ac_try_echo=$ac_try;;
19116 esac
19117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19118 (eval "$ac_compile") 2>conftest.er1
19119 ac_status=$?
19120 grep -v '^ *+' conftest.er1 >conftest.err
19121 rm -f conftest.er1
19122 cat conftest.err >&5
19123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19124 (exit $ac_status); } && {
19125 test -z "$ac_c_werror_flag" ||
19126 test ! -s conftest.err
19127 } && test -s conftest.$ac_objext; then
19128 { echo "$as_me:$LINENO: result: yes" >&5
19129 echo "${ECHO_T}yes" >&6; }
19130 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19131 else
19132 echo "$as_me: failed program was:" >&5
19133 sed 's/^/| /' conftest.$ac_ext >&5
19134
19135 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
19136 See \`config.log' for more details." >&5
19137 echo "$as_me: error: no. CoreFoundation not available.
19138 See \`config.log' for more details." >&2;}
19139 { (exit 1); exit 1; }; }
19140
19141 fi
19142
19143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19144
19145
19146 fi
19147
19148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19149 ;;
19150 esac
19151
19152 wants_win32=0
19153 doesnt_want_win32=0
19154 case "${host}" in
19155 *-*-cygwin*)
19156 if test "$wxUSE_MSW" = 1 ; then
19157 wants_win32=1
19158 else
19159 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
19160 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
19161 if test "${wx_cv_nocygwin+set}" = set; then
19162 echo $ECHO_N "(cached) $ECHO_C" >&6
19163 else
19164
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
19172 int
19173 main ()
19174 {
19175
19176 #ifdef __MINGW32__
19177 choke me
19178 #endif
19179
19180 ;
19181 return 0;
19182 }
19183 _ACEOF
19184 rm -f conftest.$ac_objext
19185 if { (ac_try="$ac_compile"
19186 case "(($ac_try" in
19187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19188 *) ac_try_echo=$ac_try;;
19189 esac
19190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19191 (eval "$ac_compile") 2>conftest.er1
19192 ac_status=$?
19193 grep -v '^ *+' conftest.er1 >conftest.err
19194 rm -f conftest.er1
19195 cat conftest.err >&5
19196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19197 (exit $ac_status); } && {
19198 test -z "$ac_c_werror_flag" ||
19199 test ! -s conftest.err
19200 } && test -s conftest.$ac_objext; then
19201 wx_cv_nocygwin=no
19202 else
19203 echo "$as_me: failed program was:" >&5
19204 sed 's/^/| /' conftest.$ac_ext >&5
19205
19206 wx_cv_nocygwin=yes
19207
19208 fi
19209
19210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19211
19212
19213 fi
19214 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
19215 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
19216
19217 if test "$wx_cv_nocygwin" = "yes"; then
19218 wants_win32=1
19219 else
19220 doesnt_want_win32=1
19221 fi
19222 fi
19223 if test "$wants_win32" = 1 ; then
19224 BAKEFILE_FORCE_PLATFORM=win32
19225 fi
19226 ;;
19227 *-*-mingw*)
19228 wants_win32=1
19229 ;;
19230 esac
19231
19232 if test "$wxUSE_WINE" = "yes"; then
19233 wants_win32=1
19234 LDFLAGS_GUI="-mwindows"
19235 fi
19236
19237 if test "$wants_win32" = 1 ; then
19238 USE_UNIX=0
19239 USE_WIN32=1
19240 cat >>confdefs.h <<\_ACEOF
19241 #define __WIN32__ 1
19242 _ACEOF
19243
19244 cat >>confdefs.h <<\_ACEOF
19245 #define __WIN95__ 1
19246 _ACEOF
19247
19248 cat >>confdefs.h <<\_ACEOF
19249 #define __WINDOWS__ 1
19250 _ACEOF
19251
19252 cat >>confdefs.h <<\_ACEOF
19253 #define __GNUWIN32__ 1
19254 _ACEOF
19255
19256 cat >>confdefs.h <<\_ACEOF
19257 #define STRICT 1
19258 _ACEOF
19259
19260 fi
19261 if test "$doesnt_want_win32" = 1 ; then
19262 USE_UNIX=1
19263 USE_WIN32=0
19264 fi
19265
19266 if test "$USE_UNIX" = 1 ; then
19267 wxUSE_UNIX=yes
19268 cat >>confdefs.h <<\_ACEOF
19269 #define __UNIX__ 1
19270 _ACEOF
19271
19272 fi
19273
19274 case "${host}" in
19275 *-pc-os2_emx | *-pc-os2-emx )
19276 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19277 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
19278 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
19279 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
19280 echo $ECHO_N "(cached) $ECHO_C" >&6
19281 else
19282 ac_check_lib_save_LIBS=$LIBS
19283 LIBS="-lcExt $LIBS"
19284 cat >conftest.$ac_ext <<_ACEOF
19285 /* confdefs.h. */
19286 _ACEOF
19287 cat confdefs.h >>conftest.$ac_ext
19288 cat >>conftest.$ac_ext <<_ACEOF
19289 /* end confdefs.h. */
19290
19291 /* Override any GCC internal prototype to avoid an error.
19292 Use char because int might match the return type of a GCC
19293 builtin and then its argument prototype would still apply. */
19294 #ifdef __cplusplus
19295 extern "C"
19296 #endif
19297 char drand48 ();
19298 int
19299 main ()
19300 {
19301 return drand48 ();
19302 ;
19303 return 0;
19304 }
19305 _ACEOF
19306 rm -f conftest.$ac_objext conftest$ac_exeext
19307 if { (ac_try="$ac_link"
19308 case "(($ac_try" in
19309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19310 *) ac_try_echo=$ac_try;;
19311 esac
19312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19313 (eval "$ac_link") 2>conftest.er1
19314 ac_status=$?
19315 grep -v '^ *+' conftest.er1 >conftest.err
19316 rm -f conftest.er1
19317 cat conftest.err >&5
19318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19319 (exit $ac_status); } && {
19320 test -z "$ac_c_werror_flag" ||
19321 test ! -s conftest.err
19322 } && test -s conftest$ac_exeext &&
19323 $as_test_x conftest$ac_exeext; then
19324 ac_cv_lib_cExt_drand48=yes
19325 else
19326 echo "$as_me: failed program was:" >&5
19327 sed 's/^/| /' conftest.$ac_ext >&5
19328
19329 ac_cv_lib_cExt_drand48=no
19330 fi
19331
19332 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19333 conftest$ac_exeext conftest.$ac_ext
19334 LIBS=$ac_check_lib_save_LIBS
19335 fi
19336 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
19337 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
19338 if test $ac_cv_lib_cExt_drand48 = yes; then
19339 LIBS="$LIBS -lcExt"
19340 fi
19341
19342 else
19343 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
19344 fi
19345 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
19346 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
19347 if test "${wx_cv_gccversion+set}" = set; then
19348 echo $ECHO_N "(cached) $ECHO_C" >&6
19349 else
19350
19351 if test "$cross_compiling" = yes; then
19352 wx_cv_gccversion="EMX2"
19353
19354 else
19355 cat >conftest.$ac_ext <<_ACEOF
19356 /* confdefs.h. */
19357 _ACEOF
19358 cat confdefs.h >>conftest.$ac_ext
19359 cat >>conftest.$ac_ext <<_ACEOF
19360 /* end confdefs.h. */
19361
19362 #include <stdio.h>
19363
19364 int main()
19365 {
19366 FILE *f=fopen("conftestval", "w");
19367 if (!f) exit(1);
19368 fprintf(f,
19369 #if (__GNUC__ < 3)
19370 "EMX2"
19371 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19372 "EMX3"
19373 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19374 "Innotek5"
19375 #else
19376 "Innotek6"
19377 #endif
19378 );
19379 exit(0);
19380 }
19381
19382 _ACEOF
19383 rm -f conftest$ac_exeext
19384 if { (ac_try="$ac_link"
19385 case "(($ac_try" in
19386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19387 *) ac_try_echo=$ac_try;;
19388 esac
19389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19390 (eval "$ac_link") 2>&5
19391 ac_status=$?
19392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19393 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19394 { (case "(($ac_try" in
19395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19396 *) ac_try_echo=$ac_try;;
19397 esac
19398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19399 (eval "$ac_try") 2>&5
19400 ac_status=$?
19401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19402 (exit $ac_status); }; }; then
19403 wx_cv_gccversion=`cat conftestval`
19404 else
19405 echo "$as_me: program exited with status $ac_status" >&5
19406 echo "$as_me: failed program was:" >&5
19407 sed 's/^/| /' conftest.$ac_ext >&5
19408
19409 ( exit $ac_status )
19410 wx_cv_gccversion="EMX2"
19411 fi
19412 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19413 fi
19414
19415
19416
19417 fi
19418 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
19419 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
19420 if test "$wx_cv_gccversion" = "EMX2"; then
19421 LIBS="$LIBS -lstdcpp"
19422 LDFLAGS="$LDFLAGS -Zsysv-signals"
19423 else
19424 if test "$wx_cv_gccversion" = "EMX3"; then
19425 LIBS="$LIBS -lstdcxx -lgcc"
19426 LDFLAGS="$LDFLAGS -Zsysv-signals"
19427 else
19428 LIBS="$LIBS -lstdc++"
19429 fi
19430 fi
19431 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19432 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
19433 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19434 wxUSE_OMF=yes
19435 enable_omf=yes
19436 fi
19437 ;;
19438 *)
19439
19440 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
19441 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
19442 if test "${ac_cv_string_strcasecmp+set}" = set; then
19443 echo $ECHO_N "(cached) $ECHO_C" >&6
19444 else
19445
19446 cat >conftest.$ac_ext <<_ACEOF
19447 /* confdefs.h. */
19448 _ACEOF
19449 cat confdefs.h >>conftest.$ac_ext
19450 cat >>conftest.$ac_ext <<_ACEOF
19451 /* end confdefs.h. */
19452
19453 #include <string.h>
19454
19455 int
19456 main ()
19457 {
19458
19459 strcasecmp("foo", "bar");
19460
19461 ;
19462 return 0;
19463 }
19464 _ACEOF
19465 rm -f conftest.$ac_objext conftest$ac_exeext
19466 if { (ac_try="$ac_link"
19467 case "(($ac_try" in
19468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19469 *) ac_try_echo=$ac_try;;
19470 esac
19471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19472 (eval "$ac_link") 2>conftest.er1
19473 ac_status=$?
19474 grep -v '^ *+' conftest.er1 >conftest.err
19475 rm -f conftest.er1
19476 cat conftest.err >&5
19477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19478 (exit $ac_status); } && {
19479 test -z "$ac_c_werror_flag" ||
19480 test ! -s conftest.err
19481 } && test -s conftest$ac_exeext &&
19482 $as_test_x conftest$ac_exeext; then
19483 ac_cv_string_strcasecmp=yes
19484 else
19485 echo "$as_me: failed program was:" >&5
19486 sed 's/^/| /' conftest.$ac_ext >&5
19487
19488 ac_cv_string_strcasecmp=no
19489
19490 fi
19491
19492 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19493 conftest$ac_exeext conftest.$ac_ext
19494
19495 fi
19496 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
19497 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
19498
19499 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19500 cat >>confdefs.h <<\_ACEOF
19501 #define HAVE_STRCASECMP_IN_STRING_H 1
19502 _ACEOF
19503
19504 else
19505 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
19506 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
19507 if test "${ac_cv_strings_strcasecmp+set}" = set; then
19508 echo $ECHO_N "(cached) $ECHO_C" >&6
19509 else
19510
19511 cat >conftest.$ac_ext <<_ACEOF
19512 /* confdefs.h. */
19513 _ACEOF
19514 cat confdefs.h >>conftest.$ac_ext
19515 cat >>conftest.$ac_ext <<_ACEOF
19516 /* end confdefs.h. */
19517
19518 #include <strings.h>
19519
19520 int
19521 main ()
19522 {
19523
19524 strcasecmp("foo", "bar");
19525
19526 ;
19527 return 0;
19528 }
19529 _ACEOF
19530 rm -f conftest.$ac_objext conftest$ac_exeext
19531 if { (ac_try="$ac_link"
19532 case "(($ac_try" in
19533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19534 *) ac_try_echo=$ac_try;;
19535 esac
19536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19537 (eval "$ac_link") 2>conftest.er1
19538 ac_status=$?
19539 grep -v '^ *+' conftest.er1 >conftest.err
19540 rm -f conftest.er1
19541 cat conftest.err >&5
19542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19543 (exit $ac_status); } && {
19544 test -z "$ac_c_werror_flag" ||
19545 test ! -s conftest.err
19546 } && test -s conftest$ac_exeext &&
19547 $as_test_x conftest$ac_exeext; then
19548 ac_cv_strings_strcasecmp=yes
19549 else
19550 echo "$as_me: failed program was:" >&5
19551 sed 's/^/| /' conftest.$ac_ext >&5
19552
19553 ac_cv_strings_strcasecmp=no
19554
19555 fi
19556
19557 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19558 conftest$ac_exeext conftest.$ac_ext
19559
19560 fi
19561 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
19562 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
19563
19564 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19565 cat >>confdefs.h <<\_ACEOF
19566 #define HAVE_STRCASECMP_IN_STRINGS_H 1
19567 _ACEOF
19568
19569 else
19570 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
19571 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
19572 { (exit 1); exit 1; }; }
19573 fi
19574 fi
19575
19576 ;;
19577 esac
19578
19579
19580 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19581 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
19582 if test "${ac_cv_header_stdc+set}" = set; then
19583 echo $ECHO_N "(cached) $ECHO_C" >&6
19584 else
19585 cat >conftest.$ac_ext <<_ACEOF
19586 /* confdefs.h. */
19587 _ACEOF
19588 cat confdefs.h >>conftest.$ac_ext
19589 cat >>conftest.$ac_ext <<_ACEOF
19590 /* end confdefs.h. */
19591 #include <stdlib.h>
19592 #include <stdarg.h>
19593 #include <string.h>
19594 #include <float.h>
19595
19596 int
19597 main ()
19598 {
19599
19600 ;
19601 return 0;
19602 }
19603 _ACEOF
19604 rm -f conftest.$ac_objext
19605 if { (ac_try="$ac_compile"
19606 case "(($ac_try" in
19607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19608 *) ac_try_echo=$ac_try;;
19609 esac
19610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19611 (eval "$ac_compile") 2>conftest.er1
19612 ac_status=$?
19613 grep -v '^ *+' conftest.er1 >conftest.err
19614 rm -f conftest.er1
19615 cat conftest.err >&5
19616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19617 (exit $ac_status); } && {
19618 test -z "$ac_c_werror_flag" ||
19619 test ! -s conftest.err
19620 } && test -s conftest.$ac_objext; then
19621 ac_cv_header_stdc=yes
19622 else
19623 echo "$as_me: failed program was:" >&5
19624 sed 's/^/| /' conftest.$ac_ext >&5
19625
19626 ac_cv_header_stdc=no
19627 fi
19628
19629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19630
19631 if test $ac_cv_header_stdc = yes; then
19632 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19633 cat >conftest.$ac_ext <<_ACEOF
19634 /* confdefs.h. */
19635 _ACEOF
19636 cat confdefs.h >>conftest.$ac_ext
19637 cat >>conftest.$ac_ext <<_ACEOF
19638 /* end confdefs.h. */
19639 #include <string.h>
19640
19641 _ACEOF
19642 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19643 $EGREP "memchr" >/dev/null 2>&1; then
19644 :
19645 else
19646 ac_cv_header_stdc=no
19647 fi
19648 rm -f conftest*
19649
19650 fi
19651
19652 if test $ac_cv_header_stdc = yes; then
19653 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19654 cat >conftest.$ac_ext <<_ACEOF
19655 /* confdefs.h. */
19656 _ACEOF
19657 cat confdefs.h >>conftest.$ac_ext
19658 cat >>conftest.$ac_ext <<_ACEOF
19659 /* end confdefs.h. */
19660 #include <stdlib.h>
19661
19662 _ACEOF
19663 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19664 $EGREP "free" >/dev/null 2>&1; then
19665 :
19666 else
19667 ac_cv_header_stdc=no
19668 fi
19669 rm -f conftest*
19670
19671 fi
19672
19673 if test $ac_cv_header_stdc = yes; then
19674 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19675 if test "$cross_compiling" = yes; then
19676 :
19677 else
19678 cat >conftest.$ac_ext <<_ACEOF
19679 /* confdefs.h. */
19680 _ACEOF
19681 cat confdefs.h >>conftest.$ac_ext
19682 cat >>conftest.$ac_ext <<_ACEOF
19683 /* end confdefs.h. */
19684 #include <ctype.h>
19685 #include <stdlib.h>
19686 #if ((' ' & 0x0FF) == 0x020)
19687 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19688 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19689 #else
19690 # define ISLOWER(c) \
19691 (('a' <= (c) && (c) <= 'i') \
19692 || ('j' <= (c) && (c) <= 'r') \
19693 || ('s' <= (c) && (c) <= 'z'))
19694 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19695 #endif
19696
19697 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19698 int
19699 main ()
19700 {
19701 int i;
19702 for (i = 0; i < 256; i++)
19703 if (XOR (islower (i), ISLOWER (i))
19704 || toupper (i) != TOUPPER (i))
19705 return 2;
19706 return 0;
19707 }
19708 _ACEOF
19709 rm -f conftest$ac_exeext
19710 if { (ac_try="$ac_link"
19711 case "(($ac_try" in
19712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19713 *) ac_try_echo=$ac_try;;
19714 esac
19715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19716 (eval "$ac_link") 2>&5
19717 ac_status=$?
19718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19719 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19720 { (case "(($ac_try" in
19721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19722 *) ac_try_echo=$ac_try;;
19723 esac
19724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19725 (eval "$ac_try") 2>&5
19726 ac_status=$?
19727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19728 (exit $ac_status); }; }; then
19729 :
19730 else
19731 echo "$as_me: program exited with status $ac_status" >&5
19732 echo "$as_me: failed program was:" >&5
19733 sed 's/^/| /' conftest.$ac_ext >&5
19734
19735 ( exit $ac_status )
19736 ac_cv_header_stdc=no
19737 fi
19738 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19739 fi
19740
19741
19742 fi
19743 fi
19744 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19745 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19746 if test $ac_cv_header_stdc = yes; then
19747
19748 cat >>confdefs.h <<\_ACEOF
19749 #define STDC_HEADERS 1
19750 _ACEOF
19751
19752 fi
19753
19754 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19755
19756
19757
19758
19759
19760
19761
19762
19763
19764 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19765 inttypes.h stdint.h unistd.h
19766 do
19767 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19768 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19769 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19770 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19771 echo $ECHO_N "(cached) $ECHO_C" >&6
19772 else
19773 cat >conftest.$ac_ext <<_ACEOF
19774 /* confdefs.h. */
19775 _ACEOF
19776 cat confdefs.h >>conftest.$ac_ext
19777 cat >>conftest.$ac_ext <<_ACEOF
19778 /* end confdefs.h. */
19779 $ac_includes_default
19780
19781 #include <$ac_header>
19782 _ACEOF
19783 rm -f conftest.$ac_objext
19784 if { (ac_try="$ac_compile"
19785 case "(($ac_try" in
19786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19787 *) ac_try_echo=$ac_try;;
19788 esac
19789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19790 (eval "$ac_compile") 2>conftest.er1
19791 ac_status=$?
19792 grep -v '^ *+' conftest.er1 >conftest.err
19793 rm -f conftest.er1
19794 cat conftest.err >&5
19795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19796 (exit $ac_status); } && {
19797 test -z "$ac_c_werror_flag" ||
19798 test ! -s conftest.err
19799 } && test -s conftest.$ac_objext; then
19800 eval "$as_ac_Header=yes"
19801 else
19802 echo "$as_me: failed program was:" >&5
19803 sed 's/^/| /' conftest.$ac_ext >&5
19804
19805 eval "$as_ac_Header=no"
19806 fi
19807
19808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19809 fi
19810 ac_res=`eval echo '${'$as_ac_Header'}'`
19811 { echo "$as_me:$LINENO: result: $ac_res" >&5
19812 echo "${ECHO_T}$ac_res" >&6; }
19813 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19814 cat >>confdefs.h <<_ACEOF
19815 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19816 _ACEOF
19817
19818 fi
19819
19820 done
19821
19822
19823
19824
19825 for ac_header in langinfo.h wchar.h
19826 do
19827 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19828 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19829 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19830 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19831 echo $ECHO_N "(cached) $ECHO_C" >&6
19832 else
19833 cat >conftest.$ac_ext <<_ACEOF
19834 /* confdefs.h. */
19835 _ACEOF
19836 cat confdefs.h >>conftest.$ac_ext
19837 cat >>conftest.$ac_ext <<_ACEOF
19838 /* end confdefs.h. */
19839 $ac_includes_default
19840
19841 #include <$ac_header>
19842 _ACEOF
19843 rm -f conftest.$ac_objext
19844 if { (ac_try="$ac_compile"
19845 case "(($ac_try" in
19846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19847 *) ac_try_echo=$ac_try;;
19848 esac
19849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19850 (eval "$ac_compile") 2>conftest.er1
19851 ac_status=$?
19852 grep -v '^ *+' conftest.er1 >conftest.err
19853 rm -f conftest.er1
19854 cat conftest.err >&5
19855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19856 (exit $ac_status); } && {
19857 test -z "$ac_c_werror_flag" ||
19858 test ! -s conftest.err
19859 } && test -s conftest.$ac_objext; then
19860 eval "$as_ac_Header=yes"
19861 else
19862 echo "$as_me: failed program was:" >&5
19863 sed 's/^/| /' conftest.$ac_ext >&5
19864
19865 eval "$as_ac_Header=no"
19866 fi
19867
19868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19869 fi
19870 ac_res=`eval echo '${'$as_ac_Header'}'`
19871 { echo "$as_me:$LINENO: result: $ac_res" >&5
19872 echo "${ECHO_T}$ac_res" >&6; }
19873 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19874 cat >>confdefs.h <<_ACEOF
19875 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19876 _ACEOF
19877
19878 fi
19879
19880 done
19881
19882
19883 if test "$ac_cv_header_wchar_h" != "yes"; then
19884
19885 for ac_header in wcstr.h
19886 do
19887 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19888 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19889 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19890 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19891 echo $ECHO_N "(cached) $ECHO_C" >&6
19892 else
19893 cat >conftest.$ac_ext <<_ACEOF
19894 /* confdefs.h. */
19895 _ACEOF
19896 cat confdefs.h >>conftest.$ac_ext
19897 cat >>conftest.$ac_ext <<_ACEOF
19898 /* end confdefs.h. */
19899 $ac_includes_default
19900
19901 #include <$ac_header>
19902 _ACEOF
19903 rm -f conftest.$ac_objext
19904 if { (ac_try="$ac_compile"
19905 case "(($ac_try" in
19906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19907 *) ac_try_echo=$ac_try;;
19908 esac
19909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19910 (eval "$ac_compile") 2>conftest.er1
19911 ac_status=$?
19912 grep -v '^ *+' conftest.er1 >conftest.err
19913 rm -f conftest.er1
19914 cat conftest.err >&5
19915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19916 (exit $ac_status); } && {
19917 test -z "$ac_c_werror_flag" ||
19918 test ! -s conftest.err
19919 } && test -s conftest.$ac_objext; then
19920 eval "$as_ac_Header=yes"
19921 else
19922 echo "$as_me: failed program was:" >&5
19923 sed 's/^/| /' conftest.$ac_ext >&5
19924
19925 eval "$as_ac_Header=no"
19926 fi
19927
19928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19929 fi
19930 ac_res=`eval echo '${'$as_ac_Header'}'`
19931 { echo "$as_me:$LINENO: result: $ac_res" >&5
19932 echo "${ECHO_T}$ac_res" >&6; }
19933 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19934 cat >>confdefs.h <<_ACEOF
19935 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19936 _ACEOF
19937
19938 fi
19939
19940 done
19941
19942 fi
19943
19944 case "${host}" in
19945 *-pc-os2_emx | *-pc-os2-emx )
19946 if test $ac_cv_header_langinfo_h = "yes" \
19947 -a \( "$wx_cv_gccversion" = "EMX2" \
19948 -o "$wx_cv_gccversion" = "EMX3" \
19949 -o "$wx_cv_gccversion" = "Innotek5" \); then
19950 LIBS="$LIBS -lintl"
19951 fi
19952 ;;
19953 esac
19954
19955 if test "$USE_UNIX" = 1 ; then
19956
19957 for ac_header in sys/select.h
19958 do
19959 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19960 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19961 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19962 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19963 echo $ECHO_N "(cached) $ECHO_C" >&6
19964 else
19965 cat >conftest.$ac_ext <<_ACEOF
19966 /* confdefs.h. */
19967 _ACEOF
19968 cat confdefs.h >>conftest.$ac_ext
19969 cat >>conftest.$ac_ext <<_ACEOF
19970 /* end confdefs.h. */
19971 $ac_includes_default
19972
19973 #include <$ac_header>
19974 _ACEOF
19975 rm -f conftest.$ac_objext
19976 if { (ac_try="$ac_compile"
19977 case "(($ac_try" in
19978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19979 *) ac_try_echo=$ac_try;;
19980 esac
19981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19982 (eval "$ac_compile") 2>conftest.er1
19983 ac_status=$?
19984 grep -v '^ *+' conftest.er1 >conftest.err
19985 rm -f conftest.er1
19986 cat conftest.err >&5
19987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19988 (exit $ac_status); } && {
19989 test -z "$ac_c_werror_flag" ||
19990 test ! -s conftest.err
19991 } && test -s conftest.$ac_objext; then
19992 eval "$as_ac_Header=yes"
19993 else
19994 echo "$as_me: failed program was:" >&5
19995 sed 's/^/| /' conftest.$ac_ext >&5
19996
19997 eval "$as_ac_Header=no"
19998 fi
19999
20000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20001 fi
20002 ac_res=`eval echo '${'$as_ac_Header'}'`
20003 { echo "$as_me:$LINENO: result: $ac_res" >&5
20004 echo "${ECHO_T}$ac_res" >&6; }
20005 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20006 cat >>confdefs.h <<_ACEOF
20007 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20008 _ACEOF
20009
20010 fi
20011
20012 done
20013
20014 fi
20015
20016
20017 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
20018 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
20019 if test "${ac_cv_c_const+set}" = set; then
20020 echo $ECHO_N "(cached) $ECHO_C" >&6
20021 else
20022 cat >conftest.$ac_ext <<_ACEOF
20023 /* confdefs.h. */
20024 _ACEOF
20025 cat confdefs.h >>conftest.$ac_ext
20026 cat >>conftest.$ac_ext <<_ACEOF
20027 /* end confdefs.h. */
20028
20029 int
20030 main ()
20031 {
20032 /* FIXME: Include the comments suggested by Paul. */
20033 #ifndef __cplusplus
20034 /* Ultrix mips cc rejects this. */
20035 typedef int charset[2];
20036 const charset cs;
20037 /* SunOS 4.1.1 cc rejects this. */
20038 char const *const *pcpcc;
20039 char **ppc;
20040 /* NEC SVR4.0.2 mips cc rejects this. */
20041 struct point {int x, y;};
20042 static struct point const zero = {0,0};
20043 /* AIX XL C 1.02.0.0 rejects this.
20044 It does not let you subtract one const X* pointer from another in
20045 an arm of an if-expression whose if-part is not a constant
20046 expression */
20047 const char *g = "string";
20048 pcpcc = &g + (g ? g-g : 0);
20049 /* HPUX 7.0 cc rejects these. */
20050 ++pcpcc;
20051 ppc = (char**) pcpcc;
20052 pcpcc = (char const *const *) ppc;
20053 { /* SCO 3.2v4 cc rejects this. */
20054 char *t;
20055 char const *s = 0 ? (char *) 0 : (char const *) 0;
20056
20057 *t++ = 0;
20058 if (s) return 0;
20059 }
20060 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20061 int x[] = {25, 17};
20062 const int *foo = &x[0];
20063 ++foo;
20064 }
20065 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20066 typedef const int *iptr;
20067 iptr p = 0;
20068 ++p;
20069 }
20070 { /* AIX XL C 1.02.0.0 rejects this saying
20071 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20072 struct s { int j; const int *ap[3]; };
20073 struct s *b; b->j = 5;
20074 }
20075 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20076 const int foo = 10;
20077 if (!foo) return 0;
20078 }
20079 return !cs[0] && !zero.x;
20080 #endif
20081
20082 ;
20083 return 0;
20084 }
20085 _ACEOF
20086 rm -f conftest.$ac_objext
20087 if { (ac_try="$ac_compile"
20088 case "(($ac_try" in
20089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20090 *) ac_try_echo=$ac_try;;
20091 esac
20092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20093 (eval "$ac_compile") 2>conftest.er1
20094 ac_status=$?
20095 grep -v '^ *+' conftest.er1 >conftest.err
20096 rm -f conftest.er1
20097 cat conftest.err >&5
20098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20099 (exit $ac_status); } && {
20100 test -z "$ac_c_werror_flag" ||
20101 test ! -s conftest.err
20102 } && test -s conftest.$ac_objext; then
20103 ac_cv_c_const=yes
20104 else
20105 echo "$as_me: failed program was:" >&5
20106 sed 's/^/| /' conftest.$ac_ext >&5
20107
20108 ac_cv_c_const=no
20109 fi
20110
20111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20112 fi
20113 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20114 echo "${ECHO_T}$ac_cv_c_const" >&6; }
20115 if test $ac_cv_c_const = no; then
20116
20117 cat >>confdefs.h <<\_ACEOF
20118 #define const
20119 _ACEOF
20120
20121 fi
20122
20123 { echo "$as_me:$LINENO: checking for inline" >&5
20124 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
20125 if test "${ac_cv_c_inline+set}" = set; then
20126 echo $ECHO_N "(cached) $ECHO_C" >&6
20127 else
20128 ac_cv_c_inline=no
20129 for ac_kw in inline __inline__ __inline; do
20130 cat >conftest.$ac_ext <<_ACEOF
20131 /* confdefs.h. */
20132 _ACEOF
20133 cat confdefs.h >>conftest.$ac_ext
20134 cat >>conftest.$ac_ext <<_ACEOF
20135 /* end confdefs.h. */
20136 #ifndef __cplusplus
20137 typedef int foo_t;
20138 static $ac_kw foo_t static_foo () {return 0; }
20139 $ac_kw foo_t foo () {return 0; }
20140 #endif
20141
20142 _ACEOF
20143 rm -f conftest.$ac_objext
20144 if { (ac_try="$ac_compile"
20145 case "(($ac_try" in
20146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20147 *) ac_try_echo=$ac_try;;
20148 esac
20149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20150 (eval "$ac_compile") 2>conftest.er1
20151 ac_status=$?
20152 grep -v '^ *+' conftest.er1 >conftest.err
20153 rm -f conftest.er1
20154 cat conftest.err >&5
20155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20156 (exit $ac_status); } && {
20157 test -z "$ac_c_werror_flag" ||
20158 test ! -s conftest.err
20159 } && test -s conftest.$ac_objext; then
20160 ac_cv_c_inline=$ac_kw
20161 else
20162 echo "$as_me: failed program was:" >&5
20163 sed 's/^/| /' conftest.$ac_ext >&5
20164
20165
20166 fi
20167
20168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20169 test "$ac_cv_c_inline" != no && break
20170 done
20171
20172 fi
20173 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20174 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
20175
20176
20177 case $ac_cv_c_inline in
20178 inline | yes) ;;
20179 *)
20180 case $ac_cv_c_inline in
20181 no) ac_val=;;
20182 *) ac_val=$ac_cv_c_inline;;
20183 esac
20184 cat >>confdefs.h <<_ACEOF
20185 #ifndef __cplusplus
20186 #define inline $ac_val
20187 #endif
20188 _ACEOF
20189 ;;
20190 esac
20191
20192
20193 { echo "$as_me:$LINENO: checking for short" >&5
20194 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
20195 if test "${ac_cv_type_short+set}" = set; then
20196 echo $ECHO_N "(cached) $ECHO_C" >&6
20197 else
20198 cat >conftest.$ac_ext <<_ACEOF
20199 /* confdefs.h. */
20200 _ACEOF
20201 cat confdefs.h >>conftest.$ac_ext
20202 cat >>conftest.$ac_ext <<_ACEOF
20203 /* end confdefs.h. */
20204 $ac_includes_default
20205 typedef short ac__type_new_;
20206 int
20207 main ()
20208 {
20209 if ((ac__type_new_ *) 0)
20210 return 0;
20211 if (sizeof (ac__type_new_))
20212 return 0;
20213 ;
20214 return 0;
20215 }
20216 _ACEOF
20217 rm -f conftest.$ac_objext
20218 if { (ac_try="$ac_compile"
20219 case "(($ac_try" in
20220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20221 *) ac_try_echo=$ac_try;;
20222 esac
20223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20224 (eval "$ac_compile") 2>conftest.er1
20225 ac_status=$?
20226 grep -v '^ *+' conftest.er1 >conftest.err
20227 rm -f conftest.er1
20228 cat conftest.err >&5
20229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20230 (exit $ac_status); } && {
20231 test -z "$ac_c_werror_flag" ||
20232 test ! -s conftest.err
20233 } && test -s conftest.$ac_objext; then
20234 ac_cv_type_short=yes
20235 else
20236 echo "$as_me: failed program was:" >&5
20237 sed 's/^/| /' conftest.$ac_ext >&5
20238
20239 ac_cv_type_short=no
20240 fi
20241
20242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20243 fi
20244 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
20245 echo "${ECHO_T}$ac_cv_type_short" >&6; }
20246
20247 # The cast to long int works around a bug in the HP C Compiler
20248 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20249 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20250 # This bug is HP SR number 8606223364.
20251 { echo "$as_me:$LINENO: checking size of short" >&5
20252 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
20253 if test "${ac_cv_sizeof_short+set}" = set; then
20254 echo $ECHO_N "(cached) $ECHO_C" >&6
20255 else
20256 if test "$cross_compiling" = yes; then
20257 # Depending upon the size, compute the lo and hi bounds.
20258 cat >conftest.$ac_ext <<_ACEOF
20259 /* confdefs.h. */
20260 _ACEOF
20261 cat confdefs.h >>conftest.$ac_ext
20262 cat >>conftest.$ac_ext <<_ACEOF
20263 /* end confdefs.h. */
20264 $ac_includes_default
20265 typedef short ac__type_sizeof_;
20266 int
20267 main ()
20268 {
20269 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20270 test_array [0] = 0
20271
20272 ;
20273 return 0;
20274 }
20275 _ACEOF
20276 rm -f conftest.$ac_objext
20277 if { (ac_try="$ac_compile"
20278 case "(($ac_try" in
20279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20280 *) ac_try_echo=$ac_try;;
20281 esac
20282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20283 (eval "$ac_compile") 2>conftest.er1
20284 ac_status=$?
20285 grep -v '^ *+' conftest.er1 >conftest.err
20286 rm -f conftest.er1
20287 cat conftest.err >&5
20288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20289 (exit $ac_status); } && {
20290 test -z "$ac_c_werror_flag" ||
20291 test ! -s conftest.err
20292 } && test -s conftest.$ac_objext; then
20293 ac_lo=0 ac_mid=0
20294 while :; do
20295 cat >conftest.$ac_ext <<_ACEOF
20296 /* confdefs.h. */
20297 _ACEOF
20298 cat confdefs.h >>conftest.$ac_ext
20299 cat >>conftest.$ac_ext <<_ACEOF
20300 /* end confdefs.h. */
20301 $ac_includes_default
20302 typedef short ac__type_sizeof_;
20303 int
20304 main ()
20305 {
20306 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20307 test_array [0] = 0
20308
20309 ;
20310 return 0;
20311 }
20312 _ACEOF
20313 rm -f conftest.$ac_objext
20314 if { (ac_try="$ac_compile"
20315 case "(($ac_try" in
20316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20317 *) ac_try_echo=$ac_try;;
20318 esac
20319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20320 (eval "$ac_compile") 2>conftest.er1
20321 ac_status=$?
20322 grep -v '^ *+' conftest.er1 >conftest.err
20323 rm -f conftest.er1
20324 cat conftest.err >&5
20325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20326 (exit $ac_status); } && {
20327 test -z "$ac_c_werror_flag" ||
20328 test ! -s conftest.err
20329 } && test -s conftest.$ac_objext; then
20330 ac_hi=$ac_mid; break
20331 else
20332 echo "$as_me: failed program was:" >&5
20333 sed 's/^/| /' conftest.$ac_ext >&5
20334
20335 ac_lo=`expr $ac_mid + 1`
20336 if test $ac_lo -le $ac_mid; then
20337 ac_lo= ac_hi=
20338 break
20339 fi
20340 ac_mid=`expr 2 '*' $ac_mid + 1`
20341 fi
20342
20343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20344 done
20345 else
20346 echo "$as_me: failed program was:" >&5
20347 sed 's/^/| /' conftest.$ac_ext >&5
20348
20349 cat >conftest.$ac_ext <<_ACEOF
20350 /* confdefs.h. */
20351 _ACEOF
20352 cat confdefs.h >>conftest.$ac_ext
20353 cat >>conftest.$ac_ext <<_ACEOF
20354 /* end confdefs.h. */
20355 $ac_includes_default
20356 typedef short ac__type_sizeof_;
20357 int
20358 main ()
20359 {
20360 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20361 test_array [0] = 0
20362
20363 ;
20364 return 0;
20365 }
20366 _ACEOF
20367 rm -f conftest.$ac_objext
20368 if { (ac_try="$ac_compile"
20369 case "(($ac_try" in
20370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20371 *) ac_try_echo=$ac_try;;
20372 esac
20373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20374 (eval "$ac_compile") 2>conftest.er1
20375 ac_status=$?
20376 grep -v '^ *+' conftest.er1 >conftest.err
20377 rm -f conftest.er1
20378 cat conftest.err >&5
20379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20380 (exit $ac_status); } && {
20381 test -z "$ac_c_werror_flag" ||
20382 test ! -s conftest.err
20383 } && test -s conftest.$ac_objext; then
20384 ac_hi=-1 ac_mid=-1
20385 while :; do
20386 cat >conftest.$ac_ext <<_ACEOF
20387 /* confdefs.h. */
20388 _ACEOF
20389 cat confdefs.h >>conftest.$ac_ext
20390 cat >>conftest.$ac_ext <<_ACEOF
20391 /* end confdefs.h. */
20392 $ac_includes_default
20393 typedef short ac__type_sizeof_;
20394 int
20395 main ()
20396 {
20397 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20398 test_array [0] = 0
20399
20400 ;
20401 return 0;
20402 }
20403 _ACEOF
20404 rm -f conftest.$ac_objext
20405 if { (ac_try="$ac_compile"
20406 case "(($ac_try" in
20407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20408 *) ac_try_echo=$ac_try;;
20409 esac
20410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20411 (eval "$ac_compile") 2>conftest.er1
20412 ac_status=$?
20413 grep -v '^ *+' conftest.er1 >conftest.err
20414 rm -f conftest.er1
20415 cat conftest.err >&5
20416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20417 (exit $ac_status); } && {
20418 test -z "$ac_c_werror_flag" ||
20419 test ! -s conftest.err
20420 } && test -s conftest.$ac_objext; then
20421 ac_lo=$ac_mid; break
20422 else
20423 echo "$as_me: failed program was:" >&5
20424 sed 's/^/| /' conftest.$ac_ext >&5
20425
20426 ac_hi=`expr '(' $ac_mid ')' - 1`
20427 if test $ac_mid -le $ac_hi; then
20428 ac_lo= ac_hi=
20429 break
20430 fi
20431 ac_mid=`expr 2 '*' $ac_mid`
20432 fi
20433
20434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20435 done
20436 else
20437 echo "$as_me: failed program was:" >&5
20438 sed 's/^/| /' conftest.$ac_ext >&5
20439
20440 ac_lo= ac_hi=
20441 fi
20442
20443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20444 fi
20445
20446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20447 # Binary search between lo and hi bounds.
20448 while test "x$ac_lo" != "x$ac_hi"; do
20449 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20450 cat >conftest.$ac_ext <<_ACEOF
20451 /* confdefs.h. */
20452 _ACEOF
20453 cat confdefs.h >>conftest.$ac_ext
20454 cat >>conftest.$ac_ext <<_ACEOF
20455 /* end confdefs.h. */
20456 $ac_includes_default
20457 typedef short ac__type_sizeof_;
20458 int
20459 main ()
20460 {
20461 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20462 test_array [0] = 0
20463
20464 ;
20465 return 0;
20466 }
20467 _ACEOF
20468 rm -f conftest.$ac_objext
20469 if { (ac_try="$ac_compile"
20470 case "(($ac_try" in
20471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20472 *) ac_try_echo=$ac_try;;
20473 esac
20474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20475 (eval "$ac_compile") 2>conftest.er1
20476 ac_status=$?
20477 grep -v '^ *+' conftest.er1 >conftest.err
20478 rm -f conftest.er1
20479 cat conftest.err >&5
20480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20481 (exit $ac_status); } && {
20482 test -z "$ac_c_werror_flag" ||
20483 test ! -s conftest.err
20484 } && test -s conftest.$ac_objext; then
20485 ac_hi=$ac_mid
20486 else
20487 echo "$as_me: failed program was:" >&5
20488 sed 's/^/| /' conftest.$ac_ext >&5
20489
20490 ac_lo=`expr '(' $ac_mid ')' + 1`
20491 fi
20492
20493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20494 done
20495 case $ac_lo in
20496 ?*) ac_cv_sizeof_short=$ac_lo;;
20497 '') if test "$ac_cv_type_short" = yes; then
20498 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20499 See \`config.log' for more details." >&5
20500 echo "$as_me: error: cannot compute sizeof (short)
20501 See \`config.log' for more details." >&2;}
20502 { (exit 77); exit 77; }; }
20503 else
20504 ac_cv_sizeof_short=0
20505 fi ;;
20506 esac
20507 else
20508 cat >conftest.$ac_ext <<_ACEOF
20509 /* confdefs.h. */
20510 _ACEOF
20511 cat confdefs.h >>conftest.$ac_ext
20512 cat >>conftest.$ac_ext <<_ACEOF
20513 /* end confdefs.h. */
20514 $ac_includes_default
20515 typedef short ac__type_sizeof_;
20516 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20517 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20518 #include <stdio.h>
20519 #include <stdlib.h>
20520 int
20521 main ()
20522 {
20523
20524 FILE *f = fopen ("conftest.val", "w");
20525 if (! f)
20526 return 1;
20527 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20528 {
20529 long int i = longval ();
20530 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20531 return 1;
20532 fprintf (f, "%ld\n", i);
20533 }
20534 else
20535 {
20536 unsigned long int i = ulongval ();
20537 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20538 return 1;
20539 fprintf (f, "%lu\n", i);
20540 }
20541 return ferror (f) || fclose (f) != 0;
20542
20543 ;
20544 return 0;
20545 }
20546 _ACEOF
20547 rm -f conftest$ac_exeext
20548 if { (ac_try="$ac_link"
20549 case "(($ac_try" in
20550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20551 *) ac_try_echo=$ac_try;;
20552 esac
20553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20554 (eval "$ac_link") 2>&5
20555 ac_status=$?
20556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20557 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20558 { (case "(($ac_try" in
20559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20560 *) ac_try_echo=$ac_try;;
20561 esac
20562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20563 (eval "$ac_try") 2>&5
20564 ac_status=$?
20565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20566 (exit $ac_status); }; }; then
20567 ac_cv_sizeof_short=`cat conftest.val`
20568 else
20569 echo "$as_me: program exited with status $ac_status" >&5
20570 echo "$as_me: failed program was:" >&5
20571 sed 's/^/| /' conftest.$ac_ext >&5
20572
20573 ( exit $ac_status )
20574 if test "$ac_cv_type_short" = yes; then
20575 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20576 See \`config.log' for more details." >&5
20577 echo "$as_me: error: cannot compute sizeof (short)
20578 See \`config.log' for more details." >&2;}
20579 { (exit 77); exit 77; }; }
20580 else
20581 ac_cv_sizeof_short=0
20582 fi
20583 fi
20584 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20585 fi
20586 rm -f conftest.val
20587 fi
20588 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
20589 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
20590
20591
20592
20593 cat >>confdefs.h <<_ACEOF
20594 #define SIZEOF_SHORT $ac_cv_sizeof_short
20595 _ACEOF
20596
20597
20598 { echo "$as_me:$LINENO: checking for void *" >&5
20599 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
20600 if test "${ac_cv_type_void_p+set}" = set; then
20601 echo $ECHO_N "(cached) $ECHO_C" >&6
20602 else
20603 cat >conftest.$ac_ext <<_ACEOF
20604 /* confdefs.h. */
20605 _ACEOF
20606 cat confdefs.h >>conftest.$ac_ext
20607 cat >>conftest.$ac_ext <<_ACEOF
20608 /* end confdefs.h. */
20609 $ac_includes_default
20610 typedef void * ac__type_new_;
20611 int
20612 main ()
20613 {
20614 if ((ac__type_new_ *) 0)
20615 return 0;
20616 if (sizeof (ac__type_new_))
20617 return 0;
20618 ;
20619 return 0;
20620 }
20621 _ACEOF
20622 rm -f conftest.$ac_objext
20623 if { (ac_try="$ac_compile"
20624 case "(($ac_try" in
20625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20626 *) ac_try_echo=$ac_try;;
20627 esac
20628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20629 (eval "$ac_compile") 2>conftest.er1
20630 ac_status=$?
20631 grep -v '^ *+' conftest.er1 >conftest.err
20632 rm -f conftest.er1
20633 cat conftest.err >&5
20634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20635 (exit $ac_status); } && {
20636 test -z "$ac_c_werror_flag" ||
20637 test ! -s conftest.err
20638 } && test -s conftest.$ac_objext; then
20639 ac_cv_type_void_p=yes
20640 else
20641 echo "$as_me: failed program was:" >&5
20642 sed 's/^/| /' conftest.$ac_ext >&5
20643
20644 ac_cv_type_void_p=no
20645 fi
20646
20647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20648 fi
20649 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20650 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20651
20652 # The cast to long int works around a bug in the HP C Compiler
20653 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20654 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20655 # This bug is HP SR number 8606223364.
20656 { echo "$as_me:$LINENO: checking size of void *" >&5
20657 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20658 if test "${ac_cv_sizeof_void_p+set}" = set; then
20659 echo $ECHO_N "(cached) $ECHO_C" >&6
20660 else
20661 if test "$cross_compiling" = yes; then
20662 # Depending upon the size, compute the lo and hi bounds.
20663 cat >conftest.$ac_ext <<_ACEOF
20664 /* confdefs.h. */
20665 _ACEOF
20666 cat confdefs.h >>conftest.$ac_ext
20667 cat >>conftest.$ac_ext <<_ACEOF
20668 /* end confdefs.h. */
20669 $ac_includes_default
20670 typedef void * ac__type_sizeof_;
20671 int
20672 main ()
20673 {
20674 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20675 test_array [0] = 0
20676
20677 ;
20678 return 0;
20679 }
20680 _ACEOF
20681 rm -f conftest.$ac_objext
20682 if { (ac_try="$ac_compile"
20683 case "(($ac_try" in
20684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20685 *) ac_try_echo=$ac_try;;
20686 esac
20687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20688 (eval "$ac_compile") 2>conftest.er1
20689 ac_status=$?
20690 grep -v '^ *+' conftest.er1 >conftest.err
20691 rm -f conftest.er1
20692 cat conftest.err >&5
20693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20694 (exit $ac_status); } && {
20695 test -z "$ac_c_werror_flag" ||
20696 test ! -s conftest.err
20697 } && test -s conftest.$ac_objext; then
20698 ac_lo=0 ac_mid=0
20699 while :; do
20700 cat >conftest.$ac_ext <<_ACEOF
20701 /* confdefs.h. */
20702 _ACEOF
20703 cat confdefs.h >>conftest.$ac_ext
20704 cat >>conftest.$ac_ext <<_ACEOF
20705 /* end confdefs.h. */
20706 $ac_includes_default
20707 typedef void * ac__type_sizeof_;
20708 int
20709 main ()
20710 {
20711 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20712 test_array [0] = 0
20713
20714 ;
20715 return 0;
20716 }
20717 _ACEOF
20718 rm -f conftest.$ac_objext
20719 if { (ac_try="$ac_compile"
20720 case "(($ac_try" in
20721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20722 *) ac_try_echo=$ac_try;;
20723 esac
20724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20725 (eval "$ac_compile") 2>conftest.er1
20726 ac_status=$?
20727 grep -v '^ *+' conftest.er1 >conftest.err
20728 rm -f conftest.er1
20729 cat conftest.err >&5
20730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20731 (exit $ac_status); } && {
20732 test -z "$ac_c_werror_flag" ||
20733 test ! -s conftest.err
20734 } && test -s conftest.$ac_objext; then
20735 ac_hi=$ac_mid; break
20736 else
20737 echo "$as_me: failed program was:" >&5
20738 sed 's/^/| /' conftest.$ac_ext >&5
20739
20740 ac_lo=`expr $ac_mid + 1`
20741 if test $ac_lo -le $ac_mid; then
20742 ac_lo= ac_hi=
20743 break
20744 fi
20745 ac_mid=`expr 2 '*' $ac_mid + 1`
20746 fi
20747
20748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20749 done
20750 else
20751 echo "$as_me: failed program was:" >&5
20752 sed 's/^/| /' conftest.$ac_ext >&5
20753
20754 cat >conftest.$ac_ext <<_ACEOF
20755 /* confdefs.h. */
20756 _ACEOF
20757 cat confdefs.h >>conftest.$ac_ext
20758 cat >>conftest.$ac_ext <<_ACEOF
20759 /* end confdefs.h. */
20760 $ac_includes_default
20761 typedef void * ac__type_sizeof_;
20762 int
20763 main ()
20764 {
20765 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20766 test_array [0] = 0
20767
20768 ;
20769 return 0;
20770 }
20771 _ACEOF
20772 rm -f conftest.$ac_objext
20773 if { (ac_try="$ac_compile"
20774 case "(($ac_try" in
20775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20776 *) ac_try_echo=$ac_try;;
20777 esac
20778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20779 (eval "$ac_compile") 2>conftest.er1
20780 ac_status=$?
20781 grep -v '^ *+' conftest.er1 >conftest.err
20782 rm -f conftest.er1
20783 cat conftest.err >&5
20784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20785 (exit $ac_status); } && {
20786 test -z "$ac_c_werror_flag" ||
20787 test ! -s conftest.err
20788 } && test -s conftest.$ac_objext; then
20789 ac_hi=-1 ac_mid=-1
20790 while :; do
20791 cat >conftest.$ac_ext <<_ACEOF
20792 /* confdefs.h. */
20793 _ACEOF
20794 cat confdefs.h >>conftest.$ac_ext
20795 cat >>conftest.$ac_ext <<_ACEOF
20796 /* end confdefs.h. */
20797 $ac_includes_default
20798 typedef void * ac__type_sizeof_;
20799 int
20800 main ()
20801 {
20802 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20803 test_array [0] = 0
20804
20805 ;
20806 return 0;
20807 }
20808 _ACEOF
20809 rm -f conftest.$ac_objext
20810 if { (ac_try="$ac_compile"
20811 case "(($ac_try" in
20812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20813 *) ac_try_echo=$ac_try;;
20814 esac
20815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20816 (eval "$ac_compile") 2>conftest.er1
20817 ac_status=$?
20818 grep -v '^ *+' conftest.er1 >conftest.err
20819 rm -f conftest.er1
20820 cat conftest.err >&5
20821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20822 (exit $ac_status); } && {
20823 test -z "$ac_c_werror_flag" ||
20824 test ! -s conftest.err
20825 } && test -s conftest.$ac_objext; then
20826 ac_lo=$ac_mid; break
20827 else
20828 echo "$as_me: failed program was:" >&5
20829 sed 's/^/| /' conftest.$ac_ext >&5
20830
20831 ac_hi=`expr '(' $ac_mid ')' - 1`
20832 if test $ac_mid -le $ac_hi; then
20833 ac_lo= ac_hi=
20834 break
20835 fi
20836 ac_mid=`expr 2 '*' $ac_mid`
20837 fi
20838
20839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20840 done
20841 else
20842 echo "$as_me: failed program was:" >&5
20843 sed 's/^/| /' conftest.$ac_ext >&5
20844
20845 ac_lo= ac_hi=
20846 fi
20847
20848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20849 fi
20850
20851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20852 # Binary search between lo and hi bounds.
20853 while test "x$ac_lo" != "x$ac_hi"; do
20854 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20855 cat >conftest.$ac_ext <<_ACEOF
20856 /* confdefs.h. */
20857 _ACEOF
20858 cat confdefs.h >>conftest.$ac_ext
20859 cat >>conftest.$ac_ext <<_ACEOF
20860 /* end confdefs.h. */
20861 $ac_includes_default
20862 typedef void * ac__type_sizeof_;
20863 int
20864 main ()
20865 {
20866 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20867 test_array [0] = 0
20868
20869 ;
20870 return 0;
20871 }
20872 _ACEOF
20873 rm -f conftest.$ac_objext
20874 if { (ac_try="$ac_compile"
20875 case "(($ac_try" in
20876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20877 *) ac_try_echo=$ac_try;;
20878 esac
20879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20880 (eval "$ac_compile") 2>conftest.er1
20881 ac_status=$?
20882 grep -v '^ *+' conftest.er1 >conftest.err
20883 rm -f conftest.er1
20884 cat conftest.err >&5
20885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20886 (exit $ac_status); } && {
20887 test -z "$ac_c_werror_flag" ||
20888 test ! -s conftest.err
20889 } && test -s conftest.$ac_objext; then
20890 ac_hi=$ac_mid
20891 else
20892 echo "$as_me: failed program was:" >&5
20893 sed 's/^/| /' conftest.$ac_ext >&5
20894
20895 ac_lo=`expr '(' $ac_mid ')' + 1`
20896 fi
20897
20898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20899 done
20900 case $ac_lo in
20901 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20902 '') if test "$ac_cv_type_void_p" = yes; then
20903 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20904 See \`config.log' for more details." >&5
20905 echo "$as_me: error: cannot compute sizeof (void *)
20906 See \`config.log' for more details." >&2;}
20907 { (exit 77); exit 77; }; }
20908 else
20909 ac_cv_sizeof_void_p=0
20910 fi ;;
20911 esac
20912 else
20913 cat >conftest.$ac_ext <<_ACEOF
20914 /* confdefs.h. */
20915 _ACEOF
20916 cat confdefs.h >>conftest.$ac_ext
20917 cat >>conftest.$ac_ext <<_ACEOF
20918 /* end confdefs.h. */
20919 $ac_includes_default
20920 typedef void * ac__type_sizeof_;
20921 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20922 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20923 #include <stdio.h>
20924 #include <stdlib.h>
20925 int
20926 main ()
20927 {
20928
20929 FILE *f = fopen ("conftest.val", "w");
20930 if (! f)
20931 return 1;
20932 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20933 {
20934 long int i = longval ();
20935 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20936 return 1;
20937 fprintf (f, "%ld\n", i);
20938 }
20939 else
20940 {
20941 unsigned long int i = ulongval ();
20942 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20943 return 1;
20944 fprintf (f, "%lu\n", i);
20945 }
20946 return ferror (f) || fclose (f) != 0;
20947
20948 ;
20949 return 0;
20950 }
20951 _ACEOF
20952 rm -f conftest$ac_exeext
20953 if { (ac_try="$ac_link"
20954 case "(($ac_try" in
20955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20956 *) ac_try_echo=$ac_try;;
20957 esac
20958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20959 (eval "$ac_link") 2>&5
20960 ac_status=$?
20961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20962 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20963 { (case "(($ac_try" in
20964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20965 *) ac_try_echo=$ac_try;;
20966 esac
20967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20968 (eval "$ac_try") 2>&5
20969 ac_status=$?
20970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20971 (exit $ac_status); }; }; then
20972 ac_cv_sizeof_void_p=`cat conftest.val`
20973 else
20974 echo "$as_me: program exited with status $ac_status" >&5
20975 echo "$as_me: failed program was:" >&5
20976 sed 's/^/| /' conftest.$ac_ext >&5
20977
20978 ( exit $ac_status )
20979 if test "$ac_cv_type_void_p" = yes; then
20980 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20981 See \`config.log' for more details." >&5
20982 echo "$as_me: error: cannot compute sizeof (void *)
20983 See \`config.log' for more details." >&2;}
20984 { (exit 77); exit 77; }; }
20985 else
20986 ac_cv_sizeof_void_p=0
20987 fi
20988 fi
20989 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20990 fi
20991 rm -f conftest.val
20992 fi
20993 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20994 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20995
20996
20997
20998 cat >>confdefs.h <<_ACEOF
20999 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
21000 _ACEOF
21001
21002
21003 { echo "$as_me:$LINENO: checking for int" >&5
21004 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
21005 if test "${ac_cv_type_int+set}" = set; then
21006 echo $ECHO_N "(cached) $ECHO_C" >&6
21007 else
21008 cat >conftest.$ac_ext <<_ACEOF
21009 /* confdefs.h. */
21010 _ACEOF
21011 cat confdefs.h >>conftest.$ac_ext
21012 cat >>conftest.$ac_ext <<_ACEOF
21013 /* end confdefs.h. */
21014 $ac_includes_default
21015 typedef int ac__type_new_;
21016 int
21017 main ()
21018 {
21019 if ((ac__type_new_ *) 0)
21020 return 0;
21021 if (sizeof (ac__type_new_))
21022 return 0;
21023 ;
21024 return 0;
21025 }
21026 _ACEOF
21027 rm -f conftest.$ac_objext
21028 if { (ac_try="$ac_compile"
21029 case "(($ac_try" in
21030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21031 *) ac_try_echo=$ac_try;;
21032 esac
21033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21034 (eval "$ac_compile") 2>conftest.er1
21035 ac_status=$?
21036 grep -v '^ *+' conftest.er1 >conftest.err
21037 rm -f conftest.er1
21038 cat conftest.err >&5
21039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21040 (exit $ac_status); } && {
21041 test -z "$ac_c_werror_flag" ||
21042 test ! -s conftest.err
21043 } && test -s conftest.$ac_objext; then
21044 ac_cv_type_int=yes
21045 else
21046 echo "$as_me: failed program was:" >&5
21047 sed 's/^/| /' conftest.$ac_ext >&5
21048
21049 ac_cv_type_int=no
21050 fi
21051
21052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21053 fi
21054 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
21055 echo "${ECHO_T}$ac_cv_type_int" >&6; }
21056
21057 # The cast to long int works around a bug in the HP C Compiler
21058 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21059 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21060 # This bug is HP SR number 8606223364.
21061 { echo "$as_me:$LINENO: checking size of int" >&5
21062 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
21063 if test "${ac_cv_sizeof_int+set}" = set; then
21064 echo $ECHO_N "(cached) $ECHO_C" >&6
21065 else
21066 if test "$cross_compiling" = yes; then
21067 # Depending upon the size, compute the lo and hi bounds.
21068 cat >conftest.$ac_ext <<_ACEOF
21069 /* confdefs.h. */
21070 _ACEOF
21071 cat confdefs.h >>conftest.$ac_ext
21072 cat >>conftest.$ac_ext <<_ACEOF
21073 /* end confdefs.h. */
21074 $ac_includes_default
21075 typedef int ac__type_sizeof_;
21076 int
21077 main ()
21078 {
21079 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21080 test_array [0] = 0
21081
21082 ;
21083 return 0;
21084 }
21085 _ACEOF
21086 rm -f conftest.$ac_objext
21087 if { (ac_try="$ac_compile"
21088 case "(($ac_try" in
21089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21090 *) ac_try_echo=$ac_try;;
21091 esac
21092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21093 (eval "$ac_compile") 2>conftest.er1
21094 ac_status=$?
21095 grep -v '^ *+' conftest.er1 >conftest.err
21096 rm -f conftest.er1
21097 cat conftest.err >&5
21098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21099 (exit $ac_status); } && {
21100 test -z "$ac_c_werror_flag" ||
21101 test ! -s conftest.err
21102 } && test -s conftest.$ac_objext; then
21103 ac_lo=0 ac_mid=0
21104 while :; do
21105 cat >conftest.$ac_ext <<_ACEOF
21106 /* confdefs.h. */
21107 _ACEOF
21108 cat confdefs.h >>conftest.$ac_ext
21109 cat >>conftest.$ac_ext <<_ACEOF
21110 /* end confdefs.h. */
21111 $ac_includes_default
21112 typedef int ac__type_sizeof_;
21113 int
21114 main ()
21115 {
21116 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21117 test_array [0] = 0
21118
21119 ;
21120 return 0;
21121 }
21122 _ACEOF
21123 rm -f conftest.$ac_objext
21124 if { (ac_try="$ac_compile"
21125 case "(($ac_try" in
21126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21127 *) ac_try_echo=$ac_try;;
21128 esac
21129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21130 (eval "$ac_compile") 2>conftest.er1
21131 ac_status=$?
21132 grep -v '^ *+' conftest.er1 >conftest.err
21133 rm -f conftest.er1
21134 cat conftest.err >&5
21135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21136 (exit $ac_status); } && {
21137 test -z "$ac_c_werror_flag" ||
21138 test ! -s conftest.err
21139 } && test -s conftest.$ac_objext; then
21140 ac_hi=$ac_mid; break
21141 else
21142 echo "$as_me: failed program was:" >&5
21143 sed 's/^/| /' conftest.$ac_ext >&5
21144
21145 ac_lo=`expr $ac_mid + 1`
21146 if test $ac_lo -le $ac_mid; then
21147 ac_lo= ac_hi=
21148 break
21149 fi
21150 ac_mid=`expr 2 '*' $ac_mid + 1`
21151 fi
21152
21153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21154 done
21155 else
21156 echo "$as_me: failed program was:" >&5
21157 sed 's/^/| /' conftest.$ac_ext >&5
21158
21159 cat >conftest.$ac_ext <<_ACEOF
21160 /* confdefs.h. */
21161 _ACEOF
21162 cat confdefs.h >>conftest.$ac_ext
21163 cat >>conftest.$ac_ext <<_ACEOF
21164 /* end confdefs.h. */
21165 $ac_includes_default
21166 typedef int ac__type_sizeof_;
21167 int
21168 main ()
21169 {
21170 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21171 test_array [0] = 0
21172
21173 ;
21174 return 0;
21175 }
21176 _ACEOF
21177 rm -f conftest.$ac_objext
21178 if { (ac_try="$ac_compile"
21179 case "(($ac_try" in
21180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21181 *) ac_try_echo=$ac_try;;
21182 esac
21183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21184 (eval "$ac_compile") 2>conftest.er1
21185 ac_status=$?
21186 grep -v '^ *+' conftest.er1 >conftest.err
21187 rm -f conftest.er1
21188 cat conftest.err >&5
21189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21190 (exit $ac_status); } && {
21191 test -z "$ac_c_werror_flag" ||
21192 test ! -s conftest.err
21193 } && test -s conftest.$ac_objext; then
21194 ac_hi=-1 ac_mid=-1
21195 while :; do
21196 cat >conftest.$ac_ext <<_ACEOF
21197 /* confdefs.h. */
21198 _ACEOF
21199 cat confdefs.h >>conftest.$ac_ext
21200 cat >>conftest.$ac_ext <<_ACEOF
21201 /* end confdefs.h. */
21202 $ac_includes_default
21203 typedef int ac__type_sizeof_;
21204 int
21205 main ()
21206 {
21207 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21208 test_array [0] = 0
21209
21210 ;
21211 return 0;
21212 }
21213 _ACEOF
21214 rm -f conftest.$ac_objext
21215 if { (ac_try="$ac_compile"
21216 case "(($ac_try" in
21217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21218 *) ac_try_echo=$ac_try;;
21219 esac
21220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21221 (eval "$ac_compile") 2>conftest.er1
21222 ac_status=$?
21223 grep -v '^ *+' conftest.er1 >conftest.err
21224 rm -f conftest.er1
21225 cat conftest.err >&5
21226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21227 (exit $ac_status); } && {
21228 test -z "$ac_c_werror_flag" ||
21229 test ! -s conftest.err
21230 } && test -s conftest.$ac_objext; then
21231 ac_lo=$ac_mid; break
21232 else
21233 echo "$as_me: failed program was:" >&5
21234 sed 's/^/| /' conftest.$ac_ext >&5
21235
21236 ac_hi=`expr '(' $ac_mid ')' - 1`
21237 if test $ac_mid -le $ac_hi; then
21238 ac_lo= ac_hi=
21239 break
21240 fi
21241 ac_mid=`expr 2 '*' $ac_mid`
21242 fi
21243
21244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21245 done
21246 else
21247 echo "$as_me: failed program was:" >&5
21248 sed 's/^/| /' conftest.$ac_ext >&5
21249
21250 ac_lo= ac_hi=
21251 fi
21252
21253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21254 fi
21255
21256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21257 # Binary search between lo and hi bounds.
21258 while test "x$ac_lo" != "x$ac_hi"; do
21259 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21260 cat >conftest.$ac_ext <<_ACEOF
21261 /* confdefs.h. */
21262 _ACEOF
21263 cat confdefs.h >>conftest.$ac_ext
21264 cat >>conftest.$ac_ext <<_ACEOF
21265 /* end confdefs.h. */
21266 $ac_includes_default
21267 typedef int ac__type_sizeof_;
21268 int
21269 main ()
21270 {
21271 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21272 test_array [0] = 0
21273
21274 ;
21275 return 0;
21276 }
21277 _ACEOF
21278 rm -f conftest.$ac_objext
21279 if { (ac_try="$ac_compile"
21280 case "(($ac_try" in
21281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21282 *) ac_try_echo=$ac_try;;
21283 esac
21284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21285 (eval "$ac_compile") 2>conftest.er1
21286 ac_status=$?
21287 grep -v '^ *+' conftest.er1 >conftest.err
21288 rm -f conftest.er1
21289 cat conftest.err >&5
21290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21291 (exit $ac_status); } && {
21292 test -z "$ac_c_werror_flag" ||
21293 test ! -s conftest.err
21294 } && test -s conftest.$ac_objext; then
21295 ac_hi=$ac_mid
21296 else
21297 echo "$as_me: failed program was:" >&5
21298 sed 's/^/| /' conftest.$ac_ext >&5
21299
21300 ac_lo=`expr '(' $ac_mid ')' + 1`
21301 fi
21302
21303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21304 done
21305 case $ac_lo in
21306 ?*) ac_cv_sizeof_int=$ac_lo;;
21307 '') if test "$ac_cv_type_int" = yes; then
21308 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21309 See \`config.log' for more details." >&5
21310 echo "$as_me: error: cannot compute sizeof (int)
21311 See \`config.log' for more details." >&2;}
21312 { (exit 77); exit 77; }; }
21313 else
21314 ac_cv_sizeof_int=0
21315 fi ;;
21316 esac
21317 else
21318 cat >conftest.$ac_ext <<_ACEOF
21319 /* confdefs.h. */
21320 _ACEOF
21321 cat confdefs.h >>conftest.$ac_ext
21322 cat >>conftest.$ac_ext <<_ACEOF
21323 /* end confdefs.h. */
21324 $ac_includes_default
21325 typedef int ac__type_sizeof_;
21326 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21327 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21328 #include <stdio.h>
21329 #include <stdlib.h>
21330 int
21331 main ()
21332 {
21333
21334 FILE *f = fopen ("conftest.val", "w");
21335 if (! f)
21336 return 1;
21337 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21338 {
21339 long int i = longval ();
21340 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21341 return 1;
21342 fprintf (f, "%ld\n", i);
21343 }
21344 else
21345 {
21346 unsigned long int i = ulongval ();
21347 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21348 return 1;
21349 fprintf (f, "%lu\n", i);
21350 }
21351 return ferror (f) || fclose (f) != 0;
21352
21353 ;
21354 return 0;
21355 }
21356 _ACEOF
21357 rm -f conftest$ac_exeext
21358 if { (ac_try="$ac_link"
21359 case "(($ac_try" in
21360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21361 *) ac_try_echo=$ac_try;;
21362 esac
21363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21364 (eval "$ac_link") 2>&5
21365 ac_status=$?
21366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21367 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21368 { (case "(($ac_try" in
21369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21370 *) ac_try_echo=$ac_try;;
21371 esac
21372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21373 (eval "$ac_try") 2>&5
21374 ac_status=$?
21375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21376 (exit $ac_status); }; }; then
21377 ac_cv_sizeof_int=`cat conftest.val`
21378 else
21379 echo "$as_me: program exited with status $ac_status" >&5
21380 echo "$as_me: failed program was:" >&5
21381 sed 's/^/| /' conftest.$ac_ext >&5
21382
21383 ( exit $ac_status )
21384 if test "$ac_cv_type_int" = yes; then
21385 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21386 See \`config.log' for more details." >&5
21387 echo "$as_me: error: cannot compute sizeof (int)
21388 See \`config.log' for more details." >&2;}
21389 { (exit 77); exit 77; }; }
21390 else
21391 ac_cv_sizeof_int=0
21392 fi
21393 fi
21394 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21395 fi
21396 rm -f conftest.val
21397 fi
21398 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
21399 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
21400
21401
21402
21403 cat >>confdefs.h <<_ACEOF
21404 #define SIZEOF_INT $ac_cv_sizeof_int
21405 _ACEOF
21406
21407
21408 { echo "$as_me:$LINENO: checking for long" >&5
21409 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
21410 if test "${ac_cv_type_long+set}" = set; then
21411 echo $ECHO_N "(cached) $ECHO_C" >&6
21412 else
21413 cat >conftest.$ac_ext <<_ACEOF
21414 /* confdefs.h. */
21415 _ACEOF
21416 cat confdefs.h >>conftest.$ac_ext
21417 cat >>conftest.$ac_ext <<_ACEOF
21418 /* end confdefs.h. */
21419 $ac_includes_default
21420 typedef long ac__type_new_;
21421 int
21422 main ()
21423 {
21424 if ((ac__type_new_ *) 0)
21425 return 0;
21426 if (sizeof (ac__type_new_))
21427 return 0;
21428 ;
21429 return 0;
21430 }
21431 _ACEOF
21432 rm -f conftest.$ac_objext
21433 if { (ac_try="$ac_compile"
21434 case "(($ac_try" in
21435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21436 *) ac_try_echo=$ac_try;;
21437 esac
21438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21439 (eval "$ac_compile") 2>conftest.er1
21440 ac_status=$?
21441 grep -v '^ *+' conftest.er1 >conftest.err
21442 rm -f conftest.er1
21443 cat conftest.err >&5
21444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21445 (exit $ac_status); } && {
21446 test -z "$ac_c_werror_flag" ||
21447 test ! -s conftest.err
21448 } && test -s conftest.$ac_objext; then
21449 ac_cv_type_long=yes
21450 else
21451 echo "$as_me: failed program was:" >&5
21452 sed 's/^/| /' conftest.$ac_ext >&5
21453
21454 ac_cv_type_long=no
21455 fi
21456
21457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21458 fi
21459 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
21460 echo "${ECHO_T}$ac_cv_type_long" >&6; }
21461
21462 # The cast to long int works around a bug in the HP C Compiler
21463 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21464 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21465 # This bug is HP SR number 8606223364.
21466 { echo "$as_me:$LINENO: checking size of long" >&5
21467 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
21468 if test "${ac_cv_sizeof_long+set}" = set; then
21469 echo $ECHO_N "(cached) $ECHO_C" >&6
21470 else
21471 if test "$cross_compiling" = yes; then
21472 # Depending upon the size, compute the lo and hi bounds.
21473 cat >conftest.$ac_ext <<_ACEOF
21474 /* confdefs.h. */
21475 _ACEOF
21476 cat confdefs.h >>conftest.$ac_ext
21477 cat >>conftest.$ac_ext <<_ACEOF
21478 /* end confdefs.h. */
21479 $ac_includes_default
21480 typedef long ac__type_sizeof_;
21481 int
21482 main ()
21483 {
21484 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21485 test_array [0] = 0
21486
21487 ;
21488 return 0;
21489 }
21490 _ACEOF
21491 rm -f conftest.$ac_objext
21492 if { (ac_try="$ac_compile"
21493 case "(($ac_try" in
21494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21495 *) ac_try_echo=$ac_try;;
21496 esac
21497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21498 (eval "$ac_compile") 2>conftest.er1
21499 ac_status=$?
21500 grep -v '^ *+' conftest.er1 >conftest.err
21501 rm -f conftest.er1
21502 cat conftest.err >&5
21503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21504 (exit $ac_status); } && {
21505 test -z "$ac_c_werror_flag" ||
21506 test ! -s conftest.err
21507 } && test -s conftest.$ac_objext; then
21508 ac_lo=0 ac_mid=0
21509 while :; do
21510 cat >conftest.$ac_ext <<_ACEOF
21511 /* confdefs.h. */
21512 _ACEOF
21513 cat confdefs.h >>conftest.$ac_ext
21514 cat >>conftest.$ac_ext <<_ACEOF
21515 /* end confdefs.h. */
21516 $ac_includes_default
21517 typedef long ac__type_sizeof_;
21518 int
21519 main ()
21520 {
21521 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21522 test_array [0] = 0
21523
21524 ;
21525 return 0;
21526 }
21527 _ACEOF
21528 rm -f conftest.$ac_objext
21529 if { (ac_try="$ac_compile"
21530 case "(($ac_try" in
21531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21532 *) ac_try_echo=$ac_try;;
21533 esac
21534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21535 (eval "$ac_compile") 2>conftest.er1
21536 ac_status=$?
21537 grep -v '^ *+' conftest.er1 >conftest.err
21538 rm -f conftest.er1
21539 cat conftest.err >&5
21540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21541 (exit $ac_status); } && {
21542 test -z "$ac_c_werror_flag" ||
21543 test ! -s conftest.err
21544 } && test -s conftest.$ac_objext; then
21545 ac_hi=$ac_mid; break
21546 else
21547 echo "$as_me: failed program was:" >&5
21548 sed 's/^/| /' conftest.$ac_ext >&5
21549
21550 ac_lo=`expr $ac_mid + 1`
21551 if test $ac_lo -le $ac_mid; then
21552 ac_lo= ac_hi=
21553 break
21554 fi
21555 ac_mid=`expr 2 '*' $ac_mid + 1`
21556 fi
21557
21558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21559 done
21560 else
21561 echo "$as_me: failed program was:" >&5
21562 sed 's/^/| /' conftest.$ac_ext >&5
21563
21564 cat >conftest.$ac_ext <<_ACEOF
21565 /* confdefs.h. */
21566 _ACEOF
21567 cat confdefs.h >>conftest.$ac_ext
21568 cat >>conftest.$ac_ext <<_ACEOF
21569 /* end confdefs.h. */
21570 $ac_includes_default
21571 typedef long ac__type_sizeof_;
21572 int
21573 main ()
21574 {
21575 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21576 test_array [0] = 0
21577
21578 ;
21579 return 0;
21580 }
21581 _ACEOF
21582 rm -f conftest.$ac_objext
21583 if { (ac_try="$ac_compile"
21584 case "(($ac_try" in
21585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21586 *) ac_try_echo=$ac_try;;
21587 esac
21588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21589 (eval "$ac_compile") 2>conftest.er1
21590 ac_status=$?
21591 grep -v '^ *+' conftest.er1 >conftest.err
21592 rm -f conftest.er1
21593 cat conftest.err >&5
21594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21595 (exit $ac_status); } && {
21596 test -z "$ac_c_werror_flag" ||
21597 test ! -s conftest.err
21598 } && test -s conftest.$ac_objext; then
21599 ac_hi=-1 ac_mid=-1
21600 while :; do
21601 cat >conftest.$ac_ext <<_ACEOF
21602 /* confdefs.h. */
21603 _ACEOF
21604 cat confdefs.h >>conftest.$ac_ext
21605 cat >>conftest.$ac_ext <<_ACEOF
21606 /* end confdefs.h. */
21607 $ac_includes_default
21608 typedef long ac__type_sizeof_;
21609 int
21610 main ()
21611 {
21612 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21613 test_array [0] = 0
21614
21615 ;
21616 return 0;
21617 }
21618 _ACEOF
21619 rm -f conftest.$ac_objext
21620 if { (ac_try="$ac_compile"
21621 case "(($ac_try" in
21622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21623 *) ac_try_echo=$ac_try;;
21624 esac
21625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21626 (eval "$ac_compile") 2>conftest.er1
21627 ac_status=$?
21628 grep -v '^ *+' conftest.er1 >conftest.err
21629 rm -f conftest.er1
21630 cat conftest.err >&5
21631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21632 (exit $ac_status); } && {
21633 test -z "$ac_c_werror_flag" ||
21634 test ! -s conftest.err
21635 } && test -s conftest.$ac_objext; then
21636 ac_lo=$ac_mid; break
21637 else
21638 echo "$as_me: failed program was:" >&5
21639 sed 's/^/| /' conftest.$ac_ext >&5
21640
21641 ac_hi=`expr '(' $ac_mid ')' - 1`
21642 if test $ac_mid -le $ac_hi; then
21643 ac_lo= ac_hi=
21644 break
21645 fi
21646 ac_mid=`expr 2 '*' $ac_mid`
21647 fi
21648
21649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21650 done
21651 else
21652 echo "$as_me: failed program was:" >&5
21653 sed 's/^/| /' conftest.$ac_ext >&5
21654
21655 ac_lo= ac_hi=
21656 fi
21657
21658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21659 fi
21660
21661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21662 # Binary search between lo and hi bounds.
21663 while test "x$ac_lo" != "x$ac_hi"; do
21664 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21665 cat >conftest.$ac_ext <<_ACEOF
21666 /* confdefs.h. */
21667 _ACEOF
21668 cat confdefs.h >>conftest.$ac_ext
21669 cat >>conftest.$ac_ext <<_ACEOF
21670 /* end confdefs.h. */
21671 $ac_includes_default
21672 typedef long ac__type_sizeof_;
21673 int
21674 main ()
21675 {
21676 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21677 test_array [0] = 0
21678
21679 ;
21680 return 0;
21681 }
21682 _ACEOF
21683 rm -f conftest.$ac_objext
21684 if { (ac_try="$ac_compile"
21685 case "(($ac_try" in
21686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21687 *) ac_try_echo=$ac_try;;
21688 esac
21689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21690 (eval "$ac_compile") 2>conftest.er1
21691 ac_status=$?
21692 grep -v '^ *+' conftest.er1 >conftest.err
21693 rm -f conftest.er1
21694 cat conftest.err >&5
21695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21696 (exit $ac_status); } && {
21697 test -z "$ac_c_werror_flag" ||
21698 test ! -s conftest.err
21699 } && test -s conftest.$ac_objext; then
21700 ac_hi=$ac_mid
21701 else
21702 echo "$as_me: failed program was:" >&5
21703 sed 's/^/| /' conftest.$ac_ext >&5
21704
21705 ac_lo=`expr '(' $ac_mid ')' + 1`
21706 fi
21707
21708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21709 done
21710 case $ac_lo in
21711 ?*) ac_cv_sizeof_long=$ac_lo;;
21712 '') if test "$ac_cv_type_long" = yes; then
21713 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21714 See \`config.log' for more details." >&5
21715 echo "$as_me: error: cannot compute sizeof (long)
21716 See \`config.log' for more details." >&2;}
21717 { (exit 77); exit 77; }; }
21718 else
21719 ac_cv_sizeof_long=0
21720 fi ;;
21721 esac
21722 else
21723 cat >conftest.$ac_ext <<_ACEOF
21724 /* confdefs.h. */
21725 _ACEOF
21726 cat confdefs.h >>conftest.$ac_ext
21727 cat >>conftest.$ac_ext <<_ACEOF
21728 /* end confdefs.h. */
21729 $ac_includes_default
21730 typedef long ac__type_sizeof_;
21731 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21732 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21733 #include <stdio.h>
21734 #include <stdlib.h>
21735 int
21736 main ()
21737 {
21738
21739 FILE *f = fopen ("conftest.val", "w");
21740 if (! f)
21741 return 1;
21742 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21743 {
21744 long int i = longval ();
21745 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21746 return 1;
21747 fprintf (f, "%ld\n", i);
21748 }
21749 else
21750 {
21751 unsigned long int i = ulongval ();
21752 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21753 return 1;
21754 fprintf (f, "%lu\n", i);
21755 }
21756 return ferror (f) || fclose (f) != 0;
21757
21758 ;
21759 return 0;
21760 }
21761 _ACEOF
21762 rm -f conftest$ac_exeext
21763 if { (ac_try="$ac_link"
21764 case "(($ac_try" in
21765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21766 *) ac_try_echo=$ac_try;;
21767 esac
21768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21769 (eval "$ac_link") 2>&5
21770 ac_status=$?
21771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21772 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21773 { (case "(($ac_try" in
21774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21775 *) ac_try_echo=$ac_try;;
21776 esac
21777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21778 (eval "$ac_try") 2>&5
21779 ac_status=$?
21780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21781 (exit $ac_status); }; }; then
21782 ac_cv_sizeof_long=`cat conftest.val`
21783 else
21784 echo "$as_me: program exited with status $ac_status" >&5
21785 echo "$as_me: failed program was:" >&5
21786 sed 's/^/| /' conftest.$ac_ext >&5
21787
21788 ( exit $ac_status )
21789 if test "$ac_cv_type_long" = yes; then
21790 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21791 See \`config.log' for more details." >&5
21792 echo "$as_me: error: cannot compute sizeof (long)
21793 See \`config.log' for more details." >&2;}
21794 { (exit 77); exit 77; }; }
21795 else
21796 ac_cv_sizeof_long=0
21797 fi
21798 fi
21799 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21800 fi
21801 rm -f conftest.val
21802 fi
21803 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21804 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21805
21806
21807
21808 cat >>confdefs.h <<_ACEOF
21809 #define SIZEOF_LONG $ac_cv_sizeof_long
21810 _ACEOF
21811
21812
21813 { echo "$as_me:$LINENO: checking for size_t" >&5
21814 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21815 if test "${ac_cv_type_size_t+set}" = set; then
21816 echo $ECHO_N "(cached) $ECHO_C" >&6
21817 else
21818 cat >conftest.$ac_ext <<_ACEOF
21819 /* confdefs.h. */
21820 _ACEOF
21821 cat confdefs.h >>conftest.$ac_ext
21822 cat >>conftest.$ac_ext <<_ACEOF
21823 /* end confdefs.h. */
21824 $ac_includes_default
21825 typedef size_t ac__type_new_;
21826 int
21827 main ()
21828 {
21829 if ((ac__type_new_ *) 0)
21830 return 0;
21831 if (sizeof (ac__type_new_))
21832 return 0;
21833 ;
21834 return 0;
21835 }
21836 _ACEOF
21837 rm -f conftest.$ac_objext
21838 if { (ac_try="$ac_compile"
21839 case "(($ac_try" in
21840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21841 *) ac_try_echo=$ac_try;;
21842 esac
21843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21844 (eval "$ac_compile") 2>conftest.er1
21845 ac_status=$?
21846 grep -v '^ *+' conftest.er1 >conftest.err
21847 rm -f conftest.er1
21848 cat conftest.err >&5
21849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21850 (exit $ac_status); } && {
21851 test -z "$ac_c_werror_flag" ||
21852 test ! -s conftest.err
21853 } && test -s conftest.$ac_objext; then
21854 ac_cv_type_size_t=yes
21855 else
21856 echo "$as_me: failed program was:" >&5
21857 sed 's/^/| /' conftest.$ac_ext >&5
21858
21859 ac_cv_type_size_t=no
21860 fi
21861
21862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21863 fi
21864 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21865 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21866
21867 # The cast to long int works around a bug in the HP C Compiler
21868 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21869 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21870 # This bug is HP SR number 8606223364.
21871 { echo "$as_me:$LINENO: checking size of size_t" >&5
21872 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21873 if test "${ac_cv_sizeof_size_t+set}" = set; then
21874 echo $ECHO_N "(cached) $ECHO_C" >&6
21875 else
21876 if test "$cross_compiling" = yes; then
21877 # Depending upon the size, compute the lo and hi bounds.
21878 cat >conftest.$ac_ext <<_ACEOF
21879 /* confdefs.h. */
21880 _ACEOF
21881 cat confdefs.h >>conftest.$ac_ext
21882 cat >>conftest.$ac_ext <<_ACEOF
21883 /* end confdefs.h. */
21884 $ac_includes_default
21885 typedef size_t ac__type_sizeof_;
21886 int
21887 main ()
21888 {
21889 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21890 test_array [0] = 0
21891
21892 ;
21893 return 0;
21894 }
21895 _ACEOF
21896 rm -f conftest.$ac_objext
21897 if { (ac_try="$ac_compile"
21898 case "(($ac_try" in
21899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21900 *) ac_try_echo=$ac_try;;
21901 esac
21902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21903 (eval "$ac_compile") 2>conftest.er1
21904 ac_status=$?
21905 grep -v '^ *+' conftest.er1 >conftest.err
21906 rm -f conftest.er1
21907 cat conftest.err >&5
21908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21909 (exit $ac_status); } && {
21910 test -z "$ac_c_werror_flag" ||
21911 test ! -s conftest.err
21912 } && test -s conftest.$ac_objext; then
21913 ac_lo=0 ac_mid=0
21914 while :; do
21915 cat >conftest.$ac_ext <<_ACEOF
21916 /* confdefs.h. */
21917 _ACEOF
21918 cat confdefs.h >>conftest.$ac_ext
21919 cat >>conftest.$ac_ext <<_ACEOF
21920 /* end confdefs.h. */
21921 $ac_includes_default
21922 typedef size_t ac__type_sizeof_;
21923 int
21924 main ()
21925 {
21926 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21927 test_array [0] = 0
21928
21929 ;
21930 return 0;
21931 }
21932 _ACEOF
21933 rm -f conftest.$ac_objext
21934 if { (ac_try="$ac_compile"
21935 case "(($ac_try" in
21936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21937 *) ac_try_echo=$ac_try;;
21938 esac
21939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21940 (eval "$ac_compile") 2>conftest.er1
21941 ac_status=$?
21942 grep -v '^ *+' conftest.er1 >conftest.err
21943 rm -f conftest.er1
21944 cat conftest.err >&5
21945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21946 (exit $ac_status); } && {
21947 test -z "$ac_c_werror_flag" ||
21948 test ! -s conftest.err
21949 } && test -s conftest.$ac_objext; then
21950 ac_hi=$ac_mid; break
21951 else
21952 echo "$as_me: failed program was:" >&5
21953 sed 's/^/| /' conftest.$ac_ext >&5
21954
21955 ac_lo=`expr $ac_mid + 1`
21956 if test $ac_lo -le $ac_mid; then
21957 ac_lo= ac_hi=
21958 break
21959 fi
21960 ac_mid=`expr 2 '*' $ac_mid + 1`
21961 fi
21962
21963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21964 done
21965 else
21966 echo "$as_me: failed program was:" >&5
21967 sed 's/^/| /' conftest.$ac_ext >&5
21968
21969 cat >conftest.$ac_ext <<_ACEOF
21970 /* confdefs.h. */
21971 _ACEOF
21972 cat confdefs.h >>conftest.$ac_ext
21973 cat >>conftest.$ac_ext <<_ACEOF
21974 /* end confdefs.h. */
21975 $ac_includes_default
21976 typedef size_t ac__type_sizeof_;
21977 int
21978 main ()
21979 {
21980 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21981 test_array [0] = 0
21982
21983 ;
21984 return 0;
21985 }
21986 _ACEOF
21987 rm -f conftest.$ac_objext
21988 if { (ac_try="$ac_compile"
21989 case "(($ac_try" in
21990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21991 *) ac_try_echo=$ac_try;;
21992 esac
21993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21994 (eval "$ac_compile") 2>conftest.er1
21995 ac_status=$?
21996 grep -v '^ *+' conftest.er1 >conftest.err
21997 rm -f conftest.er1
21998 cat conftest.err >&5
21999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22000 (exit $ac_status); } && {
22001 test -z "$ac_c_werror_flag" ||
22002 test ! -s conftest.err
22003 } && test -s conftest.$ac_objext; then
22004 ac_hi=-1 ac_mid=-1
22005 while :; do
22006 cat >conftest.$ac_ext <<_ACEOF
22007 /* confdefs.h. */
22008 _ACEOF
22009 cat confdefs.h >>conftest.$ac_ext
22010 cat >>conftest.$ac_ext <<_ACEOF
22011 /* end confdefs.h. */
22012 $ac_includes_default
22013 typedef size_t ac__type_sizeof_;
22014 int
22015 main ()
22016 {
22017 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22018 test_array [0] = 0
22019
22020 ;
22021 return 0;
22022 }
22023 _ACEOF
22024 rm -f conftest.$ac_objext
22025 if { (ac_try="$ac_compile"
22026 case "(($ac_try" in
22027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22028 *) ac_try_echo=$ac_try;;
22029 esac
22030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22031 (eval "$ac_compile") 2>conftest.er1
22032 ac_status=$?
22033 grep -v '^ *+' conftest.er1 >conftest.err
22034 rm -f conftest.er1
22035 cat conftest.err >&5
22036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22037 (exit $ac_status); } && {
22038 test -z "$ac_c_werror_flag" ||
22039 test ! -s conftest.err
22040 } && test -s conftest.$ac_objext; then
22041 ac_lo=$ac_mid; break
22042 else
22043 echo "$as_me: failed program was:" >&5
22044 sed 's/^/| /' conftest.$ac_ext >&5
22045
22046 ac_hi=`expr '(' $ac_mid ')' - 1`
22047 if test $ac_mid -le $ac_hi; then
22048 ac_lo= ac_hi=
22049 break
22050 fi
22051 ac_mid=`expr 2 '*' $ac_mid`
22052 fi
22053
22054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22055 done
22056 else
22057 echo "$as_me: failed program was:" >&5
22058 sed 's/^/| /' conftest.$ac_ext >&5
22059
22060 ac_lo= ac_hi=
22061 fi
22062
22063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22064 fi
22065
22066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22067 # Binary search between lo and hi bounds.
22068 while test "x$ac_lo" != "x$ac_hi"; do
22069 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22070 cat >conftest.$ac_ext <<_ACEOF
22071 /* confdefs.h. */
22072 _ACEOF
22073 cat confdefs.h >>conftest.$ac_ext
22074 cat >>conftest.$ac_ext <<_ACEOF
22075 /* end confdefs.h. */
22076 $ac_includes_default
22077 typedef size_t ac__type_sizeof_;
22078 int
22079 main ()
22080 {
22081 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22082 test_array [0] = 0
22083
22084 ;
22085 return 0;
22086 }
22087 _ACEOF
22088 rm -f conftest.$ac_objext
22089 if { (ac_try="$ac_compile"
22090 case "(($ac_try" in
22091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22092 *) ac_try_echo=$ac_try;;
22093 esac
22094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22095 (eval "$ac_compile") 2>conftest.er1
22096 ac_status=$?
22097 grep -v '^ *+' conftest.er1 >conftest.err
22098 rm -f conftest.er1
22099 cat conftest.err >&5
22100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22101 (exit $ac_status); } && {
22102 test -z "$ac_c_werror_flag" ||
22103 test ! -s conftest.err
22104 } && test -s conftest.$ac_objext; then
22105 ac_hi=$ac_mid
22106 else
22107 echo "$as_me: failed program was:" >&5
22108 sed 's/^/| /' conftest.$ac_ext >&5
22109
22110 ac_lo=`expr '(' $ac_mid ')' + 1`
22111 fi
22112
22113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22114 done
22115 case $ac_lo in
22116 ?*) ac_cv_sizeof_size_t=$ac_lo;;
22117 '') if test "$ac_cv_type_size_t" = yes; then
22118 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22119 See \`config.log' for more details." >&5
22120 echo "$as_me: error: cannot compute sizeof (size_t)
22121 See \`config.log' for more details." >&2;}
22122 { (exit 77); exit 77; }; }
22123 else
22124 ac_cv_sizeof_size_t=0
22125 fi ;;
22126 esac
22127 else
22128 cat >conftest.$ac_ext <<_ACEOF
22129 /* confdefs.h. */
22130 _ACEOF
22131 cat confdefs.h >>conftest.$ac_ext
22132 cat >>conftest.$ac_ext <<_ACEOF
22133 /* end confdefs.h. */
22134 $ac_includes_default
22135 typedef size_t ac__type_sizeof_;
22136 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22137 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22138 #include <stdio.h>
22139 #include <stdlib.h>
22140 int
22141 main ()
22142 {
22143
22144 FILE *f = fopen ("conftest.val", "w");
22145 if (! f)
22146 return 1;
22147 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22148 {
22149 long int i = longval ();
22150 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22151 return 1;
22152 fprintf (f, "%ld\n", i);
22153 }
22154 else
22155 {
22156 unsigned long int i = ulongval ();
22157 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22158 return 1;
22159 fprintf (f, "%lu\n", i);
22160 }
22161 return ferror (f) || fclose (f) != 0;
22162
22163 ;
22164 return 0;
22165 }
22166 _ACEOF
22167 rm -f conftest$ac_exeext
22168 if { (ac_try="$ac_link"
22169 case "(($ac_try" in
22170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22171 *) ac_try_echo=$ac_try;;
22172 esac
22173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22174 (eval "$ac_link") 2>&5
22175 ac_status=$?
22176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22177 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22178 { (case "(($ac_try" in
22179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22180 *) ac_try_echo=$ac_try;;
22181 esac
22182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22183 (eval "$ac_try") 2>&5
22184 ac_status=$?
22185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22186 (exit $ac_status); }; }; then
22187 ac_cv_sizeof_size_t=`cat conftest.val`
22188 else
22189 echo "$as_me: program exited with status $ac_status" >&5
22190 echo "$as_me: failed program was:" >&5
22191 sed 's/^/| /' conftest.$ac_ext >&5
22192
22193 ( exit $ac_status )
22194 if test "$ac_cv_type_size_t" = yes; then
22195 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22196 See \`config.log' for more details." >&5
22197 echo "$as_me: error: cannot compute sizeof (size_t)
22198 See \`config.log' for more details." >&2;}
22199 { (exit 77); exit 77; }; }
22200 else
22201 ac_cv_sizeof_size_t=0
22202 fi
22203 fi
22204 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22205 fi
22206 rm -f conftest.val
22207 fi
22208 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
22209 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
22210
22211
22212
22213 cat >>confdefs.h <<_ACEOF
22214 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
22215 _ACEOF
22216
22217
22218
22219 case "${host}" in
22220 arm-*-linux* )
22221 { echo "$as_me:$LINENO: checking for long long" >&5
22222 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22223 if test "${ac_cv_type_long_long+set}" = set; then
22224 echo $ECHO_N "(cached) $ECHO_C" >&6
22225 else
22226 cat >conftest.$ac_ext <<_ACEOF
22227 /* confdefs.h. */
22228 _ACEOF
22229 cat confdefs.h >>conftest.$ac_ext
22230 cat >>conftest.$ac_ext <<_ACEOF
22231 /* end confdefs.h. */
22232 $ac_includes_default
22233 typedef long long ac__type_new_;
22234 int
22235 main ()
22236 {
22237 if ((ac__type_new_ *) 0)
22238 return 0;
22239 if (sizeof (ac__type_new_))
22240 return 0;
22241 ;
22242 return 0;
22243 }
22244 _ACEOF
22245 rm -f conftest.$ac_objext
22246 if { (ac_try="$ac_compile"
22247 case "(($ac_try" in
22248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22249 *) ac_try_echo=$ac_try;;
22250 esac
22251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22252 (eval "$ac_compile") 2>conftest.er1
22253 ac_status=$?
22254 grep -v '^ *+' conftest.er1 >conftest.err
22255 rm -f conftest.er1
22256 cat conftest.err >&5
22257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22258 (exit $ac_status); } && {
22259 test -z "$ac_c_werror_flag" ||
22260 test ! -s conftest.err
22261 } && test -s conftest.$ac_objext; then
22262 ac_cv_type_long_long=yes
22263 else
22264 echo "$as_me: failed program was:" >&5
22265 sed 's/^/| /' conftest.$ac_ext >&5
22266
22267 ac_cv_type_long_long=no
22268 fi
22269
22270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22271 fi
22272 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22273 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22274
22275 # The cast to long int works around a bug in the HP C Compiler
22276 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22277 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22278 # This bug is HP SR number 8606223364.
22279 { echo "$as_me:$LINENO: checking size of long long" >&5
22280 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22281 if test "${ac_cv_sizeof_long_long+set}" = set; then
22282 echo $ECHO_N "(cached) $ECHO_C" >&6
22283 else
22284 if test "$cross_compiling" = yes; then
22285 # Depending upon the size, compute the lo and hi bounds.
22286 cat >conftest.$ac_ext <<_ACEOF
22287 /* confdefs.h. */
22288 _ACEOF
22289 cat confdefs.h >>conftest.$ac_ext
22290 cat >>conftest.$ac_ext <<_ACEOF
22291 /* end confdefs.h. */
22292 $ac_includes_default
22293 typedef long long ac__type_sizeof_;
22294 int
22295 main ()
22296 {
22297 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22298 test_array [0] = 0
22299
22300 ;
22301 return 0;
22302 }
22303 _ACEOF
22304 rm -f conftest.$ac_objext
22305 if { (ac_try="$ac_compile"
22306 case "(($ac_try" in
22307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22308 *) ac_try_echo=$ac_try;;
22309 esac
22310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22311 (eval "$ac_compile") 2>conftest.er1
22312 ac_status=$?
22313 grep -v '^ *+' conftest.er1 >conftest.err
22314 rm -f conftest.er1
22315 cat conftest.err >&5
22316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22317 (exit $ac_status); } && {
22318 test -z "$ac_c_werror_flag" ||
22319 test ! -s conftest.err
22320 } && test -s conftest.$ac_objext; then
22321 ac_lo=0 ac_mid=0
22322 while :; do
22323 cat >conftest.$ac_ext <<_ACEOF
22324 /* confdefs.h. */
22325 _ACEOF
22326 cat confdefs.h >>conftest.$ac_ext
22327 cat >>conftest.$ac_ext <<_ACEOF
22328 /* end confdefs.h. */
22329 $ac_includes_default
22330 typedef long long ac__type_sizeof_;
22331 int
22332 main ()
22333 {
22334 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22335 test_array [0] = 0
22336
22337 ;
22338 return 0;
22339 }
22340 _ACEOF
22341 rm -f conftest.$ac_objext
22342 if { (ac_try="$ac_compile"
22343 case "(($ac_try" in
22344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22345 *) ac_try_echo=$ac_try;;
22346 esac
22347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22348 (eval "$ac_compile") 2>conftest.er1
22349 ac_status=$?
22350 grep -v '^ *+' conftest.er1 >conftest.err
22351 rm -f conftest.er1
22352 cat conftest.err >&5
22353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22354 (exit $ac_status); } && {
22355 test -z "$ac_c_werror_flag" ||
22356 test ! -s conftest.err
22357 } && test -s conftest.$ac_objext; then
22358 ac_hi=$ac_mid; break
22359 else
22360 echo "$as_me: failed program was:" >&5
22361 sed 's/^/| /' conftest.$ac_ext >&5
22362
22363 ac_lo=`expr $ac_mid + 1`
22364 if test $ac_lo -le $ac_mid; then
22365 ac_lo= ac_hi=
22366 break
22367 fi
22368 ac_mid=`expr 2 '*' $ac_mid + 1`
22369 fi
22370
22371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22372 done
22373 else
22374 echo "$as_me: failed program was:" >&5
22375 sed 's/^/| /' conftest.$ac_ext >&5
22376
22377 cat >conftest.$ac_ext <<_ACEOF
22378 /* confdefs.h. */
22379 _ACEOF
22380 cat confdefs.h >>conftest.$ac_ext
22381 cat >>conftest.$ac_ext <<_ACEOF
22382 /* end confdefs.h. */
22383 $ac_includes_default
22384 typedef long long ac__type_sizeof_;
22385 int
22386 main ()
22387 {
22388 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22389 test_array [0] = 0
22390
22391 ;
22392 return 0;
22393 }
22394 _ACEOF
22395 rm -f conftest.$ac_objext
22396 if { (ac_try="$ac_compile"
22397 case "(($ac_try" in
22398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22399 *) ac_try_echo=$ac_try;;
22400 esac
22401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22402 (eval "$ac_compile") 2>conftest.er1
22403 ac_status=$?
22404 grep -v '^ *+' conftest.er1 >conftest.err
22405 rm -f conftest.er1
22406 cat conftest.err >&5
22407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22408 (exit $ac_status); } && {
22409 test -z "$ac_c_werror_flag" ||
22410 test ! -s conftest.err
22411 } && test -s conftest.$ac_objext; then
22412 ac_hi=-1 ac_mid=-1
22413 while :; do
22414 cat >conftest.$ac_ext <<_ACEOF
22415 /* confdefs.h. */
22416 _ACEOF
22417 cat confdefs.h >>conftest.$ac_ext
22418 cat >>conftest.$ac_ext <<_ACEOF
22419 /* end confdefs.h. */
22420 $ac_includes_default
22421 typedef long long ac__type_sizeof_;
22422 int
22423 main ()
22424 {
22425 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22426 test_array [0] = 0
22427
22428 ;
22429 return 0;
22430 }
22431 _ACEOF
22432 rm -f conftest.$ac_objext
22433 if { (ac_try="$ac_compile"
22434 case "(($ac_try" in
22435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22436 *) ac_try_echo=$ac_try;;
22437 esac
22438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22439 (eval "$ac_compile") 2>conftest.er1
22440 ac_status=$?
22441 grep -v '^ *+' conftest.er1 >conftest.err
22442 rm -f conftest.er1
22443 cat conftest.err >&5
22444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22445 (exit $ac_status); } && {
22446 test -z "$ac_c_werror_flag" ||
22447 test ! -s conftest.err
22448 } && test -s conftest.$ac_objext; then
22449 ac_lo=$ac_mid; break
22450 else
22451 echo "$as_me: failed program was:" >&5
22452 sed 's/^/| /' conftest.$ac_ext >&5
22453
22454 ac_hi=`expr '(' $ac_mid ')' - 1`
22455 if test $ac_mid -le $ac_hi; then
22456 ac_lo= ac_hi=
22457 break
22458 fi
22459 ac_mid=`expr 2 '*' $ac_mid`
22460 fi
22461
22462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22463 done
22464 else
22465 echo "$as_me: failed program was:" >&5
22466 sed 's/^/| /' conftest.$ac_ext >&5
22467
22468 ac_lo= ac_hi=
22469 fi
22470
22471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22472 fi
22473
22474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22475 # Binary search between lo and hi bounds.
22476 while test "x$ac_lo" != "x$ac_hi"; do
22477 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22478 cat >conftest.$ac_ext <<_ACEOF
22479 /* confdefs.h. */
22480 _ACEOF
22481 cat confdefs.h >>conftest.$ac_ext
22482 cat >>conftest.$ac_ext <<_ACEOF
22483 /* end confdefs.h. */
22484 $ac_includes_default
22485 typedef long long ac__type_sizeof_;
22486 int
22487 main ()
22488 {
22489 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22490 test_array [0] = 0
22491
22492 ;
22493 return 0;
22494 }
22495 _ACEOF
22496 rm -f conftest.$ac_objext
22497 if { (ac_try="$ac_compile"
22498 case "(($ac_try" in
22499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22500 *) ac_try_echo=$ac_try;;
22501 esac
22502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22503 (eval "$ac_compile") 2>conftest.er1
22504 ac_status=$?
22505 grep -v '^ *+' conftest.er1 >conftest.err
22506 rm -f conftest.er1
22507 cat conftest.err >&5
22508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22509 (exit $ac_status); } && {
22510 test -z "$ac_c_werror_flag" ||
22511 test ! -s conftest.err
22512 } && test -s conftest.$ac_objext; then
22513 ac_hi=$ac_mid
22514 else
22515 echo "$as_me: failed program was:" >&5
22516 sed 's/^/| /' conftest.$ac_ext >&5
22517
22518 ac_lo=`expr '(' $ac_mid ')' + 1`
22519 fi
22520
22521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22522 done
22523 case $ac_lo in
22524 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22525 '') if test "$ac_cv_type_long_long" = yes; then
22526 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22527 See \`config.log' for more details." >&5
22528 echo "$as_me: error: cannot compute sizeof (long long)
22529 See \`config.log' for more details." >&2;}
22530 { (exit 77); exit 77; }; }
22531 else
22532 ac_cv_sizeof_long_long=0
22533 fi ;;
22534 esac
22535 else
22536 cat >conftest.$ac_ext <<_ACEOF
22537 /* confdefs.h. */
22538 _ACEOF
22539 cat confdefs.h >>conftest.$ac_ext
22540 cat >>conftest.$ac_ext <<_ACEOF
22541 /* end confdefs.h. */
22542 $ac_includes_default
22543 typedef long long ac__type_sizeof_;
22544 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22545 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22546 #include <stdio.h>
22547 #include <stdlib.h>
22548 int
22549 main ()
22550 {
22551
22552 FILE *f = fopen ("conftest.val", "w");
22553 if (! f)
22554 return 1;
22555 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22556 {
22557 long int i = longval ();
22558 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22559 return 1;
22560 fprintf (f, "%ld\n", i);
22561 }
22562 else
22563 {
22564 unsigned long int i = ulongval ();
22565 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22566 return 1;
22567 fprintf (f, "%lu\n", i);
22568 }
22569 return ferror (f) || fclose (f) != 0;
22570
22571 ;
22572 return 0;
22573 }
22574 _ACEOF
22575 rm -f conftest$ac_exeext
22576 if { (ac_try="$ac_link"
22577 case "(($ac_try" in
22578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22579 *) ac_try_echo=$ac_try;;
22580 esac
22581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22582 (eval "$ac_link") 2>&5
22583 ac_status=$?
22584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22585 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22586 { (case "(($ac_try" in
22587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22588 *) ac_try_echo=$ac_try;;
22589 esac
22590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22591 (eval "$ac_try") 2>&5
22592 ac_status=$?
22593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22594 (exit $ac_status); }; }; then
22595 ac_cv_sizeof_long_long=`cat conftest.val`
22596 else
22597 echo "$as_me: program exited with status $ac_status" >&5
22598 echo "$as_me: failed program was:" >&5
22599 sed 's/^/| /' conftest.$ac_ext >&5
22600
22601 ( exit $ac_status )
22602 if test "$ac_cv_type_long_long" = yes; then
22603 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22604 See \`config.log' for more details." >&5
22605 echo "$as_me: error: cannot compute sizeof (long long)
22606 See \`config.log' for more details." >&2;}
22607 { (exit 77); exit 77; }; }
22608 else
22609 ac_cv_sizeof_long_long=0
22610 fi
22611 fi
22612 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22613 fi
22614 rm -f conftest.val
22615 fi
22616 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22617 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22618
22619
22620
22621 cat >>confdefs.h <<_ACEOF
22622 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22623 _ACEOF
22624
22625
22626 ;;
22627 *-hp-hpux* )
22628 { echo "$as_me:$LINENO: checking for long long" >&5
22629 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22630 if test "${ac_cv_type_long_long+set}" = set; then
22631 echo $ECHO_N "(cached) $ECHO_C" >&6
22632 else
22633 cat >conftest.$ac_ext <<_ACEOF
22634 /* confdefs.h. */
22635 _ACEOF
22636 cat confdefs.h >>conftest.$ac_ext
22637 cat >>conftest.$ac_ext <<_ACEOF
22638 /* end confdefs.h. */
22639 $ac_includes_default
22640 typedef long long ac__type_new_;
22641 int
22642 main ()
22643 {
22644 if ((ac__type_new_ *) 0)
22645 return 0;
22646 if (sizeof (ac__type_new_))
22647 return 0;
22648 ;
22649 return 0;
22650 }
22651 _ACEOF
22652 rm -f conftest.$ac_objext
22653 if { (ac_try="$ac_compile"
22654 case "(($ac_try" in
22655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22656 *) ac_try_echo=$ac_try;;
22657 esac
22658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22659 (eval "$ac_compile") 2>conftest.er1
22660 ac_status=$?
22661 grep -v '^ *+' conftest.er1 >conftest.err
22662 rm -f conftest.er1
22663 cat conftest.err >&5
22664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22665 (exit $ac_status); } && {
22666 test -z "$ac_c_werror_flag" ||
22667 test ! -s conftest.err
22668 } && test -s conftest.$ac_objext; then
22669 ac_cv_type_long_long=yes
22670 else
22671 echo "$as_me: failed program was:" >&5
22672 sed 's/^/| /' conftest.$ac_ext >&5
22673
22674 ac_cv_type_long_long=no
22675 fi
22676
22677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22678 fi
22679 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22680 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22681
22682 # The cast to long int works around a bug in the HP C Compiler
22683 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22684 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22685 # This bug is HP SR number 8606223364.
22686 { echo "$as_me:$LINENO: checking size of long long" >&5
22687 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22688 if test "${ac_cv_sizeof_long_long+set}" = set; then
22689 echo $ECHO_N "(cached) $ECHO_C" >&6
22690 else
22691 if test "$cross_compiling" = yes; then
22692 # Depending upon the size, compute the lo and hi bounds.
22693 cat >conftest.$ac_ext <<_ACEOF
22694 /* confdefs.h. */
22695 _ACEOF
22696 cat confdefs.h >>conftest.$ac_ext
22697 cat >>conftest.$ac_ext <<_ACEOF
22698 /* end confdefs.h. */
22699 $ac_includes_default
22700 typedef long long ac__type_sizeof_;
22701 int
22702 main ()
22703 {
22704 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22705 test_array [0] = 0
22706
22707 ;
22708 return 0;
22709 }
22710 _ACEOF
22711 rm -f conftest.$ac_objext
22712 if { (ac_try="$ac_compile"
22713 case "(($ac_try" in
22714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22715 *) ac_try_echo=$ac_try;;
22716 esac
22717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22718 (eval "$ac_compile") 2>conftest.er1
22719 ac_status=$?
22720 grep -v '^ *+' conftest.er1 >conftest.err
22721 rm -f conftest.er1
22722 cat conftest.err >&5
22723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22724 (exit $ac_status); } && {
22725 test -z "$ac_c_werror_flag" ||
22726 test ! -s conftest.err
22727 } && test -s conftest.$ac_objext; then
22728 ac_lo=0 ac_mid=0
22729 while :; do
22730 cat >conftest.$ac_ext <<_ACEOF
22731 /* confdefs.h. */
22732 _ACEOF
22733 cat confdefs.h >>conftest.$ac_ext
22734 cat >>conftest.$ac_ext <<_ACEOF
22735 /* end confdefs.h. */
22736 $ac_includes_default
22737 typedef long long ac__type_sizeof_;
22738 int
22739 main ()
22740 {
22741 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22742 test_array [0] = 0
22743
22744 ;
22745 return 0;
22746 }
22747 _ACEOF
22748 rm -f conftest.$ac_objext
22749 if { (ac_try="$ac_compile"
22750 case "(($ac_try" in
22751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22752 *) ac_try_echo=$ac_try;;
22753 esac
22754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22755 (eval "$ac_compile") 2>conftest.er1
22756 ac_status=$?
22757 grep -v '^ *+' conftest.er1 >conftest.err
22758 rm -f conftest.er1
22759 cat conftest.err >&5
22760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22761 (exit $ac_status); } && {
22762 test -z "$ac_c_werror_flag" ||
22763 test ! -s conftest.err
22764 } && test -s conftest.$ac_objext; then
22765 ac_hi=$ac_mid; break
22766 else
22767 echo "$as_me: failed program was:" >&5
22768 sed 's/^/| /' conftest.$ac_ext >&5
22769
22770 ac_lo=`expr $ac_mid + 1`
22771 if test $ac_lo -le $ac_mid; then
22772 ac_lo= ac_hi=
22773 break
22774 fi
22775 ac_mid=`expr 2 '*' $ac_mid + 1`
22776 fi
22777
22778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22779 done
22780 else
22781 echo "$as_me: failed program was:" >&5
22782 sed 's/^/| /' conftest.$ac_ext >&5
22783
22784 cat >conftest.$ac_ext <<_ACEOF
22785 /* confdefs.h. */
22786 _ACEOF
22787 cat confdefs.h >>conftest.$ac_ext
22788 cat >>conftest.$ac_ext <<_ACEOF
22789 /* end confdefs.h. */
22790 $ac_includes_default
22791 typedef long long ac__type_sizeof_;
22792 int
22793 main ()
22794 {
22795 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22796 test_array [0] = 0
22797
22798 ;
22799 return 0;
22800 }
22801 _ACEOF
22802 rm -f conftest.$ac_objext
22803 if { (ac_try="$ac_compile"
22804 case "(($ac_try" in
22805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22806 *) ac_try_echo=$ac_try;;
22807 esac
22808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22809 (eval "$ac_compile") 2>conftest.er1
22810 ac_status=$?
22811 grep -v '^ *+' conftest.er1 >conftest.err
22812 rm -f conftest.er1
22813 cat conftest.err >&5
22814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22815 (exit $ac_status); } && {
22816 test -z "$ac_c_werror_flag" ||
22817 test ! -s conftest.err
22818 } && test -s conftest.$ac_objext; then
22819 ac_hi=-1 ac_mid=-1
22820 while :; do
22821 cat >conftest.$ac_ext <<_ACEOF
22822 /* confdefs.h. */
22823 _ACEOF
22824 cat confdefs.h >>conftest.$ac_ext
22825 cat >>conftest.$ac_ext <<_ACEOF
22826 /* end confdefs.h. */
22827 $ac_includes_default
22828 typedef long long ac__type_sizeof_;
22829 int
22830 main ()
22831 {
22832 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22833 test_array [0] = 0
22834
22835 ;
22836 return 0;
22837 }
22838 _ACEOF
22839 rm -f conftest.$ac_objext
22840 if { (ac_try="$ac_compile"
22841 case "(($ac_try" in
22842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22843 *) ac_try_echo=$ac_try;;
22844 esac
22845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22846 (eval "$ac_compile") 2>conftest.er1
22847 ac_status=$?
22848 grep -v '^ *+' conftest.er1 >conftest.err
22849 rm -f conftest.er1
22850 cat conftest.err >&5
22851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22852 (exit $ac_status); } && {
22853 test -z "$ac_c_werror_flag" ||
22854 test ! -s conftest.err
22855 } && test -s conftest.$ac_objext; then
22856 ac_lo=$ac_mid; break
22857 else
22858 echo "$as_me: failed program was:" >&5
22859 sed 's/^/| /' conftest.$ac_ext >&5
22860
22861 ac_hi=`expr '(' $ac_mid ')' - 1`
22862 if test $ac_mid -le $ac_hi; then
22863 ac_lo= ac_hi=
22864 break
22865 fi
22866 ac_mid=`expr 2 '*' $ac_mid`
22867 fi
22868
22869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22870 done
22871 else
22872 echo "$as_me: failed program was:" >&5
22873 sed 's/^/| /' conftest.$ac_ext >&5
22874
22875 ac_lo= ac_hi=
22876 fi
22877
22878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22879 fi
22880
22881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22882 # Binary search between lo and hi bounds.
22883 while test "x$ac_lo" != "x$ac_hi"; do
22884 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22885 cat >conftest.$ac_ext <<_ACEOF
22886 /* confdefs.h. */
22887 _ACEOF
22888 cat confdefs.h >>conftest.$ac_ext
22889 cat >>conftest.$ac_ext <<_ACEOF
22890 /* end confdefs.h. */
22891 $ac_includes_default
22892 typedef long long ac__type_sizeof_;
22893 int
22894 main ()
22895 {
22896 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22897 test_array [0] = 0
22898
22899 ;
22900 return 0;
22901 }
22902 _ACEOF
22903 rm -f conftest.$ac_objext
22904 if { (ac_try="$ac_compile"
22905 case "(($ac_try" in
22906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22907 *) ac_try_echo=$ac_try;;
22908 esac
22909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22910 (eval "$ac_compile") 2>conftest.er1
22911 ac_status=$?
22912 grep -v '^ *+' conftest.er1 >conftest.err
22913 rm -f conftest.er1
22914 cat conftest.err >&5
22915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22916 (exit $ac_status); } && {
22917 test -z "$ac_c_werror_flag" ||
22918 test ! -s conftest.err
22919 } && test -s conftest.$ac_objext; then
22920 ac_hi=$ac_mid
22921 else
22922 echo "$as_me: failed program was:" >&5
22923 sed 's/^/| /' conftest.$ac_ext >&5
22924
22925 ac_lo=`expr '(' $ac_mid ')' + 1`
22926 fi
22927
22928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22929 done
22930 case $ac_lo in
22931 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22932 '') if test "$ac_cv_type_long_long" = yes; then
22933 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22934 See \`config.log' for more details." >&5
22935 echo "$as_me: error: cannot compute sizeof (long long)
22936 See \`config.log' for more details." >&2;}
22937 { (exit 77); exit 77; }; }
22938 else
22939 ac_cv_sizeof_long_long=0
22940 fi ;;
22941 esac
22942 else
22943 cat >conftest.$ac_ext <<_ACEOF
22944 /* confdefs.h. */
22945 _ACEOF
22946 cat confdefs.h >>conftest.$ac_ext
22947 cat >>conftest.$ac_ext <<_ACEOF
22948 /* end confdefs.h. */
22949 $ac_includes_default
22950 typedef long long ac__type_sizeof_;
22951 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22952 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22953 #include <stdio.h>
22954 #include <stdlib.h>
22955 int
22956 main ()
22957 {
22958
22959 FILE *f = fopen ("conftest.val", "w");
22960 if (! f)
22961 return 1;
22962 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22963 {
22964 long int i = longval ();
22965 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22966 return 1;
22967 fprintf (f, "%ld\n", i);
22968 }
22969 else
22970 {
22971 unsigned long int i = ulongval ();
22972 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22973 return 1;
22974 fprintf (f, "%lu\n", i);
22975 }
22976 return ferror (f) || fclose (f) != 0;
22977
22978 ;
22979 return 0;
22980 }
22981 _ACEOF
22982 rm -f conftest$ac_exeext
22983 if { (ac_try="$ac_link"
22984 case "(($ac_try" in
22985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22986 *) ac_try_echo=$ac_try;;
22987 esac
22988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22989 (eval "$ac_link") 2>&5
22990 ac_status=$?
22991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22992 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22993 { (case "(($ac_try" in
22994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22995 *) ac_try_echo=$ac_try;;
22996 esac
22997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22998 (eval "$ac_try") 2>&5
22999 ac_status=$?
23000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23001 (exit $ac_status); }; }; then
23002 ac_cv_sizeof_long_long=`cat conftest.val`
23003 else
23004 echo "$as_me: program exited with status $ac_status" >&5
23005 echo "$as_me: failed program was:" >&5
23006 sed 's/^/| /' conftest.$ac_ext >&5
23007
23008 ( exit $ac_status )
23009 if test "$ac_cv_type_long_long" = yes; then
23010 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23011 See \`config.log' for more details." >&5
23012 echo "$as_me: error: cannot compute sizeof (long long)
23013 See \`config.log' for more details." >&2;}
23014 { (exit 77); exit 77; }; }
23015 else
23016 ac_cv_sizeof_long_long=0
23017 fi
23018 fi
23019 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23020 fi
23021 rm -f conftest.val
23022 fi
23023 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23024 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23025
23026
23027
23028 cat >>confdefs.h <<_ACEOF
23029 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23030 _ACEOF
23031
23032
23033 if test "$ac_cv_sizeof_long_long" != 0; then
23034 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
23035 fi
23036 ;;
23037 * )
23038 { echo "$as_me:$LINENO: checking for long long" >&5
23039 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23040 if test "${ac_cv_type_long_long+set}" = set; then
23041 echo $ECHO_N "(cached) $ECHO_C" >&6
23042 else
23043 cat >conftest.$ac_ext <<_ACEOF
23044 /* confdefs.h. */
23045 _ACEOF
23046 cat confdefs.h >>conftest.$ac_ext
23047 cat >>conftest.$ac_ext <<_ACEOF
23048 /* end confdefs.h. */
23049 $ac_includes_default
23050 typedef long long ac__type_new_;
23051 int
23052 main ()
23053 {
23054 if ((ac__type_new_ *) 0)
23055 return 0;
23056 if (sizeof (ac__type_new_))
23057 return 0;
23058 ;
23059 return 0;
23060 }
23061 _ACEOF
23062 rm -f conftest.$ac_objext
23063 if { (ac_try="$ac_compile"
23064 case "(($ac_try" in
23065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23066 *) ac_try_echo=$ac_try;;
23067 esac
23068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23069 (eval "$ac_compile") 2>conftest.er1
23070 ac_status=$?
23071 grep -v '^ *+' conftest.er1 >conftest.err
23072 rm -f conftest.er1
23073 cat conftest.err >&5
23074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23075 (exit $ac_status); } && {
23076 test -z "$ac_c_werror_flag" ||
23077 test ! -s conftest.err
23078 } && test -s conftest.$ac_objext; then
23079 ac_cv_type_long_long=yes
23080 else
23081 echo "$as_me: failed program was:" >&5
23082 sed 's/^/| /' conftest.$ac_ext >&5
23083
23084 ac_cv_type_long_long=no
23085 fi
23086
23087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23088 fi
23089 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23090 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23091
23092 # The cast to long int works around a bug in the HP C Compiler
23093 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23094 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23095 # This bug is HP SR number 8606223364.
23096 { echo "$as_me:$LINENO: checking size of long long" >&5
23097 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23098 if test "${ac_cv_sizeof_long_long+set}" = set; then
23099 echo $ECHO_N "(cached) $ECHO_C" >&6
23100 else
23101 if test "$cross_compiling" = yes; then
23102 # Depending upon the size, compute the lo and hi bounds.
23103 cat >conftest.$ac_ext <<_ACEOF
23104 /* confdefs.h. */
23105 _ACEOF
23106 cat confdefs.h >>conftest.$ac_ext
23107 cat >>conftest.$ac_ext <<_ACEOF
23108 /* end confdefs.h. */
23109 $ac_includes_default
23110 typedef long long ac__type_sizeof_;
23111 int
23112 main ()
23113 {
23114 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23115 test_array [0] = 0
23116
23117 ;
23118 return 0;
23119 }
23120 _ACEOF
23121 rm -f conftest.$ac_objext
23122 if { (ac_try="$ac_compile"
23123 case "(($ac_try" in
23124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23125 *) ac_try_echo=$ac_try;;
23126 esac
23127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23128 (eval "$ac_compile") 2>conftest.er1
23129 ac_status=$?
23130 grep -v '^ *+' conftest.er1 >conftest.err
23131 rm -f conftest.er1
23132 cat conftest.err >&5
23133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23134 (exit $ac_status); } && {
23135 test -z "$ac_c_werror_flag" ||
23136 test ! -s conftest.err
23137 } && test -s conftest.$ac_objext; then
23138 ac_lo=0 ac_mid=0
23139 while :; do
23140 cat >conftest.$ac_ext <<_ACEOF
23141 /* confdefs.h. */
23142 _ACEOF
23143 cat confdefs.h >>conftest.$ac_ext
23144 cat >>conftest.$ac_ext <<_ACEOF
23145 /* end confdefs.h. */
23146 $ac_includes_default
23147 typedef long long ac__type_sizeof_;
23148 int
23149 main ()
23150 {
23151 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23152 test_array [0] = 0
23153
23154 ;
23155 return 0;
23156 }
23157 _ACEOF
23158 rm -f conftest.$ac_objext
23159 if { (ac_try="$ac_compile"
23160 case "(($ac_try" in
23161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23162 *) ac_try_echo=$ac_try;;
23163 esac
23164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23165 (eval "$ac_compile") 2>conftest.er1
23166 ac_status=$?
23167 grep -v '^ *+' conftest.er1 >conftest.err
23168 rm -f conftest.er1
23169 cat conftest.err >&5
23170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23171 (exit $ac_status); } && {
23172 test -z "$ac_c_werror_flag" ||
23173 test ! -s conftest.err
23174 } && test -s conftest.$ac_objext; then
23175 ac_hi=$ac_mid; break
23176 else
23177 echo "$as_me: failed program was:" >&5
23178 sed 's/^/| /' conftest.$ac_ext >&5
23179
23180 ac_lo=`expr $ac_mid + 1`
23181 if test $ac_lo -le $ac_mid; then
23182 ac_lo= ac_hi=
23183 break
23184 fi
23185 ac_mid=`expr 2 '*' $ac_mid + 1`
23186 fi
23187
23188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23189 done
23190 else
23191 echo "$as_me: failed program was:" >&5
23192 sed 's/^/| /' conftest.$ac_ext >&5
23193
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 $ac_includes_default
23201 typedef long long ac__type_sizeof_;
23202 int
23203 main ()
23204 {
23205 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23206 test_array [0] = 0
23207
23208 ;
23209 return 0;
23210 }
23211 _ACEOF
23212 rm -f conftest.$ac_objext
23213 if { (ac_try="$ac_compile"
23214 case "(($ac_try" in
23215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23216 *) ac_try_echo=$ac_try;;
23217 esac
23218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23219 (eval "$ac_compile") 2>conftest.er1
23220 ac_status=$?
23221 grep -v '^ *+' conftest.er1 >conftest.err
23222 rm -f conftest.er1
23223 cat conftest.err >&5
23224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23225 (exit $ac_status); } && {
23226 test -z "$ac_c_werror_flag" ||
23227 test ! -s conftest.err
23228 } && test -s conftest.$ac_objext; then
23229 ac_hi=-1 ac_mid=-1
23230 while :; do
23231 cat >conftest.$ac_ext <<_ACEOF
23232 /* confdefs.h. */
23233 _ACEOF
23234 cat confdefs.h >>conftest.$ac_ext
23235 cat >>conftest.$ac_ext <<_ACEOF
23236 /* end confdefs.h. */
23237 $ac_includes_default
23238 typedef long long ac__type_sizeof_;
23239 int
23240 main ()
23241 {
23242 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23243 test_array [0] = 0
23244
23245 ;
23246 return 0;
23247 }
23248 _ACEOF
23249 rm -f conftest.$ac_objext
23250 if { (ac_try="$ac_compile"
23251 case "(($ac_try" in
23252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23253 *) ac_try_echo=$ac_try;;
23254 esac
23255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23256 (eval "$ac_compile") 2>conftest.er1
23257 ac_status=$?
23258 grep -v '^ *+' conftest.er1 >conftest.err
23259 rm -f conftest.er1
23260 cat conftest.err >&5
23261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23262 (exit $ac_status); } && {
23263 test -z "$ac_c_werror_flag" ||
23264 test ! -s conftest.err
23265 } && test -s conftest.$ac_objext; then
23266 ac_lo=$ac_mid; break
23267 else
23268 echo "$as_me: failed program was:" >&5
23269 sed 's/^/| /' conftest.$ac_ext >&5
23270
23271 ac_hi=`expr '(' $ac_mid ')' - 1`
23272 if test $ac_mid -le $ac_hi; then
23273 ac_lo= ac_hi=
23274 break
23275 fi
23276 ac_mid=`expr 2 '*' $ac_mid`
23277 fi
23278
23279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23280 done
23281 else
23282 echo "$as_me: failed program was:" >&5
23283 sed 's/^/| /' conftest.$ac_ext >&5
23284
23285 ac_lo= ac_hi=
23286 fi
23287
23288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23289 fi
23290
23291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23292 # Binary search between lo and hi bounds.
23293 while test "x$ac_lo" != "x$ac_hi"; do
23294 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23295 cat >conftest.$ac_ext <<_ACEOF
23296 /* confdefs.h. */
23297 _ACEOF
23298 cat confdefs.h >>conftest.$ac_ext
23299 cat >>conftest.$ac_ext <<_ACEOF
23300 /* end confdefs.h. */
23301 $ac_includes_default
23302 typedef long long ac__type_sizeof_;
23303 int
23304 main ()
23305 {
23306 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23307 test_array [0] = 0
23308
23309 ;
23310 return 0;
23311 }
23312 _ACEOF
23313 rm -f conftest.$ac_objext
23314 if { (ac_try="$ac_compile"
23315 case "(($ac_try" in
23316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23317 *) ac_try_echo=$ac_try;;
23318 esac
23319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23320 (eval "$ac_compile") 2>conftest.er1
23321 ac_status=$?
23322 grep -v '^ *+' conftest.er1 >conftest.err
23323 rm -f conftest.er1
23324 cat conftest.err >&5
23325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23326 (exit $ac_status); } && {
23327 test -z "$ac_c_werror_flag" ||
23328 test ! -s conftest.err
23329 } && test -s conftest.$ac_objext; then
23330 ac_hi=$ac_mid
23331 else
23332 echo "$as_me: failed program was:" >&5
23333 sed 's/^/| /' conftest.$ac_ext >&5
23334
23335 ac_lo=`expr '(' $ac_mid ')' + 1`
23336 fi
23337
23338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23339 done
23340 case $ac_lo in
23341 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23342 '') if test "$ac_cv_type_long_long" = yes; then
23343 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23344 See \`config.log' for more details." >&5
23345 echo "$as_me: error: cannot compute sizeof (long long)
23346 See \`config.log' for more details." >&2;}
23347 { (exit 77); exit 77; }; }
23348 else
23349 ac_cv_sizeof_long_long=0
23350 fi ;;
23351 esac
23352 else
23353 cat >conftest.$ac_ext <<_ACEOF
23354 /* confdefs.h. */
23355 _ACEOF
23356 cat confdefs.h >>conftest.$ac_ext
23357 cat >>conftest.$ac_ext <<_ACEOF
23358 /* end confdefs.h. */
23359 $ac_includes_default
23360 typedef long long ac__type_sizeof_;
23361 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23362 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23363 #include <stdio.h>
23364 #include <stdlib.h>
23365 int
23366 main ()
23367 {
23368
23369 FILE *f = fopen ("conftest.val", "w");
23370 if (! f)
23371 return 1;
23372 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23373 {
23374 long int i = longval ();
23375 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23376 return 1;
23377 fprintf (f, "%ld\n", i);
23378 }
23379 else
23380 {
23381 unsigned long int i = ulongval ();
23382 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23383 return 1;
23384 fprintf (f, "%lu\n", i);
23385 }
23386 return ferror (f) || fclose (f) != 0;
23387
23388 ;
23389 return 0;
23390 }
23391 _ACEOF
23392 rm -f conftest$ac_exeext
23393 if { (ac_try="$ac_link"
23394 case "(($ac_try" in
23395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23396 *) ac_try_echo=$ac_try;;
23397 esac
23398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23399 (eval "$ac_link") 2>&5
23400 ac_status=$?
23401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23402 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23403 { (case "(($ac_try" in
23404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23405 *) ac_try_echo=$ac_try;;
23406 esac
23407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23408 (eval "$ac_try") 2>&5
23409 ac_status=$?
23410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23411 (exit $ac_status); }; }; then
23412 ac_cv_sizeof_long_long=`cat conftest.val`
23413 else
23414 echo "$as_me: program exited with status $ac_status" >&5
23415 echo "$as_me: failed program was:" >&5
23416 sed 's/^/| /' conftest.$ac_ext >&5
23417
23418 ( exit $ac_status )
23419 if test "$ac_cv_type_long_long" = yes; then
23420 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23421 See \`config.log' for more details." >&5
23422 echo "$as_me: error: cannot compute sizeof (long long)
23423 See \`config.log' for more details." >&2;}
23424 { (exit 77); exit 77; }; }
23425 else
23426 ac_cv_sizeof_long_long=0
23427 fi
23428 fi
23429 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23430 fi
23431 rm -f conftest.val
23432 fi
23433 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23434 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23435
23436
23437
23438 cat >>confdefs.h <<_ACEOF
23439 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23440 _ACEOF
23441
23442
23443 esac
23444
23445 { echo "$as_me:$LINENO: checking for wchar_t" >&5
23446 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
23447 if test "${ac_cv_type_wchar_t+set}" = set; then
23448 echo $ECHO_N "(cached) $ECHO_C" >&6
23449 else
23450 cat >conftest.$ac_ext <<_ACEOF
23451 /* confdefs.h. */
23452 _ACEOF
23453 cat confdefs.h >>conftest.$ac_ext
23454 cat >>conftest.$ac_ext <<_ACEOF
23455 /* end confdefs.h. */
23456
23457 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23458 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23459 # error "fake wchar_t"
23460 #endif
23461 #ifdef HAVE_WCHAR_H
23462 # ifdef __CYGWIN__
23463 # include <stddef.h>
23464 # endif
23465 # include <wchar.h>
23466 #endif
23467 #ifdef HAVE_STDLIB_H
23468 # include <stdlib.h>
23469 #endif
23470 #include <stdio.h>
23471
23472
23473
23474 typedef wchar_t ac__type_new_;
23475 int
23476 main ()
23477 {
23478 if ((ac__type_new_ *) 0)
23479 return 0;
23480 if (sizeof (ac__type_new_))
23481 return 0;
23482 ;
23483 return 0;
23484 }
23485 _ACEOF
23486 rm -f conftest.$ac_objext
23487 if { (ac_try="$ac_compile"
23488 case "(($ac_try" in
23489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23490 *) ac_try_echo=$ac_try;;
23491 esac
23492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23493 (eval "$ac_compile") 2>conftest.er1
23494 ac_status=$?
23495 grep -v '^ *+' conftest.er1 >conftest.err
23496 rm -f conftest.er1
23497 cat conftest.err >&5
23498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23499 (exit $ac_status); } && {
23500 test -z "$ac_c_werror_flag" ||
23501 test ! -s conftest.err
23502 } && test -s conftest.$ac_objext; then
23503 ac_cv_type_wchar_t=yes
23504 else
23505 echo "$as_me: failed program was:" >&5
23506 sed 's/^/| /' conftest.$ac_ext >&5
23507
23508 ac_cv_type_wchar_t=no
23509 fi
23510
23511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23512 fi
23513 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
23514 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
23515
23516 # The cast to long int works around a bug in the HP C Compiler
23517 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23518 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23519 # This bug is HP SR number 8606223364.
23520 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
23521 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
23522 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
23523 echo $ECHO_N "(cached) $ECHO_C" >&6
23524 else
23525 if test "$cross_compiling" = yes; then
23526 # Depending upon the size, compute the lo and hi bounds.
23527 cat >conftest.$ac_ext <<_ACEOF
23528 /* confdefs.h. */
23529 _ACEOF
23530 cat confdefs.h >>conftest.$ac_ext
23531 cat >>conftest.$ac_ext <<_ACEOF
23532 /* end confdefs.h. */
23533
23534 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23535 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23536 # error "fake wchar_t"
23537 #endif
23538 #ifdef HAVE_WCHAR_H
23539 # ifdef __CYGWIN__
23540 # include <stddef.h>
23541 # endif
23542 # include <wchar.h>
23543 #endif
23544 #ifdef HAVE_STDLIB_H
23545 # include <stdlib.h>
23546 #endif
23547 #include <stdio.h>
23548
23549
23550
23551 typedef wchar_t ac__type_sizeof_;
23552 int
23553 main ()
23554 {
23555 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23556 test_array [0] = 0
23557
23558 ;
23559 return 0;
23560 }
23561 _ACEOF
23562 rm -f conftest.$ac_objext
23563 if { (ac_try="$ac_compile"
23564 case "(($ac_try" in
23565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23566 *) ac_try_echo=$ac_try;;
23567 esac
23568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23569 (eval "$ac_compile") 2>conftest.er1
23570 ac_status=$?
23571 grep -v '^ *+' conftest.er1 >conftest.err
23572 rm -f conftest.er1
23573 cat conftest.err >&5
23574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23575 (exit $ac_status); } && {
23576 test -z "$ac_c_werror_flag" ||
23577 test ! -s conftest.err
23578 } && test -s conftest.$ac_objext; then
23579 ac_lo=0 ac_mid=0
23580 while :; do
23581 cat >conftest.$ac_ext <<_ACEOF
23582 /* confdefs.h. */
23583 _ACEOF
23584 cat confdefs.h >>conftest.$ac_ext
23585 cat >>conftest.$ac_ext <<_ACEOF
23586 /* end confdefs.h. */
23587
23588 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23589 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23590 # error "fake wchar_t"
23591 #endif
23592 #ifdef HAVE_WCHAR_H
23593 # ifdef __CYGWIN__
23594 # include <stddef.h>
23595 # endif
23596 # include <wchar.h>
23597 #endif
23598 #ifdef HAVE_STDLIB_H
23599 # include <stdlib.h>
23600 #endif
23601 #include <stdio.h>
23602
23603
23604
23605 typedef wchar_t ac__type_sizeof_;
23606 int
23607 main ()
23608 {
23609 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23610 test_array [0] = 0
23611
23612 ;
23613 return 0;
23614 }
23615 _ACEOF
23616 rm -f conftest.$ac_objext
23617 if { (ac_try="$ac_compile"
23618 case "(($ac_try" in
23619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23620 *) ac_try_echo=$ac_try;;
23621 esac
23622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23623 (eval "$ac_compile") 2>conftest.er1
23624 ac_status=$?
23625 grep -v '^ *+' conftest.er1 >conftest.err
23626 rm -f conftest.er1
23627 cat conftest.err >&5
23628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23629 (exit $ac_status); } && {
23630 test -z "$ac_c_werror_flag" ||
23631 test ! -s conftest.err
23632 } && test -s conftest.$ac_objext; then
23633 ac_hi=$ac_mid; break
23634 else
23635 echo "$as_me: failed program was:" >&5
23636 sed 's/^/| /' conftest.$ac_ext >&5
23637
23638 ac_lo=`expr $ac_mid + 1`
23639 if test $ac_lo -le $ac_mid; then
23640 ac_lo= ac_hi=
23641 break
23642 fi
23643 ac_mid=`expr 2 '*' $ac_mid + 1`
23644 fi
23645
23646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23647 done
23648 else
23649 echo "$as_me: failed program was:" >&5
23650 sed 's/^/| /' conftest.$ac_ext >&5
23651
23652 cat >conftest.$ac_ext <<_ACEOF
23653 /* confdefs.h. */
23654 _ACEOF
23655 cat confdefs.h >>conftest.$ac_ext
23656 cat >>conftest.$ac_ext <<_ACEOF
23657 /* end confdefs.h. */
23658
23659 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23660 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23661 # error "fake wchar_t"
23662 #endif
23663 #ifdef HAVE_WCHAR_H
23664 # ifdef __CYGWIN__
23665 # include <stddef.h>
23666 # endif
23667 # include <wchar.h>
23668 #endif
23669 #ifdef HAVE_STDLIB_H
23670 # include <stdlib.h>
23671 #endif
23672 #include <stdio.h>
23673
23674
23675
23676 typedef wchar_t ac__type_sizeof_;
23677 int
23678 main ()
23679 {
23680 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23681 test_array [0] = 0
23682
23683 ;
23684 return 0;
23685 }
23686 _ACEOF
23687 rm -f conftest.$ac_objext
23688 if { (ac_try="$ac_compile"
23689 case "(($ac_try" in
23690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23691 *) ac_try_echo=$ac_try;;
23692 esac
23693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23694 (eval "$ac_compile") 2>conftest.er1
23695 ac_status=$?
23696 grep -v '^ *+' conftest.er1 >conftest.err
23697 rm -f conftest.er1
23698 cat conftest.err >&5
23699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23700 (exit $ac_status); } && {
23701 test -z "$ac_c_werror_flag" ||
23702 test ! -s conftest.err
23703 } && test -s conftest.$ac_objext; then
23704 ac_hi=-1 ac_mid=-1
23705 while :; do
23706 cat >conftest.$ac_ext <<_ACEOF
23707 /* confdefs.h. */
23708 _ACEOF
23709 cat confdefs.h >>conftest.$ac_ext
23710 cat >>conftest.$ac_ext <<_ACEOF
23711 /* end confdefs.h. */
23712
23713 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23714 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23715 # error "fake wchar_t"
23716 #endif
23717 #ifdef HAVE_WCHAR_H
23718 # ifdef __CYGWIN__
23719 # include <stddef.h>
23720 # endif
23721 # include <wchar.h>
23722 #endif
23723 #ifdef HAVE_STDLIB_H
23724 # include <stdlib.h>
23725 #endif
23726 #include <stdio.h>
23727
23728
23729
23730 typedef wchar_t ac__type_sizeof_;
23731 int
23732 main ()
23733 {
23734 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23735 test_array [0] = 0
23736
23737 ;
23738 return 0;
23739 }
23740 _ACEOF
23741 rm -f conftest.$ac_objext
23742 if { (ac_try="$ac_compile"
23743 case "(($ac_try" in
23744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23745 *) ac_try_echo=$ac_try;;
23746 esac
23747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23748 (eval "$ac_compile") 2>conftest.er1
23749 ac_status=$?
23750 grep -v '^ *+' conftest.er1 >conftest.err
23751 rm -f conftest.er1
23752 cat conftest.err >&5
23753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23754 (exit $ac_status); } && {
23755 test -z "$ac_c_werror_flag" ||
23756 test ! -s conftest.err
23757 } && test -s conftest.$ac_objext; then
23758 ac_lo=$ac_mid; break
23759 else
23760 echo "$as_me: failed program was:" >&5
23761 sed 's/^/| /' conftest.$ac_ext >&5
23762
23763 ac_hi=`expr '(' $ac_mid ')' - 1`
23764 if test $ac_mid -le $ac_hi; then
23765 ac_lo= ac_hi=
23766 break
23767 fi
23768 ac_mid=`expr 2 '*' $ac_mid`
23769 fi
23770
23771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23772 done
23773 else
23774 echo "$as_me: failed program was:" >&5
23775 sed 's/^/| /' conftest.$ac_ext >&5
23776
23777 ac_lo= ac_hi=
23778 fi
23779
23780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23781 fi
23782
23783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23784 # Binary search between lo and hi bounds.
23785 while test "x$ac_lo" != "x$ac_hi"; do
23786 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23787 cat >conftest.$ac_ext <<_ACEOF
23788 /* confdefs.h. */
23789 _ACEOF
23790 cat confdefs.h >>conftest.$ac_ext
23791 cat >>conftest.$ac_ext <<_ACEOF
23792 /* end confdefs.h. */
23793
23794 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23795 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23796 # error "fake wchar_t"
23797 #endif
23798 #ifdef HAVE_WCHAR_H
23799 # ifdef __CYGWIN__
23800 # include <stddef.h>
23801 # endif
23802 # include <wchar.h>
23803 #endif
23804 #ifdef HAVE_STDLIB_H
23805 # include <stdlib.h>
23806 #endif
23807 #include <stdio.h>
23808
23809
23810
23811 typedef wchar_t ac__type_sizeof_;
23812 int
23813 main ()
23814 {
23815 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23816 test_array [0] = 0
23817
23818 ;
23819 return 0;
23820 }
23821 _ACEOF
23822 rm -f conftest.$ac_objext
23823 if { (ac_try="$ac_compile"
23824 case "(($ac_try" in
23825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23826 *) ac_try_echo=$ac_try;;
23827 esac
23828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23829 (eval "$ac_compile") 2>conftest.er1
23830 ac_status=$?
23831 grep -v '^ *+' conftest.er1 >conftest.err
23832 rm -f conftest.er1
23833 cat conftest.err >&5
23834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23835 (exit $ac_status); } && {
23836 test -z "$ac_c_werror_flag" ||
23837 test ! -s conftest.err
23838 } && test -s conftest.$ac_objext; then
23839 ac_hi=$ac_mid
23840 else
23841 echo "$as_me: failed program was:" >&5
23842 sed 's/^/| /' conftest.$ac_ext >&5
23843
23844 ac_lo=`expr '(' $ac_mid ')' + 1`
23845 fi
23846
23847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23848 done
23849 case $ac_lo in
23850 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23851 '') if test "$ac_cv_type_wchar_t" = yes; then
23852 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23853 See \`config.log' for more details." >&5
23854 echo "$as_me: error: cannot compute sizeof (wchar_t)
23855 See \`config.log' for more details." >&2;}
23856 { (exit 77); exit 77; }; }
23857 else
23858 ac_cv_sizeof_wchar_t=0
23859 fi ;;
23860 esac
23861 else
23862 cat >conftest.$ac_ext <<_ACEOF
23863 /* confdefs.h. */
23864 _ACEOF
23865 cat confdefs.h >>conftest.$ac_ext
23866 cat >>conftest.$ac_ext <<_ACEOF
23867 /* end confdefs.h. */
23868
23869 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23870 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23871 # error "fake wchar_t"
23872 #endif
23873 #ifdef HAVE_WCHAR_H
23874 # ifdef __CYGWIN__
23875 # include <stddef.h>
23876 # endif
23877 # include <wchar.h>
23878 #endif
23879 #ifdef HAVE_STDLIB_H
23880 # include <stdlib.h>
23881 #endif
23882 #include <stdio.h>
23883
23884
23885
23886 typedef wchar_t ac__type_sizeof_;
23887 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23888 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23889 #include <stdio.h>
23890 #include <stdlib.h>
23891 int
23892 main ()
23893 {
23894
23895 FILE *f = fopen ("conftest.val", "w");
23896 if (! f)
23897 return 1;
23898 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23899 {
23900 long int i = longval ();
23901 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23902 return 1;
23903 fprintf (f, "%ld\n", i);
23904 }
23905 else
23906 {
23907 unsigned long int i = ulongval ();
23908 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23909 return 1;
23910 fprintf (f, "%lu\n", i);
23911 }
23912 return ferror (f) || fclose (f) != 0;
23913
23914 ;
23915 return 0;
23916 }
23917 _ACEOF
23918 rm -f conftest$ac_exeext
23919 if { (ac_try="$ac_link"
23920 case "(($ac_try" in
23921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23922 *) ac_try_echo=$ac_try;;
23923 esac
23924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23925 (eval "$ac_link") 2>&5
23926 ac_status=$?
23927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23928 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23929 { (case "(($ac_try" in
23930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23931 *) ac_try_echo=$ac_try;;
23932 esac
23933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23934 (eval "$ac_try") 2>&5
23935 ac_status=$?
23936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23937 (exit $ac_status); }; }; then
23938 ac_cv_sizeof_wchar_t=`cat conftest.val`
23939 else
23940 echo "$as_me: program exited with status $ac_status" >&5
23941 echo "$as_me: failed program was:" >&5
23942 sed 's/^/| /' conftest.$ac_ext >&5
23943
23944 ( exit $ac_status )
23945 if test "$ac_cv_type_wchar_t" = yes; then
23946 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23947 See \`config.log' for more details." >&5
23948 echo "$as_me: error: cannot compute sizeof (wchar_t)
23949 See \`config.log' for more details." >&2;}
23950 { (exit 77); exit 77; }; }
23951 else
23952 ac_cv_sizeof_wchar_t=0
23953 fi
23954 fi
23955 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23956 fi
23957 rm -f conftest.val
23958 fi
23959 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23960 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23961
23962
23963
23964 cat >>confdefs.h <<_ACEOF
23965 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23966 _ACEOF
23967
23968
23969 if test "$ac_cv_sizeof_wchar_t" = 0; then
23970 { { echo "$as_me:$LINENO: error: wxWidgets requires wchar_t support." >&5
23971 echo "$as_me: error: wxWidgets requires wchar_t support." >&2;}
23972 { (exit 1); exit 1; }; }
23973 fi
23974 cat >>confdefs.h <<\_ACEOF
23975 #define wxUSE_WCHAR_T 1
23976 _ACEOF
23977
23978
23979 { echo "$as_me:$LINENO: checking for va_copy" >&5
23980 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23981 if test "${wx_cv_func_va_copy+set}" = set; then
23982 echo $ECHO_N "(cached) $ECHO_C" >&6
23983 else
23984
23985 ac_ext=cpp
23986 ac_cpp='$CXXCPP $CPPFLAGS'
23987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23990
23991 cat >conftest.$ac_ext <<_ACEOF
23992
23993 #include <stdarg.h>
23994 void foo(char *f, ...)
23995 {
23996 va_list ap1, ap2;
23997 va_start(ap1, f);
23998 va_copy(ap2, ap1);
23999 va_end(ap2);
24000 va_end(ap1);
24001 }
24002 int main()
24003 {
24004 foo("hi", 17);
24005 return 0;
24006 }
24007 _ACEOF
24008 rm -f conftest.$ac_objext conftest$ac_exeext
24009 if { (ac_try="$ac_link"
24010 case "(($ac_try" in
24011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24012 *) ac_try_echo=$ac_try;;
24013 esac
24014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24015 (eval "$ac_link") 2>conftest.er1
24016 ac_status=$?
24017 grep -v '^ *+' conftest.er1 >conftest.err
24018 rm -f conftest.er1
24019 cat conftest.err >&5
24020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24021 (exit $ac_status); } && {
24022 test -z "$ac_cxx_werror_flag" ||
24023 test ! -s conftest.err
24024 } && test -s conftest$ac_exeext &&
24025 $as_test_x conftest$ac_exeext; then
24026 wx_cv_func_va_copy=yes
24027 else
24028 echo "$as_me: failed program was:" >&5
24029 sed 's/^/| /' conftest.$ac_ext >&5
24030
24031 wx_cv_func_va_copy=no
24032
24033 fi
24034
24035 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24036 conftest$ac_exeext conftest.$ac_ext
24037 ac_ext=c
24038 ac_cpp='$CPP $CPPFLAGS'
24039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24042
24043
24044
24045 fi
24046 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
24047 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
24048
24049 if test $wx_cv_func_va_copy = "yes"; then
24050 cat >>confdefs.h <<\_ACEOF
24051 #define HAVE_VA_COPY 1
24052 _ACEOF
24053
24054 else
24055 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
24056 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
24057 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
24058 echo $ECHO_N "(cached) $ECHO_C" >&6
24059 else
24060
24061 if test "$cross_compiling" = yes; then
24062 wx_cv_type_va_list_lvalue=yes
24063
24064 else
24065 cat >conftest.$ac_ext <<_ACEOF
24066
24067 #include <stdarg.h>
24068 int foo(char *f, ...)
24069 {
24070 va_list ap1, ap2;
24071 va_start(ap1, f);
24072 ap2 = ap1;
24073 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
24074 return 1;
24075 va_end(ap2);
24076 va_end(ap1);
24077 return 0;
24078 }
24079 int main()
24080 {
24081 return foo("hi", 17);
24082 }
24083 _ACEOF
24084 rm -f conftest$ac_exeext
24085 if { (ac_try="$ac_link"
24086 case "(($ac_try" in
24087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24088 *) ac_try_echo=$ac_try;;
24089 esac
24090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24091 (eval "$ac_link") 2>&5
24092 ac_status=$?
24093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24094 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24095 { (case "(($ac_try" in
24096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24097 *) ac_try_echo=$ac_try;;
24098 esac
24099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24100 (eval "$ac_try") 2>&5
24101 ac_status=$?
24102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24103 (exit $ac_status); }; }; then
24104 wx_cv_type_va_list_lvalue=yes
24105 else
24106 echo "$as_me: program exited with status $ac_status" >&5
24107 echo "$as_me: failed program was:" >&5
24108 sed 's/^/| /' conftest.$ac_ext >&5
24109
24110 ( exit $ac_status )
24111 wx_cv_type_va_list_lvalue=no
24112 fi
24113 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24114 fi
24115
24116
24117
24118
24119 fi
24120 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
24121 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
24122
24123 if test $wx_cv_type_va_list_lvalue != "yes"; then
24124 cat >>confdefs.h <<\_ACEOF
24125 #define VA_LIST_IS_ARRAY 1
24126 _ACEOF
24127
24128 fi
24129 fi
24130
24131 if test "$wxUSE_VARARG_MACROS" = "yes"; then
24132
24133 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
24134 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
24135 if test "${wx_cv_have_variadic_macros+set}" = set; then
24136 echo $ECHO_N "(cached) $ECHO_C" >&6
24137 else
24138
24139 ac_ext=cpp
24140 ac_cpp='$CXXCPP $CPPFLAGS'
24141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24144
24145 cat >conftest.$ac_ext <<_ACEOF
24146 /* confdefs.h. */
24147 _ACEOF
24148 cat confdefs.h >>conftest.$ac_ext
24149 cat >>conftest.$ac_ext <<_ACEOF
24150 /* end confdefs.h. */
24151
24152 #include <stdio.h>
24153 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
24154
24155 int
24156 main ()
24157 {
24158
24159 test("%s %d %p", "test", 1, 0);
24160
24161
24162 ;
24163 return 0;
24164 }
24165 _ACEOF
24166 rm -f conftest.$ac_objext
24167 if { (ac_try="$ac_compile"
24168 case "(($ac_try" in
24169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24170 *) ac_try_echo=$ac_try;;
24171 esac
24172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24173 (eval "$ac_compile") 2>conftest.er1
24174 ac_status=$?
24175 grep -v '^ *+' conftest.er1 >conftest.err
24176 rm -f conftest.er1
24177 cat conftest.err >&5
24178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24179 (exit $ac_status); } && {
24180 test -z "$ac_cxx_werror_flag" ||
24181 test ! -s conftest.err
24182 } && test -s conftest.$ac_objext; then
24183 wx_cv_have_variadic_macros=yes
24184 else
24185 echo "$as_me: failed program was:" >&5
24186 sed 's/^/| /' conftest.$ac_ext >&5
24187
24188 wx_cv_have_variadic_macros=no
24189
24190 fi
24191
24192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24193 ac_ext=c
24194 ac_cpp='$CPP $CPPFLAGS'
24195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24198
24199
24200
24201 fi
24202 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
24203 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
24204
24205 if test $wx_cv_have_variadic_macros = "yes"; then
24206 cat >>confdefs.h <<\_ACEOF
24207 #define HAVE_VARIADIC_MACROS 1
24208 _ACEOF
24209
24210 fi
24211
24212 fi
24213
24214 LARGEFILE_CPPFLAGS=
24215 # Check whether --enable-largefile was given.
24216 if test "${enable_largefile+set}" = set; then
24217 enableval=$enable_largefile;
24218 fi
24219
24220 if test "$enable_largefile" != no; then
24221 wx_largefile=no
24222
24223 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
24224 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
24225 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
24226 echo $ECHO_N "(cached) $ECHO_C" >&6
24227 else
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 #define _FILE_OFFSET_BITS 64
24236 #include <sys/types.h>
24237 int
24238 main ()
24239 {
24240 typedef struct {
24241 unsigned int field: sizeof(off_t) == 8;
24242 } wxlf;
24243
24244 ;
24245 return 0;
24246 }
24247 _ACEOF
24248 rm -f conftest.$ac_objext
24249 if { (ac_try="$ac_compile"
24250 case "(($ac_try" in
24251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24252 *) ac_try_echo=$ac_try;;
24253 esac
24254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24255 (eval "$ac_compile") 2>conftest.er1
24256 ac_status=$?
24257 grep -v '^ *+' conftest.er1 >conftest.err
24258 rm -f conftest.er1
24259 cat conftest.err >&5
24260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24261 (exit $ac_status); } && {
24262 test -z "$ac_c_werror_flag" ||
24263 test ! -s conftest.err
24264 } && test -s conftest.$ac_objext; then
24265 ac_cv_sys_file_offset_bits=64
24266 else
24267 echo "$as_me: failed program was:" >&5
24268 sed 's/^/| /' conftest.$ac_ext >&5
24269
24270 ac_cv_sys_file_offset_bits=no
24271 fi
24272
24273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24274
24275
24276 fi
24277 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
24278 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
24279
24280 if test "$ac_cv_sys_file_offset_bits" != no; then
24281 wx_largefile=yes
24282 cat >>confdefs.h <<_ACEOF
24283 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
24284 _ACEOF
24285
24286 fi
24287
24288 if test "x$wx_largefile" != "xyes"; then
24289
24290 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
24291 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
24292 if test "${ac_cv_sys_large_files+set}" = set; then
24293 echo $ECHO_N "(cached) $ECHO_C" >&6
24294 else
24295
24296 cat >conftest.$ac_ext <<_ACEOF
24297 /* confdefs.h. */
24298 _ACEOF
24299 cat confdefs.h >>conftest.$ac_ext
24300 cat >>conftest.$ac_ext <<_ACEOF
24301 /* end confdefs.h. */
24302 #define _LARGE_FILES 1
24303 #include <sys/types.h>
24304 int
24305 main ()
24306 {
24307 typedef struct {
24308 unsigned int field: sizeof(off_t) == 8;
24309 } wxlf;
24310
24311 ;
24312 return 0;
24313 }
24314 _ACEOF
24315 rm -f conftest.$ac_objext
24316 if { (ac_try="$ac_compile"
24317 case "(($ac_try" in
24318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24319 *) ac_try_echo=$ac_try;;
24320 esac
24321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24322 (eval "$ac_compile") 2>conftest.er1
24323 ac_status=$?
24324 grep -v '^ *+' conftest.er1 >conftest.err
24325 rm -f conftest.er1
24326 cat conftest.err >&5
24327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24328 (exit $ac_status); } && {
24329 test -z "$ac_c_werror_flag" ||
24330 test ! -s conftest.err
24331 } && test -s conftest.$ac_objext; then
24332 ac_cv_sys_large_files=1
24333 else
24334 echo "$as_me: failed program was:" >&5
24335 sed 's/^/| /' conftest.$ac_ext >&5
24336
24337 ac_cv_sys_large_files=no
24338 fi
24339
24340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24341
24342
24343 fi
24344 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
24345 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
24346
24347 if test "$ac_cv_sys_large_files" != no; then
24348 wx_largefile=yes
24349 cat >>confdefs.h <<_ACEOF
24350 #define _LARGE_FILES $ac_cv_sys_large_files
24351 _ACEOF
24352
24353 fi
24354
24355 fi
24356
24357 { echo "$as_me:$LINENO: checking if large file support is available" >&5
24358 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
24359 if test "x$wx_largefile" = "xyes"; then
24360 cat >>confdefs.h <<\_ACEOF
24361 #define HAVE_LARGEFILE_SUPPORT 1
24362 _ACEOF
24363
24364 fi
24365 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
24366 echo "${ECHO_T}$wx_largefile" >&6; }
24367 fi
24368
24369 if test "$ac_cv_sys_file_offset_bits" = "64"; then
24370 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
24371 elif test "$ac_cv_sys_large_files" = 1; then
24372 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
24373 fi
24374
24375 if test -n "$LARGEFILE_CPPFLAGS"; then
24376 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
24377
24378 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
24379 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
24380 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
24381 if test "${wx_cv_STDC_EXT_required+set}" = set; then
24382 echo $ECHO_N "(cached) $ECHO_C" >&6
24383 else
24384
24385 ac_ext=cpp
24386 ac_cpp='$CXXCPP $CPPFLAGS'
24387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24390
24391 cat >conftest.$ac_ext <<_ACEOF
24392 /* confdefs.h. */
24393 _ACEOF
24394 cat confdefs.h >>conftest.$ac_ext
24395 cat >>conftest.$ac_ext <<_ACEOF
24396 /* end confdefs.h. */
24397
24398 int
24399 main ()
24400 {
24401
24402 #ifndef __STDC_EXT__
24403 choke me
24404 #endif
24405
24406 ;
24407 return 0;
24408 }
24409 _ACEOF
24410 rm -f conftest.$ac_objext
24411 if { (ac_try="$ac_compile"
24412 case "(($ac_try" in
24413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24414 *) ac_try_echo=$ac_try;;
24415 esac
24416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24417 (eval "$ac_compile") 2>conftest.er1
24418 ac_status=$?
24419 grep -v '^ *+' conftest.er1 >conftest.err
24420 rm -f conftest.er1
24421 cat conftest.err >&5
24422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24423 (exit $ac_status); } && {
24424 test -z "$ac_cxx_werror_flag" ||
24425 test ! -s conftest.err
24426 } && test -s conftest.$ac_objext; then
24427 wx_cv_STDC_EXT_required=no
24428 else
24429 echo "$as_me: failed program was:" >&5
24430 sed 's/^/| /' conftest.$ac_ext >&5
24431
24432 wx_cv_STDC_EXT_required=yes
24433
24434 fi
24435
24436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24437 ac_ext=c
24438 ac_cpp='$CPP $CPPFLAGS'
24439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24442
24443
24444
24445 fi
24446 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
24447 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
24448 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
24449 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
24450 fi
24451 fi
24452 fi
24453
24454 ac_ext=cpp
24455 ac_cpp='$CXXCPP $CPPFLAGS'
24456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24459
24460 old_CPPFLAGS="$CPPFLAGS"
24461 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
24462 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
24463 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
24464 if test "${ac_cv_sys_largefile_source+set}" = set; then
24465 echo $ECHO_N "(cached) $ECHO_C" >&6
24466 else
24467 while :; do
24468 cat >conftest.$ac_ext <<_ACEOF
24469 /* confdefs.h. */
24470 _ACEOF
24471 cat confdefs.h >>conftest.$ac_ext
24472 cat >>conftest.$ac_ext <<_ACEOF
24473 /* end confdefs.h. */
24474 #include <sys/types.h> /* for off_t */
24475 #include <stdio.h>
24476 int
24477 main ()
24478 {
24479 int (*fp) (FILE *, off_t, int) = fseeko;
24480 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24481 ;
24482 return 0;
24483 }
24484 _ACEOF
24485 rm -f conftest.$ac_objext conftest$ac_exeext
24486 if { (ac_try="$ac_link"
24487 case "(($ac_try" in
24488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24489 *) ac_try_echo=$ac_try;;
24490 esac
24491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24492 (eval "$ac_link") 2>conftest.er1
24493 ac_status=$?
24494 grep -v '^ *+' conftest.er1 >conftest.err
24495 rm -f conftest.er1
24496 cat conftest.err >&5
24497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24498 (exit $ac_status); } && {
24499 test -z "$ac_cxx_werror_flag" ||
24500 test ! -s conftest.err
24501 } && test -s conftest$ac_exeext &&
24502 $as_test_x conftest$ac_exeext; then
24503 ac_cv_sys_largefile_source=no; break
24504 else
24505 echo "$as_me: failed program was:" >&5
24506 sed 's/^/| /' conftest.$ac_ext >&5
24507
24508
24509 fi
24510
24511 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24512 conftest$ac_exeext conftest.$ac_ext
24513 cat >conftest.$ac_ext <<_ACEOF
24514 /* confdefs.h. */
24515 _ACEOF
24516 cat confdefs.h >>conftest.$ac_ext
24517 cat >>conftest.$ac_ext <<_ACEOF
24518 /* end confdefs.h. */
24519 #define _LARGEFILE_SOURCE 1
24520 #include <sys/types.h> /* for off_t */
24521 #include <stdio.h>
24522 int
24523 main ()
24524 {
24525 int (*fp) (FILE *, off_t, int) = fseeko;
24526 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24527 ;
24528 return 0;
24529 }
24530 _ACEOF
24531 rm -f conftest.$ac_objext conftest$ac_exeext
24532 if { (ac_try="$ac_link"
24533 case "(($ac_try" in
24534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24535 *) ac_try_echo=$ac_try;;
24536 esac
24537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24538 (eval "$ac_link") 2>conftest.er1
24539 ac_status=$?
24540 grep -v '^ *+' conftest.er1 >conftest.err
24541 rm -f conftest.er1
24542 cat conftest.err >&5
24543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24544 (exit $ac_status); } && {
24545 test -z "$ac_cxx_werror_flag" ||
24546 test ! -s conftest.err
24547 } && test -s conftest$ac_exeext &&
24548 $as_test_x conftest$ac_exeext; then
24549 ac_cv_sys_largefile_source=1; break
24550 else
24551 echo "$as_me: failed program was:" >&5
24552 sed 's/^/| /' conftest.$ac_ext >&5
24553
24554
24555 fi
24556
24557 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24558 conftest$ac_exeext conftest.$ac_ext
24559 ac_cv_sys_largefile_source=unknown
24560 break
24561 done
24562 fi
24563 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
24564 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
24565 case $ac_cv_sys_largefile_source in #(
24566 no | unknown) ;;
24567 *)
24568 cat >>confdefs.h <<_ACEOF
24569 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
24570 _ACEOF
24571 ;;
24572 esac
24573 rm -f conftest*
24574
24575 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
24576 # in glibc 2.1.3, but that breaks too many other things.
24577 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
24578 if test $ac_cv_sys_largefile_source != unknown; then
24579
24580 cat >>confdefs.h <<\_ACEOF
24581 #define HAVE_FSEEKO 1
24582 _ACEOF
24583
24584 fi
24585
24586 CPPFLAGS="$old_CPPFLAGS"
24587 ac_ext=c
24588 ac_cpp='$CPP $CPPFLAGS'
24589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24592
24593 if test "$ac_cv_sys_largefile_source" != no; then
24594 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
24595 fi
24596
24597 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24598 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
24599 if test "${ac_cv_c_bigendian+set}" = set; then
24600 echo $ECHO_N "(cached) $ECHO_C" >&6
24601 else
24602 ac_cv_c_bigendian=unknown
24603 # See if sys/param.h defines the BYTE_ORDER macro.
24604 cat >conftest.$ac_ext <<_ACEOF
24605 /* confdefs.h. */
24606 _ACEOF
24607 cat confdefs.h >>conftest.$ac_ext
24608 cat >>conftest.$ac_ext <<_ACEOF
24609 /* end confdefs.h. */
24610 #include <sys/types.h>
24611 #include <sys/param.h>
24612 int
24613 main ()
24614 {
24615
24616 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24617 bogus endian macros
24618 #endif
24619 ;
24620 return 0;
24621 }
24622 _ACEOF
24623 rm -f conftest.$ac_objext
24624 if { (ac_try="$ac_compile"
24625 case "(($ac_try" in
24626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24627 *) ac_try_echo=$ac_try;;
24628 esac
24629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24630 (eval "$ac_compile") 2>conftest.er1
24631 ac_status=$?
24632 grep -v '^ *+' conftest.er1 >conftest.err
24633 rm -f conftest.er1
24634 cat conftest.err >&5
24635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24636 (exit $ac_status); } && {
24637 test -z "$ac_c_werror_flag" ||
24638 test ! -s conftest.err
24639 } && test -s conftest.$ac_objext; then
24640 # It does; now see whether it defined to BIG_ENDIAN or not.
24641 cat >conftest.$ac_ext <<_ACEOF
24642 /* confdefs.h. */
24643 _ACEOF
24644 cat confdefs.h >>conftest.$ac_ext
24645 cat >>conftest.$ac_ext <<_ACEOF
24646 /* end confdefs.h. */
24647 #include <sys/types.h>
24648 #include <sys/param.h>
24649 int
24650 main ()
24651 {
24652
24653 #if BYTE_ORDER != BIG_ENDIAN
24654 not big endian
24655 #endif
24656 ;
24657 return 0;
24658 }
24659 _ACEOF
24660 rm -f conftest.$ac_objext
24661 if { (ac_try="$ac_compile"
24662 case "(($ac_try" in
24663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24664 *) ac_try_echo=$ac_try;;
24665 esac
24666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24667 (eval "$ac_compile") 2>conftest.er1
24668 ac_status=$?
24669 grep -v '^ *+' conftest.er1 >conftest.err
24670 rm -f conftest.er1
24671 cat conftest.err >&5
24672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24673 (exit $ac_status); } && {
24674 test -z "$ac_c_werror_flag" ||
24675 test ! -s conftest.err
24676 } && test -s conftest.$ac_objext; then
24677 ac_cv_c_bigendian=yes
24678 else
24679 echo "$as_me: failed program was:" >&5
24680 sed 's/^/| /' conftest.$ac_ext >&5
24681
24682 ac_cv_c_bigendian=no
24683 fi
24684
24685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24686 else
24687 echo "$as_me: failed program was:" >&5
24688 sed 's/^/| /' conftest.$ac_ext >&5
24689
24690
24691 fi
24692
24693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24694 if test $ac_cv_c_bigendian = unknown; then
24695 if test "$cross_compiling" = yes; then
24696 ac_cv_c_bigendian=unknown
24697 else
24698 cat >conftest.$ac_ext <<_ACEOF
24699 /* confdefs.h. */
24700 _ACEOF
24701 cat confdefs.h >>conftest.$ac_ext
24702 cat >>conftest.$ac_ext <<_ACEOF
24703 /* end confdefs.h. */
24704 main () {
24705 /* Are we little or big endian? From Harbison&Steele. */
24706 union
24707 {
24708 long l;
24709 char c[sizeof (long)];
24710 } u;
24711 u.l = 1;
24712 exit (u.c[sizeof (long) - 1] == 1);
24713 }
24714 _ACEOF
24715 rm -f conftest$ac_exeext
24716 if { (ac_try="$ac_link"
24717 case "(($ac_try" in
24718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24719 *) ac_try_echo=$ac_try;;
24720 esac
24721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24722 (eval "$ac_link") 2>&5
24723 ac_status=$?
24724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24725 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24726 { (case "(($ac_try" in
24727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24728 *) ac_try_echo=$ac_try;;
24729 esac
24730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24731 (eval "$ac_try") 2>&5
24732 ac_status=$?
24733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24734 (exit $ac_status); }; }; then
24735 ac_cv_c_bigendian=no
24736 else
24737 echo "$as_me: program exited with status $ac_status" >&5
24738 echo "$as_me: failed program was:" >&5
24739 sed 's/^/| /' conftest.$ac_ext >&5
24740
24741 ( exit $ac_status )
24742 ac_cv_c_bigendian=yes
24743 fi
24744 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24745 fi
24746
24747
24748 fi
24749 fi
24750 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24751 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24752 if test $ac_cv_c_bigendian = unknown; then
24753 { 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
24754 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;}
24755 fi
24756 if test $ac_cv_c_bigendian = yes; then
24757 cat >>confdefs.h <<\_ACEOF
24758 #define WORDS_BIGENDIAN 1
24759 _ACEOF
24760
24761 fi
24762
24763
24764
24765
24766 ac_ext=cpp
24767 ac_cpp='$CXXCPP $CPPFLAGS'
24768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24771
24772
24773
24774 for ac_header in iostream
24775 do
24776 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24777 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24778 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24779 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24780 echo $ECHO_N "(cached) $ECHO_C" >&6
24781 else
24782 cat >conftest.$ac_ext <<_ACEOF
24783 /* confdefs.h. */
24784 _ACEOF
24785 cat confdefs.h >>conftest.$ac_ext
24786 cat >>conftest.$ac_ext <<_ACEOF
24787 /* end confdefs.h. */
24788
24789
24790 #include <$ac_header>
24791 _ACEOF
24792 rm -f conftest.$ac_objext
24793 if { (ac_try="$ac_compile"
24794 case "(($ac_try" in
24795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24796 *) ac_try_echo=$ac_try;;
24797 esac
24798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24799 (eval "$ac_compile") 2>conftest.er1
24800 ac_status=$?
24801 grep -v '^ *+' conftest.er1 >conftest.err
24802 rm -f conftest.er1
24803 cat conftest.err >&5
24804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24805 (exit $ac_status); } && {
24806 test -z "$ac_cxx_werror_flag" ||
24807 test ! -s conftest.err
24808 } && test -s conftest.$ac_objext; then
24809 eval "$as_ac_Header=yes"
24810 else
24811 echo "$as_me: failed program was:" >&5
24812 sed 's/^/| /' conftest.$ac_ext >&5
24813
24814 eval "$as_ac_Header=no"
24815 fi
24816
24817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24818 fi
24819 ac_res=`eval echo '${'$as_ac_Header'}'`
24820 { echo "$as_me:$LINENO: result: $ac_res" >&5
24821 echo "${ECHO_T}$ac_res" >&6; }
24822 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24823 cat >>confdefs.h <<_ACEOF
24824 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24825 _ACEOF
24826
24827 fi
24828
24829 done
24830
24831
24832 if test "$ac_cv_header_iostream" = "yes" ; then
24833 :
24834 else
24835 cat >>confdefs.h <<\_ACEOF
24836 #define wxUSE_IOSTREAMH 1
24837 _ACEOF
24838
24839 fi
24840
24841 ac_ext=c
24842 ac_cpp='$CPP $CPPFLAGS'
24843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24846
24847
24848
24849
24850 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24851 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24852 if test "${wx_cv_explicit+set}" = set; then
24853 echo $ECHO_N "(cached) $ECHO_C" >&6
24854 else
24855
24856
24857 ac_ext=cpp
24858 ac_cpp='$CXXCPP $CPPFLAGS'
24859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24862
24863
24864 cat >conftest.$ac_ext <<_ACEOF
24865 /* confdefs.h. */
24866 _ACEOF
24867 cat confdefs.h >>conftest.$ac_ext
24868 cat >>conftest.$ac_ext <<_ACEOF
24869 /* end confdefs.h. */
24870
24871 class Foo { public: explicit Foo(int) {} };
24872
24873 int
24874 main ()
24875 {
24876
24877 return 0;
24878
24879 ;
24880 return 0;
24881 }
24882 _ACEOF
24883 rm -f conftest.$ac_objext
24884 if { (ac_try="$ac_compile"
24885 case "(($ac_try" in
24886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24887 *) ac_try_echo=$ac_try;;
24888 esac
24889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24890 (eval "$ac_compile") 2>conftest.er1
24891 ac_status=$?
24892 grep -v '^ *+' conftest.er1 >conftest.err
24893 rm -f conftest.er1
24894 cat conftest.err >&5
24895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24896 (exit $ac_status); } && {
24897 test -z "$ac_cxx_werror_flag" ||
24898 test ! -s conftest.err
24899 } && test -s conftest.$ac_objext; then
24900
24901 cat >conftest.$ac_ext <<_ACEOF
24902 /* confdefs.h. */
24903 _ACEOF
24904 cat confdefs.h >>conftest.$ac_ext
24905 cat >>conftest.$ac_ext <<_ACEOF
24906 /* end confdefs.h. */
24907
24908 class Foo { public: explicit Foo(int) {} };
24909 static void TakeFoo(const Foo& foo) { }
24910
24911 int
24912 main ()
24913 {
24914
24915 TakeFoo(17);
24916 return 0;
24917
24918 ;
24919 return 0;
24920 }
24921 _ACEOF
24922 rm -f conftest.$ac_objext
24923 if { (ac_try="$ac_compile"
24924 case "(($ac_try" in
24925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24926 *) ac_try_echo=$ac_try;;
24927 esac
24928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24929 (eval "$ac_compile") 2>conftest.er1
24930 ac_status=$?
24931 grep -v '^ *+' conftest.er1 >conftest.err
24932 rm -f conftest.er1
24933 cat conftest.err >&5
24934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24935 (exit $ac_status); } && {
24936 test -z "$ac_cxx_werror_flag" ||
24937 test ! -s conftest.err
24938 } && test -s conftest.$ac_objext; then
24939 wx_cv_explicit=no
24940 else
24941 echo "$as_me: failed program was:" >&5
24942 sed 's/^/| /' conftest.$ac_ext >&5
24943
24944 wx_cv_explicit=yes
24945
24946 fi
24947
24948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24949
24950 else
24951 echo "$as_me: failed program was:" >&5
24952 sed 's/^/| /' conftest.$ac_ext >&5
24953
24954 wx_cv_explicit=no
24955
24956 fi
24957
24958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24959
24960 ac_ext=c
24961 ac_cpp='$CPP $CPPFLAGS'
24962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24965
24966
24967 fi
24968 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24969 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24970
24971 if test "$wx_cv_explicit" = "yes"; then
24972 cat >>confdefs.h <<\_ACEOF
24973 #define HAVE_EXPLICIT 1
24974 _ACEOF
24975
24976 fi
24977
24978
24979 if test "x$SUNCXX" = xyes; then
24980 CXXFLAGS="-features=tmplife $CXXFLAGS"
24981 fi
24982
24983 if test "x$SUNCC" = xyes; then
24984 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24985 fi
24986
24987 if test "x$SGICC" = "xyes"; then
24988 { echo "$as_me:$LINENO: checking if cc version is 7.4.4 or greater" >&5
24989 echo $ECHO_N "checking if cc version is 7.4.4 or greater... $ECHO_C" >&6; }
24990 if test "${wx_cv_prog_sgicc744+set}" = set; then
24991 echo $ECHO_N "(cached) $ECHO_C" >&6
24992 else
24993
24994 cat >conftest.$ac_ext <<_ACEOF
24995 /* confdefs.h. */
24996 _ACEOF
24997 cat confdefs.h >>conftest.$ac_ext
24998 cat >>conftest.$ac_ext <<_ACEOF
24999 /* end confdefs.h. */
25000
25001 int
25002 main ()
25003 {
25004
25005 #if _SGI_COMPILER_VERSION >= 744
25006 chock me: mipsPro is 7.4.4 or later
25007 #endif
25008
25009 ;
25010 return 0;
25011 }
25012 _ACEOF
25013 rm -f conftest.$ac_objext
25014 if { (ac_try="$ac_compile"
25015 case "(($ac_try" in
25016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25017 *) ac_try_echo=$ac_try;;
25018 esac
25019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25020 (eval "$ac_compile") 2>conftest.er1
25021 ac_status=$?
25022 grep -v '^ *+' conftest.er1 >conftest.err
25023 rm -f conftest.er1
25024 cat conftest.err >&5
25025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25026 (exit $ac_status); } && {
25027 test -z "$ac_c_werror_flag" ||
25028 test ! -s conftest.err
25029 } && test -s conftest.$ac_objext; then
25030 wx_cv_prog_sgicc744=no
25031 else
25032 echo "$as_me: failed program was:" >&5
25033 sed 's/^/| /' conftest.$ac_ext >&5
25034
25035 wx_cv_prog_sgicc744=yes
25036
25037 fi
25038
25039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25040
25041
25042 fi
25043 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicc744" >&5
25044 echo "${ECHO_T}$wx_cv_prog_sgicc744" >&6; }
25045
25046 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
25047 CFLAGS="-woff 3970 $CFLAGS"
25048 fi
25049 fi
25050 if test "x$SGICXX" = "xyes"; then
25051 { echo "$as_me:$LINENO: checking if CC version is 7.4.4 or greater" >&5
25052 echo $ECHO_N "checking if CC version is 7.4.4 or greater... $ECHO_C" >&6; }
25053 if test "${wx_cv_prog_sgicxx744+set}" = set; then
25054 echo $ECHO_N "(cached) $ECHO_C" >&6
25055 else
25056
25057 ac_ext=cpp
25058 ac_cpp='$CXXCPP $CPPFLAGS'
25059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25062
25063 cat >conftest.$ac_ext <<_ACEOF
25064 /* confdefs.h. */
25065 _ACEOF
25066 cat confdefs.h >>conftest.$ac_ext
25067 cat >>conftest.$ac_ext <<_ACEOF
25068 /* end confdefs.h. */
25069
25070 int
25071 main ()
25072 {
25073
25074 #if _SGI_COMPILER_VERSION >= 744
25075 chock me: mipsPro is 7.4.4 or later
25076 #endif
25077
25078 ;
25079 return 0;
25080 }
25081 _ACEOF
25082 rm -f conftest.$ac_objext
25083 if { (ac_try="$ac_compile"
25084 case "(($ac_try" in
25085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25086 *) ac_try_echo=$ac_try;;
25087 esac
25088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25089 (eval "$ac_compile") 2>conftest.er1
25090 ac_status=$?
25091 grep -v '^ *+' conftest.er1 >conftest.err
25092 rm -f conftest.er1
25093 cat conftest.err >&5
25094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25095 (exit $ac_status); } && {
25096 test -z "$ac_cxx_werror_flag" ||
25097 test ! -s conftest.err
25098 } && test -s conftest.$ac_objext; then
25099 wx_cv_prog_sgicxx744=no
25100 else
25101 echo "$as_me: failed program was:" >&5
25102 sed 's/^/| /' conftest.$ac_ext >&5
25103
25104 wx_cv_prog_sgicxx744=yes
25105
25106 fi
25107
25108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25109 ac_ext=c
25110 ac_cpp='$CPP $CPPFLAGS'
25111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25114
25115
25116
25117 fi
25118 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicxx744" >&5
25119 echo "${ECHO_T}$wx_cv_prog_sgicxx744" >&6; }
25120
25121 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
25122 CXXFLAGS="-woff 3970 $CXXFLAGS"
25123 fi
25124 fi
25125
25126 if test "x$HPCC" = "xyes"; then
25127 CFLAGS="+W 2011,2450 $CFLAGS"
25128 fi
25129 if test "x$HPCXX" = "xyes"; then
25130 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
25131 fi
25132
25133 if test "x$COMPAQCXX" = "xyes"; then
25134 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
25135 fi
25136
25137 ac_ext=cpp
25138 ac_cpp='$CXXCPP $CPPFLAGS'
25139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25142
25143
25144 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
25145 if test "$wxUSE_UNICODE" = "yes"; then
25146 std_string="std::wstring"
25147 char_type="wchar_t"
25148 else
25149 std_string="std::string"
25150 char_type="char"
25151 fi
25152
25153 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
25154 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
25155 if test "${wx_cv_class_stdstring+set}" = set; then
25156 echo $ECHO_N "(cached) $ECHO_C" >&6
25157 else
25158
25159 cat >conftest.$ac_ext <<_ACEOF
25160 /* confdefs.h. */
25161 _ACEOF
25162 cat confdefs.h >>conftest.$ac_ext
25163 cat >>conftest.$ac_ext <<_ACEOF
25164 /* end confdefs.h. */
25165 #include <string>
25166 int
25167 main ()
25168 {
25169 $std_string foo;
25170 ;
25171 return 0;
25172 }
25173 _ACEOF
25174 rm -f conftest.$ac_objext
25175 if { (ac_try="$ac_compile"
25176 case "(($ac_try" in
25177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25178 *) ac_try_echo=$ac_try;;
25179 esac
25180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25181 (eval "$ac_compile") 2>conftest.er1
25182 ac_status=$?
25183 grep -v '^ *+' conftest.er1 >conftest.err
25184 rm -f conftest.er1
25185 cat conftest.err >&5
25186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25187 (exit $ac_status); } && {
25188 test -z "$ac_cxx_werror_flag" ||
25189 test ! -s conftest.err
25190 } && test -s conftest.$ac_objext; then
25191 wx_cv_class_stdstring=yes
25192 else
25193 echo "$as_me: failed program was:" >&5
25194 sed 's/^/| /' conftest.$ac_ext >&5
25195
25196 wx_cv_class_stdstring=no
25197
25198 fi
25199
25200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25201
25202
25203 fi
25204 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
25205 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
25206
25207 if test "$wx_cv_class_stdstring" = yes; then
25208 if test "$wxUSE_UNICODE" = "yes"; then
25209 cat >>confdefs.h <<\_ACEOF
25210 #define HAVE_STD_WSTRING 1
25211 _ACEOF
25212
25213 fi
25214 else
25215 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
25216 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
25217 if test "${wx_cv_class_stdbasicstring+set}" = set; then
25218 echo $ECHO_N "(cached) $ECHO_C" >&6
25219 else
25220
25221 cat >conftest.$ac_ext <<_ACEOF
25222 /* confdefs.h. */
25223 _ACEOF
25224 cat confdefs.h >>conftest.$ac_ext
25225 cat >>conftest.$ac_ext <<_ACEOF
25226 /* end confdefs.h. */
25227
25228 #ifdef HAVE_WCHAR_H
25229 # ifdef __CYGWIN__
25230 # include <stddef.h>
25231 # endif
25232 # include <wchar.h>
25233 #endif
25234 #ifdef HAVE_STDLIB_H
25235 # include <stdlib.h>
25236 #endif
25237 #include <stdio.h>
25238 #include <string>
25239
25240 int
25241 main ()
25242 {
25243 std::basic_string<$char_type> foo;
25244 const $char_type* dummy = foo.c_str();
25245 ;
25246 return 0;
25247 }
25248 _ACEOF
25249 rm -f conftest.$ac_objext
25250 if { (ac_try="$ac_compile"
25251 case "(($ac_try" in
25252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25253 *) ac_try_echo=$ac_try;;
25254 esac
25255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25256 (eval "$ac_compile") 2>conftest.er1
25257 ac_status=$?
25258 grep -v '^ *+' conftest.er1 >conftest.err
25259 rm -f conftest.er1
25260 cat conftest.err >&5
25261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25262 (exit $ac_status); } && {
25263 test -z "$ac_cxx_werror_flag" ||
25264 test ! -s conftest.err
25265 } && test -s conftest.$ac_objext; then
25266 wx_cv_class_stdbasicstring=yes
25267 else
25268 echo "$as_me: failed program was:" >&5
25269 sed 's/^/| /' conftest.$ac_ext >&5
25270
25271 wx_cv_class_stdbasicstring=no
25272
25273 fi
25274
25275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25276
25277
25278 fi
25279 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
25280 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
25281
25282 if test "$wx_cv_class_stdbasicstring" != yes; then
25283 if test "$wxUSE_STL" = "yes"; then
25284 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
25285 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
25286 { (exit 1); exit 1; }; }
25287 elif test "$wxUSE_STD_STRING" = "yes"; then
25288 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
25289 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
25290 { (exit 1); exit 1; }; }
25291 else
25292 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
25293 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
25294 wxUSE_STD_STRING=no
25295 fi
25296 fi
25297 fi
25298 fi
25299
25300 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25301 { echo "$as_me:$LINENO: checking for std::istream" >&5
25302 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
25303 if test "${ac_cv_type_std__istream+set}" = set; then
25304 echo $ECHO_N "(cached) $ECHO_C" >&6
25305 else
25306 cat >conftest.$ac_ext <<_ACEOF
25307 /* confdefs.h. */
25308 _ACEOF
25309 cat confdefs.h >>conftest.$ac_ext
25310 cat >>conftest.$ac_ext <<_ACEOF
25311 /* end confdefs.h. */
25312 #include <iostream>
25313
25314 typedef std::istream ac__type_new_;
25315 int
25316 main ()
25317 {
25318 if ((ac__type_new_ *) 0)
25319 return 0;
25320 if (sizeof (ac__type_new_))
25321 return 0;
25322 ;
25323 return 0;
25324 }
25325 _ACEOF
25326 rm -f conftest.$ac_objext
25327 if { (ac_try="$ac_compile"
25328 case "(($ac_try" in
25329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25330 *) ac_try_echo=$ac_try;;
25331 esac
25332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25333 (eval "$ac_compile") 2>conftest.er1
25334 ac_status=$?
25335 grep -v '^ *+' conftest.er1 >conftest.err
25336 rm -f conftest.er1
25337 cat conftest.err >&5
25338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25339 (exit $ac_status); } && {
25340 test -z "$ac_cxx_werror_flag" ||
25341 test ! -s conftest.err
25342 } && test -s conftest.$ac_objext; then
25343 ac_cv_type_std__istream=yes
25344 else
25345 echo "$as_me: failed program was:" >&5
25346 sed 's/^/| /' conftest.$ac_ext >&5
25347
25348 ac_cv_type_std__istream=no
25349 fi
25350
25351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25352 fi
25353 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
25354 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
25355 if test $ac_cv_type_std__istream = yes; then
25356
25357 cat >>confdefs.h <<_ACEOF
25358 #define HAVE_STD__ISTREAM 1
25359 _ACEOF
25360
25361
25362 else
25363 wxUSE_STD_IOSTREAM=no
25364 fi
25365 { echo "$as_me:$LINENO: checking for std::ostream" >&5
25366 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
25367 if test "${ac_cv_type_std__ostream+set}" = set; then
25368 echo $ECHO_N "(cached) $ECHO_C" >&6
25369 else
25370 cat >conftest.$ac_ext <<_ACEOF
25371 /* confdefs.h. */
25372 _ACEOF
25373 cat confdefs.h >>conftest.$ac_ext
25374 cat >>conftest.$ac_ext <<_ACEOF
25375 /* end confdefs.h. */
25376 #include <iostream>
25377
25378 typedef std::ostream ac__type_new_;
25379 int
25380 main ()
25381 {
25382 if ((ac__type_new_ *) 0)
25383 return 0;
25384 if (sizeof (ac__type_new_))
25385 return 0;
25386 ;
25387 return 0;
25388 }
25389 _ACEOF
25390 rm -f conftest.$ac_objext
25391 if { (ac_try="$ac_compile"
25392 case "(($ac_try" in
25393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25394 *) ac_try_echo=$ac_try;;
25395 esac
25396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25397 (eval "$ac_compile") 2>conftest.er1
25398 ac_status=$?
25399 grep -v '^ *+' conftest.er1 >conftest.err
25400 rm -f conftest.er1
25401 cat conftest.err >&5
25402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25403 (exit $ac_status); } && {
25404 test -z "$ac_cxx_werror_flag" ||
25405 test ! -s conftest.err
25406 } && test -s conftest.$ac_objext; then
25407 ac_cv_type_std__ostream=yes
25408 else
25409 echo "$as_me: failed program was:" >&5
25410 sed 's/^/| /' conftest.$ac_ext >&5
25411
25412 ac_cv_type_std__ostream=no
25413 fi
25414
25415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25416 fi
25417 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
25418 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
25419 if test $ac_cv_type_std__ostream = yes; then
25420
25421 cat >>confdefs.h <<_ACEOF
25422 #define HAVE_STD__OSTREAM 1
25423 _ACEOF
25424
25425
25426 else
25427 wxUSE_STD_IOSTREAM=no
25428 fi
25429
25430
25431 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
25432 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25433 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
25434 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
25435 { (exit 1); exit 1; }; }
25436 else
25437 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
25438 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
25439 fi
25440 fi
25441 fi
25442
25443 if test "$wxUSE_STL" = "yes"; then
25444 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
25445 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
25446 if test "${wx_cv_lib_stl+set}" = set; then
25447 echo $ECHO_N "(cached) $ECHO_C" >&6
25448 else
25449 cat >conftest.$ac_ext <<_ACEOF
25450 /* confdefs.h. */
25451 _ACEOF
25452 cat confdefs.h >>conftest.$ac_ext
25453 cat >>conftest.$ac_ext <<_ACEOF
25454 /* end confdefs.h. */
25455 #include <string>
25456 #include <functional>
25457 #include <algorithm>
25458 #include <vector>
25459 #include <list>
25460 int
25461 main ()
25462 {
25463 std::vector<int> moo;
25464 std::list<int> foo;
25465 std::vector<int>::iterator it =
25466 std::find_if(moo.begin(), moo.end(),
25467 std::bind2nd(std::less<int>(), 3));
25468 ;
25469 return 0;
25470 }
25471 _ACEOF
25472 rm -f conftest.$ac_objext
25473 if { (ac_try="$ac_compile"
25474 case "(($ac_try" in
25475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25476 *) ac_try_echo=$ac_try;;
25477 esac
25478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25479 (eval "$ac_compile") 2>conftest.er1
25480 ac_status=$?
25481 grep -v '^ *+' conftest.er1 >conftest.err
25482 rm -f conftest.er1
25483 cat conftest.err >&5
25484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25485 (exit $ac_status); } && {
25486 test -z "$ac_cxx_werror_flag" ||
25487 test ! -s conftest.err
25488 } && test -s conftest.$ac_objext; then
25489 wx_cv_lib_stl=yes
25490 else
25491 echo "$as_me: failed program was:" >&5
25492 sed 's/^/| /' conftest.$ac_ext >&5
25493
25494 wx_cv_lib_stl=no
25495
25496 fi
25497
25498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25499
25500 fi
25501 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
25502 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
25503
25504 if test "$wx_cv_lib_stl" != yes; then
25505 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
25506 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
25507 { (exit 1); exit 1; }; }
25508 fi
25509
25510 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
25511 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
25512 if test "${wx_cv_func_stdstring_compare+set}" = set; then
25513 echo $ECHO_N "(cached) $ECHO_C" >&6
25514 else
25515 cat >conftest.$ac_ext <<_ACEOF
25516 /* confdefs.h. */
25517 _ACEOF
25518 cat confdefs.h >>conftest.$ac_ext
25519 cat >>conftest.$ac_ext <<_ACEOF
25520 /* end confdefs.h. */
25521 #include <string>
25522 int
25523 main ()
25524 {
25525 std::string foo, bar;
25526 foo.compare(bar);
25527 foo.compare(1, 1, bar);
25528 foo.compare(1, 1, bar, 1, 1);
25529 foo.compare("");
25530 foo.compare(1, 1, "");
25531 foo.compare(1, 1, "", 2);
25532 ;
25533 return 0;
25534 }
25535 _ACEOF
25536 rm -f conftest.$ac_objext
25537 if { (ac_try="$ac_compile"
25538 case "(($ac_try" in
25539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25540 *) ac_try_echo=$ac_try;;
25541 esac
25542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25543 (eval "$ac_compile") 2>conftest.er1
25544 ac_status=$?
25545 grep -v '^ *+' conftest.er1 >conftest.err
25546 rm -f conftest.er1
25547 cat conftest.err >&5
25548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25549 (exit $ac_status); } && {
25550 test -z "$ac_cxx_werror_flag" ||
25551 test ! -s conftest.err
25552 } && test -s conftest.$ac_objext; then
25553 wx_cv_func_stdstring_compare=yes
25554 else
25555 echo "$as_me: failed program was:" >&5
25556 sed 's/^/| /' conftest.$ac_ext >&5
25557
25558 wx_cv_func_stdstring_compare=no
25559
25560 fi
25561
25562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25563
25564 fi
25565 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
25566 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
25567
25568 if test "$wx_cv_func_stdstring_compare" = yes; then
25569 cat >>confdefs.h <<\_ACEOF
25570 #define HAVE_STD_STRING_COMPARE 1
25571 _ACEOF
25572
25573 fi
25574
25575 if test "$wx_cv_class_gnuhashmapset" = yes; then
25576 cat >>confdefs.h <<\_ACEOF
25577 #define HAVE_EXT_HASH_MAP 1
25578 _ACEOF
25579
25580 cat >>confdefs.h <<\_ACEOF
25581 #define HAVE_GNU_CXX_HASH_MAP 1
25582 _ACEOF
25583
25584 fi
25585
25586 { echo "$as_me:$LINENO: checking for unordered_map" >&5
25587 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
25588 if test "${ac_cv_header_unordered_map+set}" = set; then
25589 echo $ECHO_N "(cached) $ECHO_C" >&6
25590 else
25591 cat >conftest.$ac_ext <<_ACEOF
25592 /* confdefs.h. */
25593 _ACEOF
25594 cat confdefs.h >>conftest.$ac_ext
25595 cat >>conftest.$ac_ext <<_ACEOF
25596 /* end confdefs.h. */
25597
25598
25599
25600 #include <unordered_map>
25601 _ACEOF
25602 rm -f conftest.$ac_objext
25603 if { (ac_try="$ac_compile"
25604 case "(($ac_try" in
25605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25606 *) ac_try_echo=$ac_try;;
25607 esac
25608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25609 (eval "$ac_compile") 2>conftest.er1
25610 ac_status=$?
25611 grep -v '^ *+' conftest.er1 >conftest.err
25612 rm -f conftest.er1
25613 cat conftest.err >&5
25614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25615 (exit $ac_status); } && {
25616 test -z "$ac_cxx_werror_flag" ||
25617 test ! -s conftest.err
25618 } && test -s conftest.$ac_objext; then
25619 ac_cv_header_unordered_map=yes
25620 else
25621 echo "$as_me: failed program was:" >&5
25622 sed 's/^/| /' conftest.$ac_ext >&5
25623
25624 ac_cv_header_unordered_map=no
25625 fi
25626
25627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25628 fi
25629 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
25630 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
25631 if test $ac_cv_header_unordered_map = yes; then
25632 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
25633 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
25634 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
25635 echo $ECHO_N "(cached) $ECHO_C" >&6
25636 else
25637 cat >conftest.$ac_ext <<_ACEOF
25638 /* confdefs.h. */
25639 _ACEOF
25640 cat confdefs.h >>conftest.$ac_ext
25641 cat >>conftest.$ac_ext <<_ACEOF
25642 /* end confdefs.h. */
25643 #include <unordered_map>
25644 #include <unordered_set>
25645 int
25646 main ()
25647 {
25648 std::unordered_map<double*, char*> test1;
25649 std::unordered_set<char*> test2;
25650 ;
25651 return 0;
25652 }
25653 _ACEOF
25654 rm -f conftest.$ac_objext
25655 if { (ac_try="$ac_compile"
25656 case "(($ac_try" in
25657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25658 *) ac_try_echo=$ac_try;;
25659 esac
25660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25661 (eval "$ac_compile") 2>conftest.er1
25662 ac_status=$?
25663 grep -v '^ *+' conftest.er1 >conftest.err
25664 rm -f conftest.er1
25665 cat conftest.err >&5
25666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25667 (exit $ac_status); } && {
25668 test -z "$ac_cxx_werror_flag" ||
25669 test ! -s conftest.err
25670 } && test -s conftest.$ac_objext; then
25671 wx_cv_class_stdunorderedmapset=yes
25672 else
25673 echo "$as_me: failed program was:" >&5
25674 sed 's/^/| /' conftest.$ac_ext >&5
25675
25676 wx_cv_class_stdunorderedmapset=no
25677 fi
25678
25679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25680
25681
25682 fi
25683 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
25684 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
25685 fi
25686
25687
25688
25689 if test "$wx_cv_class_stdunorderedmapset" = yes; then
25690 cat >>confdefs.h <<\_ACEOF
25691 #define HAVE_STD_UNORDERED_MAP 1
25692 _ACEOF
25693
25694 cat >>confdefs.h <<\_ACEOF
25695 #define HAVE_STD_UNORDERED_SET 1
25696 _ACEOF
25697
25698 else
25699 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
25700 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
25701 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
25702 echo $ECHO_N "(cached) $ECHO_C" >&6
25703 else
25704 cat >conftest.$ac_ext <<_ACEOF
25705 /* confdefs.h. */
25706 _ACEOF
25707 cat confdefs.h >>conftest.$ac_ext
25708 cat >>conftest.$ac_ext <<_ACEOF
25709 /* end confdefs.h. */
25710
25711
25712
25713 #include <tr1/unordered_map>
25714 _ACEOF
25715 rm -f conftest.$ac_objext
25716 if { (ac_try="$ac_compile"
25717 case "(($ac_try" in
25718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25719 *) ac_try_echo=$ac_try;;
25720 esac
25721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25722 (eval "$ac_compile") 2>conftest.er1
25723 ac_status=$?
25724 grep -v '^ *+' conftest.er1 >conftest.err
25725 rm -f conftest.er1
25726 cat conftest.err >&5
25727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25728 (exit $ac_status); } && {
25729 test -z "$ac_cxx_werror_flag" ||
25730 test ! -s conftest.err
25731 } && test -s conftest.$ac_objext; then
25732 ac_cv_header_tr1_unordered_map=yes
25733 else
25734 echo "$as_me: failed program was:" >&5
25735 sed 's/^/| /' conftest.$ac_ext >&5
25736
25737 ac_cv_header_tr1_unordered_map=no
25738 fi
25739
25740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25741 fi
25742 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
25743 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
25744 if test $ac_cv_header_tr1_unordered_map = yes; then
25745 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
25746 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
25747 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
25748 echo $ECHO_N "(cached) $ECHO_C" >&6
25749 else
25750 cat >conftest.$ac_ext <<_ACEOF
25751 /* confdefs.h. */
25752 _ACEOF
25753 cat confdefs.h >>conftest.$ac_ext
25754 cat >>conftest.$ac_ext <<_ACEOF
25755 /* end confdefs.h. */
25756 #include <tr1/unordered_map>
25757 #include <tr1/unordered_set>
25758 int
25759 main ()
25760 {
25761 std::tr1::unordered_map<double*, char*> test1;
25762 std::tr1::unordered_set<char*> test2;
25763 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
25764 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
25765 #endif
25766 ;
25767 return 0;
25768 }
25769 _ACEOF
25770 rm -f conftest.$ac_objext
25771 if { (ac_try="$ac_compile"
25772 case "(($ac_try" in
25773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25774 *) ac_try_echo=$ac_try;;
25775 esac
25776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25777 (eval "$ac_compile") 2>conftest.er1
25778 ac_status=$?
25779 grep -v '^ *+' conftest.er1 >conftest.err
25780 rm -f conftest.er1
25781 cat conftest.err >&5
25782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25783 (exit $ac_status); } && {
25784 test -z "$ac_cxx_werror_flag" ||
25785 test ! -s conftest.err
25786 } && test -s conftest.$ac_objext; then
25787 wx_cv_class_tr1unorderedmapset=yes
25788 else
25789 echo "$as_me: failed program was:" >&5
25790 sed 's/^/| /' conftest.$ac_ext >&5
25791
25792 wx_cv_class_tr1unorderedmapset=no
25793 fi
25794
25795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25796
25797
25798 fi
25799 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25800 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25801 fi
25802
25803
25804
25805 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25806 cat >>confdefs.h <<\_ACEOF
25807 #define HAVE_TR1_UNORDERED_MAP 1
25808 _ACEOF
25809
25810 cat >>confdefs.h <<\_ACEOF
25811 #define HAVE_TR1_UNORDERED_SET 1
25812 _ACEOF
25813
25814 else
25815 { echo "$as_me:$LINENO: checking for hash_map" >&5
25816 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25817 if test "${ac_cv_header_hash_map+set}" = set; then
25818 echo $ECHO_N "(cached) $ECHO_C" >&6
25819 else
25820 cat >conftest.$ac_ext <<_ACEOF
25821 /* confdefs.h. */
25822 _ACEOF
25823 cat confdefs.h >>conftest.$ac_ext
25824 cat >>conftest.$ac_ext <<_ACEOF
25825 /* end confdefs.h. */
25826
25827
25828
25829 #include <hash_map>
25830 _ACEOF
25831 rm -f conftest.$ac_objext
25832 if { (ac_try="$ac_compile"
25833 case "(($ac_try" in
25834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25835 *) ac_try_echo=$ac_try;;
25836 esac
25837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25838 (eval "$ac_compile") 2>conftest.er1
25839 ac_status=$?
25840 grep -v '^ *+' conftest.er1 >conftest.err
25841 rm -f conftest.er1
25842 cat conftest.err >&5
25843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25844 (exit $ac_status); } && {
25845 test -z "$ac_cxx_werror_flag" ||
25846 test ! -s conftest.err
25847 } && test -s conftest.$ac_objext; then
25848 ac_cv_header_hash_map=yes
25849 else
25850 echo "$as_me: failed program was:" >&5
25851 sed 's/^/| /' conftest.$ac_ext >&5
25852
25853 ac_cv_header_hash_map=no
25854 fi
25855
25856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25857 fi
25858 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25859 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25860 if test $ac_cv_header_hash_map = yes; then
25861 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25862 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25863 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25864 echo $ECHO_N "(cached) $ECHO_C" >&6
25865 else
25866 cat >conftest.$ac_ext <<_ACEOF
25867 /* confdefs.h. */
25868 _ACEOF
25869 cat confdefs.h >>conftest.$ac_ext
25870 cat >>conftest.$ac_ext <<_ACEOF
25871 /* end confdefs.h. */
25872 #include <hash_map>
25873 #include <hash_set>
25874 int
25875 main ()
25876 {
25877 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25878 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25879 ;
25880 return 0;
25881 }
25882 _ACEOF
25883 rm -f conftest.$ac_objext
25884 if { (ac_try="$ac_compile"
25885 case "(($ac_try" in
25886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25887 *) ac_try_echo=$ac_try;;
25888 esac
25889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25890 (eval "$ac_compile") 2>conftest.er1
25891 ac_status=$?
25892 grep -v '^ *+' conftest.er1 >conftest.err
25893 rm -f conftest.er1
25894 cat conftest.err >&5
25895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25896 (exit $ac_status); } && {
25897 test -z "$ac_cxx_werror_flag" ||
25898 test ! -s conftest.err
25899 } && test -s conftest.$ac_objext; then
25900 wx_cv_class_stdhashmapset=yes
25901 else
25902 echo "$as_me: failed program was:" >&5
25903 sed 's/^/| /' conftest.$ac_ext >&5
25904
25905 wx_cv_class_stdhashmapset=no
25906 fi
25907
25908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25909
25910
25911 fi
25912 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25913 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25914 fi
25915
25916
25917
25918 if test "$wx_cv_class_stdhashmapset" = yes; then
25919 cat >>confdefs.h <<\_ACEOF
25920 #define HAVE_HASH_MAP 1
25921 _ACEOF
25922
25923 cat >>confdefs.h <<\_ACEOF
25924 #define HAVE_STD_HASH_MAP 1
25925 _ACEOF
25926
25927 fi
25928
25929 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25930 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25931 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25932 echo $ECHO_N "(cached) $ECHO_C" >&6
25933 else
25934 cat >conftest.$ac_ext <<_ACEOF
25935 /* confdefs.h. */
25936 _ACEOF
25937 cat confdefs.h >>conftest.$ac_ext
25938 cat >>conftest.$ac_ext <<_ACEOF
25939 /* end confdefs.h. */
25940
25941
25942
25943 #include <ext/hash_map>
25944 _ACEOF
25945 rm -f conftest.$ac_objext
25946 if { (ac_try="$ac_compile"
25947 case "(($ac_try" in
25948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25949 *) ac_try_echo=$ac_try;;
25950 esac
25951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25952 (eval "$ac_compile") 2>conftest.er1
25953 ac_status=$?
25954 grep -v '^ *+' conftest.er1 >conftest.err
25955 rm -f conftest.er1
25956 cat conftest.err >&5
25957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25958 (exit $ac_status); } && {
25959 test -z "$ac_cxx_werror_flag" ||
25960 test ! -s conftest.err
25961 } && test -s conftest.$ac_objext; then
25962 ac_cv_header_ext_hash_map=yes
25963 else
25964 echo "$as_me: failed program was:" >&5
25965 sed 's/^/| /' conftest.$ac_ext >&5
25966
25967 ac_cv_header_ext_hash_map=no
25968 fi
25969
25970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25971 fi
25972 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25973 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25974 if test $ac_cv_header_ext_hash_map = yes; then
25975 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25976 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25977 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25978 echo $ECHO_N "(cached) $ECHO_C" >&6
25979 else
25980 cat >conftest.$ac_ext <<_ACEOF
25981 /* confdefs.h. */
25982 _ACEOF
25983 cat confdefs.h >>conftest.$ac_ext
25984 cat >>conftest.$ac_ext <<_ACEOF
25985 /* end confdefs.h. */
25986 #include <ext/hash_map>
25987 #include <ext/hash_set>
25988 int
25989 main ()
25990 {
25991 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25992 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25993 ;
25994 return 0;
25995 }
25996 _ACEOF
25997 rm -f conftest.$ac_objext
25998 if { (ac_try="$ac_compile"
25999 case "(($ac_try" in
26000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26001 *) ac_try_echo=$ac_try;;
26002 esac
26003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26004 (eval "$ac_compile") 2>conftest.er1
26005 ac_status=$?
26006 grep -v '^ *+' conftest.er1 >conftest.err
26007 rm -f conftest.er1
26008 cat conftest.err >&5
26009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26010 (exit $ac_status); } && {
26011 test -z "$ac_cxx_werror_flag" ||
26012 test ! -s conftest.err
26013 } && test -s conftest.$ac_objext; then
26014 wx_cv_class_gnuhashmapset=yes
26015 else
26016 echo "$as_me: failed program was:" >&5
26017 sed 's/^/| /' conftest.$ac_ext >&5
26018
26019 wx_cv_class_gnuhashmapset=no
26020 fi
26021
26022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26023
26024
26025 fi
26026 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
26027 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
26028 fi
26029
26030
26031
26032 fi
26033 fi
26034 fi
26035
26036 ac_ext=cpp
26037 ac_cpp='$CXXCPP $CPPFLAGS'
26038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26041 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
26042 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
26043 if test -z "$CXXCPP"; then
26044 if test "${ac_cv_prog_CXXCPP+set}" = set; then
26045 echo $ECHO_N "(cached) $ECHO_C" >&6
26046 else
26047 # Double quotes because CXXCPP needs to be expanded
26048 for CXXCPP in "$CXX -E" "/lib/cpp"
26049 do
26050 ac_preproc_ok=false
26051 for ac_cxx_preproc_warn_flag in '' yes
26052 do
26053 # Use a header file that comes with gcc, so configuring glibc
26054 # with a fresh cross-compiler works.
26055 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26056 # <limits.h> exists even on freestanding compilers.
26057 # On the NeXT, cc -E runs the code through the compiler's parser,
26058 # not just through cpp. "Syntax error" is here to catch this case.
26059 cat >conftest.$ac_ext <<_ACEOF
26060 /* confdefs.h. */
26061 _ACEOF
26062 cat confdefs.h >>conftest.$ac_ext
26063 cat >>conftest.$ac_ext <<_ACEOF
26064 /* end confdefs.h. */
26065 #ifdef __STDC__
26066 # include <limits.h>
26067 #else
26068 # include <assert.h>
26069 #endif
26070 Syntax error
26071 _ACEOF
26072 if { (ac_try="$ac_cpp conftest.$ac_ext"
26073 case "(($ac_try" in
26074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26075 *) ac_try_echo=$ac_try;;
26076 esac
26077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26078 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26079 ac_status=$?
26080 grep -v '^ *+' conftest.er1 >conftest.err
26081 rm -f conftest.er1
26082 cat conftest.err >&5
26083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26084 (exit $ac_status); } >/dev/null && {
26085 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26086 test ! -s conftest.err
26087 }; then
26088 :
26089 else
26090 echo "$as_me: failed program was:" >&5
26091 sed 's/^/| /' conftest.$ac_ext >&5
26092
26093 # Broken: fails on valid input.
26094 continue
26095 fi
26096
26097 rm -f conftest.err conftest.$ac_ext
26098
26099 # OK, works on sane cases. Now check whether nonexistent headers
26100 # can be detected and how.
26101 cat >conftest.$ac_ext <<_ACEOF
26102 /* confdefs.h. */
26103 _ACEOF
26104 cat confdefs.h >>conftest.$ac_ext
26105 cat >>conftest.$ac_ext <<_ACEOF
26106 /* end confdefs.h. */
26107 #include <ac_nonexistent.h>
26108 _ACEOF
26109 if { (ac_try="$ac_cpp conftest.$ac_ext"
26110 case "(($ac_try" in
26111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26112 *) ac_try_echo=$ac_try;;
26113 esac
26114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26115 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26116 ac_status=$?
26117 grep -v '^ *+' conftest.er1 >conftest.err
26118 rm -f conftest.er1
26119 cat conftest.err >&5
26120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26121 (exit $ac_status); } >/dev/null && {
26122 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26123 test ! -s conftest.err
26124 }; then
26125 # Broken: success on invalid input.
26126 continue
26127 else
26128 echo "$as_me: failed program was:" >&5
26129 sed 's/^/| /' conftest.$ac_ext >&5
26130
26131 # Passes both tests.
26132 ac_preproc_ok=:
26133 break
26134 fi
26135
26136 rm -f conftest.err conftest.$ac_ext
26137
26138 done
26139 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26140 rm -f conftest.err conftest.$ac_ext
26141 if $ac_preproc_ok; then
26142 break
26143 fi
26144
26145 done
26146 ac_cv_prog_CXXCPP=$CXXCPP
26147
26148 fi
26149 CXXCPP=$ac_cv_prog_CXXCPP
26150 else
26151 ac_cv_prog_CXXCPP=$CXXCPP
26152 fi
26153 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
26154 echo "${ECHO_T}$CXXCPP" >&6; }
26155 ac_preproc_ok=false
26156 for ac_cxx_preproc_warn_flag in '' yes
26157 do
26158 # Use a header file that comes with gcc, so configuring glibc
26159 # with a fresh cross-compiler works.
26160 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26161 # <limits.h> exists even on freestanding compilers.
26162 # On the NeXT, cc -E runs the code through the compiler's parser,
26163 # not just through cpp. "Syntax error" is here to catch this case.
26164 cat >conftest.$ac_ext <<_ACEOF
26165 /* confdefs.h. */
26166 _ACEOF
26167 cat confdefs.h >>conftest.$ac_ext
26168 cat >>conftest.$ac_ext <<_ACEOF
26169 /* end confdefs.h. */
26170 #ifdef __STDC__
26171 # include <limits.h>
26172 #else
26173 # include <assert.h>
26174 #endif
26175 Syntax error
26176 _ACEOF
26177 if { (ac_try="$ac_cpp conftest.$ac_ext"
26178 case "(($ac_try" in
26179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26180 *) ac_try_echo=$ac_try;;
26181 esac
26182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26183 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26184 ac_status=$?
26185 grep -v '^ *+' conftest.er1 >conftest.err
26186 rm -f conftest.er1
26187 cat conftest.err >&5
26188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26189 (exit $ac_status); } >/dev/null && {
26190 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26191 test ! -s conftest.err
26192 }; then
26193 :
26194 else
26195 echo "$as_me: failed program was:" >&5
26196 sed 's/^/| /' conftest.$ac_ext >&5
26197
26198 # Broken: fails on valid input.
26199 continue
26200 fi
26201
26202 rm -f conftest.err conftest.$ac_ext
26203
26204 # OK, works on sane cases. Now check whether nonexistent headers
26205 # can be detected and how.
26206 cat >conftest.$ac_ext <<_ACEOF
26207 /* confdefs.h. */
26208 _ACEOF
26209 cat confdefs.h >>conftest.$ac_ext
26210 cat >>conftest.$ac_ext <<_ACEOF
26211 /* end confdefs.h. */
26212 #include <ac_nonexistent.h>
26213 _ACEOF
26214 if { (ac_try="$ac_cpp conftest.$ac_ext"
26215 case "(($ac_try" in
26216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26217 *) ac_try_echo=$ac_try;;
26218 esac
26219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26220 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26221 ac_status=$?
26222 grep -v '^ *+' conftest.er1 >conftest.err
26223 rm -f conftest.er1
26224 cat conftest.err >&5
26225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26226 (exit $ac_status); } >/dev/null && {
26227 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26228 test ! -s conftest.err
26229 }; then
26230 # Broken: success on invalid input.
26231 continue
26232 else
26233 echo "$as_me: failed program was:" >&5
26234 sed 's/^/| /' conftest.$ac_ext >&5
26235
26236 # Passes both tests.
26237 ac_preproc_ok=:
26238 break
26239 fi
26240
26241 rm -f conftest.err conftest.$ac_ext
26242
26243 done
26244 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26245 rm -f conftest.err conftest.$ac_ext
26246 if $ac_preproc_ok; then
26247 :
26248 else
26249 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26250 See \`config.log' for more details." >&5
26251 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26252 See \`config.log' for more details." >&2;}
26253 { (exit 1); exit 1; }; }
26254 fi
26255
26256 ac_ext=cpp
26257 ac_cpp='$CXXCPP $CPPFLAGS'
26258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26261
26262
26263
26264
26265 for ac_header in type_traits tr1/type_traits
26266 do
26267 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26268 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26269 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26270 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26271 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26272 echo $ECHO_N "(cached) $ECHO_C" >&6
26273 fi
26274 ac_res=`eval echo '${'$as_ac_Header'}'`
26275 { echo "$as_me:$LINENO: result: $ac_res" >&5
26276 echo "${ECHO_T}$ac_res" >&6; }
26277 else
26278 # Is the header compilable?
26279 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
26280 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
26281 cat >conftest.$ac_ext <<_ACEOF
26282 /* confdefs.h. */
26283 _ACEOF
26284 cat confdefs.h >>conftest.$ac_ext
26285 cat >>conftest.$ac_ext <<_ACEOF
26286 /* end confdefs.h. */
26287 $ac_includes_default
26288 #include <$ac_header>
26289 _ACEOF
26290 rm -f conftest.$ac_objext
26291 if { (ac_try="$ac_compile"
26292 case "(($ac_try" in
26293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26294 *) ac_try_echo=$ac_try;;
26295 esac
26296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26297 (eval "$ac_compile") 2>conftest.er1
26298 ac_status=$?
26299 grep -v '^ *+' conftest.er1 >conftest.err
26300 rm -f conftest.er1
26301 cat conftest.err >&5
26302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26303 (exit $ac_status); } && {
26304 test -z "$ac_cxx_werror_flag" ||
26305 test ! -s conftest.err
26306 } && test -s conftest.$ac_objext; then
26307 ac_header_compiler=yes
26308 else
26309 echo "$as_me: failed program was:" >&5
26310 sed 's/^/| /' conftest.$ac_ext >&5
26311
26312 ac_header_compiler=no
26313 fi
26314
26315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26316 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26317 echo "${ECHO_T}$ac_header_compiler" >&6; }
26318
26319 # Is the header present?
26320 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
26321 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
26322 cat >conftest.$ac_ext <<_ACEOF
26323 /* confdefs.h. */
26324 _ACEOF
26325 cat confdefs.h >>conftest.$ac_ext
26326 cat >>conftest.$ac_ext <<_ACEOF
26327 /* end confdefs.h. */
26328 #include <$ac_header>
26329 _ACEOF
26330 if { (ac_try="$ac_cpp conftest.$ac_ext"
26331 case "(($ac_try" in
26332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26333 *) ac_try_echo=$ac_try;;
26334 esac
26335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26336 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26337 ac_status=$?
26338 grep -v '^ *+' conftest.er1 >conftest.err
26339 rm -f conftest.er1
26340 cat conftest.err >&5
26341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26342 (exit $ac_status); } >/dev/null && {
26343 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26344 test ! -s conftest.err
26345 }; then
26346 ac_header_preproc=yes
26347 else
26348 echo "$as_me: failed program was:" >&5
26349 sed 's/^/| /' conftest.$ac_ext >&5
26350
26351 ac_header_preproc=no
26352 fi
26353
26354 rm -f conftest.err conftest.$ac_ext
26355 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26356 echo "${ECHO_T}$ac_header_preproc" >&6; }
26357
26358 # So? What about this header?
26359 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26360 yes:no: )
26361 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26362 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26363 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26364 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26365 ac_header_preproc=yes
26366 ;;
26367 no:yes:* )
26368 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26369 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26370 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26371 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26372 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26373 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26374 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26375 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26376 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26377 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26378 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26379 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26380 ( cat <<\_ASBOX
26381 ## ----------------------------------------- ##
26382 ## Report this to wx-dev@lists.wxwidgets.org ##
26383 ## ----------------------------------------- ##
26384 _ASBOX
26385 ) | sed "s/^/$as_me: WARNING: /" >&2
26386 ;;
26387 esac
26388 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26389 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26390 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26391 echo $ECHO_N "(cached) $ECHO_C" >&6
26392 else
26393 eval "$as_ac_Header=\$ac_header_preproc"
26394 fi
26395 ac_res=`eval echo '${'$as_ac_Header'}'`
26396 { echo "$as_me:$LINENO: result: $ac_res" >&5
26397 echo "${ECHO_T}$ac_res" >&6; }
26398
26399 fi
26400 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26401 cat >>confdefs.h <<_ACEOF
26402 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26403 _ACEOF
26404
26405 fi
26406
26407 done
26408
26409
26410
26411
26412 if test -n "$GCC"; then
26413 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
26414 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
26415 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
26416 echo $ECHO_N "(cached) $ECHO_C" >&6
26417 else
26418
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 int
26427 main ()
26428 {
26429
26430 unsigned int value=0;
26431 /* wxAtomicInc doesn't use return value here */
26432 __sync_fetch_and_add(&value, 2);
26433 __sync_sub_and_fetch(&value, 1);
26434 /* but wxAtomicDec does, so mimic that: */
26435 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
26436
26437 ;
26438 return 0;
26439 }
26440 _ACEOF
26441 rm -f conftest.$ac_objext conftest$ac_exeext
26442 if { (ac_try="$ac_link"
26443 case "(($ac_try" in
26444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26445 *) ac_try_echo=$ac_try;;
26446 esac
26447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26448 (eval "$ac_link") 2>conftest.er1
26449 ac_status=$?
26450 grep -v '^ *+' conftest.er1 >conftest.err
26451 rm -f conftest.er1
26452 cat conftest.err >&5
26453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26454 (exit $ac_status); } && {
26455 test -z "$ac_cxx_werror_flag" ||
26456 test ! -s conftest.err
26457 } && test -s conftest$ac_exeext &&
26458 $as_test_x conftest$ac_exeext; then
26459 wx_cv_cc_gcc_atomic_builtins=yes
26460 else
26461 echo "$as_me: failed program was:" >&5
26462 sed 's/^/| /' conftest.$ac_ext >&5
26463
26464 wx_cv_cc_gcc_atomic_builtins=no
26465 fi
26466
26467 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26468 conftest$ac_exeext conftest.$ac_ext
26469
26470 fi
26471
26472 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
26473 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
26474 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
26475 cat >>confdefs.h <<\_ACEOF
26476 #define HAVE_GCC_ATOMIC_BUILTINS 1
26477 _ACEOF
26478
26479 fi
26480 fi
26481
26482
26483 ac_ext=c
26484 ac_cpp='$CPP $CPPFLAGS'
26485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26488
26489
26490
26491 SEARCH_INCLUDE="\
26492 /usr/local/include \
26493 /usr/local/X11/include \
26494 /usr/local/include/X11 \
26495 /usr/local/X11R7/include \
26496 /usr/local/X11R6/include \
26497 /usr/local/include/X11R7 \
26498 /usr/local/include/X11R6 \
26499 \
26500 /usr/Motif-2.1/include \
26501 /usr/Motif-1.2/include \
26502 /usr/include/Motif1.2 \
26503 \
26504 /usr/dt/include \
26505 /usr/openwin/include \
26506 \
26507 /usr/include/Xm \
26508 \
26509 /usr/X11R7/include \
26510 /usr/X11R6/include \
26511 /usr/X11R6.4/include \
26512 \
26513 /usr/include/X11R7 \
26514 /usr/include/X11R6 \
26515 \
26516 /usr/X11/include \
26517 /usr/include/X11 \
26518 \
26519 /usr/XFree86/include/X11 \
26520 /usr/pkg/include \
26521 \
26522 /usr/local/X1R5/include \
26523 /usr/local/include/X11R5 \
26524 /usr/X11R5/include \
26525 /usr/include/X11R5 \
26526 \
26527 /usr/local/X11R4/include \
26528 /usr/local/include/X11R4 \
26529 /usr/X11R4/include \
26530 /usr/include/X11R4 \
26531 \
26532 /usr/openwin/share/include"
26533
26534 { echo "$as_me:$LINENO: checking for libraries directory" >&5
26535 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
26536
26537 case "${host}" in
26538 *-*-irix6* )
26539 if test "${wx_cv_std_libpath+set}" = set; then
26540 echo $ECHO_N "(cached) $ECHO_C" >&6
26541 else
26542
26543 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
26544 for e in a so sl dylib dll.a; do
26545 libc="$d/libc.$e"
26546 if test -f $libc; then
26547 save_LIBS="$LIBS"
26548 LIBS="$libc"
26549 cat >conftest.$ac_ext <<_ACEOF
26550 int main() { return 0; }
26551 _ACEOF
26552 rm -f conftest.$ac_objext conftest$ac_exeext
26553 if { (ac_try="$ac_link"
26554 case "(($ac_try" in
26555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26556 *) ac_try_echo=$ac_try;;
26557 esac
26558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26559 (eval "$ac_link") 2>conftest.er1
26560 ac_status=$?
26561 grep -v '^ *+' conftest.er1 >conftest.err
26562 rm -f conftest.er1
26563 cat conftest.err >&5
26564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26565 (exit $ac_status); } && {
26566 test -z "$ac_c_werror_flag" ||
26567 test ! -s conftest.err
26568 } && test -s conftest$ac_exeext &&
26569 $as_test_x conftest$ac_exeext; then
26570 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
26571 else
26572 echo "$as_me: failed program was:" >&5
26573 sed 's/^/| /' conftest.$ac_ext >&5
26574
26575
26576 fi
26577
26578 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26579 conftest$ac_exeext conftest.$ac_ext
26580 LIBS="$save_LIBS"
26581 if test "x$wx_cv_std_libpath" != "x"; then
26582 break 2
26583 fi
26584 fi
26585 done
26586 done
26587 if test "x$wx_cv_std_libpath" = "x"; then
26588 wx_cv_std_libpath="lib"
26589 fi
26590
26591
26592 fi
26593
26594 ;;
26595
26596 *-*-solaris2* )
26597 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
26598 wx_cv_std_libpath="lib/64"
26599 else
26600 wx_cv_std_libpath="lib"
26601 fi
26602 ;;
26603
26604 *-*-linux* )
26605 if test "$ac_cv_sizeof_void_p" = 8 -a \
26606 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
26607 wx_cv_std_libpath="lib64"
26608 else
26609 wx_cv_std_libpath="lib"
26610 fi
26611 ;;
26612
26613 *)
26614 wx_cv_std_libpath="lib";
26615 ;;
26616 esac
26617
26618 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
26619 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
26620
26621 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
26622
26623 if test "$build" != "$host" -a "$GCC" = yes; then
26624 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
26625 cross_root=`dirname $cross_root`
26626 cross_root=`dirname $cross_root`
26627
26628 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26629 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26630 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
26631
26632 if test -z "$PKG_CONFIG_PATH"; then
26633 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
26634 export PKG_CONFIG_PATH
26635 fi
26636
26637 if test -z "$x_includes" -o "$x_includes" = NONE; then
26638
26639 ac_find_includes=
26640 for ac_dir in $SEARCH_INCLUDE /usr/include;
26641 do
26642 if test -f "$ac_dir/X11/Intrinsic.h"; then
26643 ac_find_includes=$ac_dir
26644 break
26645 fi
26646 done
26647
26648 x_includes=$ac_find_includes
26649 fi
26650 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
26651
26652 ac_find_libraries=
26653 for ac_dir in $SEARCH_LIB;
26654 do
26655 for ac_extension in a so sl dylib dll.a; do
26656 if test -f "$ac_dir/libXt.$ac_extension"; then
26657 ac_find_libraries=$ac_dir
26658 break 2
26659 fi
26660 done
26661 done
26662
26663 x_libraries=$ac_find_libraries
26664 fi
26665 fi
26666 fi
26667
26668
26669 cat >confcache <<\_ACEOF
26670 # This file is a shell script that caches the results of configure
26671 # tests run on this system so they can be shared between configure
26672 # scripts and configure runs, see configure's option --config-cache.
26673 # It is not useful on other systems. If it contains results you don't
26674 # want to keep, you may remove or edit it.
26675 #
26676 # config.status only pays attention to the cache file if you give it
26677 # the --recheck option to rerun configure.
26678 #
26679 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26680 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26681 # following values.
26682
26683 _ACEOF
26684
26685 # The following way of writing the cache mishandles newlines in values,
26686 # but we know of no workaround that is simple, portable, and efficient.
26687 # So, we kill variables containing newlines.
26688 # Ultrix sh set writes to stderr and can't be redirected directly,
26689 # and sets the high bit in the cache file unless we assign to the vars.
26690 (
26691 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26692 eval ac_val=\$$ac_var
26693 case $ac_val in #(
26694 *${as_nl}*)
26695 case $ac_var in #(
26696 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
26697 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
26698 esac
26699 case $ac_var in #(
26700 _ | IFS | as_nl) ;; #(
26701 *) $as_unset $ac_var ;;
26702 esac ;;
26703 esac
26704 done
26705
26706 (set) 2>&1 |
26707 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26708 *${as_nl}ac_space=\ *)
26709 # `set' does not quote correctly, so add quotes (double-quote
26710 # substitution turns \\\\ into \\, and sed turns \\ into \).
26711 sed -n \
26712 "s/'/'\\\\''/g;
26713 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26714 ;; #(
26715 *)
26716 # `set' quotes correctly as required by POSIX, so do not add quotes.
26717 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26718 ;;
26719 esac |
26720 sort
26721 ) |
26722 sed '
26723 /^ac_cv_env_/b end
26724 t clear
26725 :clear
26726 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26727 t end
26728 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26729 :end' >>confcache
26730 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
26731 if test -w "$cache_file"; then
26732 test "x$cache_file" != "x/dev/null" &&
26733 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
26734 echo "$as_me: updating cache $cache_file" >&6;}
26735 cat confcache >$cache_file
26736 else
26737 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
26738 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26739 fi
26740 fi
26741 rm -f confcache
26742
26743 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
26744 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
26745 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
26746 if test "${wx_cv_lib_glibc21+set}" = set; then
26747 echo $ECHO_N "(cached) $ECHO_C" >&6
26748 else
26749
26750 cat >conftest.$ac_ext <<_ACEOF
26751 /* confdefs.h. */
26752 _ACEOF
26753 cat confdefs.h >>conftest.$ac_ext
26754 cat >>conftest.$ac_ext <<_ACEOF
26755 /* end confdefs.h. */
26756 #include <features.h>
26757 int
26758 main ()
26759 {
26760
26761 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
26762 not glibc 2.1
26763 #endif
26764
26765 ;
26766 return 0;
26767 }
26768 _ACEOF
26769 rm -f conftest.$ac_objext
26770 if { (ac_try="$ac_compile"
26771 case "(($ac_try" in
26772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26773 *) ac_try_echo=$ac_try;;
26774 esac
26775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26776 (eval "$ac_compile") 2>conftest.er1
26777 ac_status=$?
26778 grep -v '^ *+' conftest.er1 >conftest.err
26779 rm -f conftest.er1
26780 cat conftest.err >&5
26781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26782 (exit $ac_status); } && {
26783 test -z "$ac_c_werror_flag" ||
26784 test ! -s conftest.err
26785 } && test -s conftest.$ac_objext; then
26786
26787 wx_cv_lib_glibc21=yes
26788
26789 else
26790 echo "$as_me: failed program was:" >&5
26791 sed 's/^/| /' conftest.$ac_ext >&5
26792
26793
26794 wx_cv_lib_glibc21=no
26795
26796
26797 fi
26798
26799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26800
26801 fi
26802 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
26803 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
26804 if test "$wx_cv_lib_glibc21" = "yes"; then
26805 cat >>confdefs.h <<\_ACEOF
26806 #define wxHAVE_GLIBC2 1
26807 _ACEOF
26808
26809 fi
26810 fi
26811
26812 if test "x$wx_cv_lib_glibc21" = "xyes"; then
26813 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
26814 cat >>confdefs.h <<\_ACEOF
26815 #define _GNU_SOURCE 1
26816 _ACEOF
26817
26818 fi
26819 fi
26820
26821 have_cos=0
26822 have_floor=0
26823
26824 for ac_func in cos
26825 do
26826 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26827 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26828 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26829 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26830 echo $ECHO_N "(cached) $ECHO_C" >&6
26831 else
26832 cat >conftest.$ac_ext <<_ACEOF
26833 /* confdefs.h. */
26834 _ACEOF
26835 cat confdefs.h >>conftest.$ac_ext
26836 cat >>conftest.$ac_ext <<_ACEOF
26837 /* end confdefs.h. */
26838 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26839 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26840 #define $ac_func innocuous_$ac_func
26841
26842 /* System header to define __stub macros and hopefully few prototypes,
26843 which can conflict with char $ac_func (); below.
26844 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26845 <limits.h> exists even on freestanding compilers. */
26846
26847 #ifdef __STDC__
26848 # include <limits.h>
26849 #else
26850 # include <assert.h>
26851 #endif
26852
26853 #undef $ac_func
26854
26855 /* Override any GCC internal prototype to avoid an error.
26856 Use char because int might match the return type of a GCC
26857 builtin and then its argument prototype would still apply. */
26858 #ifdef __cplusplus
26859 extern "C"
26860 #endif
26861 char $ac_func ();
26862 /* The GNU C library defines this for functions which it implements
26863 to always fail with ENOSYS. Some functions are actually named
26864 something starting with __ and the normal name is an alias. */
26865 #if defined __stub_$ac_func || defined __stub___$ac_func
26866 choke me
26867 #endif
26868
26869 int
26870 main ()
26871 {
26872 return $ac_func ();
26873 ;
26874 return 0;
26875 }
26876 _ACEOF
26877 rm -f conftest.$ac_objext conftest$ac_exeext
26878 if { (ac_try="$ac_link"
26879 case "(($ac_try" in
26880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26881 *) ac_try_echo=$ac_try;;
26882 esac
26883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26884 (eval "$ac_link") 2>conftest.er1
26885 ac_status=$?
26886 grep -v '^ *+' conftest.er1 >conftest.err
26887 rm -f conftest.er1
26888 cat conftest.err >&5
26889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26890 (exit $ac_status); } && {
26891 test -z "$ac_c_werror_flag" ||
26892 test ! -s conftest.err
26893 } && test -s conftest$ac_exeext &&
26894 $as_test_x conftest$ac_exeext; then
26895 eval "$as_ac_var=yes"
26896 else
26897 echo "$as_me: failed program was:" >&5
26898 sed 's/^/| /' conftest.$ac_ext >&5
26899
26900 eval "$as_ac_var=no"
26901 fi
26902
26903 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26904 conftest$ac_exeext conftest.$ac_ext
26905 fi
26906 ac_res=`eval echo '${'$as_ac_var'}'`
26907 { echo "$as_me:$LINENO: result: $ac_res" >&5
26908 echo "${ECHO_T}$ac_res" >&6; }
26909 if test `eval echo '${'$as_ac_var'}'` = yes; then
26910 cat >>confdefs.h <<_ACEOF
26911 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26912 _ACEOF
26913 have_cos=1
26914 fi
26915 done
26916
26917
26918 for ac_func in floor
26919 do
26920 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26921 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26922 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26923 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26924 echo $ECHO_N "(cached) $ECHO_C" >&6
26925 else
26926 cat >conftest.$ac_ext <<_ACEOF
26927 /* confdefs.h. */
26928 _ACEOF
26929 cat confdefs.h >>conftest.$ac_ext
26930 cat >>conftest.$ac_ext <<_ACEOF
26931 /* end confdefs.h. */
26932 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26933 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26934 #define $ac_func innocuous_$ac_func
26935
26936 /* System header to define __stub macros and hopefully few prototypes,
26937 which can conflict with char $ac_func (); below.
26938 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26939 <limits.h> exists even on freestanding compilers. */
26940
26941 #ifdef __STDC__
26942 # include <limits.h>
26943 #else
26944 # include <assert.h>
26945 #endif
26946
26947 #undef $ac_func
26948
26949 /* Override any GCC internal prototype to avoid an error.
26950 Use char because int might match the return type of a GCC
26951 builtin and then its argument prototype would still apply. */
26952 #ifdef __cplusplus
26953 extern "C"
26954 #endif
26955 char $ac_func ();
26956 /* The GNU C library defines this for functions which it implements
26957 to always fail with ENOSYS. Some functions are actually named
26958 something starting with __ and the normal name is an alias. */
26959 #if defined __stub_$ac_func || defined __stub___$ac_func
26960 choke me
26961 #endif
26962
26963 int
26964 main ()
26965 {
26966 return $ac_func ();
26967 ;
26968 return 0;
26969 }
26970 _ACEOF
26971 rm -f conftest.$ac_objext conftest$ac_exeext
26972 if { (ac_try="$ac_link"
26973 case "(($ac_try" in
26974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26975 *) ac_try_echo=$ac_try;;
26976 esac
26977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26978 (eval "$ac_link") 2>conftest.er1
26979 ac_status=$?
26980 grep -v '^ *+' conftest.er1 >conftest.err
26981 rm -f conftest.er1
26982 cat conftest.err >&5
26983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26984 (exit $ac_status); } && {
26985 test -z "$ac_c_werror_flag" ||
26986 test ! -s conftest.err
26987 } && test -s conftest$ac_exeext &&
26988 $as_test_x conftest$ac_exeext; then
26989 eval "$as_ac_var=yes"
26990 else
26991 echo "$as_me: failed program was:" >&5
26992 sed 's/^/| /' conftest.$ac_ext >&5
26993
26994 eval "$as_ac_var=no"
26995 fi
26996
26997 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26998 conftest$ac_exeext conftest.$ac_ext
26999 fi
27000 ac_res=`eval echo '${'$as_ac_var'}'`
27001 { echo "$as_me:$LINENO: result: $ac_res" >&5
27002 echo "${ECHO_T}$ac_res" >&6; }
27003 if test `eval echo '${'$as_ac_var'}'` = yes; then
27004 cat >>confdefs.h <<_ACEOF
27005 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27006 _ACEOF
27007 have_floor=1
27008 fi
27009 done
27010
27011 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
27012 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
27013 if test "$have_cos" = 1 -a "$have_floor" = 1; then
27014 { echo "$as_me:$LINENO: result: yes" >&5
27015 echo "${ECHO_T}yes" >&6; }
27016 else
27017 { echo "$as_me:$LINENO: result: no" >&5
27018 echo "${ECHO_T}no" >&6; }
27019 LIBS="$LIBS -lm"
27020 # use different functions to avoid configure caching
27021 have_sin=0
27022 have_ceil=0
27023
27024 for ac_func in sin
27025 do
27026 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27027 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27028 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27029 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27030 echo $ECHO_N "(cached) $ECHO_C" >&6
27031 else
27032 cat >conftest.$ac_ext <<_ACEOF
27033 /* confdefs.h. */
27034 _ACEOF
27035 cat confdefs.h >>conftest.$ac_ext
27036 cat >>conftest.$ac_ext <<_ACEOF
27037 /* end confdefs.h. */
27038 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27039 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27040 #define $ac_func innocuous_$ac_func
27041
27042 /* System header to define __stub macros and hopefully few prototypes,
27043 which can conflict with char $ac_func (); below.
27044 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27045 <limits.h> exists even on freestanding compilers. */
27046
27047 #ifdef __STDC__
27048 # include <limits.h>
27049 #else
27050 # include <assert.h>
27051 #endif
27052
27053 #undef $ac_func
27054
27055 /* Override any GCC internal prototype to avoid an error.
27056 Use char because int might match the return type of a GCC
27057 builtin and then its argument prototype would still apply. */
27058 #ifdef __cplusplus
27059 extern "C"
27060 #endif
27061 char $ac_func ();
27062 /* The GNU C library defines this for functions which it implements
27063 to always fail with ENOSYS. Some functions are actually named
27064 something starting with __ and the normal name is an alias. */
27065 #if defined __stub_$ac_func || defined __stub___$ac_func
27066 choke me
27067 #endif
27068
27069 int
27070 main ()
27071 {
27072 return $ac_func ();
27073 ;
27074 return 0;
27075 }
27076 _ACEOF
27077 rm -f conftest.$ac_objext conftest$ac_exeext
27078 if { (ac_try="$ac_link"
27079 case "(($ac_try" in
27080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27081 *) ac_try_echo=$ac_try;;
27082 esac
27083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27084 (eval "$ac_link") 2>conftest.er1
27085 ac_status=$?
27086 grep -v '^ *+' conftest.er1 >conftest.err
27087 rm -f conftest.er1
27088 cat conftest.err >&5
27089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27090 (exit $ac_status); } && {
27091 test -z "$ac_c_werror_flag" ||
27092 test ! -s conftest.err
27093 } && test -s conftest$ac_exeext &&
27094 $as_test_x conftest$ac_exeext; then
27095 eval "$as_ac_var=yes"
27096 else
27097 echo "$as_me: failed program was:" >&5
27098 sed 's/^/| /' conftest.$ac_ext >&5
27099
27100 eval "$as_ac_var=no"
27101 fi
27102
27103 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27104 conftest$ac_exeext conftest.$ac_ext
27105 fi
27106 ac_res=`eval echo '${'$as_ac_var'}'`
27107 { echo "$as_me:$LINENO: result: $ac_res" >&5
27108 echo "${ECHO_T}$ac_res" >&6; }
27109 if test `eval echo '${'$as_ac_var'}'` = yes; then
27110 cat >>confdefs.h <<_ACEOF
27111 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27112 _ACEOF
27113 have_sin=1
27114 fi
27115 done
27116
27117
27118 for ac_func in ceil
27119 do
27120 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27121 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27122 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27123 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27124 echo $ECHO_N "(cached) $ECHO_C" >&6
27125 else
27126 cat >conftest.$ac_ext <<_ACEOF
27127 /* confdefs.h. */
27128 _ACEOF
27129 cat confdefs.h >>conftest.$ac_ext
27130 cat >>conftest.$ac_ext <<_ACEOF
27131 /* end confdefs.h. */
27132 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27133 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27134 #define $ac_func innocuous_$ac_func
27135
27136 /* System header to define __stub macros and hopefully few prototypes,
27137 which can conflict with char $ac_func (); below.
27138 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27139 <limits.h> exists even on freestanding compilers. */
27140
27141 #ifdef __STDC__
27142 # include <limits.h>
27143 #else
27144 # include <assert.h>
27145 #endif
27146
27147 #undef $ac_func
27148
27149 /* Override any GCC internal prototype to avoid an error.
27150 Use char because int might match the return type of a GCC
27151 builtin and then its argument prototype would still apply. */
27152 #ifdef __cplusplus
27153 extern "C"
27154 #endif
27155 char $ac_func ();
27156 /* The GNU C library defines this for functions which it implements
27157 to always fail with ENOSYS. Some functions are actually named
27158 something starting with __ and the normal name is an alias. */
27159 #if defined __stub_$ac_func || defined __stub___$ac_func
27160 choke me
27161 #endif
27162
27163 int
27164 main ()
27165 {
27166 return $ac_func ();
27167 ;
27168 return 0;
27169 }
27170 _ACEOF
27171 rm -f conftest.$ac_objext conftest$ac_exeext
27172 if { (ac_try="$ac_link"
27173 case "(($ac_try" in
27174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27175 *) ac_try_echo=$ac_try;;
27176 esac
27177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27178 (eval "$ac_link") 2>conftest.er1
27179 ac_status=$?
27180 grep -v '^ *+' conftest.er1 >conftest.err
27181 rm -f conftest.er1
27182 cat conftest.err >&5
27183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27184 (exit $ac_status); } && {
27185 test -z "$ac_c_werror_flag" ||
27186 test ! -s conftest.err
27187 } && test -s conftest$ac_exeext &&
27188 $as_test_x conftest$ac_exeext; then
27189 eval "$as_ac_var=yes"
27190 else
27191 echo "$as_me: failed program was:" >&5
27192 sed 's/^/| /' conftest.$ac_ext >&5
27193
27194 eval "$as_ac_var=no"
27195 fi
27196
27197 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27198 conftest$ac_exeext conftest.$ac_ext
27199 fi
27200 ac_res=`eval echo '${'$as_ac_var'}'`
27201 { echo "$as_me:$LINENO: result: $ac_res" >&5
27202 echo "${ECHO_T}$ac_res" >&6; }
27203 if test `eval echo '${'$as_ac_var'}'` = yes; then
27204 cat >>confdefs.h <<_ACEOF
27205 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27206 _ACEOF
27207 have_ceil=1
27208 fi
27209 done
27210
27211 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
27212 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
27213 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
27214 { echo "$as_me:$LINENO: result: yes" >&5
27215 echo "${ECHO_T}yes" >&6; }
27216 else
27217 { echo "$as_me:$LINENO: result: no" >&5
27218 echo "${ECHO_T}no" >&6; }
27219 # not sure we should warn the user, crash, etc.
27220 fi
27221 fi
27222
27223 ac_ext=cpp
27224 ac_cpp='$CXXCPP $CPPFLAGS'
27225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27228
27229 if test "wxUSE_UNICODE" = "yes"; then
27230
27231 for wx_func in wcstoull
27232 do
27233 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27234 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27235 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27236 echo $ECHO_N "(cached) $ECHO_C" >&6
27237 else
27238
27239 cat >conftest.$ac_ext <<_ACEOF
27240
27241 /* confdefs.h. */
27242 _ACEOF
27243 cat confdefs.h >>conftest.$ac_ext
27244 cat >>conftest.$ac_ext <<_ACEOF
27245 /* end confdefs.h. */
27246
27247
27248 $ac_includes_default
27249
27250 int
27251 main ()
27252 {
27253
27254 #ifndef $wx_func
27255 &$wx_func;
27256 #endif
27257
27258
27259 ;
27260 return 0;
27261 }
27262
27263 _ACEOF
27264 rm -f conftest.$ac_objext conftest$ac_exeext
27265 if { (ac_try="$ac_link"
27266 case "(($ac_try" in
27267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27268 *) ac_try_echo=$ac_try;;
27269 esac
27270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27271 (eval "$ac_link") 2>conftest.er1
27272 ac_status=$?
27273 grep -v '^ *+' conftest.er1 >conftest.err
27274 rm -f conftest.er1
27275 cat conftest.err >&5
27276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27277 (exit $ac_status); } && {
27278 test -z "$ac_cxx_werror_flag" ||
27279 test ! -s conftest.err
27280 } && test -s conftest$ac_exeext &&
27281 $as_test_x conftest$ac_exeext; then
27282 eval wx_cv_func_$wx_func=yes
27283 else
27284 echo "$as_me: failed program was:" >&5
27285 sed 's/^/| /' conftest.$ac_ext >&5
27286
27287 eval wx_cv_func_$wx_func=no
27288 fi
27289
27290 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27291 conftest$ac_exeext conftest.$ac_ext
27292
27293 fi
27294 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27295 { echo "$as_me:$LINENO: result: $ac_res" >&5
27296 echo "${ECHO_T}$ac_res" >&6; }
27297
27298 if eval test \$wx_cv_func_$wx_func = yes
27299 then
27300 cat >>confdefs.h <<_ACEOF
27301 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27302 _ACEOF
27303
27304
27305 else
27306 :
27307
27308 fi
27309 done
27310
27311 else
27312
27313 for wx_func in strtoull
27314 do
27315 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27316 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27317 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27318 echo $ECHO_N "(cached) $ECHO_C" >&6
27319 else
27320
27321 cat >conftest.$ac_ext <<_ACEOF
27322
27323 /* confdefs.h. */
27324 _ACEOF
27325 cat confdefs.h >>conftest.$ac_ext
27326 cat >>conftest.$ac_ext <<_ACEOF
27327 /* end confdefs.h. */
27328
27329
27330 $ac_includes_default
27331
27332 int
27333 main ()
27334 {
27335
27336 #ifndef $wx_func
27337 &$wx_func;
27338 #endif
27339
27340
27341 ;
27342 return 0;
27343 }
27344
27345 _ACEOF
27346 rm -f conftest.$ac_objext conftest$ac_exeext
27347 if { (ac_try="$ac_link"
27348 case "(($ac_try" in
27349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27350 *) ac_try_echo=$ac_try;;
27351 esac
27352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27353 (eval "$ac_link") 2>conftest.er1
27354 ac_status=$?
27355 grep -v '^ *+' conftest.er1 >conftest.err
27356 rm -f conftest.er1
27357 cat conftest.err >&5
27358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27359 (exit $ac_status); } && {
27360 test -z "$ac_cxx_werror_flag" ||
27361 test ! -s conftest.err
27362 } && test -s conftest$ac_exeext &&
27363 $as_test_x conftest$ac_exeext; then
27364 eval wx_cv_func_$wx_func=yes
27365 else
27366 echo "$as_me: failed program was:" >&5
27367 sed 's/^/| /' conftest.$ac_ext >&5
27368
27369 eval wx_cv_func_$wx_func=no
27370 fi
27371
27372 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27373 conftest$ac_exeext conftest.$ac_ext
27374
27375 fi
27376 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27377 { echo "$as_me:$LINENO: result: $ac_res" >&5
27378 echo "${ECHO_T}$ac_res" >&6; }
27379
27380 if eval test \$wx_cv_func_$wx_func = yes
27381 then
27382 cat >>confdefs.h <<_ACEOF
27383 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27384 _ACEOF
27385
27386
27387 else
27388 :
27389
27390 fi
27391 done
27392
27393 fi
27394 ac_ext=c
27395 ac_cpp='$CPP $CPPFLAGS'
27396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27399
27400
27401
27402
27403 if test "$wxUSE_REGEX" != "no"; then
27404 cat >>confdefs.h <<\_ACEOF
27405 #define wxUSE_REGEX 1
27406 _ACEOF
27407
27408
27409 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
27410 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
27411 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
27412 wxUSE_REGEX=builtin
27413 fi
27414
27415 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
27416 { echo "$as_me:$LINENO: checking for regex.h" >&5
27417 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
27418 if test "${ac_cv_header_regex_h+set}" = set; then
27419 echo $ECHO_N "(cached) $ECHO_C" >&6
27420 else
27421 cat >conftest.$ac_ext <<_ACEOF
27422 /* confdefs.h. */
27423 _ACEOF
27424 cat confdefs.h >>conftest.$ac_ext
27425 cat >>conftest.$ac_ext <<_ACEOF
27426 /* end confdefs.h. */
27427
27428
27429 #include <regex.h>
27430 _ACEOF
27431 rm -f conftest.$ac_objext
27432 if { (ac_try="$ac_compile"
27433 case "(($ac_try" in
27434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27435 *) ac_try_echo=$ac_try;;
27436 esac
27437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27438 (eval "$ac_compile") 2>conftest.er1
27439 ac_status=$?
27440 grep -v '^ *+' conftest.er1 >conftest.err
27441 rm -f conftest.er1
27442 cat conftest.err >&5
27443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27444 (exit $ac_status); } && {
27445 test -z "$ac_c_werror_flag" ||
27446 test ! -s conftest.err
27447 } && test -s conftest.$ac_objext; then
27448 ac_cv_header_regex_h=yes
27449 else
27450 echo "$as_me: failed program was:" >&5
27451 sed 's/^/| /' conftest.$ac_ext >&5
27452
27453 ac_cv_header_regex_h=no
27454 fi
27455
27456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27457 fi
27458 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
27459 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
27460 if test $ac_cv_header_regex_h = yes; then
27461
27462
27463 for ac_func in regcomp re_search
27464 do
27465 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27466 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27467 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27468 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27469 echo $ECHO_N "(cached) $ECHO_C" >&6
27470 else
27471 cat >conftest.$ac_ext <<_ACEOF
27472 /* confdefs.h. */
27473 _ACEOF
27474 cat confdefs.h >>conftest.$ac_ext
27475 cat >>conftest.$ac_ext <<_ACEOF
27476 /* end confdefs.h. */
27477 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27478 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27479 #define $ac_func innocuous_$ac_func
27480
27481 /* System header to define __stub macros and hopefully few prototypes,
27482 which can conflict with char $ac_func (); below.
27483 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27484 <limits.h> exists even on freestanding compilers. */
27485
27486 #ifdef __STDC__
27487 # include <limits.h>
27488 #else
27489 # include <assert.h>
27490 #endif
27491
27492 #undef $ac_func
27493
27494 /* Override any GCC internal prototype to avoid an error.
27495 Use char because int might match the return type of a GCC
27496 builtin and then its argument prototype would still apply. */
27497 #ifdef __cplusplus
27498 extern "C"
27499 #endif
27500 char $ac_func ();
27501 /* The GNU C library defines this for functions which it implements
27502 to always fail with ENOSYS. Some functions are actually named
27503 something starting with __ and the normal name is an alias. */
27504 #if defined __stub_$ac_func || defined __stub___$ac_func
27505 choke me
27506 #endif
27507
27508 int
27509 main ()
27510 {
27511 return $ac_func ();
27512 ;
27513 return 0;
27514 }
27515 _ACEOF
27516 rm -f conftest.$ac_objext conftest$ac_exeext
27517 if { (ac_try="$ac_link"
27518 case "(($ac_try" in
27519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27520 *) ac_try_echo=$ac_try;;
27521 esac
27522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27523 (eval "$ac_link") 2>conftest.er1
27524 ac_status=$?
27525 grep -v '^ *+' conftest.er1 >conftest.err
27526 rm -f conftest.er1
27527 cat conftest.err >&5
27528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27529 (exit $ac_status); } && {
27530 test -z "$ac_c_werror_flag" ||
27531 test ! -s conftest.err
27532 } && test -s conftest$ac_exeext &&
27533 $as_test_x conftest$ac_exeext; then
27534 eval "$as_ac_var=yes"
27535 else
27536 echo "$as_me: failed program was:" >&5
27537 sed 's/^/| /' conftest.$ac_ext >&5
27538
27539 eval "$as_ac_var=no"
27540 fi
27541
27542 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27543 conftest$ac_exeext conftest.$ac_ext
27544 fi
27545 ac_res=`eval echo '${'$as_ac_var'}'`
27546 { echo "$as_me:$LINENO: result: $ac_res" >&5
27547 echo "${ECHO_T}$ac_res" >&6; }
27548 if test `eval echo '${'$as_ac_var'}'` = yes; then
27549 cat >>confdefs.h <<_ACEOF
27550 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27551 _ACEOF
27552
27553 fi
27554 done
27555
27556 fi
27557
27558
27559
27560 if test "x$ac_cv_func_regcomp" != "xyes"; then
27561 if test "$wxUSE_REGEX" = "sys" ; then
27562 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
27563 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
27564 { (exit 1); exit 1; }; }
27565 else
27566 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
27567 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
27568 wxUSE_REGEX=builtin
27569 fi
27570 else
27571 wxUSE_REGEX=sys
27572 cat >>confdefs.h <<\_ACEOF
27573 #define WX_NO_REGEX_ADVANCED 1
27574 _ACEOF
27575
27576 fi
27577 fi
27578 fi
27579
27580
27581 ZLIB_LINK=
27582 if test "$wxUSE_ZLIB" != "no" ; then
27583 cat >>confdefs.h <<\_ACEOF
27584 #define wxUSE_ZLIB 1
27585 _ACEOF
27586
27587
27588 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
27589 if test "$USE_DARWIN" = 1; then
27590 system_zlib_h_ok="yes"
27591 else
27592 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
27593 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
27594 if test "${ac_cv_header_zlib_h+set}" = set; then
27595 echo $ECHO_N "(cached) $ECHO_C" >&6
27596 else
27597 if test "$cross_compiling" = yes; then
27598 unset ac_cv_header_zlib_h
27599
27600 else
27601 cat >conftest.$ac_ext <<_ACEOF
27602 /* confdefs.h. */
27603 _ACEOF
27604 cat confdefs.h >>conftest.$ac_ext
27605 cat >>conftest.$ac_ext <<_ACEOF
27606 /* end confdefs.h. */
27607
27608 #include <zlib.h>
27609 #include <stdio.h>
27610
27611 int main()
27612 {
27613 FILE *f=fopen("conftestval", "w");
27614 if (!f) exit(1);
27615 fprintf(f, "%s",
27616 ZLIB_VERSION[0] == '1' &&
27617 (ZLIB_VERSION[2] > '1' ||
27618 (ZLIB_VERSION[2] == '1' &&
27619 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
27620 exit(0);
27621 }
27622
27623 _ACEOF
27624 rm -f conftest$ac_exeext
27625 if { (ac_try="$ac_link"
27626 case "(($ac_try" in
27627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27628 *) ac_try_echo=$ac_try;;
27629 esac
27630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27631 (eval "$ac_link") 2>&5
27632 ac_status=$?
27633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27634 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27635 { (case "(($ac_try" in
27636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27637 *) ac_try_echo=$ac_try;;
27638 esac
27639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27640 (eval "$ac_try") 2>&5
27641 ac_status=$?
27642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27643 (exit $ac_status); }; }; then
27644 ac_cv_header_zlib_h=`cat conftestval`
27645 else
27646 echo "$as_me: program exited with status $ac_status" >&5
27647 echo "$as_me: failed program was:" >&5
27648 sed 's/^/| /' conftest.$ac_ext >&5
27649
27650 ( exit $ac_status )
27651 ac_cv_header_zlib_h=no
27652 fi
27653 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27654 fi
27655
27656
27657
27658 fi
27659 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27660 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27661 { echo "$as_me:$LINENO: checking for zlib.h" >&5
27662 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
27663 if test "${ac_cv_header_zlib_h+set}" = set; then
27664 echo $ECHO_N "(cached) $ECHO_C" >&6
27665 else
27666 cat >conftest.$ac_ext <<_ACEOF
27667 /* confdefs.h. */
27668 _ACEOF
27669 cat confdefs.h >>conftest.$ac_ext
27670 cat >>conftest.$ac_ext <<_ACEOF
27671 /* end confdefs.h. */
27672
27673
27674 #include <zlib.h>
27675 _ACEOF
27676 rm -f conftest.$ac_objext
27677 if { (ac_try="$ac_compile"
27678 case "(($ac_try" in
27679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27680 *) ac_try_echo=$ac_try;;
27681 esac
27682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27683 (eval "$ac_compile") 2>conftest.er1
27684 ac_status=$?
27685 grep -v '^ *+' conftest.er1 >conftest.err
27686 rm -f conftest.er1
27687 cat conftest.err >&5
27688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27689 (exit $ac_status); } && {
27690 test -z "$ac_c_werror_flag" ||
27691 test ! -s conftest.err
27692 } && test -s conftest.$ac_objext; then
27693 ac_cv_header_zlib_h=yes
27694 else
27695 echo "$as_me: failed program was:" >&5
27696 sed 's/^/| /' conftest.$ac_ext >&5
27697
27698 ac_cv_header_zlib_h=no
27699 fi
27700
27701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27702 fi
27703 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27704 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27705
27706
27707
27708 system_zlib_h_ok=$ac_cv_header_zlib_h
27709 fi
27710
27711 if test "$system_zlib_h_ok" = "yes"; then
27712 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
27713 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
27714 if test "${ac_cv_lib_z_deflate+set}" = set; then
27715 echo $ECHO_N "(cached) $ECHO_C" >&6
27716 else
27717 ac_check_lib_save_LIBS=$LIBS
27718 LIBS="-lz $LIBS"
27719 cat >conftest.$ac_ext <<_ACEOF
27720 /* confdefs.h. */
27721 _ACEOF
27722 cat confdefs.h >>conftest.$ac_ext
27723 cat >>conftest.$ac_ext <<_ACEOF
27724 /* end confdefs.h. */
27725
27726 /* Override any GCC internal prototype to avoid an error.
27727 Use char because int might match the return type of a GCC
27728 builtin and then its argument prototype would still apply. */
27729 #ifdef __cplusplus
27730 extern "C"
27731 #endif
27732 char deflate ();
27733 int
27734 main ()
27735 {
27736 return deflate ();
27737 ;
27738 return 0;
27739 }
27740 _ACEOF
27741 rm -f conftest.$ac_objext conftest$ac_exeext
27742 if { (ac_try="$ac_link"
27743 case "(($ac_try" in
27744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27745 *) ac_try_echo=$ac_try;;
27746 esac
27747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27748 (eval "$ac_link") 2>conftest.er1
27749 ac_status=$?
27750 grep -v '^ *+' conftest.er1 >conftest.err
27751 rm -f conftest.er1
27752 cat conftest.err >&5
27753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27754 (exit $ac_status); } && {
27755 test -z "$ac_c_werror_flag" ||
27756 test ! -s conftest.err
27757 } && test -s conftest$ac_exeext &&
27758 $as_test_x conftest$ac_exeext; then
27759 ac_cv_lib_z_deflate=yes
27760 else
27761 echo "$as_me: failed program was:" >&5
27762 sed 's/^/| /' conftest.$ac_ext >&5
27763
27764 ac_cv_lib_z_deflate=no
27765 fi
27766
27767 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27768 conftest$ac_exeext conftest.$ac_ext
27769 LIBS=$ac_check_lib_save_LIBS
27770 fi
27771 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
27772 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
27773 if test $ac_cv_lib_z_deflate = yes; then
27774 ZLIB_LINK=" -lz"
27775 fi
27776
27777 fi
27778
27779 if test "x$ZLIB_LINK" = "x" ; then
27780 if test "$wxUSE_ZLIB" = "sys" ; then
27781 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
27782 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
27783 { (exit 1); exit 1; }; }
27784 else
27785 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
27786 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
27787 wxUSE_ZLIB=builtin
27788 fi
27789 else
27790 wxUSE_ZLIB=sys
27791 fi
27792 fi
27793 fi
27794
27795
27796 PNG_LINK=
27797 if test "$wxUSE_LIBPNG" != "no" ; then
27798 cat >>confdefs.h <<\_ACEOF
27799 #define wxUSE_LIBPNG 1
27800 _ACEOF
27801
27802
27803 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
27804 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
27805 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
27806 wxUSE_LIBPNG=sys
27807 fi
27808
27809 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
27810 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
27811 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
27812 wxUSE_LIBPNG=builtin
27813 fi
27814
27815 if test "$wxUSE_MGL" != 1 ; then
27816 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
27817 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
27818 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
27819 if test "${ac_cv_header_png_h+set}" = set; then
27820 echo $ECHO_N "(cached) $ECHO_C" >&6
27821 else
27822 if test "$cross_compiling" = yes; then
27823 unset ac_cv_header_png_h
27824
27825 else
27826 cat >conftest.$ac_ext <<_ACEOF
27827 /* confdefs.h. */
27828 _ACEOF
27829 cat confdefs.h >>conftest.$ac_ext
27830 cat >>conftest.$ac_ext <<_ACEOF
27831 /* end confdefs.h. */
27832
27833 #include <png.h>
27834 #include <stdio.h>
27835
27836 int main()
27837 {
27838 FILE *f=fopen("conftestval", "w");
27839 if (!f) exit(1);
27840 fprintf(f, "%s",
27841 PNG_LIBPNG_VER > 90 ? "yes" : "no");
27842 exit(0);
27843 }
27844
27845 _ACEOF
27846 rm -f conftest$ac_exeext
27847 if { (ac_try="$ac_link"
27848 case "(($ac_try" in
27849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27850 *) ac_try_echo=$ac_try;;
27851 esac
27852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27853 (eval "$ac_link") 2>&5
27854 ac_status=$?
27855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27856 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27857 { (case "(($ac_try" in
27858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27859 *) ac_try_echo=$ac_try;;
27860 esac
27861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27862 (eval "$ac_try") 2>&5
27863 ac_status=$?
27864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27865 (exit $ac_status); }; }; then
27866 ac_cv_header_png_h=`cat conftestval`
27867 else
27868 echo "$as_me: program exited with status $ac_status" >&5
27869 echo "$as_me: failed program was:" >&5
27870 sed 's/^/| /' conftest.$ac_ext >&5
27871
27872 ( exit $ac_status )
27873 ac_cv_header_png_h=no
27874 fi
27875 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27876 fi
27877
27878
27879
27880 fi
27881 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27882 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
27883 { echo "$as_me:$LINENO: checking for png.h" >&5
27884 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
27885 if test "${ac_cv_header_png_h+set}" = set; then
27886 echo $ECHO_N "(cached) $ECHO_C" >&6
27887 else
27888 cat >conftest.$ac_ext <<_ACEOF
27889 /* confdefs.h. */
27890 _ACEOF
27891 cat confdefs.h >>conftest.$ac_ext
27892 cat >>conftest.$ac_ext <<_ACEOF
27893 /* end confdefs.h. */
27894
27895
27896 #include <png.h>
27897 _ACEOF
27898 rm -f conftest.$ac_objext
27899 if { (ac_try="$ac_compile"
27900 case "(($ac_try" in
27901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27902 *) ac_try_echo=$ac_try;;
27903 esac
27904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27905 (eval "$ac_compile") 2>conftest.er1
27906 ac_status=$?
27907 grep -v '^ *+' conftest.er1 >conftest.err
27908 rm -f conftest.er1
27909 cat conftest.err >&5
27910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27911 (exit $ac_status); } && {
27912 test -z "$ac_c_werror_flag" ||
27913 test ! -s conftest.err
27914 } && test -s conftest.$ac_objext; then
27915 ac_cv_header_png_h=yes
27916 else
27917 echo "$as_me: failed program was:" >&5
27918 sed 's/^/| /' conftest.$ac_ext >&5
27919
27920 ac_cv_header_png_h=no
27921 fi
27922
27923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27924 fi
27925 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27926 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
27927
27928
27929
27930 if test "$ac_cv_header_png_h" = "yes"; then
27931 { echo "$as_me:$LINENO: checking for png_sig_cmp in -lpng" >&5
27932 echo $ECHO_N "checking for png_sig_cmp in -lpng... $ECHO_C" >&6; }
27933 if test "${ac_cv_lib_png_png_sig_cmp+set}" = set; then
27934 echo $ECHO_N "(cached) $ECHO_C" >&6
27935 else
27936 ac_check_lib_save_LIBS=$LIBS
27937 LIBS="-lpng -lz -lm $LIBS"
27938 cat >conftest.$ac_ext <<_ACEOF
27939 /* confdefs.h. */
27940 _ACEOF
27941 cat confdefs.h >>conftest.$ac_ext
27942 cat >>conftest.$ac_ext <<_ACEOF
27943 /* end confdefs.h. */
27944
27945 /* Override any GCC internal prototype to avoid an error.
27946 Use char because int might match the return type of a GCC
27947 builtin and then its argument prototype would still apply. */
27948 #ifdef __cplusplus
27949 extern "C"
27950 #endif
27951 char png_sig_cmp ();
27952 int
27953 main ()
27954 {
27955 return png_sig_cmp ();
27956 ;
27957 return 0;
27958 }
27959 _ACEOF
27960 rm -f conftest.$ac_objext conftest$ac_exeext
27961 if { (ac_try="$ac_link"
27962 case "(($ac_try" in
27963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27964 *) ac_try_echo=$ac_try;;
27965 esac
27966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27967 (eval "$ac_link") 2>conftest.er1
27968 ac_status=$?
27969 grep -v '^ *+' conftest.er1 >conftest.err
27970 rm -f conftest.er1
27971 cat conftest.err >&5
27972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27973 (exit $ac_status); } && {
27974 test -z "$ac_c_werror_flag" ||
27975 test ! -s conftest.err
27976 } && test -s conftest$ac_exeext &&
27977 $as_test_x conftest$ac_exeext; then
27978 ac_cv_lib_png_png_sig_cmp=yes
27979 else
27980 echo "$as_me: failed program was:" >&5
27981 sed 's/^/| /' conftest.$ac_ext >&5
27982
27983 ac_cv_lib_png_png_sig_cmp=no
27984 fi
27985
27986 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27987 conftest$ac_exeext conftest.$ac_ext
27988 LIBS=$ac_check_lib_save_LIBS
27989 fi
27990 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_sig_cmp" >&5
27991 echo "${ECHO_T}$ac_cv_lib_png_png_sig_cmp" >&6; }
27992 if test $ac_cv_lib_png_png_sig_cmp = yes; then
27993 PNG_LINK=" -lpng -lz"
27994 fi
27995
27996 fi
27997
27998 if test "x$PNG_LINK" = "x" ; then
27999 if test "$wxUSE_LIBPNG" = "sys" ; then
28000 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
28001 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
28002 { (exit 1); exit 1; }; }
28003 else
28004 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
28005 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
28006 wxUSE_LIBPNG=builtin
28007 fi
28008 else
28009 wxUSE_LIBPNG=sys
28010 fi
28011 fi
28012 fi
28013 fi
28014
28015
28016 JPEG_LINK=
28017 if test "$wxUSE_LIBJPEG" != "no" ; then
28018 cat >>confdefs.h <<\_ACEOF
28019 #define wxUSE_LIBJPEG 1
28020 _ACEOF
28021
28022
28023 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
28024 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
28025 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
28026 wxUSE_LIBJPEG=sys
28027 fi
28028
28029 if test "$wxUSE_MGL" != 1 ; then
28030 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
28031 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
28032 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
28033 if test "${ac_cv_header_jpeglib_h+set}" = set; then
28034 echo $ECHO_N "(cached) $ECHO_C" >&6
28035 else
28036 cat >conftest.$ac_ext <<_ACEOF
28037 /* confdefs.h. */
28038 _ACEOF
28039 cat confdefs.h >>conftest.$ac_ext
28040 cat >>conftest.$ac_ext <<_ACEOF
28041 /* end confdefs.h. */
28042
28043 #undef HAVE_STDLIB_H
28044 #include <stdio.h>
28045 #include <jpeglib.h>
28046
28047 int
28048 main ()
28049 {
28050
28051
28052 ;
28053 return 0;
28054 }
28055 _ACEOF
28056 rm -f conftest.$ac_objext
28057 if { (ac_try="$ac_compile"
28058 case "(($ac_try" in
28059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28060 *) ac_try_echo=$ac_try;;
28061 esac
28062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28063 (eval "$ac_compile") 2>conftest.er1
28064 ac_status=$?
28065 grep -v '^ *+' conftest.er1 >conftest.err
28066 rm -f conftest.er1
28067 cat conftest.err >&5
28068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28069 (exit $ac_status); } && {
28070 test -z "$ac_c_werror_flag" ||
28071 test ! -s conftest.err
28072 } && test -s conftest.$ac_objext; then
28073 ac_cv_header_jpeglib_h=yes
28074 else
28075 echo "$as_me: failed program was:" >&5
28076 sed 's/^/| /' conftest.$ac_ext >&5
28077
28078 ac_cv_header_jpeglib_h=no
28079
28080 fi
28081
28082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28083
28084 fi
28085
28086 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
28087 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
28088
28089 if test "$ac_cv_header_jpeglib_h" = "yes"; then
28090 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
28091 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
28092 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
28093 echo $ECHO_N "(cached) $ECHO_C" >&6
28094 else
28095 ac_check_lib_save_LIBS=$LIBS
28096 LIBS="-ljpeg $LIBS"
28097 cat >conftest.$ac_ext <<_ACEOF
28098 /* confdefs.h. */
28099 _ACEOF
28100 cat confdefs.h >>conftest.$ac_ext
28101 cat >>conftest.$ac_ext <<_ACEOF
28102 /* end confdefs.h. */
28103
28104 /* Override any GCC internal prototype to avoid an error.
28105 Use char because int might match the return type of a GCC
28106 builtin and then its argument prototype would still apply. */
28107 #ifdef __cplusplus
28108 extern "C"
28109 #endif
28110 char jpeg_read_header ();
28111 int
28112 main ()
28113 {
28114 return jpeg_read_header ();
28115 ;
28116 return 0;
28117 }
28118 _ACEOF
28119 rm -f conftest.$ac_objext conftest$ac_exeext
28120 if { (ac_try="$ac_link"
28121 case "(($ac_try" in
28122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28123 *) ac_try_echo=$ac_try;;
28124 esac
28125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28126 (eval "$ac_link") 2>conftest.er1
28127 ac_status=$?
28128 grep -v '^ *+' conftest.er1 >conftest.err
28129 rm -f conftest.er1
28130 cat conftest.err >&5
28131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28132 (exit $ac_status); } && {
28133 test -z "$ac_c_werror_flag" ||
28134 test ! -s conftest.err
28135 } && test -s conftest$ac_exeext &&
28136 $as_test_x conftest$ac_exeext; then
28137 ac_cv_lib_jpeg_jpeg_read_header=yes
28138 else
28139 echo "$as_me: failed program was:" >&5
28140 sed 's/^/| /' conftest.$ac_ext >&5
28141
28142 ac_cv_lib_jpeg_jpeg_read_header=no
28143 fi
28144
28145 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28146 conftest$ac_exeext conftest.$ac_ext
28147 LIBS=$ac_check_lib_save_LIBS
28148 fi
28149 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
28150 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
28151 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
28152 JPEG_LINK=" -ljpeg"
28153 fi
28154
28155 fi
28156
28157 if test "x$JPEG_LINK" = "x" ; then
28158 if test "$wxUSE_LIBJPEG" = "sys" ; then
28159 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
28160 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
28161 { (exit 1); exit 1; }; }
28162 else
28163 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
28164 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
28165 wxUSE_LIBJPEG=builtin
28166 fi
28167 else
28168 wxUSE_LIBJPEG=sys
28169
28170 if test "$wxUSE_MSW" = 1; then
28171 { echo "$as_me:$LINENO: checking for boolean" >&5
28172 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28173 if test "${ac_cv_type_boolean+set}" = set; then
28174 echo $ECHO_N "(cached) $ECHO_C" >&6
28175 else
28176 cat >conftest.$ac_ext <<_ACEOF
28177 /* confdefs.h. */
28178 _ACEOF
28179 cat confdefs.h >>conftest.$ac_ext
28180 cat >>conftest.$ac_ext <<_ACEOF
28181 /* end confdefs.h. */
28182 #include <windows.h>
28183
28184 typedef boolean ac__type_new_;
28185 int
28186 main ()
28187 {
28188 if ((ac__type_new_ *) 0)
28189 return 0;
28190 if (sizeof (ac__type_new_))
28191 return 0;
28192 ;
28193 return 0;
28194 }
28195 _ACEOF
28196 rm -f conftest.$ac_objext
28197 if { (ac_try="$ac_compile"
28198 case "(($ac_try" in
28199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28200 *) ac_try_echo=$ac_try;;
28201 esac
28202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28203 (eval "$ac_compile") 2>conftest.er1
28204 ac_status=$?
28205 grep -v '^ *+' conftest.er1 >conftest.err
28206 rm -f conftest.er1
28207 cat conftest.err >&5
28208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28209 (exit $ac_status); } && {
28210 test -z "$ac_c_werror_flag" ||
28211 test ! -s conftest.err
28212 } && test -s conftest.$ac_objext; then
28213 ac_cv_type_boolean=yes
28214 else
28215 echo "$as_me: failed program was:" >&5
28216 sed 's/^/| /' conftest.$ac_ext >&5
28217
28218 ac_cv_type_boolean=no
28219 fi
28220
28221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28222 fi
28223 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28224 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28225 if test $ac_cv_type_boolean = yes; then
28226
28227 cat >>confdefs.h <<_ACEOF
28228 #define HAVE_BOOLEAN 1
28229 _ACEOF
28230
28231
28232 { echo "$as_me:$LINENO: checking for boolean" >&5
28233 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28234 if test "${ac_cv_type_boolean+set}" = set; then
28235 echo $ECHO_N "(cached) $ECHO_C" >&6
28236 else
28237 cat >conftest.$ac_ext <<_ACEOF
28238 /* confdefs.h. */
28239 _ACEOF
28240 cat confdefs.h >>conftest.$ac_ext
28241 cat >>conftest.$ac_ext <<_ACEOF
28242 /* end confdefs.h. */
28243
28244 #undef HAVE_BOOLEAN
28245 #include <stdio.h>
28246 #include <jpeglib.h>
28247
28248
28249 typedef boolean ac__type_new_;
28250 int
28251 main ()
28252 {
28253 if ((ac__type_new_ *) 0)
28254 return 0;
28255 if (sizeof (ac__type_new_))
28256 return 0;
28257 ;
28258 return 0;
28259 }
28260 _ACEOF
28261 rm -f conftest.$ac_objext
28262 if { (ac_try="$ac_compile"
28263 case "(($ac_try" in
28264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28265 *) ac_try_echo=$ac_try;;
28266 esac
28267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28268 (eval "$ac_compile") 2>conftest.er1
28269 ac_status=$?
28270 grep -v '^ *+' conftest.er1 >conftest.err
28271 rm -f conftest.er1
28272 cat conftest.err >&5
28273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28274 (exit $ac_status); } && {
28275 test -z "$ac_c_werror_flag" ||
28276 test ! -s conftest.err
28277 } && test -s conftest.$ac_objext; then
28278 ac_cv_type_boolean=yes
28279 else
28280 echo "$as_me: failed program was:" >&5
28281 sed 's/^/| /' conftest.$ac_ext >&5
28282
28283 ac_cv_type_boolean=no
28284 fi
28285
28286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28287 fi
28288 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28289 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28290
28291 # The cast to long int works around a bug in the HP C Compiler
28292 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28293 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
28294 # This bug is HP SR number 8606223364.
28295 { echo "$as_me:$LINENO: checking size of boolean" >&5
28296 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
28297 if test "${ac_cv_sizeof_boolean+set}" = set; then
28298 echo $ECHO_N "(cached) $ECHO_C" >&6
28299 else
28300 if test "$cross_compiling" = yes; then
28301 # Depending upon the size, compute the lo and hi bounds.
28302 cat >conftest.$ac_ext <<_ACEOF
28303 /* confdefs.h. */
28304 _ACEOF
28305 cat confdefs.h >>conftest.$ac_ext
28306 cat >>conftest.$ac_ext <<_ACEOF
28307 /* end confdefs.h. */
28308
28309 #undef HAVE_BOOLEAN
28310 #include <stdio.h>
28311 #include <jpeglib.h>
28312
28313
28314 typedef boolean ac__type_sizeof_;
28315 int
28316 main ()
28317 {
28318 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
28319 test_array [0] = 0
28320
28321 ;
28322 return 0;
28323 }
28324 _ACEOF
28325 rm -f conftest.$ac_objext
28326 if { (ac_try="$ac_compile"
28327 case "(($ac_try" in
28328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28329 *) ac_try_echo=$ac_try;;
28330 esac
28331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28332 (eval "$ac_compile") 2>conftest.er1
28333 ac_status=$?
28334 grep -v '^ *+' conftest.er1 >conftest.err
28335 rm -f conftest.er1
28336 cat conftest.err >&5
28337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28338 (exit $ac_status); } && {
28339 test -z "$ac_c_werror_flag" ||
28340 test ! -s conftest.err
28341 } && test -s conftest.$ac_objext; then
28342 ac_lo=0 ac_mid=0
28343 while :; do
28344 cat >conftest.$ac_ext <<_ACEOF
28345 /* confdefs.h. */
28346 _ACEOF
28347 cat confdefs.h >>conftest.$ac_ext
28348 cat >>conftest.$ac_ext <<_ACEOF
28349 /* end confdefs.h. */
28350
28351 #undef HAVE_BOOLEAN
28352 #include <stdio.h>
28353 #include <jpeglib.h>
28354
28355
28356 typedef boolean ac__type_sizeof_;
28357 int
28358 main ()
28359 {
28360 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28361 test_array [0] = 0
28362
28363 ;
28364 return 0;
28365 }
28366 _ACEOF
28367 rm -f conftest.$ac_objext
28368 if { (ac_try="$ac_compile"
28369 case "(($ac_try" in
28370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28371 *) ac_try_echo=$ac_try;;
28372 esac
28373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28374 (eval "$ac_compile") 2>conftest.er1
28375 ac_status=$?
28376 grep -v '^ *+' conftest.er1 >conftest.err
28377 rm -f conftest.er1
28378 cat conftest.err >&5
28379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28380 (exit $ac_status); } && {
28381 test -z "$ac_c_werror_flag" ||
28382 test ! -s conftest.err
28383 } && test -s conftest.$ac_objext; then
28384 ac_hi=$ac_mid; break
28385 else
28386 echo "$as_me: failed program was:" >&5
28387 sed 's/^/| /' conftest.$ac_ext >&5
28388
28389 ac_lo=`expr $ac_mid + 1`
28390 if test $ac_lo -le $ac_mid; then
28391 ac_lo= ac_hi=
28392 break
28393 fi
28394 ac_mid=`expr 2 '*' $ac_mid + 1`
28395 fi
28396
28397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28398 done
28399 else
28400 echo "$as_me: failed program was:" >&5
28401 sed 's/^/| /' conftest.$ac_ext >&5
28402
28403 cat >conftest.$ac_ext <<_ACEOF
28404 /* confdefs.h. */
28405 _ACEOF
28406 cat confdefs.h >>conftest.$ac_ext
28407 cat >>conftest.$ac_ext <<_ACEOF
28408 /* end confdefs.h. */
28409
28410 #undef HAVE_BOOLEAN
28411 #include <stdio.h>
28412 #include <jpeglib.h>
28413
28414
28415 typedef boolean ac__type_sizeof_;
28416 int
28417 main ()
28418 {
28419 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
28420 test_array [0] = 0
28421
28422 ;
28423 return 0;
28424 }
28425 _ACEOF
28426 rm -f conftest.$ac_objext
28427 if { (ac_try="$ac_compile"
28428 case "(($ac_try" in
28429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28430 *) ac_try_echo=$ac_try;;
28431 esac
28432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28433 (eval "$ac_compile") 2>conftest.er1
28434 ac_status=$?
28435 grep -v '^ *+' conftest.er1 >conftest.err
28436 rm -f conftest.er1
28437 cat conftest.err >&5
28438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28439 (exit $ac_status); } && {
28440 test -z "$ac_c_werror_flag" ||
28441 test ! -s conftest.err
28442 } && test -s conftest.$ac_objext; then
28443 ac_hi=-1 ac_mid=-1
28444 while :; do
28445 cat >conftest.$ac_ext <<_ACEOF
28446 /* confdefs.h. */
28447 _ACEOF
28448 cat confdefs.h >>conftest.$ac_ext
28449 cat >>conftest.$ac_ext <<_ACEOF
28450 /* end confdefs.h. */
28451
28452 #undef HAVE_BOOLEAN
28453 #include <stdio.h>
28454 #include <jpeglib.h>
28455
28456
28457 typedef boolean ac__type_sizeof_;
28458 int
28459 main ()
28460 {
28461 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
28462 test_array [0] = 0
28463
28464 ;
28465 return 0;
28466 }
28467 _ACEOF
28468 rm -f conftest.$ac_objext
28469 if { (ac_try="$ac_compile"
28470 case "(($ac_try" in
28471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28472 *) ac_try_echo=$ac_try;;
28473 esac
28474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28475 (eval "$ac_compile") 2>conftest.er1
28476 ac_status=$?
28477 grep -v '^ *+' conftest.er1 >conftest.err
28478 rm -f conftest.er1
28479 cat conftest.err >&5
28480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28481 (exit $ac_status); } && {
28482 test -z "$ac_c_werror_flag" ||
28483 test ! -s conftest.err
28484 } && test -s conftest.$ac_objext; then
28485 ac_lo=$ac_mid; break
28486 else
28487 echo "$as_me: failed program was:" >&5
28488 sed 's/^/| /' conftest.$ac_ext >&5
28489
28490 ac_hi=`expr '(' $ac_mid ')' - 1`
28491 if test $ac_mid -le $ac_hi; then
28492 ac_lo= ac_hi=
28493 break
28494 fi
28495 ac_mid=`expr 2 '*' $ac_mid`
28496 fi
28497
28498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28499 done
28500 else
28501 echo "$as_me: failed program was:" >&5
28502 sed 's/^/| /' conftest.$ac_ext >&5
28503
28504 ac_lo= ac_hi=
28505 fi
28506
28507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28508 fi
28509
28510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28511 # Binary search between lo and hi bounds.
28512 while test "x$ac_lo" != "x$ac_hi"; do
28513 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
28514 cat >conftest.$ac_ext <<_ACEOF
28515 /* confdefs.h. */
28516 _ACEOF
28517 cat confdefs.h >>conftest.$ac_ext
28518 cat >>conftest.$ac_ext <<_ACEOF
28519 /* end confdefs.h. */
28520
28521 #undef HAVE_BOOLEAN
28522 #include <stdio.h>
28523 #include <jpeglib.h>
28524
28525
28526 typedef boolean ac__type_sizeof_;
28527 int
28528 main ()
28529 {
28530 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28531 test_array [0] = 0
28532
28533 ;
28534 return 0;
28535 }
28536 _ACEOF
28537 rm -f conftest.$ac_objext
28538 if { (ac_try="$ac_compile"
28539 case "(($ac_try" in
28540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28541 *) ac_try_echo=$ac_try;;
28542 esac
28543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28544 (eval "$ac_compile") 2>conftest.er1
28545 ac_status=$?
28546 grep -v '^ *+' conftest.er1 >conftest.err
28547 rm -f conftest.er1
28548 cat conftest.err >&5
28549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28550 (exit $ac_status); } && {
28551 test -z "$ac_c_werror_flag" ||
28552 test ! -s conftest.err
28553 } && test -s conftest.$ac_objext; then
28554 ac_hi=$ac_mid
28555 else
28556 echo "$as_me: failed program was:" >&5
28557 sed 's/^/| /' conftest.$ac_ext >&5
28558
28559 ac_lo=`expr '(' $ac_mid ')' + 1`
28560 fi
28561
28562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28563 done
28564 case $ac_lo in
28565 ?*) ac_cv_sizeof_boolean=$ac_lo;;
28566 '') if test "$ac_cv_type_boolean" = yes; then
28567 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28568 See \`config.log' for more details." >&5
28569 echo "$as_me: error: cannot compute sizeof (boolean)
28570 See \`config.log' for more details." >&2;}
28571 { (exit 77); exit 77; }; }
28572 else
28573 ac_cv_sizeof_boolean=0
28574 fi ;;
28575 esac
28576 else
28577 cat >conftest.$ac_ext <<_ACEOF
28578 /* confdefs.h. */
28579 _ACEOF
28580 cat confdefs.h >>conftest.$ac_ext
28581 cat >>conftest.$ac_ext <<_ACEOF
28582 /* end confdefs.h. */
28583
28584 #undef HAVE_BOOLEAN
28585 #include <stdio.h>
28586 #include <jpeglib.h>
28587
28588
28589 typedef boolean ac__type_sizeof_;
28590 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
28591 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
28592 #include <stdio.h>
28593 #include <stdlib.h>
28594 int
28595 main ()
28596 {
28597
28598 FILE *f = fopen ("conftest.val", "w");
28599 if (! f)
28600 return 1;
28601 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
28602 {
28603 long int i = longval ();
28604 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28605 return 1;
28606 fprintf (f, "%ld\n", i);
28607 }
28608 else
28609 {
28610 unsigned long int i = ulongval ();
28611 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28612 return 1;
28613 fprintf (f, "%lu\n", i);
28614 }
28615 return ferror (f) || fclose (f) != 0;
28616
28617 ;
28618 return 0;
28619 }
28620 _ACEOF
28621 rm -f conftest$ac_exeext
28622 if { (ac_try="$ac_link"
28623 case "(($ac_try" in
28624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28625 *) ac_try_echo=$ac_try;;
28626 esac
28627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28628 (eval "$ac_link") 2>&5
28629 ac_status=$?
28630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28631 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28632 { (case "(($ac_try" in
28633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28634 *) ac_try_echo=$ac_try;;
28635 esac
28636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28637 (eval "$ac_try") 2>&5
28638 ac_status=$?
28639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28640 (exit $ac_status); }; }; then
28641 ac_cv_sizeof_boolean=`cat conftest.val`
28642 else
28643 echo "$as_me: program exited with status $ac_status" >&5
28644 echo "$as_me: failed program was:" >&5
28645 sed 's/^/| /' conftest.$ac_ext >&5
28646
28647 ( exit $ac_status )
28648 if test "$ac_cv_type_boolean" = yes; then
28649 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28650 See \`config.log' for more details." >&5
28651 echo "$as_me: error: cannot compute sizeof (boolean)
28652 See \`config.log' for more details." >&2;}
28653 { (exit 77); exit 77; }; }
28654 else
28655 ac_cv_sizeof_boolean=0
28656 fi
28657 fi
28658 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28659 fi
28660 rm -f conftest.val
28661 fi
28662 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
28663 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
28664
28665
28666
28667 cat >>confdefs.h <<_ACEOF
28668 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
28669 _ACEOF
28670
28671
28672 cat >>confdefs.h <<_ACEOF
28673 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
28674 _ACEOF
28675
28676
28677 fi
28678
28679 fi
28680 fi
28681 fi
28682 fi
28683 fi
28684
28685
28686 TIFF_LINK=
28687 TIFF_PREREQ_LINKS=-lm
28688 if test "$wxUSE_LIBTIFF" != "no" ; then
28689 cat >>confdefs.h <<\_ACEOF
28690 #define wxUSE_LIBTIFF 1
28691 _ACEOF
28692
28693
28694 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
28695 if test "$wxUSE_LIBJPEG" = "sys"; then
28696 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
28697 fi
28698 if test "$wxUSE_ZLIB" = "sys"; then
28699 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
28700 fi
28701 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
28702 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
28703 if test "${ac_cv_header_tiffio_h+set}" = set; then
28704 echo $ECHO_N "(cached) $ECHO_C" >&6
28705 else
28706 cat >conftest.$ac_ext <<_ACEOF
28707 /* confdefs.h. */
28708 _ACEOF
28709 cat confdefs.h >>conftest.$ac_ext
28710 cat >>conftest.$ac_ext <<_ACEOF
28711 /* end confdefs.h. */
28712
28713
28714
28715 #include <tiffio.h>
28716 _ACEOF
28717 rm -f conftest.$ac_objext
28718 if { (ac_try="$ac_compile"
28719 case "(($ac_try" in
28720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28721 *) ac_try_echo=$ac_try;;
28722 esac
28723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28724 (eval "$ac_compile") 2>conftest.er1
28725 ac_status=$?
28726 grep -v '^ *+' conftest.er1 >conftest.err
28727 rm -f conftest.er1
28728 cat conftest.err >&5
28729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28730 (exit $ac_status); } && {
28731 test -z "$ac_c_werror_flag" ||
28732 test ! -s conftest.err
28733 } && test -s conftest.$ac_objext; then
28734 ac_cv_header_tiffio_h=yes
28735 else
28736 echo "$as_me: failed program was:" >&5
28737 sed 's/^/| /' conftest.$ac_ext >&5
28738
28739 ac_cv_header_tiffio_h=no
28740 fi
28741
28742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28743 fi
28744 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
28745 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
28746 if test $ac_cv_header_tiffio_h = yes; then
28747
28748 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
28749 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
28750 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
28751 echo $ECHO_N "(cached) $ECHO_C" >&6
28752 else
28753 ac_check_lib_save_LIBS=$LIBS
28754 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
28755 cat >conftest.$ac_ext <<_ACEOF
28756 /* confdefs.h. */
28757 _ACEOF
28758 cat confdefs.h >>conftest.$ac_ext
28759 cat >>conftest.$ac_ext <<_ACEOF
28760 /* end confdefs.h. */
28761
28762 /* Override any GCC internal prototype to avoid an error.
28763 Use char because int might match the return type of a GCC
28764 builtin and then its argument prototype would still apply. */
28765 #ifdef __cplusplus
28766 extern "C"
28767 #endif
28768 char TIFFError ();
28769 int
28770 main ()
28771 {
28772 return TIFFError ();
28773 ;
28774 return 0;
28775 }
28776 _ACEOF
28777 rm -f conftest.$ac_objext conftest$ac_exeext
28778 if { (ac_try="$ac_link"
28779 case "(($ac_try" in
28780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28781 *) ac_try_echo=$ac_try;;
28782 esac
28783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28784 (eval "$ac_link") 2>conftest.er1
28785 ac_status=$?
28786 grep -v '^ *+' conftest.er1 >conftest.err
28787 rm -f conftest.er1
28788 cat conftest.err >&5
28789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28790 (exit $ac_status); } && {
28791 test -z "$ac_c_werror_flag" ||
28792 test ! -s conftest.err
28793 } && test -s conftest$ac_exeext &&
28794 $as_test_x conftest$ac_exeext; then
28795 ac_cv_lib_tiff_TIFFError=yes
28796 else
28797 echo "$as_me: failed program was:" >&5
28798 sed 's/^/| /' conftest.$ac_ext >&5
28799
28800 ac_cv_lib_tiff_TIFFError=no
28801 fi
28802
28803 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28804 conftest$ac_exeext conftest.$ac_ext
28805 LIBS=$ac_check_lib_save_LIBS
28806 fi
28807 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
28808 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
28809 if test $ac_cv_lib_tiff_TIFFError = yes; then
28810 TIFF_LINK=" -ltiff"
28811 fi
28812
28813
28814 fi
28815
28816
28817
28818 if test "x$TIFF_LINK" = "x" ; then
28819 if test "$wxUSE_LIBTIFF" = "sys" ; then
28820 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
28821 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
28822 { (exit 1); exit 1; }; }
28823 else
28824 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
28825 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
28826 wxUSE_LIBTIFF=builtin
28827 fi
28828 else
28829 wxUSE_LIBTIFF=sys
28830 fi
28831 fi
28832 if test "$wxUSE_LIBTIFF" = "builtin" ; then
28833 if test "$wxUSE_LIBJPEG" = "no"; then
28834 ac_configure_args="$ac_configure_args --disable-jpeg"
28835 fi
28836 subdirs="$subdirs src/tiff"
28837
28838 fi
28839 fi
28840
28841
28842 if test "$wxUSE_EXPAT" != "no"; then
28843 wxUSE_XML=yes
28844 cat >>confdefs.h <<\_ACEOF
28845 #define wxUSE_EXPAT 1
28846 _ACEOF
28847
28848 cat >>confdefs.h <<\_ACEOF
28849 #define wxUSE_XML 1
28850 _ACEOF
28851
28852
28853 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
28854 { echo "$as_me:$LINENO: checking for expat.h" >&5
28855 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
28856 if test "${ac_cv_header_expat_h+set}" = set; then
28857 echo $ECHO_N "(cached) $ECHO_C" >&6
28858 else
28859 cat >conftest.$ac_ext <<_ACEOF
28860 /* confdefs.h. */
28861 _ACEOF
28862 cat confdefs.h >>conftest.$ac_ext
28863 cat >>conftest.$ac_ext <<_ACEOF
28864 /* end confdefs.h. */
28865
28866
28867 #include <expat.h>
28868 _ACEOF
28869 rm -f conftest.$ac_objext
28870 if { (ac_try="$ac_compile"
28871 case "(($ac_try" in
28872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28873 *) ac_try_echo=$ac_try;;
28874 esac
28875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28876 (eval "$ac_compile") 2>conftest.er1
28877 ac_status=$?
28878 grep -v '^ *+' conftest.er1 >conftest.err
28879 rm -f conftest.er1
28880 cat conftest.err >&5
28881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28882 (exit $ac_status); } && {
28883 test -z "$ac_c_werror_flag" ||
28884 test ! -s conftest.err
28885 } && test -s conftest.$ac_objext; then
28886 ac_cv_header_expat_h=yes
28887 else
28888 echo "$as_me: failed program was:" >&5
28889 sed 's/^/| /' conftest.$ac_ext >&5
28890
28891 ac_cv_header_expat_h=no
28892 fi
28893
28894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28895 fi
28896 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
28897 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
28898 if test $ac_cv_header_expat_h = yes; then
28899 found_expat_h=1
28900 fi
28901
28902
28903 if test "x$found_expat_h" = "x1"; then
28904 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
28905 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
28906 if test "${wx_cv_expat_is_not_broken+set}" = set; then
28907 echo $ECHO_N "(cached) $ECHO_C" >&6
28908 else
28909
28910 ac_ext=cpp
28911 ac_cpp='$CXXCPP $CPPFLAGS'
28912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28915
28916 cat >conftest.$ac_ext <<_ACEOF
28917 /* confdefs.h. */
28918 _ACEOF
28919 cat confdefs.h >>conftest.$ac_ext
28920 cat >>conftest.$ac_ext <<_ACEOF
28921 /* end confdefs.h. */
28922 #include <expat.h>
28923 int
28924 main ()
28925 {
28926
28927 ;
28928 return 0;
28929 }
28930 _ACEOF
28931 rm -f conftest.$ac_objext
28932 if { (ac_try="$ac_compile"
28933 case "(($ac_try" in
28934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28935 *) ac_try_echo=$ac_try;;
28936 esac
28937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28938 (eval "$ac_compile") 2>conftest.er1
28939 ac_status=$?
28940 grep -v '^ *+' conftest.er1 >conftest.err
28941 rm -f conftest.er1
28942 cat conftest.err >&5
28943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28944 (exit $ac_status); } && {
28945 test -z "$ac_cxx_werror_flag" ||
28946 test ! -s conftest.err
28947 } && test -s conftest.$ac_objext; then
28948 wx_cv_expat_is_not_broken=yes
28949 else
28950 echo "$as_me: failed program was:" >&5
28951 sed 's/^/| /' conftest.$ac_ext >&5
28952
28953 wx_cv_expat_is_not_broken=no
28954
28955 fi
28956
28957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28958 ac_ext=c
28959 ac_cpp='$CPP $CPPFLAGS'
28960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28963
28964
28965
28966 fi
28967 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
28968 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
28969 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
28970 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
28971 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
28972 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
28973 echo $ECHO_N "(cached) $ECHO_C" >&6
28974 else
28975 ac_check_lib_save_LIBS=$LIBS
28976 LIBS="-lexpat $LIBS"
28977 cat >conftest.$ac_ext <<_ACEOF
28978 /* confdefs.h. */
28979 _ACEOF
28980 cat confdefs.h >>conftest.$ac_ext
28981 cat >>conftest.$ac_ext <<_ACEOF
28982 /* end confdefs.h. */
28983
28984 /* Override any GCC internal prototype to avoid an error.
28985 Use char because int might match the return type of a GCC
28986 builtin and then its argument prototype would still apply. */
28987 #ifdef __cplusplus
28988 extern "C"
28989 #endif
28990 char XML_ParserCreate ();
28991 int
28992 main ()
28993 {
28994 return XML_ParserCreate ();
28995 ;
28996 return 0;
28997 }
28998 _ACEOF
28999 rm -f conftest.$ac_objext conftest$ac_exeext
29000 if { (ac_try="$ac_link"
29001 case "(($ac_try" in
29002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29003 *) ac_try_echo=$ac_try;;
29004 esac
29005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29006 (eval "$ac_link") 2>conftest.er1
29007 ac_status=$?
29008 grep -v '^ *+' conftest.er1 >conftest.err
29009 rm -f conftest.er1
29010 cat conftest.err >&5
29011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29012 (exit $ac_status); } && {
29013 test -z "$ac_c_werror_flag" ||
29014 test ! -s conftest.err
29015 } && test -s conftest$ac_exeext &&
29016 $as_test_x conftest$ac_exeext; then
29017 ac_cv_lib_expat_XML_ParserCreate=yes
29018 else
29019 echo "$as_me: failed program was:" >&5
29020 sed 's/^/| /' conftest.$ac_ext >&5
29021
29022 ac_cv_lib_expat_XML_ParserCreate=no
29023 fi
29024
29025 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29026 conftest$ac_exeext conftest.$ac_ext
29027 LIBS=$ac_check_lib_save_LIBS
29028 fi
29029 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
29030 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
29031 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
29032 EXPAT_LINK=" -lexpat"
29033 fi
29034
29035 fi
29036 fi
29037 if test "x$EXPAT_LINK" = "x" ; then
29038 if test "$wxUSE_EXPAT" = "sys" ; then
29039 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
29040 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
29041 { (exit 1); exit 1; }; }
29042 else
29043 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
29044 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
29045 wxUSE_EXPAT=builtin
29046 fi
29047 else
29048 wxUSE_EXPAT=sys
29049 fi
29050 fi
29051 if test "$wxUSE_EXPAT" = "builtin" ; then
29052 subdirs="$subdirs src/expat"
29053
29054 fi
29055 fi
29056
29057
29058
29059 if test "$wxUSE_LIBMSPACK" != "no"; then
29060 { echo "$as_me:$LINENO: checking for mspack.h" >&5
29061 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
29062 if test "${ac_cv_header_mspack_h+set}" = set; then
29063 echo $ECHO_N "(cached) $ECHO_C" >&6
29064 else
29065 cat >conftest.$ac_ext <<_ACEOF
29066 /* confdefs.h. */
29067 _ACEOF
29068 cat confdefs.h >>conftest.$ac_ext
29069 cat >>conftest.$ac_ext <<_ACEOF
29070 /* end confdefs.h. */
29071
29072
29073 #include <mspack.h>
29074 _ACEOF
29075 rm -f conftest.$ac_objext
29076 if { (ac_try="$ac_compile"
29077 case "(($ac_try" in
29078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29079 *) ac_try_echo=$ac_try;;
29080 esac
29081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29082 (eval "$ac_compile") 2>conftest.er1
29083 ac_status=$?
29084 grep -v '^ *+' conftest.er1 >conftest.err
29085 rm -f conftest.er1
29086 cat conftest.err >&5
29087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29088 (exit $ac_status); } && {
29089 test -z "$ac_c_werror_flag" ||
29090 test ! -s conftest.err
29091 } && test -s conftest.$ac_objext; then
29092 ac_cv_header_mspack_h=yes
29093 else
29094 echo "$as_me: failed program was:" >&5
29095 sed 's/^/| /' conftest.$ac_ext >&5
29096
29097 ac_cv_header_mspack_h=no
29098 fi
29099
29100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29101 fi
29102 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
29103 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
29104 if test $ac_cv_header_mspack_h = yes; then
29105 found_mspack_h=1
29106 fi
29107
29108
29109 if test "x$found_mspack_h" = "x1"; then
29110 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
29111 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
29112 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
29113 echo $ECHO_N "(cached) $ECHO_C" >&6
29114 else
29115 ac_check_lib_save_LIBS=$LIBS
29116 LIBS="-lmspack $LIBS"
29117 cat >conftest.$ac_ext <<_ACEOF
29118 /* confdefs.h. */
29119 _ACEOF
29120 cat confdefs.h >>conftest.$ac_ext
29121 cat >>conftest.$ac_ext <<_ACEOF
29122 /* end confdefs.h. */
29123
29124 /* Override any GCC internal prototype to avoid an error.
29125 Use char because int might match the return type of a GCC
29126 builtin and then its argument prototype would still apply. */
29127 #ifdef __cplusplus
29128 extern "C"
29129 #endif
29130 char mspack_create_chm_decompressor ();
29131 int
29132 main ()
29133 {
29134 return mspack_create_chm_decompressor ();
29135 ;
29136 return 0;
29137 }
29138 _ACEOF
29139 rm -f conftest.$ac_objext conftest$ac_exeext
29140 if { (ac_try="$ac_link"
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_link") 2>conftest.er1
29147 ac_status=$?
29148 grep -v '^ *+' conftest.er1 >conftest.err
29149 rm -f conftest.er1
29150 cat conftest.err >&5
29151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29152 (exit $ac_status); } && {
29153 test -z "$ac_c_werror_flag" ||
29154 test ! -s conftest.err
29155 } && test -s conftest$ac_exeext &&
29156 $as_test_x conftest$ac_exeext; then
29157 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
29158 else
29159 echo "$as_me: failed program was:" >&5
29160 sed 's/^/| /' conftest.$ac_ext >&5
29161
29162 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
29163 fi
29164
29165 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29166 conftest$ac_exeext conftest.$ac_ext
29167 LIBS=$ac_check_lib_save_LIBS
29168 fi
29169 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
29170 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
29171 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
29172 MSPACK_LINK=" -lmspack"
29173 fi
29174
29175 fi
29176 if test "x$MSPACK_LINK" = "x" ; then
29177 wxUSE_LIBMSPACK=no
29178 fi
29179 fi
29180
29181 if test "$wxUSE_LIBMSPACK" != "no"; then
29182 cat >>confdefs.h <<\_ACEOF
29183 #define wxUSE_LIBMSPACK 1
29184 _ACEOF
29185
29186 fi
29187
29188
29189
29190 AFMINSTALL=
29191 WIN32INSTALL=
29192
29193 TOOLKIT=
29194 TOOLKIT_INCLUDE=
29195 WIDGET_SET=
29196
29197 if test "$USE_WIN32" = 1 ; then
29198
29199 for ac_header in w32api.h
29200 do
29201 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29202 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29203 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29204 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29205 echo $ECHO_N "(cached) $ECHO_C" >&6
29206 else
29207 cat >conftest.$ac_ext <<_ACEOF
29208 /* confdefs.h. */
29209 _ACEOF
29210 cat confdefs.h >>conftest.$ac_ext
29211 cat >>conftest.$ac_ext <<_ACEOF
29212 /* end confdefs.h. */
29213
29214
29215 #include <$ac_header>
29216 _ACEOF
29217 rm -f conftest.$ac_objext
29218 if { (ac_try="$ac_compile"
29219 case "(($ac_try" in
29220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29221 *) ac_try_echo=$ac_try;;
29222 esac
29223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29224 (eval "$ac_compile") 2>conftest.er1
29225 ac_status=$?
29226 grep -v '^ *+' conftest.er1 >conftest.err
29227 rm -f conftest.er1
29228 cat conftest.err >&5
29229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29230 (exit $ac_status); } && {
29231 test -z "$ac_c_werror_flag" ||
29232 test ! -s conftest.err
29233 } && test -s conftest.$ac_objext; then
29234 eval "$as_ac_Header=yes"
29235 else
29236 echo "$as_me: failed program was:" >&5
29237 sed 's/^/| /' conftest.$ac_ext >&5
29238
29239 eval "$as_ac_Header=no"
29240 fi
29241
29242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29243 fi
29244 ac_res=`eval echo '${'$as_ac_Header'}'`
29245 { echo "$as_me:$LINENO: result: $ac_res" >&5
29246 echo "${ECHO_T}$ac_res" >&6; }
29247 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29248 cat >>confdefs.h <<_ACEOF
29249 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29250 _ACEOF
29251
29252 fi
29253
29254 done
29255
29256 { echo "$as_me:$LINENO: checking for windows.h" >&5
29257 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
29258 if test "${ac_cv_header_windows_h+set}" = set; then
29259 echo $ECHO_N "(cached) $ECHO_C" >&6
29260 else
29261 cat >conftest.$ac_ext <<_ACEOF
29262 /* confdefs.h. */
29263 _ACEOF
29264 cat confdefs.h >>conftest.$ac_ext
29265 cat >>conftest.$ac_ext <<_ACEOF
29266 /* end confdefs.h. */
29267
29268
29269 #include <windows.h>
29270 _ACEOF
29271 rm -f conftest.$ac_objext
29272 if { (ac_try="$ac_compile"
29273 case "(($ac_try" in
29274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29275 *) ac_try_echo=$ac_try;;
29276 esac
29277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29278 (eval "$ac_compile") 2>conftest.er1
29279 ac_status=$?
29280 grep -v '^ *+' conftest.er1 >conftest.err
29281 rm -f conftest.er1
29282 cat conftest.err >&5
29283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29284 (exit $ac_status); } && {
29285 test -z "$ac_c_werror_flag" ||
29286 test ! -s conftest.err
29287 } && test -s conftest.$ac_objext; then
29288 ac_cv_header_windows_h=yes
29289 else
29290 echo "$as_me: failed program was:" >&5
29291 sed 's/^/| /' conftest.$ac_ext >&5
29292
29293 ac_cv_header_windows_h=no
29294 fi
29295
29296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29297 fi
29298 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
29299 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
29300 if test $ac_cv_header_windows_h = yes; then
29301 :
29302 else
29303
29304 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
29305 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
29306 { (exit 1); exit 1; }; }
29307
29308 fi
29309
29310
29311
29312 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
29313 case "${host}" in
29314 x86_64-*-mingw32* )
29315 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
29316 ;;
29317 esac
29318 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
29319 LIBS="$LIBS -loleacc"
29320 fi
29321
29322 case "${host}" in
29323 *-*-cygwin* )
29324 LIBS="$LIBS -lkernel32 -luser32"
29325 esac
29326
29327 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
29328 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
29329
29330 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
29331
29332 WIN32INSTALL=win32install
29333
29334 { echo "$as_me:$LINENO: checking for pbt.h" >&5
29335 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
29336 if test "${ac_cv_header_pbt_h+set}" = set; then
29337 echo $ECHO_N "(cached) $ECHO_C" >&6
29338 else
29339 cat >conftest.$ac_ext <<_ACEOF
29340 /* confdefs.h. */
29341 _ACEOF
29342 cat confdefs.h >>conftest.$ac_ext
29343 cat >>conftest.$ac_ext <<_ACEOF
29344 /* end confdefs.h. */
29345
29346
29347 #include <pbt.h>
29348 _ACEOF
29349 rm -f conftest.$ac_objext
29350 if { (ac_try="$ac_compile"
29351 case "(($ac_try" in
29352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29353 *) ac_try_echo=$ac_try;;
29354 esac
29355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29356 (eval "$ac_compile") 2>conftest.er1
29357 ac_status=$?
29358 grep -v '^ *+' conftest.er1 >conftest.err
29359 rm -f conftest.er1
29360 cat conftest.err >&5
29361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29362 (exit $ac_status); } && {
29363 test -z "$ac_c_werror_flag" ||
29364 test ! -s conftest.err
29365 } && test -s conftest.$ac_objext; then
29366 ac_cv_header_pbt_h=yes
29367 else
29368 echo "$as_me: failed program was:" >&5
29369 sed 's/^/| /' conftest.$ac_ext >&5
29370
29371 ac_cv_header_pbt_h=no
29372 fi
29373
29374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29375 fi
29376 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
29377 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
29378 if test $ac_cv_header_pbt_h = yes; then
29379 :
29380 else
29381 cat >>confdefs.h <<\_ACEOF
29382 #define NEED_PBT_H 1
29383 _ACEOF
29384
29385 fi
29386
29387
29388 fi
29389
29390 if test "$wxUSE_GUI" = "yes"; then
29391 USE_GUI=1
29392
29393 GUI_TK_LIBRARY=
29394
29395 WXGTK12=
29396 WXGTK127=
29397 WXGTK2=
29398 WXGPE=
29399
29400 if test "$wxUSE_OLD_COCOA" = 1 ; then
29401 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
29402 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
29403 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
29404 wxUSE_PRINTING_ARCHITECTURE=no
29405 fi
29406 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
29407 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
29408 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
29409 wxUSE_DRAG_AND_DROP=no
29410 fi
29411 if test "$wxUSE_DRAGIMAGE" = "yes"; then
29412 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
29413 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
29414 wxUSE_DRAGIMAGE=no
29415 fi
29416 fi
29417
29418 if test "$wxUSE_MSW" = 1 ; then
29419 TOOLKIT=MSW
29420 GUIDIST=MSW_DIST
29421
29422 case "${host}" in
29423 *-*-mingw32* )
29424 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
29425 esac
29426 fi
29427
29428 if test "$wxUSE_GTK" = 1; then
29429 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
29430 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
29431
29432 gtk_version_cached=1
29433 if test "${wx_cv_lib_gtk+set}" = set; then
29434 echo $ECHO_N "(cached) $ECHO_C" >&6
29435 else
29436
29437 gtk_version_cached=0
29438 { echo "$as_me:$LINENO: result: " >&5
29439 echo "${ECHO_T}" >&6; }
29440
29441 GTK_MODULES=
29442 if test "$wxUSE_THREADS" = "yes"; then
29443 GTK_MODULES=gthread
29444 fi
29445
29446 wx_cv_lib_gtk=
29447 if test "x$wxGTK_VERSION" != "x1"
29448 then
29449 case "${host}" in
29450 *-*-solaris2* )
29451 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
29452 enable_gtktest=no
29453 fi
29454 esac
29455
29456 # Check whether --enable-gtktest was given.
29457 if test "${enable_gtktest+set}" = set; then
29458 enableval=$enable_gtktest;
29459 else
29460 enable_gtktest=yes
29461 fi
29462
29463
29464 pkg_config_args=gtk+-2.0
29465 for module in . $GTK_MODULES
29466 do
29467 case "$module" in
29468 gthread)
29469 pkg_config_args="$pkg_config_args gthread-2.0"
29470 ;;
29471 esac
29472 done
29473
29474 no_gtk=""
29475
29476 # Extract the first word of "pkg-config", so it can be a program name with args.
29477 set dummy pkg-config; ac_word=$2
29478 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29479 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29480 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29481 echo $ECHO_N "(cached) $ECHO_C" >&6
29482 else
29483 case $PKG_CONFIG in
29484 [\\/]* | ?:[\\/]*)
29485 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29486 ;;
29487 *)
29488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29489 for as_dir in $PATH
29490 do
29491 IFS=$as_save_IFS
29492 test -z "$as_dir" && as_dir=.
29493 for ac_exec_ext in '' $ac_executable_extensions; do
29494 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29495 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29496 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29497 break 2
29498 fi
29499 done
29500 done
29501 IFS=$as_save_IFS
29502
29503 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
29504 ;;
29505 esac
29506 fi
29507 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29508 if test -n "$PKG_CONFIG"; then
29509 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29510 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29511 else
29512 { echo "$as_me:$LINENO: result: no" >&5
29513 echo "${ECHO_T}no" >&6; }
29514 fi
29515
29516
29517
29518 if test x$PKG_CONFIG != xno ; then
29519 if pkg-config --atleast-pkgconfig-version 0.7 ; then
29520 :
29521 else
29522 echo "*** pkg-config too old; version 0.7 or better required."
29523 no_gtk=yes
29524 PKG_CONFIG=no
29525 fi
29526 else
29527 no_gtk=yes
29528 fi
29529
29530 min_gtk_version=2.4.0
29531 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
29532 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
29533
29534 if test x$PKG_CONFIG != xno ; then
29535 ## don't try to run the test against uninstalled libtool libs
29536 if $PKG_CONFIG --uninstalled $pkg_config_args; then
29537 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
29538 enable_gtktest=no
29539 fi
29540
29541 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
29542 :
29543 else
29544 no_gtk=yes
29545 fi
29546 fi
29547
29548 if test x"$no_gtk" = x ; then
29549 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
29550 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
29551 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29552 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29553 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29554 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29555 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29556 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29557 if test "x$enable_gtktest" = "xyes" ; then
29558 ac_save_CFLAGS="$CFLAGS"
29559 ac_save_LIBS="$LIBS"
29560 CFLAGS="$CFLAGS $GTK_CFLAGS"
29561 LIBS="$GTK_LIBS $LIBS"
29562 rm -f conf.gtktest
29563 if test "$cross_compiling" = yes; then
29564 echo $ac_n "cross compiling; assumed OK... $ac_c"
29565 else
29566 cat >conftest.$ac_ext <<_ACEOF
29567 /* confdefs.h. */
29568 _ACEOF
29569 cat confdefs.h >>conftest.$ac_ext
29570 cat >>conftest.$ac_ext <<_ACEOF
29571 /* end confdefs.h. */
29572
29573 #include <gtk/gtk.h>
29574 #include <stdio.h>
29575 #include <stdlib.h>
29576
29577 int
29578 main ()
29579 {
29580 int major, minor, micro;
29581 char *tmp_version;
29582
29583 system ("touch conf.gtktest");
29584
29585 /* HP/UX 9 (%@#!) writes to sscanf strings */
29586 tmp_version = g_strdup("$min_gtk_version");
29587 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29588 printf("%s, bad version string\n", "$min_gtk_version");
29589 exit(1);
29590 }
29591
29592 if ((gtk_major_version != $gtk_config_major_version) ||
29593 (gtk_minor_version != $gtk_config_minor_version) ||
29594 (gtk_micro_version != $gtk_config_micro_version))
29595 {
29596 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29597 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29598 gtk_major_version, gtk_minor_version, gtk_micro_version);
29599 printf ("*** was found! If pkg-config was correct, then it is best\n");
29600 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29601 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29602 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29603 printf("*** required on your system.\n");
29604 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
29605 printf("*** to point to the correct configuration files\n");
29606 }
29607 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29608 (gtk_minor_version != GTK_MINOR_VERSION) ||
29609 (gtk_micro_version != GTK_MICRO_VERSION))
29610 {
29611 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29612 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29613 printf("*** library (version %d.%d.%d)\n",
29614 gtk_major_version, gtk_minor_version, gtk_micro_version);
29615 }
29616 else
29617 {
29618 if ((gtk_major_version > major) ||
29619 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29620 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29621 {
29622 return 0;
29623 }
29624 else
29625 {
29626 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29627 gtk_major_version, gtk_minor_version, gtk_micro_version);
29628 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29629 major, minor, micro);
29630 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29631 printf("***\n");
29632 printf("*** If you have already installed a sufficiently new version, this error\n");
29633 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
29634 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29635 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
29636 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
29637 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29638 printf("*** so that the correct libraries are found at run-time))\n");
29639 }
29640 }
29641 return 1;
29642 }
29643
29644 _ACEOF
29645 rm -f conftest$ac_exeext
29646 if { (ac_try="$ac_link"
29647 case "(($ac_try" in
29648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29649 *) ac_try_echo=$ac_try;;
29650 esac
29651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29652 (eval "$ac_link") 2>&5
29653 ac_status=$?
29654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29655 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29656 { (case "(($ac_try" in
29657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29658 *) ac_try_echo=$ac_try;;
29659 esac
29660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29661 (eval "$ac_try") 2>&5
29662 ac_status=$?
29663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29664 (exit $ac_status); }; }; then
29665 :
29666 else
29667 echo "$as_me: program exited with status $ac_status" >&5
29668 echo "$as_me: failed program was:" >&5
29669 sed 's/^/| /' conftest.$ac_ext >&5
29670
29671 ( exit $ac_status )
29672 no_gtk=yes
29673 fi
29674 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29675 fi
29676
29677
29678 CFLAGS="$ac_save_CFLAGS"
29679 LIBS="$ac_save_LIBS"
29680 fi
29681 fi
29682 if test "x$no_gtk" = x ; then
29683 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
29684 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
29685 wx_cv_lib_gtk=2.0
29686 else
29687 { echo "$as_me:$LINENO: result: no" >&5
29688 echo "${ECHO_T}no" >&6; }
29689 if test "$PKG_CONFIG" = "no" ; then
29690 echo "*** A new enough version of pkg-config was not found."
29691 echo "*** See http://pkgconfig.sourceforge.net"
29692 else
29693 if test -f conf.gtktest ; then
29694 :
29695 else
29696 echo "*** Could not run GTK+ test program, checking why..."
29697 ac_save_CFLAGS="$CFLAGS"
29698 ac_save_LIBS="$LIBS"
29699 CFLAGS="$CFLAGS $GTK_CFLAGS"
29700 LIBS="$LIBS $GTK_LIBS"
29701 cat >conftest.$ac_ext <<_ACEOF
29702 /* confdefs.h. */
29703 _ACEOF
29704 cat confdefs.h >>conftest.$ac_ext
29705 cat >>conftest.$ac_ext <<_ACEOF
29706 /* end confdefs.h. */
29707
29708 #include <gtk/gtk.h>
29709 #include <stdio.h>
29710
29711 int
29712 main ()
29713 {
29714 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29715 ;
29716 return 0;
29717 }
29718 _ACEOF
29719 rm -f conftest.$ac_objext conftest$ac_exeext
29720 if { (ac_try="$ac_link"
29721 case "(($ac_try" in
29722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29723 *) ac_try_echo=$ac_try;;
29724 esac
29725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29726 (eval "$ac_link") 2>conftest.er1
29727 ac_status=$?
29728 grep -v '^ *+' conftest.er1 >conftest.err
29729 rm -f conftest.er1
29730 cat conftest.err >&5
29731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29732 (exit $ac_status); } && {
29733 test -z "$ac_c_werror_flag" ||
29734 test ! -s conftest.err
29735 } && test -s conftest$ac_exeext &&
29736 $as_test_x conftest$ac_exeext; then
29737 echo "*** The test program compiled, but did not run. This usually means"
29738 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
29739 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
29740 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29741 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29742 echo "*** is required on your system"
29743 echo "***"
29744 echo "*** If you have an old version installed, it is best to remove it, although"
29745 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29746 else
29747 echo "$as_me: failed program was:" >&5
29748 sed 's/^/| /' conftest.$ac_ext >&5
29749
29750 echo "*** The test program failed to compile or link. See the file config.log for the"
29751 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
29752 fi
29753
29754 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29755 conftest$ac_exeext conftest.$ac_ext
29756 CFLAGS="$ac_save_CFLAGS"
29757 LIBS="$ac_save_LIBS"
29758 fi
29759 fi
29760 GTK_CFLAGS=""
29761 GTK_LIBS=""
29762 :
29763 fi
29764
29765
29766 rm -f conf.gtktest
29767
29768
29769 case "${host}" in
29770 *-*-solaris2* )
29771 if test "$wxUSE_SHARED" != "yes"; then
29772 GTK_LIBS="$GTK_LIBS -lX11"
29773 fi
29774 esac
29775 fi
29776
29777 if test -z "$wx_cv_lib_gtk"; then
29778 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
29779
29780 # Check whether --with-gtk-prefix was given.
29781 if test "${with_gtk_prefix+set}" = set; then
29782 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29783 else
29784 gtk_config_prefix=""
29785 fi
29786
29787
29788 # Check whether --with-gtk-exec-prefix was given.
29789 if test "${with_gtk_exec_prefix+set}" = set; then
29790 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29791 else
29792 gtk_config_exec_prefix=""
29793 fi
29794
29795 # Check whether --enable-gtktest was given.
29796 if test "${enable_gtktest+set}" = set; then
29797 enableval=$enable_gtktest;
29798 else
29799 enable_gtktest=yes
29800 fi
29801
29802
29803 for module in . $GTK_MODULES
29804 do
29805 case "$module" in
29806 gthread)
29807 gtk_config_args="$gtk_config_args gthread"
29808 ;;
29809 esac
29810 done
29811
29812 if test x$gtk_config_exec_prefix != x ; then
29813 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29814 if test x${GTK_CONFIG+set} != xset ; then
29815 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29816 fi
29817 fi
29818 if test x$gtk_config_prefix != x ; then
29819 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29820 if test x${GTK_CONFIG+set} != xset ; then
29821 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29822 fi
29823 fi
29824
29825 # Extract the first word of "gtk-config", so it can be a program name with args.
29826 set dummy gtk-config; ac_word=$2
29827 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29828 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29829 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29830 echo $ECHO_N "(cached) $ECHO_C" >&6
29831 else
29832 case $GTK_CONFIG in
29833 [\\/]* | ?:[\\/]*)
29834 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29835 ;;
29836 *)
29837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29838 for as_dir in $PATH
29839 do
29840 IFS=$as_save_IFS
29841 test -z "$as_dir" && as_dir=.
29842 for ac_exec_ext in '' $ac_executable_extensions; do
29843 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29844 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29845 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29846 break 2
29847 fi
29848 done
29849 done
29850 IFS=$as_save_IFS
29851
29852 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29853 ;;
29854 esac
29855 fi
29856 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29857 if test -n "$GTK_CONFIG"; then
29858 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29859 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29860 else
29861 { echo "$as_me:$LINENO: result: no" >&5
29862 echo "${ECHO_T}no" >&6; }
29863 fi
29864
29865
29866 min_gtk_version=1.2.7
29867 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29868 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
29869 no_gtk=""
29870 if test "$GTK_CONFIG" = "no" ; then
29871 no_gtk=yes
29872 else
29873 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29874 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29875 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29876 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29877 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29878 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29879 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29880 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29881 if test "x$enable_gtktest" = "xyes" ; then
29882 ac_save_CFLAGS="$CFLAGS"
29883 ac_save_LIBS="$LIBS"
29884 CFLAGS="$CFLAGS $GTK_CFLAGS"
29885 LIBS="$GTK_LIBS $LIBS"
29886 rm -f conf.gtktest
29887 if test "$cross_compiling" = yes; then
29888 echo $ac_n "cross compiling; assumed OK... $ac_c"
29889 else
29890 cat >conftest.$ac_ext <<_ACEOF
29891 /* confdefs.h. */
29892 _ACEOF
29893 cat confdefs.h >>conftest.$ac_ext
29894 cat >>conftest.$ac_ext <<_ACEOF
29895 /* end confdefs.h. */
29896
29897 #include <gtk/gtk.h>
29898 #include <stdio.h>
29899 #include <stdlib.h>
29900
29901 int
29902 main ()
29903 {
29904 int major, minor, micro;
29905 char *tmp_version;
29906
29907 system ("touch conf.gtktest");
29908
29909 /* HP/UX 9 (%@#!) writes to sscanf strings */
29910 tmp_version = g_strdup("$min_gtk_version");
29911 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29912 printf("%s, bad version string\n", "$min_gtk_version");
29913 exit(1);
29914 }
29915
29916 if ((gtk_major_version != $gtk_config_major_version) ||
29917 (gtk_minor_version != $gtk_config_minor_version) ||
29918 (gtk_micro_version != $gtk_config_micro_version))
29919 {
29920 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29921 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29922 gtk_major_version, gtk_minor_version, gtk_micro_version);
29923 printf ("*** was found! If gtk-config was correct, then it is best\n");
29924 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29925 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29926 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29927 printf("*** required on your system.\n");
29928 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29929 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29930 printf("*** before re-running configure\n");
29931 }
29932 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29933 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29934 (gtk_minor_version != GTK_MINOR_VERSION) ||
29935 (gtk_micro_version != GTK_MICRO_VERSION))
29936 {
29937 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29938 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29939 printf("*** library (version %d.%d.%d)\n",
29940 gtk_major_version, gtk_minor_version, gtk_micro_version);
29941 }
29942 #endif /* defined (GTK_MAJOR_VERSION) ... */
29943 else
29944 {
29945 if ((gtk_major_version > major) ||
29946 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29947 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29948 {
29949 return 0;
29950 }
29951 else
29952 {
29953 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29954 gtk_major_version, gtk_minor_version, gtk_micro_version);
29955 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29956 major, minor, micro);
29957 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29958 printf("***\n");
29959 printf("*** If you have already installed a sufficiently new version, this error\n");
29960 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29961 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29962 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29963 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29964 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29965 printf("*** so that the correct libraries are found at run-time))\n");
29966 }
29967 }
29968 return 1;
29969 }
29970
29971 _ACEOF
29972 rm -f conftest$ac_exeext
29973 if { (ac_try="$ac_link"
29974 case "(($ac_try" in
29975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29976 *) ac_try_echo=$ac_try;;
29977 esac
29978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29979 (eval "$ac_link") 2>&5
29980 ac_status=$?
29981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29982 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29983 { (case "(($ac_try" in
29984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29985 *) ac_try_echo=$ac_try;;
29986 esac
29987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29988 (eval "$ac_try") 2>&5
29989 ac_status=$?
29990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29991 (exit $ac_status); }; }; then
29992 :
29993 else
29994 echo "$as_me: program exited with status $ac_status" >&5
29995 echo "$as_me: failed program was:" >&5
29996 sed 's/^/| /' conftest.$ac_ext >&5
29997
29998 ( exit $ac_status )
29999 no_gtk=yes
30000 fi
30001 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30002 fi
30003
30004
30005 CFLAGS="$ac_save_CFLAGS"
30006 LIBS="$ac_save_LIBS"
30007 fi
30008 fi
30009 if test "x$no_gtk" = x ; then
30010 { echo "$as_me:$LINENO: result: yes" >&5
30011 echo "${ECHO_T}yes" >&6; }
30012 wx_cv_lib_gtk=1.2.7
30013 else
30014 { echo "$as_me:$LINENO: result: no" >&5
30015 echo "${ECHO_T}no" >&6; }
30016 if test "$GTK_CONFIG" = "no" ; then
30017 echo "*** The gtk-config script installed by GTK could not be found"
30018 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30019 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30020 echo "*** full path to gtk-config."
30021 else
30022 if test -f conf.gtktest ; then
30023 :
30024 else
30025 echo "*** Could not run GTK test program, checking why..."
30026 CFLAGS="$CFLAGS $GTK_CFLAGS"
30027 LIBS="$LIBS $GTK_LIBS"
30028 cat >conftest.$ac_ext <<_ACEOF
30029 /* confdefs.h. */
30030 _ACEOF
30031 cat confdefs.h >>conftest.$ac_ext
30032 cat >>conftest.$ac_ext <<_ACEOF
30033 /* end confdefs.h. */
30034
30035 #include <gtk/gtk.h>
30036 #include <stdio.h>
30037
30038 int
30039 main ()
30040 {
30041 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30042 ;
30043 return 0;
30044 }
30045 _ACEOF
30046 rm -f conftest.$ac_objext conftest$ac_exeext
30047 if { (ac_try="$ac_link"
30048 case "(($ac_try" in
30049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30050 *) ac_try_echo=$ac_try;;
30051 esac
30052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30053 (eval "$ac_link") 2>conftest.er1
30054 ac_status=$?
30055 grep -v '^ *+' conftest.er1 >conftest.err
30056 rm -f conftest.er1
30057 cat conftest.err >&5
30058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30059 (exit $ac_status); } && {
30060 test -z "$ac_c_werror_flag" ||
30061 test ! -s conftest.err
30062 } && test -s conftest$ac_exeext &&
30063 $as_test_x conftest$ac_exeext; then
30064 echo "*** The test program compiled, but did not run. This usually means"
30065 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30066 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30067 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30068 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30069 echo "*** is required on your system"
30070 echo "***"
30071 echo "*** If you have an old version installed, it is best to remove it, although"
30072 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30073 echo "***"
30074 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30075 echo "*** came with the system with the command"
30076 echo "***"
30077 echo "*** rpm --erase --nodeps gtk gtk-devel"
30078 else
30079 echo "$as_me: failed program was:" >&5
30080 sed 's/^/| /' conftest.$ac_ext >&5
30081
30082 echo "*** The test program failed to compile or link. See the file config.log for the"
30083 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30084 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30085 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30086 fi
30087
30088 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30089 conftest$ac_exeext conftest.$ac_ext
30090 CFLAGS="$ac_save_CFLAGS"
30091 LIBS="$ac_save_LIBS"
30092 fi
30093 fi
30094 GTK_CFLAGS=""
30095 GTK_LIBS=""
30096 :
30097 fi
30098
30099
30100 rm -f conf.gtktest
30101
30102
30103 if test -z "$wx_cv_lib_gtk"; then
30104
30105 # Check whether --with-gtk-prefix was given.
30106 if test "${with_gtk_prefix+set}" = set; then
30107 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30108 else
30109 gtk_config_prefix=""
30110 fi
30111
30112
30113 # Check whether --with-gtk-exec-prefix was given.
30114 if test "${with_gtk_exec_prefix+set}" = set; then
30115 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30116 else
30117 gtk_config_exec_prefix=""
30118 fi
30119
30120 # Check whether --enable-gtktest was given.
30121 if test "${enable_gtktest+set}" = set; then
30122 enableval=$enable_gtktest;
30123 else
30124 enable_gtktest=yes
30125 fi
30126
30127
30128 for module in . $GTK_MODULES
30129 do
30130 case "$module" in
30131 gthread)
30132 gtk_config_args="$gtk_config_args gthread"
30133 ;;
30134 esac
30135 done
30136
30137 if test x$gtk_config_exec_prefix != x ; then
30138 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30139 if test x${GTK_CONFIG+set} != xset ; then
30140 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30141 fi
30142 fi
30143 if test x$gtk_config_prefix != x ; then
30144 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30145 if test x${GTK_CONFIG+set} != xset ; then
30146 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30147 fi
30148 fi
30149
30150 # Extract the first word of "gtk-config", so it can be a program name with args.
30151 set dummy gtk-config; ac_word=$2
30152 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30153 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30154 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30155 echo $ECHO_N "(cached) $ECHO_C" >&6
30156 else
30157 case $GTK_CONFIG in
30158 [\\/]* | ?:[\\/]*)
30159 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30160 ;;
30161 *)
30162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30163 for as_dir in $PATH
30164 do
30165 IFS=$as_save_IFS
30166 test -z "$as_dir" && as_dir=.
30167 for ac_exec_ext in '' $ac_executable_extensions; do
30168 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30169 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30170 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30171 break 2
30172 fi
30173 done
30174 done
30175 IFS=$as_save_IFS
30176
30177 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30178 ;;
30179 esac
30180 fi
30181 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30182 if test -n "$GTK_CONFIG"; then
30183 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30184 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30185 else
30186 { echo "$as_me:$LINENO: result: no" >&5
30187 echo "${ECHO_T}no" >&6; }
30188 fi
30189
30190
30191 min_gtk_version=1.2.3
30192 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30193 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30194 no_gtk=""
30195 if test "$GTK_CONFIG" = "no" ; then
30196 no_gtk=yes
30197 else
30198 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30199 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30200 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30201 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30202 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30203 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30204 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30205 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30206 if test "x$enable_gtktest" = "xyes" ; then
30207 ac_save_CFLAGS="$CFLAGS"
30208 ac_save_LIBS="$LIBS"
30209 CFLAGS="$CFLAGS $GTK_CFLAGS"
30210 LIBS="$GTK_LIBS $LIBS"
30211 rm -f conf.gtktest
30212 if test "$cross_compiling" = yes; then
30213 echo $ac_n "cross compiling; assumed OK... $ac_c"
30214 else
30215 cat >conftest.$ac_ext <<_ACEOF
30216 /* confdefs.h. */
30217 _ACEOF
30218 cat confdefs.h >>conftest.$ac_ext
30219 cat >>conftest.$ac_ext <<_ACEOF
30220 /* end confdefs.h. */
30221
30222 #include <gtk/gtk.h>
30223 #include <stdio.h>
30224 #include <stdlib.h>
30225
30226 int
30227 main ()
30228 {
30229 int major, minor, micro;
30230 char *tmp_version;
30231
30232 system ("touch conf.gtktest");
30233
30234 /* HP/UX 9 (%@#!) writes to sscanf strings */
30235 tmp_version = g_strdup("$min_gtk_version");
30236 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30237 printf("%s, bad version string\n", "$min_gtk_version");
30238 exit(1);
30239 }
30240
30241 if ((gtk_major_version != $gtk_config_major_version) ||
30242 (gtk_minor_version != $gtk_config_minor_version) ||
30243 (gtk_micro_version != $gtk_config_micro_version))
30244 {
30245 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30246 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30247 gtk_major_version, gtk_minor_version, gtk_micro_version);
30248 printf ("*** was found! If gtk-config was correct, then it is best\n");
30249 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30250 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30251 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30252 printf("*** required on your system.\n");
30253 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30254 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30255 printf("*** before re-running configure\n");
30256 }
30257 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30258 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30259 (gtk_minor_version != GTK_MINOR_VERSION) ||
30260 (gtk_micro_version != GTK_MICRO_VERSION))
30261 {
30262 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30263 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30264 printf("*** library (version %d.%d.%d)\n",
30265 gtk_major_version, gtk_minor_version, gtk_micro_version);
30266 }
30267 #endif /* defined (GTK_MAJOR_VERSION) ... */
30268 else
30269 {
30270 if ((gtk_major_version > major) ||
30271 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30272 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30273 {
30274 return 0;
30275 }
30276 else
30277 {
30278 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30279 gtk_major_version, gtk_minor_version, gtk_micro_version);
30280 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30281 major, minor, micro);
30282 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30283 printf("***\n");
30284 printf("*** If you have already installed a sufficiently new version, this error\n");
30285 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30286 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30287 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30288 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30289 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30290 printf("*** so that the correct libraries are found at run-time))\n");
30291 }
30292 }
30293 return 1;
30294 }
30295
30296 _ACEOF
30297 rm -f conftest$ac_exeext
30298 if { (ac_try="$ac_link"
30299 case "(($ac_try" in
30300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30301 *) ac_try_echo=$ac_try;;
30302 esac
30303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30304 (eval "$ac_link") 2>&5
30305 ac_status=$?
30306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30307 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30308 { (case "(($ac_try" in
30309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30310 *) ac_try_echo=$ac_try;;
30311 esac
30312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30313 (eval "$ac_try") 2>&5
30314 ac_status=$?
30315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30316 (exit $ac_status); }; }; then
30317 :
30318 else
30319 echo "$as_me: program exited with status $ac_status" >&5
30320 echo "$as_me: failed program was:" >&5
30321 sed 's/^/| /' conftest.$ac_ext >&5
30322
30323 ( exit $ac_status )
30324 no_gtk=yes
30325 fi
30326 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30327 fi
30328
30329
30330 CFLAGS="$ac_save_CFLAGS"
30331 LIBS="$ac_save_LIBS"
30332 fi
30333 fi
30334 if test "x$no_gtk" = x ; then
30335 { echo "$as_me:$LINENO: result: yes" >&5
30336 echo "${ECHO_T}yes" >&6; }
30337 wx_cv_lib_gtk=1.2.3
30338 else
30339 { echo "$as_me:$LINENO: result: no" >&5
30340 echo "${ECHO_T}no" >&6; }
30341 if test "$GTK_CONFIG" = "no" ; then
30342 echo "*** The gtk-config script installed by GTK could not be found"
30343 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30344 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30345 echo "*** full path to gtk-config."
30346 else
30347 if test -f conf.gtktest ; then
30348 :
30349 else
30350 echo "*** Could not run GTK test program, checking why..."
30351 CFLAGS="$CFLAGS $GTK_CFLAGS"
30352 LIBS="$LIBS $GTK_LIBS"
30353 cat >conftest.$ac_ext <<_ACEOF
30354 /* confdefs.h. */
30355 _ACEOF
30356 cat confdefs.h >>conftest.$ac_ext
30357 cat >>conftest.$ac_ext <<_ACEOF
30358 /* end confdefs.h. */
30359
30360 #include <gtk/gtk.h>
30361 #include <stdio.h>
30362
30363 int
30364 main ()
30365 {
30366 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30367 ;
30368 return 0;
30369 }
30370 _ACEOF
30371 rm -f conftest.$ac_objext conftest$ac_exeext
30372 if { (ac_try="$ac_link"
30373 case "(($ac_try" in
30374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30375 *) ac_try_echo=$ac_try;;
30376 esac
30377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30378 (eval "$ac_link") 2>conftest.er1
30379 ac_status=$?
30380 grep -v '^ *+' conftest.er1 >conftest.err
30381 rm -f conftest.er1
30382 cat conftest.err >&5
30383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30384 (exit $ac_status); } && {
30385 test -z "$ac_c_werror_flag" ||
30386 test ! -s conftest.err
30387 } && test -s conftest$ac_exeext &&
30388 $as_test_x conftest$ac_exeext; then
30389 echo "*** The test program compiled, but did not run. This usually means"
30390 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30391 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30392 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30393 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30394 echo "*** is required on your system"
30395 echo "***"
30396 echo "*** If you have an old version installed, it is best to remove it, although"
30397 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30398 echo "***"
30399 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30400 echo "*** came with the system with the command"
30401 echo "***"
30402 echo "*** rpm --erase --nodeps gtk gtk-devel"
30403 else
30404 echo "$as_me: failed program was:" >&5
30405 sed 's/^/| /' conftest.$ac_ext >&5
30406
30407 echo "*** The test program failed to compile or link. See the file config.log for the"
30408 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30409 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30410 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30411 fi
30412
30413 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30414 conftest$ac_exeext conftest.$ac_ext
30415 CFLAGS="$ac_save_CFLAGS"
30416 LIBS="$ac_save_LIBS"
30417 fi
30418 fi
30419 GTK_CFLAGS=""
30420 GTK_LIBS=""
30421 :
30422 fi
30423
30424
30425 rm -f conf.gtktest
30426
30427 fi
30428 fi
30429 fi
30430
30431 if test -z "$wx_cv_lib_gtk"; then
30432 wx_cv_lib_gtk=none
30433 else
30434 wx_cv_cflags_gtk=$GTK_CFLAGS
30435 wx_cv_libs_gtk=$GTK_LIBS
30436 fi
30437
30438
30439 fi
30440
30441
30442 if test "$gtk_version_cached" = 1; then
30443 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
30444 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
30445 fi
30446
30447 case "$wx_cv_lib_gtk" in
30448 2.0) WXGTK2=1
30449 TOOLKIT_VERSION=2
30450 ;;
30451 1.2.7) WXGTK127=1
30452 WXGTK12=1
30453 ;;
30454 1.2.3) WXGTK12=1
30455 ;;
30456 *) { { echo "$as_me:$LINENO: error:
30457 The development files for GTK+ were not found. For GTK+ 2, please
30458 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30459 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30460 and that the version is 1.2.3 or above. Also check that the
30461 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30462 --libs' are in the LD_LIBRARY_PATH or equivalent.
30463 " >&5
30464 echo "$as_me: error:
30465 The development files for GTK+ were not found. For GTK+ 2, please
30466 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30467 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30468 and that the version is 1.2.3 or above. Also check that the
30469 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30470 --libs' are in the LD_LIBRARY_PATH or equivalent.
30471 " >&2;}
30472 { (exit 1); exit 1; }; }
30473 ;;
30474 esac
30475
30476 if test "$WXGTK2" = 1; then
30477 save_CFLAGS="$CFLAGS"
30478 save_LIBS="$LIBS"
30479 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
30480 LIBS="$LIBS $wx_cv_libs_gtk"
30481
30482 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.18" >&5
30483 echo $ECHO_N "checking if GTK+ is version >= 2.18... $ECHO_C" >&6; }
30484 cat >conftest.$ac_ext <<_ACEOF
30485 /* confdefs.h. */
30486 _ACEOF
30487 cat confdefs.h >>conftest.$ac_ext
30488 cat >>conftest.$ac_ext <<_ACEOF
30489 /* end confdefs.h. */
30490
30491 #include <gtk/gtk.h>
30492
30493 int
30494 main ()
30495 {
30496
30497 #if !GTK_CHECK_VERSION(2,18,0)
30498 Not GTK+ 2.18
30499 #endif
30500
30501 ;
30502 return 0;
30503 }
30504 _ACEOF
30505 rm -f conftest.$ac_objext
30506 if { (ac_try="$ac_compile"
30507 case "(($ac_try" in
30508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30509 *) ac_try_echo=$ac_try;;
30510 esac
30511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30512 (eval "$ac_compile") 2>conftest.er1
30513 ac_status=$?
30514 grep -v '^ *+' conftest.er1 >conftest.err
30515 rm -f conftest.er1
30516 cat conftest.err >&5
30517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30518 (exit $ac_status); } && {
30519 test -z "$ac_c_werror_flag" ||
30520 test ! -s conftest.err
30521 } && test -s conftest.$ac_objext; then
30522
30523 cat >>confdefs.h <<\_ACEOF
30524 #define __WXGTK218__ 1
30525 _ACEOF
30526
30527 cat >>confdefs.h <<\_ACEOF
30528 #define __WXGTK210__ 1
30529 _ACEOF
30530
30531 cat >>confdefs.h <<\_ACEOF
30532 #define __WXGTK26__ 1
30533 _ACEOF
30534
30535 { echo "$as_me:$LINENO: result: yes" >&5
30536 echo "${ECHO_T}yes" >&6; }
30537 ac_wxgtk218=1
30538
30539 else
30540 echo "$as_me: failed program was:" >&5
30541 sed 's/^/| /' conftest.$ac_ext >&5
30542
30543
30544 { echo "$as_me:$LINENO: result: no" >&5
30545 echo "${ECHO_T}no" >&6; }
30546 ac_wxgtk218=0
30547
30548 fi
30549
30550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30551
30552 if test "$ac_wxgtk218" = 0; then
30553 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
30554 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
30555 cat >conftest.$ac_ext <<_ACEOF
30556 /* confdefs.h. */
30557 _ACEOF
30558 cat confdefs.h >>conftest.$ac_ext
30559 cat >>conftest.$ac_ext <<_ACEOF
30560 /* end confdefs.h. */
30561
30562 #include <gtk/gtk.h>
30563
30564 int
30565 main ()
30566 {
30567
30568 #if !GTK_CHECK_VERSION(2,10,0)
30569 Not GTK+ 2.10
30570 #endif
30571
30572 ;
30573 return 0;
30574 }
30575 _ACEOF
30576 rm -f conftest.$ac_objext
30577 if { (ac_try="$ac_compile"
30578 case "(($ac_try" in
30579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30580 *) ac_try_echo=$ac_try;;
30581 esac
30582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30583 (eval "$ac_compile") 2>conftest.er1
30584 ac_status=$?
30585 grep -v '^ *+' conftest.er1 >conftest.err
30586 rm -f conftest.er1
30587 cat conftest.err >&5
30588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30589 (exit $ac_status); } && {
30590 test -z "$ac_c_werror_flag" ||
30591 test ! -s conftest.err
30592 } && test -s conftest.$ac_objext; then
30593
30594 cat >>confdefs.h <<\_ACEOF
30595 #define __WXGTK210__ 1
30596 _ACEOF
30597
30598 cat >>confdefs.h <<\_ACEOF
30599 #define __WXGTK26__ 1
30600 _ACEOF
30601
30602 { echo "$as_me:$LINENO: result: yes" >&5
30603 echo "${ECHO_T}yes" >&6; }
30604 ac_wxgtk210=1
30605
30606 else
30607 echo "$as_me: failed program was:" >&5
30608 sed 's/^/| /' conftest.$ac_ext >&5
30609
30610
30611 { echo "$as_me:$LINENO: result: no" >&5
30612 echo "${ECHO_T}no" >&6; }
30613 ac_wxgtk210=0
30614
30615 fi
30616
30617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30618
30619 if test "$ac_wxgtk210" = 0; then
30620 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
30621 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
30622 cat >conftest.$ac_ext <<_ACEOF
30623 /* confdefs.h. */
30624 _ACEOF
30625 cat confdefs.h >>conftest.$ac_ext
30626 cat >>conftest.$ac_ext <<_ACEOF
30627 /* end confdefs.h. */
30628
30629 #include <gtk/gtk.h>
30630
30631 int
30632 main ()
30633 {
30634
30635 #if !GTK_CHECK_VERSION(2,6,0)
30636 Not GTK+ 2.6
30637 #endif
30638
30639 ;
30640 return 0;
30641 }
30642 _ACEOF
30643 rm -f conftest.$ac_objext
30644 if { (ac_try="$ac_compile"
30645 case "(($ac_try" in
30646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30647 *) ac_try_echo=$ac_try;;
30648 esac
30649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30650 (eval "$ac_compile") 2>conftest.er1
30651 ac_status=$?
30652 grep -v '^ *+' conftest.er1 >conftest.err
30653 rm -f conftest.er1
30654 cat conftest.err >&5
30655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30656 (exit $ac_status); } && {
30657 test -z "$ac_c_werror_flag" ||
30658 test ! -s conftest.err
30659 } && test -s conftest.$ac_objext; then
30660
30661 cat >>confdefs.h <<\_ACEOF
30662 #define __WXGTK26__ 1
30663 _ACEOF
30664
30665 { echo "$as_me:$LINENO: result: yes" >&5
30666 echo "${ECHO_T}yes" >&6; }
30667 ac_wxgtk26=1
30668
30669 else
30670 echo "$as_me: failed program was:" >&5
30671 sed 's/^/| /' conftest.$ac_ext >&5
30672
30673
30674 { echo "$as_me:$LINENO: result: no" >&5
30675 echo "${ECHO_T}no" >&6; }
30676 ac_wxgtk26=0
30677
30678 fi
30679
30680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30681 fi
30682 fi
30683
30684 CFLAGS="$save_CFLAGS"
30685 LIBS="$save_LIBS"
30686 else
30687 if test "$wxUSE_UNICODE" = "yes"; then
30688 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
30689 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
30690 wxUSE_UNICODE=no
30691 fi
30692
30693 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
30694 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
30695 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
30696 echo $ECHO_N "(cached) $ECHO_C" >&6
30697 else
30698 ac_check_lib_save_LIBS=$LIBS
30699 LIBS="-lgdk $LIBS"
30700 cat >conftest.$ac_ext <<_ACEOF
30701 /* confdefs.h. */
30702 _ACEOF
30703 cat confdefs.h >>conftest.$ac_ext
30704 cat >>conftest.$ac_ext <<_ACEOF
30705 /* end confdefs.h. */
30706
30707 /* Override any GCC internal prototype to avoid an error.
30708 Use char because int might match the return type of a GCC
30709 builtin and then its argument prototype would still apply. */
30710 #ifdef __cplusplus
30711 extern "C"
30712 #endif
30713 char gdk_im_open ();
30714 int
30715 main ()
30716 {
30717 return gdk_im_open ();
30718 ;
30719 return 0;
30720 }
30721 _ACEOF
30722 rm -f conftest.$ac_objext conftest$ac_exeext
30723 if { (ac_try="$ac_link"
30724 case "(($ac_try" in
30725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30726 *) ac_try_echo=$ac_try;;
30727 esac
30728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30729 (eval "$ac_link") 2>conftest.er1
30730 ac_status=$?
30731 grep -v '^ *+' conftest.er1 >conftest.err
30732 rm -f conftest.er1
30733 cat conftest.err >&5
30734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30735 (exit $ac_status); } && {
30736 test -z "$ac_c_werror_flag" ||
30737 test ! -s conftest.err
30738 } && test -s conftest$ac_exeext &&
30739 $as_test_x conftest$ac_exeext; then
30740 ac_cv_lib_gdk_gdk_im_open=yes
30741 else
30742 echo "$as_me: failed program was:" >&5
30743 sed 's/^/| /' conftest.$ac_ext >&5
30744
30745 ac_cv_lib_gdk_gdk_im_open=no
30746 fi
30747
30748 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30749 conftest$ac_exeext conftest.$ac_ext
30750 LIBS=$ac_check_lib_save_LIBS
30751 fi
30752 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
30753 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
30754 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
30755 cat >>confdefs.h <<\_ACEOF
30756 #define HAVE_XIM 1
30757 _ACEOF
30758
30759 fi
30760
30761
30762 if test "$USE_DARWIN" != 1; then
30763
30764 for ac_func in poll
30765 do
30766 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30767 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30768 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30769 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30770 echo $ECHO_N "(cached) $ECHO_C" >&6
30771 else
30772 cat >conftest.$ac_ext <<_ACEOF
30773 /* confdefs.h. */
30774 _ACEOF
30775 cat confdefs.h >>conftest.$ac_ext
30776 cat >>conftest.$ac_ext <<_ACEOF
30777 /* end confdefs.h. */
30778 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30779 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30780 #define $ac_func innocuous_$ac_func
30781
30782 /* System header to define __stub macros and hopefully few prototypes,
30783 which can conflict with char $ac_func (); below.
30784 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30785 <limits.h> exists even on freestanding compilers. */
30786
30787 #ifdef __STDC__
30788 # include <limits.h>
30789 #else
30790 # include <assert.h>
30791 #endif
30792
30793 #undef $ac_func
30794
30795 /* Override any GCC internal prototype to avoid an error.
30796 Use char because int might match the return type of a GCC
30797 builtin and then its argument prototype would still apply. */
30798 #ifdef __cplusplus
30799 extern "C"
30800 #endif
30801 char $ac_func ();
30802 /* The GNU C library defines this for functions which it implements
30803 to always fail with ENOSYS. Some functions are actually named
30804 something starting with __ and the normal name is an alias. */
30805 #if defined __stub_$ac_func || defined __stub___$ac_func
30806 choke me
30807 #endif
30808
30809 int
30810 main ()
30811 {
30812 return $ac_func ();
30813 ;
30814 return 0;
30815 }
30816 _ACEOF
30817 rm -f conftest.$ac_objext conftest$ac_exeext
30818 if { (ac_try="$ac_link"
30819 case "(($ac_try" in
30820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30821 *) ac_try_echo=$ac_try;;
30822 esac
30823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30824 (eval "$ac_link") 2>conftest.er1
30825 ac_status=$?
30826 grep -v '^ *+' conftest.er1 >conftest.err
30827 rm -f conftest.er1
30828 cat conftest.err >&5
30829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30830 (exit $ac_status); } && {
30831 test -z "$ac_c_werror_flag" ||
30832 test ! -s conftest.err
30833 } && test -s conftest$ac_exeext &&
30834 $as_test_x conftest$ac_exeext; then
30835 eval "$as_ac_var=yes"
30836 else
30837 echo "$as_me: failed program was:" >&5
30838 sed 's/^/| /' conftest.$ac_ext >&5
30839
30840 eval "$as_ac_var=no"
30841 fi
30842
30843 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30844 conftest$ac_exeext conftest.$ac_ext
30845 fi
30846 ac_res=`eval echo '${'$as_ac_var'}'`
30847 { echo "$as_me:$LINENO: result: $ac_res" >&5
30848 echo "${ECHO_T}$ac_res" >&6; }
30849 if test `eval echo '${'$as_ac_var'}'` = yes; then
30850 cat >>confdefs.h <<_ACEOF
30851 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30852 _ACEOF
30853
30854 fi
30855 done
30856
30857 fi
30858 fi
30859
30860 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
30861 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
30862
30863 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE -DG_DISABLE_CAST_CHECKS"
30864
30865 AFMINSTALL=afminstall
30866 TOOLKIT=GTK
30867 GUIDIST=GTK_DIST
30868
30869 if test "$wxUSE_GPE" = "yes"; then
30870 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
30871 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
30872
30873 ac_find_libraries=
30874 for ac_dir in $SEARCH_LIB;
30875 do
30876 for ac_extension in a so sl dylib dll.a; do
30877 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
30878 ac_find_libraries=$ac_dir
30879 break 2
30880 fi
30881 done
30882 done
30883
30884 if test "$ac_find_libraries" != "" ; then
30885
30886 if test "$ac_find_libraries" = "default location"; then
30887 ac_path_to_link=""
30888 else
30889 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
30890 result=$?
30891 if test $result = 0; then
30892 ac_path_to_link=""
30893 else
30894 ac_path_to_link=" -L$ac_find_libraries"
30895 fi
30896 fi
30897
30898 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
30899 WXGPE=1
30900 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30901 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
30902 else
30903 { echo "$as_me:$LINENO: result: not found" >&5
30904 echo "${ECHO_T}not found" >&6; }
30905 fi
30906
30907 fi
30908 fi
30909
30910 if test "$wxUSE_MGL" = 1; then
30911 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
30912 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
30913 if test "x$MGL_ROOT" = x ; then
30914 { echo "$as_me:$LINENO: result: not found" >&5
30915 echo "${ECHO_T}not found" >&6; }
30916 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
30917 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
30918 { (exit 1); exit 1; }; }
30919 else
30920 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
30921 echo "${ECHO_T}$MGL_ROOT" >&6; }
30922 fi
30923
30924 { echo "$as_me:$LINENO: checking for libmgl location" >&5
30925 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
30926 case "${host}" in
30927 *-*-linux* )
30928 if test "x$wxUSE_SHARED" = xyes ; then
30929 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
30930 else
30931 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
30932 fi
30933 ;;
30934 *-pc-msdosdjgpp )
30935 mgl_os_candidates="dos32/dj2"
30936 ;;
30937 *)
30938 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
30939 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
30940 { (exit 1); exit 1; }; }
30941 esac
30942
30943 mgl_lib_type=""
30944 mgl_os=""
30945
30946 for mgl_os_i in $mgl_os_candidates ; do
30947 if test "x$mgl_os" = x ; then
30948 if test "$wxUSE_DEBUG_FLAG" = yes ; then
30949 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
30950 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
30951 mgl_lib_type=debug
30952 mgl_os=$mgl_os_i
30953 fi
30954 fi
30955 if test "x$mgl_lib_type" = x ; then
30956 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
30957 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
30958 mgl_lib_type=release
30959 mgl_os=$mgl_os_i
30960 fi
30961 fi
30962 fi
30963 done
30964
30965 if test "x$mgl_os" = x ; then
30966 { echo "$as_me:$LINENO: result: not found" >&5
30967 echo "${ECHO_T}not found" >&6; }
30968 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
30969 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
30970 { (exit 1); exit 1; }; }
30971 fi
30972 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
30973 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
30974
30975 wxUSE_UNIVERSAL="yes"
30976
30977 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
30978 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
30979
30980 AFMINSTALL=afminstall
30981 TOOLKIT=MGL
30982 GUIDIST=MGL_DIST
30983 fi
30984
30985 if test "$wxUSE_DFB" = 1; then
30986
30987
30988 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30989 if test -n "$ac_tool_prefix"; then
30990 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30991 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30992 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30993 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30994 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30995 echo $ECHO_N "(cached) $ECHO_C" >&6
30996 else
30997 case $PKG_CONFIG in
30998 [\\/]* | ?:[\\/]*)
30999 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31000 ;;
31001 *)
31002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31003 for as_dir in $PATH
31004 do
31005 IFS=$as_save_IFS
31006 test -z "$as_dir" && as_dir=.
31007 for ac_exec_ext in '' $ac_executable_extensions; do
31008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31009 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31010 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31011 break 2
31012 fi
31013 done
31014 done
31015 IFS=$as_save_IFS
31016
31017 ;;
31018 esac
31019 fi
31020 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31021 if test -n "$PKG_CONFIG"; then
31022 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31023 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31024 else
31025 { echo "$as_me:$LINENO: result: no" >&5
31026 echo "${ECHO_T}no" >&6; }
31027 fi
31028
31029
31030 fi
31031 if test -z "$ac_cv_path_PKG_CONFIG"; then
31032 ac_pt_PKG_CONFIG=$PKG_CONFIG
31033 # Extract the first word of "pkg-config", so it can be a program name with args.
31034 set dummy pkg-config; ac_word=$2
31035 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31036 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31037 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31038 echo $ECHO_N "(cached) $ECHO_C" >&6
31039 else
31040 case $ac_pt_PKG_CONFIG in
31041 [\\/]* | ?:[\\/]*)
31042 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31043 ;;
31044 *)
31045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31046 for as_dir in $PATH
31047 do
31048 IFS=$as_save_IFS
31049 test -z "$as_dir" && as_dir=.
31050 for ac_exec_ext in '' $ac_executable_extensions; do
31051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31052 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31053 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31054 break 2
31055 fi
31056 done
31057 done
31058 IFS=$as_save_IFS
31059
31060 ;;
31061 esac
31062 fi
31063 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31064 if test -n "$ac_pt_PKG_CONFIG"; then
31065 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31066 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31067 else
31068 { echo "$as_me:$LINENO: result: no" >&5
31069 echo "${ECHO_T}no" >&6; }
31070 fi
31071
31072 if test "x$ac_pt_PKG_CONFIG" = x; then
31073 PKG_CONFIG=""
31074 else
31075 case $cross_compiling:$ac_tool_warned in
31076 yes:)
31077 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31078 whose name does not start with the host triplet. If you think this
31079 configuration is useful to you, please write to autoconf@gnu.org." >&5
31080 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31081 whose name does not start with the host triplet. If you think this
31082 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31083 ac_tool_warned=yes ;;
31084 esac
31085 PKG_CONFIG=$ac_pt_PKG_CONFIG
31086 fi
31087 else
31088 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31089 fi
31090
31091 fi
31092 if test -n "$PKG_CONFIG"; then
31093 _pkg_min_version=0.9.0
31094 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31095 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31096 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31097 { echo "$as_me:$LINENO: result: yes" >&5
31098 echo "${ECHO_T}yes" >&6; }
31099 else
31100 { echo "$as_me:$LINENO: result: no" >&5
31101 echo "${ECHO_T}no" >&6; }
31102 PKG_CONFIG=""
31103 fi
31104
31105 fi
31106
31107
31108 pkg_failed=no
31109 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
31110 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
31111
31112 if test -n "$PKG_CONFIG"; then
31113 if test -n "$DIRECTFB_CFLAGS"; then
31114 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
31115 else
31116 if test -n "$PKG_CONFIG" && \
31117 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31118 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31119 ac_status=$?
31120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31121 (exit $ac_status); }; then
31122 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
31123 else
31124 pkg_failed=yes
31125 fi
31126 fi
31127 else
31128 pkg_failed=untried
31129 fi
31130 if test -n "$PKG_CONFIG"; then
31131 if test -n "$DIRECTFB_LIBS"; then
31132 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
31133 else
31134 if test -n "$PKG_CONFIG" && \
31135 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31136 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31137 ac_status=$?
31138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31139 (exit $ac_status); }; then
31140 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
31141 else
31142 pkg_failed=yes
31143 fi
31144 fi
31145 else
31146 pkg_failed=untried
31147 fi
31148
31149
31150
31151 if test $pkg_failed = yes; then
31152
31153 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31154 _pkg_short_errors_supported=yes
31155 else
31156 _pkg_short_errors_supported=no
31157 fi
31158 if test $_pkg_short_errors_supported = yes; then
31159 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31160 else
31161 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31162 fi
31163 # Put the nasty error message in config.log where it belongs
31164 echo "$DIRECTFB_PKG_ERRORS" >&5
31165
31166
31167 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31168 echo "$as_me: error: DirectFB not found." >&2;}
31169 { (exit 1); exit 1; }; }
31170
31171
31172 elif test $pkg_failed = untried; then
31173
31174 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31175 echo "$as_me: error: DirectFB not found." >&2;}
31176 { (exit 1); exit 1; }; }
31177
31178
31179 else
31180 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
31181 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
31182 { echo "$as_me:$LINENO: result: yes" >&5
31183 echo "${ECHO_T}yes" >&6; }
31184
31185 wxUSE_UNIVERSAL="yes"
31186 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
31187 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
31188 TOOLKIT=DFB
31189 GUIDIST=DFB_DIST
31190
31191 fi
31192 fi
31193
31194 if test "$wxUSE_MICROWIN" = 1; then
31195 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
31196 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
31197 if test "x$MICROWINDOWS" = x ; then
31198 { echo "$as_me:$LINENO: result: not found" >&5
31199 echo "${ECHO_T}not found" >&6; }
31200 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
31201 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
31202 { (exit 1); exit 1; }; }
31203 else
31204 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
31205 echo "${ECHO_T}$MICROWINDOWS" >&6; }
31206 fi
31207
31208 if test -f $MICROWINDOWS/lib/libmwin.a; then
31209 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
31210 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
31211 else
31212 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
31213 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
31214 { (exit 1); exit 1; }; }
31215 fi
31216
31217 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
31218 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
31219
31220 wxUSE_UNIVERSAL="yes"
31221
31222 AFMINSTALL=afminstall
31223 TOOLKIT=MICROWIN
31224 GUIDIST=MICROWIN_DIST
31225
31226 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
31227 fi
31228
31229 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31230 { echo "$as_me:$LINENO: checking for X" >&5
31231 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
31232
31233
31234 # Check whether --with-x was given.
31235 if test "${with_x+set}" = set; then
31236 withval=$with_x;
31237 fi
31238
31239 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
31240 if test "x$with_x" = xno; then
31241 # The user explicitly disabled X.
31242 have_x=disabled
31243 else
31244 case $x_includes,$x_libraries in #(
31245 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
31246 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
31247 { (exit 1); exit 1; }; };; #(
31248 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
31249 echo $ECHO_N "(cached) $ECHO_C" >&6
31250 else
31251 # One or both of the vars are not set, and there is no cached value.
31252 ac_x_includes=no ac_x_libraries=no
31253 rm -f -r conftest.dir
31254 if mkdir conftest.dir; then
31255 cd conftest.dir
31256 cat >Imakefile <<'_ACEOF'
31257 incroot:
31258 @echo incroot='${INCROOT}'
31259 usrlibdir:
31260 @echo usrlibdir='${USRLIBDIR}'
31261 libdir:
31262 @echo libdir='${LIBDIR}'
31263 _ACEOF
31264 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
31265 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
31266 for ac_var in incroot usrlibdir libdir; do
31267 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
31268 done
31269 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
31270 for ac_extension in a so sl; do
31271 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
31272 test -f "$ac_im_libdir/libX11.$ac_extension"; then
31273 ac_im_usrlibdir=$ac_im_libdir; break
31274 fi
31275 done
31276 # Screen out bogus values from the imake configuration. They are
31277 # bogus both because they are the default anyway, and because
31278 # using them would break gcc on systems where it needs fixed includes.
31279 case $ac_im_incroot in
31280 /usr/include) ac_x_includes= ;;
31281 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
31282 esac
31283 case $ac_im_usrlibdir in
31284 /usr/lib | /lib) ;;
31285 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
31286 esac
31287 fi
31288 cd ..
31289 rm -f -r conftest.dir
31290 fi
31291
31292 # Standard set of common directories for X headers.
31293 # Check X11 before X11Rn because it is often a symlink to the current release.
31294 ac_x_header_dirs='
31295 /usr/X11/include
31296 /usr/X11R6/include
31297 /usr/X11R5/include
31298 /usr/X11R4/include
31299
31300 /usr/include/X11
31301 /usr/include/X11R6
31302 /usr/include/X11R5
31303 /usr/include/X11R4
31304
31305 /usr/local/X11/include
31306 /usr/local/X11R6/include
31307 /usr/local/X11R5/include
31308 /usr/local/X11R4/include
31309
31310 /usr/local/include/X11
31311 /usr/local/include/X11R6
31312 /usr/local/include/X11R5
31313 /usr/local/include/X11R4
31314
31315 /usr/X386/include
31316 /usr/x386/include
31317 /usr/XFree86/include/X11
31318
31319 /usr/include
31320 /usr/local/include
31321 /usr/unsupported/include
31322 /usr/athena/include
31323 /usr/local/x11r5/include
31324 /usr/lpp/Xamples/include
31325
31326 /usr/openwin/include
31327 /usr/openwin/share/include'
31328
31329 if test "$ac_x_includes" = no; then
31330 # Guess where to find include files, by looking for Xlib.h.
31331 # First, try using that file with no special directory specified.
31332 cat >conftest.$ac_ext <<_ACEOF
31333 /* confdefs.h. */
31334 _ACEOF
31335 cat confdefs.h >>conftest.$ac_ext
31336 cat >>conftest.$ac_ext <<_ACEOF
31337 /* end confdefs.h. */
31338 #include <X11/Xlib.h>
31339 _ACEOF
31340 if { (ac_try="$ac_cpp conftest.$ac_ext"
31341 case "(($ac_try" in
31342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31343 *) ac_try_echo=$ac_try;;
31344 esac
31345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31346 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31347 ac_status=$?
31348 grep -v '^ *+' conftest.er1 >conftest.err
31349 rm -f conftest.er1
31350 cat conftest.err >&5
31351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31352 (exit $ac_status); } >/dev/null && {
31353 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31354 test ! -s conftest.err
31355 }; then
31356 # We can compile using X headers with no special include directory.
31357 ac_x_includes=
31358 else
31359 echo "$as_me: failed program was:" >&5
31360 sed 's/^/| /' conftest.$ac_ext >&5
31361
31362 for ac_dir in $ac_x_header_dirs; do
31363 if test -r "$ac_dir/X11/Xlib.h"; then
31364 ac_x_includes=$ac_dir
31365 break
31366 fi
31367 done
31368 fi
31369
31370 rm -f conftest.err conftest.$ac_ext
31371 fi # $ac_x_includes = no
31372
31373 if test "$ac_x_libraries" = no; then
31374 # Check for the libraries.
31375 # See if we find them without any special options.
31376 # Don't add to $LIBS permanently.
31377 ac_save_LIBS=$LIBS
31378 LIBS="-lX11 $LIBS"
31379 cat >conftest.$ac_ext <<_ACEOF
31380 /* confdefs.h. */
31381 _ACEOF
31382 cat confdefs.h >>conftest.$ac_ext
31383 cat >>conftest.$ac_ext <<_ACEOF
31384 /* end confdefs.h. */
31385 #include <X11/Xlib.h>
31386 int
31387 main ()
31388 {
31389 XrmInitialize ()
31390 ;
31391 return 0;
31392 }
31393 _ACEOF
31394 rm -f conftest.$ac_objext conftest$ac_exeext
31395 if { (ac_try="$ac_link"
31396 case "(($ac_try" in
31397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31398 *) ac_try_echo=$ac_try;;
31399 esac
31400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31401 (eval "$ac_link") 2>conftest.er1
31402 ac_status=$?
31403 grep -v '^ *+' conftest.er1 >conftest.err
31404 rm -f conftest.er1
31405 cat conftest.err >&5
31406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31407 (exit $ac_status); } && {
31408 test -z "$ac_c_werror_flag" ||
31409 test ! -s conftest.err
31410 } && test -s conftest$ac_exeext &&
31411 $as_test_x conftest$ac_exeext; then
31412 LIBS=$ac_save_LIBS
31413 # We can link X programs with no special library path.
31414 ac_x_libraries=
31415 else
31416 echo "$as_me: failed program was:" >&5
31417 sed 's/^/| /' conftest.$ac_ext >&5
31418
31419 LIBS=$ac_save_LIBS
31420 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
31421 do
31422 # Don't even attempt the hair of trying to link an X program!
31423 for ac_extension in a so sl; do
31424 if test -r "$ac_dir/libX11.$ac_extension"; then
31425 ac_x_libraries=$ac_dir
31426 break 2
31427 fi
31428 done
31429 done
31430 fi
31431
31432 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31433 conftest$ac_exeext conftest.$ac_ext
31434 fi # $ac_x_libraries = no
31435
31436 case $ac_x_includes,$ac_x_libraries in #(
31437 no,* | *,no | *\'*)
31438 # Didn't find X, or a directory has "'" in its name.
31439 ac_cv_have_x="have_x=no";; #(
31440 *)
31441 # Record where we found X for the cache.
31442 ac_cv_have_x="have_x=yes\
31443 ac_x_includes='$ac_x_includes'\
31444 ac_x_libraries='$ac_x_libraries'"
31445 esac
31446 fi
31447 ;; #(
31448 *) have_x=yes;;
31449 esac
31450 eval "$ac_cv_have_x"
31451 fi # $with_x != no
31452
31453 if test "$have_x" != yes; then
31454 { echo "$as_me:$LINENO: result: $have_x" >&5
31455 echo "${ECHO_T}$have_x" >&6; }
31456 no_x=yes
31457 else
31458 # If each of the values was on the command line, it overrides each guess.
31459 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
31460 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
31461 # Update the cache value to reflect the command line values.
31462 ac_cv_have_x="have_x=yes\
31463 ac_x_includes='$x_includes'\
31464 ac_x_libraries='$x_libraries'"
31465 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
31466 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
31467 fi
31468
31469 if test "$no_x" = yes; then
31470 # Not all programs may use this symbol, but it does not hurt to define it.
31471
31472 cat >>confdefs.h <<\_ACEOF
31473 #define X_DISPLAY_MISSING 1
31474 _ACEOF
31475
31476 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
31477 else
31478 if test -n "$x_includes"; then
31479 X_CFLAGS="$X_CFLAGS -I$x_includes"
31480 fi
31481
31482 # It would also be nice to do this for all -L options, not just this one.
31483 if test -n "$x_libraries"; then
31484 X_LIBS="$X_LIBS -L$x_libraries"
31485 # For Solaris; some versions of Sun CC require a space after -R and
31486 # others require no space. Words are not sufficient . . . .
31487 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
31488 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
31489 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
31490 ac_xsave_c_werror_flag=$ac_c_werror_flag
31491 ac_c_werror_flag=yes
31492 cat >conftest.$ac_ext <<_ACEOF
31493 /* confdefs.h. */
31494 _ACEOF
31495 cat confdefs.h >>conftest.$ac_ext
31496 cat >>conftest.$ac_ext <<_ACEOF
31497 /* end confdefs.h. */
31498
31499 int
31500 main ()
31501 {
31502
31503 ;
31504 return 0;
31505 }
31506 _ACEOF
31507 rm -f conftest.$ac_objext conftest$ac_exeext
31508 if { (ac_try="$ac_link"
31509 case "(($ac_try" in
31510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31511 *) ac_try_echo=$ac_try;;
31512 esac
31513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31514 (eval "$ac_link") 2>conftest.er1
31515 ac_status=$?
31516 grep -v '^ *+' conftest.er1 >conftest.err
31517 rm -f conftest.er1
31518 cat conftest.err >&5
31519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31520 (exit $ac_status); } && {
31521 test -z "$ac_c_werror_flag" ||
31522 test ! -s conftest.err
31523 } && test -s conftest$ac_exeext &&
31524 $as_test_x conftest$ac_exeext; then
31525 { echo "$as_me:$LINENO: result: no" >&5
31526 echo "${ECHO_T}no" >&6; }
31527 X_LIBS="$X_LIBS -R$x_libraries"
31528 else
31529 echo "$as_me: failed program was:" >&5
31530 sed 's/^/| /' conftest.$ac_ext >&5
31531
31532 LIBS="$ac_xsave_LIBS -R $x_libraries"
31533 cat >conftest.$ac_ext <<_ACEOF
31534 /* confdefs.h. */
31535 _ACEOF
31536 cat confdefs.h >>conftest.$ac_ext
31537 cat >>conftest.$ac_ext <<_ACEOF
31538 /* end confdefs.h. */
31539
31540 int
31541 main ()
31542 {
31543
31544 ;
31545 return 0;
31546 }
31547 _ACEOF
31548 rm -f conftest.$ac_objext conftest$ac_exeext
31549 if { (ac_try="$ac_link"
31550 case "(($ac_try" in
31551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31552 *) ac_try_echo=$ac_try;;
31553 esac
31554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31555 (eval "$ac_link") 2>conftest.er1
31556 ac_status=$?
31557 grep -v '^ *+' conftest.er1 >conftest.err
31558 rm -f conftest.er1
31559 cat conftest.err >&5
31560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31561 (exit $ac_status); } && {
31562 test -z "$ac_c_werror_flag" ||
31563 test ! -s conftest.err
31564 } && test -s conftest$ac_exeext &&
31565 $as_test_x conftest$ac_exeext; then
31566 { echo "$as_me:$LINENO: result: yes" >&5
31567 echo "${ECHO_T}yes" >&6; }
31568 X_LIBS="$X_LIBS -R $x_libraries"
31569 else
31570 echo "$as_me: failed program was:" >&5
31571 sed 's/^/| /' conftest.$ac_ext >&5
31572
31573 { echo "$as_me:$LINENO: result: neither works" >&5
31574 echo "${ECHO_T}neither works" >&6; }
31575 fi
31576
31577 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31578 conftest$ac_exeext conftest.$ac_ext
31579 fi
31580
31581 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31582 conftest$ac_exeext conftest.$ac_ext
31583 ac_c_werror_flag=$ac_xsave_c_werror_flag
31584 LIBS=$ac_xsave_LIBS
31585 fi
31586
31587 # Check for system-dependent libraries X programs must link with.
31588 # Do this before checking for the system-independent R6 libraries
31589 # (-lICE), since we may need -lsocket or whatever for X linking.
31590
31591 if test "$ISC" = yes; then
31592 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
31593 else
31594 # Martyn Johnson says this is needed for Ultrix, if the X
31595 # libraries were built with DECnet support. And Karl Berry says
31596 # the Alpha needs dnet_stub (dnet does not exist).
31597 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
31598 cat >conftest.$ac_ext <<_ACEOF
31599 /* confdefs.h. */
31600 _ACEOF
31601 cat confdefs.h >>conftest.$ac_ext
31602 cat >>conftest.$ac_ext <<_ACEOF
31603 /* end confdefs.h. */
31604
31605 /* Override any GCC internal prototype to avoid an error.
31606 Use char because int might match the return type of a GCC
31607 builtin and then its argument prototype would still apply. */
31608 #ifdef __cplusplus
31609 extern "C"
31610 #endif
31611 char XOpenDisplay ();
31612 int
31613 main ()
31614 {
31615 return XOpenDisplay ();
31616 ;
31617 return 0;
31618 }
31619 _ACEOF
31620 rm -f conftest.$ac_objext conftest$ac_exeext
31621 if { (ac_try="$ac_link"
31622 case "(($ac_try" in
31623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31624 *) ac_try_echo=$ac_try;;
31625 esac
31626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31627 (eval "$ac_link") 2>conftest.er1
31628 ac_status=$?
31629 grep -v '^ *+' conftest.er1 >conftest.err
31630 rm -f conftest.er1
31631 cat conftest.err >&5
31632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31633 (exit $ac_status); } && {
31634 test -z "$ac_c_werror_flag" ||
31635 test ! -s conftest.err
31636 } && test -s conftest$ac_exeext &&
31637 $as_test_x conftest$ac_exeext; then
31638 :
31639 else
31640 echo "$as_me: failed program was:" >&5
31641 sed 's/^/| /' conftest.$ac_ext >&5
31642
31643 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
31644 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
31645 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
31646 echo $ECHO_N "(cached) $ECHO_C" >&6
31647 else
31648 ac_check_lib_save_LIBS=$LIBS
31649 LIBS="-ldnet $LIBS"
31650 cat >conftest.$ac_ext <<_ACEOF
31651 /* confdefs.h. */
31652 _ACEOF
31653 cat confdefs.h >>conftest.$ac_ext
31654 cat >>conftest.$ac_ext <<_ACEOF
31655 /* end confdefs.h. */
31656
31657 /* Override any GCC internal prototype to avoid an error.
31658 Use char because int might match the return type of a GCC
31659 builtin and then its argument prototype would still apply. */
31660 #ifdef __cplusplus
31661 extern "C"
31662 #endif
31663 char dnet_ntoa ();
31664 int
31665 main ()
31666 {
31667 return dnet_ntoa ();
31668 ;
31669 return 0;
31670 }
31671 _ACEOF
31672 rm -f conftest.$ac_objext conftest$ac_exeext
31673 if { (ac_try="$ac_link"
31674 case "(($ac_try" in
31675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31676 *) ac_try_echo=$ac_try;;
31677 esac
31678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31679 (eval "$ac_link") 2>conftest.er1
31680 ac_status=$?
31681 grep -v '^ *+' conftest.er1 >conftest.err
31682 rm -f conftest.er1
31683 cat conftest.err >&5
31684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31685 (exit $ac_status); } && {
31686 test -z "$ac_c_werror_flag" ||
31687 test ! -s conftest.err
31688 } && test -s conftest$ac_exeext &&
31689 $as_test_x conftest$ac_exeext; then
31690 ac_cv_lib_dnet_dnet_ntoa=yes
31691 else
31692 echo "$as_me: failed program was:" >&5
31693 sed 's/^/| /' conftest.$ac_ext >&5
31694
31695 ac_cv_lib_dnet_dnet_ntoa=no
31696 fi
31697
31698 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31699 conftest$ac_exeext conftest.$ac_ext
31700 LIBS=$ac_check_lib_save_LIBS
31701 fi
31702 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
31703 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
31704 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
31705 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
31706 fi
31707
31708 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
31709 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
31710 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
31711 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
31712 echo $ECHO_N "(cached) $ECHO_C" >&6
31713 else
31714 ac_check_lib_save_LIBS=$LIBS
31715 LIBS="-ldnet_stub $LIBS"
31716 cat >conftest.$ac_ext <<_ACEOF
31717 /* confdefs.h. */
31718 _ACEOF
31719 cat confdefs.h >>conftest.$ac_ext
31720 cat >>conftest.$ac_ext <<_ACEOF
31721 /* end confdefs.h. */
31722
31723 /* Override any GCC internal prototype to avoid an error.
31724 Use char because int might match the return type of a GCC
31725 builtin and then its argument prototype would still apply. */
31726 #ifdef __cplusplus
31727 extern "C"
31728 #endif
31729 char dnet_ntoa ();
31730 int
31731 main ()
31732 {
31733 return dnet_ntoa ();
31734 ;
31735 return 0;
31736 }
31737 _ACEOF
31738 rm -f conftest.$ac_objext conftest$ac_exeext
31739 if { (ac_try="$ac_link"
31740 case "(($ac_try" in
31741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31742 *) ac_try_echo=$ac_try;;
31743 esac
31744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31745 (eval "$ac_link") 2>conftest.er1
31746 ac_status=$?
31747 grep -v '^ *+' conftest.er1 >conftest.err
31748 rm -f conftest.er1
31749 cat conftest.err >&5
31750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31751 (exit $ac_status); } && {
31752 test -z "$ac_c_werror_flag" ||
31753 test ! -s conftest.err
31754 } && test -s conftest$ac_exeext &&
31755 $as_test_x conftest$ac_exeext; then
31756 ac_cv_lib_dnet_stub_dnet_ntoa=yes
31757 else
31758 echo "$as_me: failed program was:" >&5
31759 sed 's/^/| /' conftest.$ac_ext >&5
31760
31761 ac_cv_lib_dnet_stub_dnet_ntoa=no
31762 fi
31763
31764 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31765 conftest$ac_exeext conftest.$ac_ext
31766 LIBS=$ac_check_lib_save_LIBS
31767 fi
31768 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
31769 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
31770 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
31771 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
31772 fi
31773
31774 fi
31775 fi
31776
31777 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31778 conftest$ac_exeext conftest.$ac_ext
31779 LIBS="$ac_xsave_LIBS"
31780
31781 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
31782 # to get the SysV transport functions.
31783 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
31784 # needs -lnsl.
31785 # The nsl library prevents programs from opening the X display
31786 # on Irix 5.2, according to T.E. Dickey.
31787 # The functions gethostbyname, getservbyname, and inet_addr are
31788 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
31789 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
31790 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
31791 if test "${ac_cv_func_gethostbyname+set}" = set; then
31792 echo $ECHO_N "(cached) $ECHO_C" >&6
31793 else
31794 cat >conftest.$ac_ext <<_ACEOF
31795 /* confdefs.h. */
31796 _ACEOF
31797 cat confdefs.h >>conftest.$ac_ext
31798 cat >>conftest.$ac_ext <<_ACEOF
31799 /* end confdefs.h. */
31800 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
31801 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31802 #define gethostbyname innocuous_gethostbyname
31803
31804 /* System header to define __stub macros and hopefully few prototypes,
31805 which can conflict with char gethostbyname (); below.
31806 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31807 <limits.h> exists even on freestanding compilers. */
31808
31809 #ifdef __STDC__
31810 # include <limits.h>
31811 #else
31812 # include <assert.h>
31813 #endif
31814
31815 #undef gethostbyname
31816
31817 /* Override any GCC internal prototype to avoid an error.
31818 Use char because int might match the return type of a GCC
31819 builtin and then its argument prototype would still apply. */
31820 #ifdef __cplusplus
31821 extern "C"
31822 #endif
31823 char gethostbyname ();
31824 /* The GNU C library defines this for functions which it implements
31825 to always fail with ENOSYS. Some functions are actually named
31826 something starting with __ and the normal name is an alias. */
31827 #if defined __stub_gethostbyname || defined __stub___gethostbyname
31828 choke me
31829 #endif
31830
31831 int
31832 main ()
31833 {
31834 return gethostbyname ();
31835 ;
31836 return 0;
31837 }
31838 _ACEOF
31839 rm -f conftest.$ac_objext conftest$ac_exeext
31840 if { (ac_try="$ac_link"
31841 case "(($ac_try" in
31842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31843 *) ac_try_echo=$ac_try;;
31844 esac
31845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31846 (eval "$ac_link") 2>conftest.er1
31847 ac_status=$?
31848 grep -v '^ *+' conftest.er1 >conftest.err
31849 rm -f conftest.er1
31850 cat conftest.err >&5
31851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31852 (exit $ac_status); } && {
31853 test -z "$ac_c_werror_flag" ||
31854 test ! -s conftest.err
31855 } && test -s conftest$ac_exeext &&
31856 $as_test_x conftest$ac_exeext; then
31857 ac_cv_func_gethostbyname=yes
31858 else
31859 echo "$as_me: failed program was:" >&5
31860 sed 's/^/| /' conftest.$ac_ext >&5
31861
31862 ac_cv_func_gethostbyname=no
31863 fi
31864
31865 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31866 conftest$ac_exeext conftest.$ac_ext
31867 fi
31868 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
31869 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
31870
31871 if test $ac_cv_func_gethostbyname = no; then
31872 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
31873 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
31874 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
31875 echo $ECHO_N "(cached) $ECHO_C" >&6
31876 else
31877 ac_check_lib_save_LIBS=$LIBS
31878 LIBS="-lnsl $LIBS"
31879 cat >conftest.$ac_ext <<_ACEOF
31880 /* confdefs.h. */
31881 _ACEOF
31882 cat confdefs.h >>conftest.$ac_ext
31883 cat >>conftest.$ac_ext <<_ACEOF
31884 /* end confdefs.h. */
31885
31886 /* Override any GCC internal prototype to avoid an error.
31887 Use char because int might match the return type of a GCC
31888 builtin and then its argument prototype would still apply. */
31889 #ifdef __cplusplus
31890 extern "C"
31891 #endif
31892 char gethostbyname ();
31893 int
31894 main ()
31895 {
31896 return gethostbyname ();
31897 ;
31898 return 0;
31899 }
31900 _ACEOF
31901 rm -f conftest.$ac_objext conftest$ac_exeext
31902 if { (ac_try="$ac_link"
31903 case "(($ac_try" in
31904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31905 *) ac_try_echo=$ac_try;;
31906 esac
31907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31908 (eval "$ac_link") 2>conftest.er1
31909 ac_status=$?
31910 grep -v '^ *+' conftest.er1 >conftest.err
31911 rm -f conftest.er1
31912 cat conftest.err >&5
31913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31914 (exit $ac_status); } && {
31915 test -z "$ac_c_werror_flag" ||
31916 test ! -s conftest.err
31917 } && test -s conftest$ac_exeext &&
31918 $as_test_x conftest$ac_exeext; then
31919 ac_cv_lib_nsl_gethostbyname=yes
31920 else
31921 echo "$as_me: failed program was:" >&5
31922 sed 's/^/| /' conftest.$ac_ext >&5
31923
31924 ac_cv_lib_nsl_gethostbyname=no
31925 fi
31926
31927 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31928 conftest$ac_exeext conftest.$ac_ext
31929 LIBS=$ac_check_lib_save_LIBS
31930 fi
31931 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
31932 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
31933 if test $ac_cv_lib_nsl_gethostbyname = yes; then
31934 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
31935 fi
31936
31937 if test $ac_cv_lib_nsl_gethostbyname = no; then
31938 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
31939 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
31940 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
31941 echo $ECHO_N "(cached) $ECHO_C" >&6
31942 else
31943 ac_check_lib_save_LIBS=$LIBS
31944 LIBS="-lbsd $LIBS"
31945 cat >conftest.$ac_ext <<_ACEOF
31946 /* confdefs.h. */
31947 _ACEOF
31948 cat confdefs.h >>conftest.$ac_ext
31949 cat >>conftest.$ac_ext <<_ACEOF
31950 /* end confdefs.h. */
31951
31952 /* Override any GCC internal prototype to avoid an error.
31953 Use char because int might match the return type of a GCC
31954 builtin and then its argument prototype would still apply. */
31955 #ifdef __cplusplus
31956 extern "C"
31957 #endif
31958 char gethostbyname ();
31959 int
31960 main ()
31961 {
31962 return gethostbyname ();
31963 ;
31964 return 0;
31965 }
31966 _ACEOF
31967 rm -f conftest.$ac_objext conftest$ac_exeext
31968 if { (ac_try="$ac_link"
31969 case "(($ac_try" in
31970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31971 *) ac_try_echo=$ac_try;;
31972 esac
31973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31974 (eval "$ac_link") 2>conftest.er1
31975 ac_status=$?
31976 grep -v '^ *+' conftest.er1 >conftest.err
31977 rm -f conftest.er1
31978 cat conftest.err >&5
31979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31980 (exit $ac_status); } && {
31981 test -z "$ac_c_werror_flag" ||
31982 test ! -s conftest.err
31983 } && test -s conftest$ac_exeext &&
31984 $as_test_x conftest$ac_exeext; then
31985 ac_cv_lib_bsd_gethostbyname=yes
31986 else
31987 echo "$as_me: failed program was:" >&5
31988 sed 's/^/| /' conftest.$ac_ext >&5
31989
31990 ac_cv_lib_bsd_gethostbyname=no
31991 fi
31992
31993 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31994 conftest$ac_exeext conftest.$ac_ext
31995 LIBS=$ac_check_lib_save_LIBS
31996 fi
31997 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
31998 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
31999 if test $ac_cv_lib_bsd_gethostbyname = yes; then
32000 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
32001 fi
32002
32003 fi
32004 fi
32005
32006 # lieder@skyler.mavd.honeywell.com says without -lsocket,
32007 # socket/setsockopt and other routines are undefined under SCO ODT
32008 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
32009 # on later versions), says Simon Leinen: it contains gethostby*
32010 # variants that don't use the name server (or something). -lsocket
32011 # must be given before -lnsl if both are needed. We assume that
32012 # if connect needs -lnsl, so does gethostbyname.
32013 { echo "$as_me:$LINENO: checking for connect" >&5
32014 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
32015 if test "${ac_cv_func_connect+set}" = set; then
32016 echo $ECHO_N "(cached) $ECHO_C" >&6
32017 else
32018 cat >conftest.$ac_ext <<_ACEOF
32019 /* confdefs.h. */
32020 _ACEOF
32021 cat confdefs.h >>conftest.$ac_ext
32022 cat >>conftest.$ac_ext <<_ACEOF
32023 /* end confdefs.h. */
32024 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
32025 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32026 #define connect innocuous_connect
32027
32028 /* System header to define __stub macros and hopefully few prototypes,
32029 which can conflict with char connect (); below.
32030 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32031 <limits.h> exists even on freestanding compilers. */
32032
32033 #ifdef __STDC__
32034 # include <limits.h>
32035 #else
32036 # include <assert.h>
32037 #endif
32038
32039 #undef connect
32040
32041 /* Override any GCC internal prototype to avoid an error.
32042 Use char because int might match the return type of a GCC
32043 builtin and then its argument prototype would still apply. */
32044 #ifdef __cplusplus
32045 extern "C"
32046 #endif
32047 char connect ();
32048 /* The GNU C library defines this for functions which it implements
32049 to always fail with ENOSYS. Some functions are actually named
32050 something starting with __ and the normal name is an alias. */
32051 #if defined __stub_connect || defined __stub___connect
32052 choke me
32053 #endif
32054
32055 int
32056 main ()
32057 {
32058 return connect ();
32059 ;
32060 return 0;
32061 }
32062 _ACEOF
32063 rm -f conftest.$ac_objext conftest$ac_exeext
32064 if { (ac_try="$ac_link"
32065 case "(($ac_try" in
32066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32067 *) ac_try_echo=$ac_try;;
32068 esac
32069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32070 (eval "$ac_link") 2>conftest.er1
32071 ac_status=$?
32072 grep -v '^ *+' conftest.er1 >conftest.err
32073 rm -f conftest.er1
32074 cat conftest.err >&5
32075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32076 (exit $ac_status); } && {
32077 test -z "$ac_c_werror_flag" ||
32078 test ! -s conftest.err
32079 } && test -s conftest$ac_exeext &&
32080 $as_test_x conftest$ac_exeext; then
32081 ac_cv_func_connect=yes
32082 else
32083 echo "$as_me: failed program was:" >&5
32084 sed 's/^/| /' conftest.$ac_ext >&5
32085
32086 ac_cv_func_connect=no
32087 fi
32088
32089 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32090 conftest$ac_exeext conftest.$ac_ext
32091 fi
32092 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
32093 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
32094
32095 if test $ac_cv_func_connect = no; then
32096 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
32097 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
32098 if test "${ac_cv_lib_socket_connect+set}" = set; then
32099 echo $ECHO_N "(cached) $ECHO_C" >&6
32100 else
32101 ac_check_lib_save_LIBS=$LIBS
32102 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
32103 cat >conftest.$ac_ext <<_ACEOF
32104 /* confdefs.h. */
32105 _ACEOF
32106 cat confdefs.h >>conftest.$ac_ext
32107 cat >>conftest.$ac_ext <<_ACEOF
32108 /* end confdefs.h. */
32109
32110 /* Override any GCC internal prototype to avoid an error.
32111 Use char because int might match the return type of a GCC
32112 builtin and then its argument prototype would still apply. */
32113 #ifdef __cplusplus
32114 extern "C"
32115 #endif
32116 char connect ();
32117 int
32118 main ()
32119 {
32120 return connect ();
32121 ;
32122 return 0;
32123 }
32124 _ACEOF
32125 rm -f conftest.$ac_objext conftest$ac_exeext
32126 if { (ac_try="$ac_link"
32127 case "(($ac_try" in
32128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32129 *) ac_try_echo=$ac_try;;
32130 esac
32131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32132 (eval "$ac_link") 2>conftest.er1
32133 ac_status=$?
32134 grep -v '^ *+' conftest.er1 >conftest.err
32135 rm -f conftest.er1
32136 cat conftest.err >&5
32137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32138 (exit $ac_status); } && {
32139 test -z "$ac_c_werror_flag" ||
32140 test ! -s conftest.err
32141 } && test -s conftest$ac_exeext &&
32142 $as_test_x conftest$ac_exeext; then
32143 ac_cv_lib_socket_connect=yes
32144 else
32145 echo "$as_me: failed program was:" >&5
32146 sed 's/^/| /' conftest.$ac_ext >&5
32147
32148 ac_cv_lib_socket_connect=no
32149 fi
32150
32151 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32152 conftest$ac_exeext conftest.$ac_ext
32153 LIBS=$ac_check_lib_save_LIBS
32154 fi
32155 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
32156 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
32157 if test $ac_cv_lib_socket_connect = yes; then
32158 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
32159 fi
32160
32161 fi
32162
32163 # Guillermo Gomez says -lposix is necessary on A/UX.
32164 { echo "$as_me:$LINENO: checking for remove" >&5
32165 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
32166 if test "${ac_cv_func_remove+set}" = set; then
32167 echo $ECHO_N "(cached) $ECHO_C" >&6
32168 else
32169 cat >conftest.$ac_ext <<_ACEOF
32170 /* confdefs.h. */
32171 _ACEOF
32172 cat confdefs.h >>conftest.$ac_ext
32173 cat >>conftest.$ac_ext <<_ACEOF
32174 /* end confdefs.h. */
32175 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
32176 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32177 #define remove innocuous_remove
32178
32179 /* System header to define __stub macros and hopefully few prototypes,
32180 which can conflict with char remove (); below.
32181 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32182 <limits.h> exists even on freestanding compilers. */
32183
32184 #ifdef __STDC__
32185 # include <limits.h>
32186 #else
32187 # include <assert.h>
32188 #endif
32189
32190 #undef remove
32191
32192 /* Override any GCC internal prototype to avoid an error.
32193 Use char because int might match the return type of a GCC
32194 builtin and then its argument prototype would still apply. */
32195 #ifdef __cplusplus
32196 extern "C"
32197 #endif
32198 char remove ();
32199 /* The GNU C library defines this for functions which it implements
32200 to always fail with ENOSYS. Some functions are actually named
32201 something starting with __ and the normal name is an alias. */
32202 #if defined __stub_remove || defined __stub___remove
32203 choke me
32204 #endif
32205
32206 int
32207 main ()
32208 {
32209 return remove ();
32210 ;
32211 return 0;
32212 }
32213 _ACEOF
32214 rm -f conftest.$ac_objext conftest$ac_exeext
32215 if { (ac_try="$ac_link"
32216 case "(($ac_try" in
32217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32218 *) ac_try_echo=$ac_try;;
32219 esac
32220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32221 (eval "$ac_link") 2>conftest.er1
32222 ac_status=$?
32223 grep -v '^ *+' conftest.er1 >conftest.err
32224 rm -f conftest.er1
32225 cat conftest.err >&5
32226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32227 (exit $ac_status); } && {
32228 test -z "$ac_c_werror_flag" ||
32229 test ! -s conftest.err
32230 } && test -s conftest$ac_exeext &&
32231 $as_test_x conftest$ac_exeext; then
32232 ac_cv_func_remove=yes
32233 else
32234 echo "$as_me: failed program was:" >&5
32235 sed 's/^/| /' conftest.$ac_ext >&5
32236
32237 ac_cv_func_remove=no
32238 fi
32239
32240 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32241 conftest$ac_exeext conftest.$ac_ext
32242 fi
32243 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
32244 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
32245
32246 if test $ac_cv_func_remove = no; then
32247 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
32248 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
32249 if test "${ac_cv_lib_posix_remove+set}" = set; then
32250 echo $ECHO_N "(cached) $ECHO_C" >&6
32251 else
32252 ac_check_lib_save_LIBS=$LIBS
32253 LIBS="-lposix $LIBS"
32254 cat >conftest.$ac_ext <<_ACEOF
32255 /* confdefs.h. */
32256 _ACEOF
32257 cat confdefs.h >>conftest.$ac_ext
32258 cat >>conftest.$ac_ext <<_ACEOF
32259 /* end confdefs.h. */
32260
32261 /* Override any GCC internal prototype to avoid an error.
32262 Use char because int might match the return type of a GCC
32263 builtin and then its argument prototype would still apply. */
32264 #ifdef __cplusplus
32265 extern "C"
32266 #endif
32267 char remove ();
32268 int
32269 main ()
32270 {
32271 return remove ();
32272 ;
32273 return 0;
32274 }
32275 _ACEOF
32276 rm -f conftest.$ac_objext conftest$ac_exeext
32277 if { (ac_try="$ac_link"
32278 case "(($ac_try" in
32279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32280 *) ac_try_echo=$ac_try;;
32281 esac
32282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32283 (eval "$ac_link") 2>conftest.er1
32284 ac_status=$?
32285 grep -v '^ *+' conftest.er1 >conftest.err
32286 rm -f conftest.er1
32287 cat conftest.err >&5
32288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32289 (exit $ac_status); } && {
32290 test -z "$ac_c_werror_flag" ||
32291 test ! -s conftest.err
32292 } && test -s conftest$ac_exeext &&
32293 $as_test_x conftest$ac_exeext; then
32294 ac_cv_lib_posix_remove=yes
32295 else
32296 echo "$as_me: failed program was:" >&5
32297 sed 's/^/| /' conftest.$ac_ext >&5
32298
32299 ac_cv_lib_posix_remove=no
32300 fi
32301
32302 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32303 conftest$ac_exeext conftest.$ac_ext
32304 LIBS=$ac_check_lib_save_LIBS
32305 fi
32306 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
32307 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
32308 if test $ac_cv_lib_posix_remove = yes; then
32309 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
32310 fi
32311
32312 fi
32313
32314 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
32315 { echo "$as_me:$LINENO: checking for shmat" >&5
32316 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
32317 if test "${ac_cv_func_shmat+set}" = set; then
32318 echo $ECHO_N "(cached) $ECHO_C" >&6
32319 else
32320 cat >conftest.$ac_ext <<_ACEOF
32321 /* confdefs.h. */
32322 _ACEOF
32323 cat confdefs.h >>conftest.$ac_ext
32324 cat >>conftest.$ac_ext <<_ACEOF
32325 /* end confdefs.h. */
32326 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
32327 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32328 #define shmat innocuous_shmat
32329
32330 /* System header to define __stub macros and hopefully few prototypes,
32331 which can conflict with char shmat (); below.
32332 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32333 <limits.h> exists even on freestanding compilers. */
32334
32335 #ifdef __STDC__
32336 # include <limits.h>
32337 #else
32338 # include <assert.h>
32339 #endif
32340
32341 #undef shmat
32342
32343 /* Override any GCC internal prototype to avoid an error.
32344 Use char because int might match the return type of a GCC
32345 builtin and then its argument prototype would still apply. */
32346 #ifdef __cplusplus
32347 extern "C"
32348 #endif
32349 char shmat ();
32350 /* The GNU C library defines this for functions which it implements
32351 to always fail with ENOSYS. Some functions are actually named
32352 something starting with __ and the normal name is an alias. */
32353 #if defined __stub_shmat || defined __stub___shmat
32354 choke me
32355 #endif
32356
32357 int
32358 main ()
32359 {
32360 return shmat ();
32361 ;
32362 return 0;
32363 }
32364 _ACEOF
32365 rm -f conftest.$ac_objext conftest$ac_exeext
32366 if { (ac_try="$ac_link"
32367 case "(($ac_try" in
32368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32369 *) ac_try_echo=$ac_try;;
32370 esac
32371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32372 (eval "$ac_link") 2>conftest.er1
32373 ac_status=$?
32374 grep -v '^ *+' conftest.er1 >conftest.err
32375 rm -f conftest.er1
32376 cat conftest.err >&5
32377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32378 (exit $ac_status); } && {
32379 test -z "$ac_c_werror_flag" ||
32380 test ! -s conftest.err
32381 } && test -s conftest$ac_exeext &&
32382 $as_test_x conftest$ac_exeext; then
32383 ac_cv_func_shmat=yes
32384 else
32385 echo "$as_me: failed program was:" >&5
32386 sed 's/^/| /' conftest.$ac_ext >&5
32387
32388 ac_cv_func_shmat=no
32389 fi
32390
32391 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32392 conftest$ac_exeext conftest.$ac_ext
32393 fi
32394 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
32395 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
32396
32397 if test $ac_cv_func_shmat = no; then
32398 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
32399 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
32400 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
32401 echo $ECHO_N "(cached) $ECHO_C" >&6
32402 else
32403 ac_check_lib_save_LIBS=$LIBS
32404 LIBS="-lipc $LIBS"
32405 cat >conftest.$ac_ext <<_ACEOF
32406 /* confdefs.h. */
32407 _ACEOF
32408 cat confdefs.h >>conftest.$ac_ext
32409 cat >>conftest.$ac_ext <<_ACEOF
32410 /* end confdefs.h. */
32411
32412 /* Override any GCC internal prototype to avoid an error.
32413 Use char because int might match the return type of a GCC
32414 builtin and then its argument prototype would still apply. */
32415 #ifdef __cplusplus
32416 extern "C"
32417 #endif
32418 char shmat ();
32419 int
32420 main ()
32421 {
32422 return shmat ();
32423 ;
32424 return 0;
32425 }
32426 _ACEOF
32427 rm -f conftest.$ac_objext conftest$ac_exeext
32428 if { (ac_try="$ac_link"
32429 case "(($ac_try" in
32430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32431 *) ac_try_echo=$ac_try;;
32432 esac
32433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32434 (eval "$ac_link") 2>conftest.er1
32435 ac_status=$?
32436 grep -v '^ *+' conftest.er1 >conftest.err
32437 rm -f conftest.er1
32438 cat conftest.err >&5
32439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32440 (exit $ac_status); } && {
32441 test -z "$ac_c_werror_flag" ||
32442 test ! -s conftest.err
32443 } && test -s conftest$ac_exeext &&
32444 $as_test_x conftest$ac_exeext; then
32445 ac_cv_lib_ipc_shmat=yes
32446 else
32447 echo "$as_me: failed program was:" >&5
32448 sed 's/^/| /' conftest.$ac_ext >&5
32449
32450 ac_cv_lib_ipc_shmat=no
32451 fi
32452
32453 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32454 conftest$ac_exeext conftest.$ac_ext
32455 LIBS=$ac_check_lib_save_LIBS
32456 fi
32457 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
32458 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
32459 if test $ac_cv_lib_ipc_shmat = yes; then
32460 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
32461 fi
32462
32463 fi
32464 fi
32465
32466 # Check for libraries that X11R6 Xt/Xaw programs need.
32467 ac_save_LDFLAGS=$LDFLAGS
32468 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
32469 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
32470 # check for ICE first), but we must link in the order -lSM -lICE or
32471 # we get undefined symbols. So assume we have SM if we have ICE.
32472 # These have to be linked with before -lX11, unlike the other
32473 # libraries we check for below, so use a different variable.
32474 # John Interrante, Karl Berry
32475 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
32476 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
32477 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
32478 echo $ECHO_N "(cached) $ECHO_C" >&6
32479 else
32480 ac_check_lib_save_LIBS=$LIBS
32481 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
32482 cat >conftest.$ac_ext <<_ACEOF
32483 /* confdefs.h. */
32484 _ACEOF
32485 cat confdefs.h >>conftest.$ac_ext
32486 cat >>conftest.$ac_ext <<_ACEOF
32487 /* end confdefs.h. */
32488
32489 /* Override any GCC internal prototype to avoid an error.
32490 Use char because int might match the return type of a GCC
32491 builtin and then its argument prototype would still apply. */
32492 #ifdef __cplusplus
32493 extern "C"
32494 #endif
32495 char IceConnectionNumber ();
32496 int
32497 main ()
32498 {
32499 return IceConnectionNumber ();
32500 ;
32501 return 0;
32502 }
32503 _ACEOF
32504 rm -f conftest.$ac_objext conftest$ac_exeext
32505 if { (ac_try="$ac_link"
32506 case "(($ac_try" in
32507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32508 *) ac_try_echo=$ac_try;;
32509 esac
32510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32511 (eval "$ac_link") 2>conftest.er1
32512 ac_status=$?
32513 grep -v '^ *+' conftest.er1 >conftest.err
32514 rm -f conftest.er1
32515 cat conftest.err >&5
32516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32517 (exit $ac_status); } && {
32518 test -z "$ac_c_werror_flag" ||
32519 test ! -s conftest.err
32520 } && test -s conftest$ac_exeext &&
32521 $as_test_x conftest$ac_exeext; then
32522 ac_cv_lib_ICE_IceConnectionNumber=yes
32523 else
32524 echo "$as_me: failed program was:" >&5
32525 sed 's/^/| /' conftest.$ac_ext >&5
32526
32527 ac_cv_lib_ICE_IceConnectionNumber=no
32528 fi
32529
32530 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32531 conftest$ac_exeext conftest.$ac_ext
32532 LIBS=$ac_check_lib_save_LIBS
32533 fi
32534 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
32535 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
32536 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
32537 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
32538 fi
32539
32540 LDFLAGS=$ac_save_LDFLAGS
32541
32542 fi
32543
32544
32545 if test "$no_x" = "yes"; then
32546 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
32547 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
32548 { (exit 1); exit 1; }; }
32549 fi
32550
32551 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
32552 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
32553 AFMINSTALL=afminstall
32554 COMPILED_X_PROGRAM=0
32555
32556 fi
32557
32558 if test "$wxUSE_X11" = 1; then
32559 if test "$wxUSE_NANOX" = "yes"; then
32560 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
32561 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
32562 if test "x$MICROWIN" = x ; then
32563 { echo "$as_me:$LINENO: result: not found" >&5
32564 echo "${ECHO_T}not found" >&6; }
32565 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
32566 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
32567 { (exit 1); exit 1; }; }
32568 else
32569 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
32570 echo "${ECHO_T}$MICROWIN" >&6; }
32571 cat >>confdefs.h <<\_ACEOF
32572 #define wxUSE_NANOX 1
32573 _ACEOF
32574
32575 fi
32576 fi
32577
32578 if test "$wxUSE_UNICODE" = "yes"; then
32579
32580
32581 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32582 if test -n "$ac_tool_prefix"; then
32583 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32584 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32585 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32587 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32588 echo $ECHO_N "(cached) $ECHO_C" >&6
32589 else
32590 case $PKG_CONFIG in
32591 [\\/]* | ?:[\\/]*)
32592 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
32593 ;;
32594 *)
32595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32596 for as_dir in $PATH
32597 do
32598 IFS=$as_save_IFS
32599 test -z "$as_dir" && as_dir=.
32600 for ac_exec_ext in '' $ac_executable_extensions; do
32601 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32602 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32603 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32604 break 2
32605 fi
32606 done
32607 done
32608 IFS=$as_save_IFS
32609
32610 ;;
32611 esac
32612 fi
32613 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
32614 if test -n "$PKG_CONFIG"; then
32615 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32616 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32617 else
32618 { echo "$as_me:$LINENO: result: no" >&5
32619 echo "${ECHO_T}no" >&6; }
32620 fi
32621
32622
32623 fi
32624 if test -z "$ac_cv_path_PKG_CONFIG"; then
32625 ac_pt_PKG_CONFIG=$PKG_CONFIG
32626 # Extract the first word of "pkg-config", so it can be a program name with args.
32627 set dummy pkg-config; ac_word=$2
32628 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32629 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32630 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32631 echo $ECHO_N "(cached) $ECHO_C" >&6
32632 else
32633 case $ac_pt_PKG_CONFIG in
32634 [\\/]* | ?:[\\/]*)
32635 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32636 ;;
32637 *)
32638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32639 for as_dir in $PATH
32640 do
32641 IFS=$as_save_IFS
32642 test -z "$as_dir" && as_dir=.
32643 for ac_exec_ext in '' $ac_executable_extensions; do
32644 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32645 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32646 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32647 break 2
32648 fi
32649 done
32650 done
32651 IFS=$as_save_IFS
32652
32653 ;;
32654 esac
32655 fi
32656 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
32657 if test -n "$ac_pt_PKG_CONFIG"; then
32658 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32659 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32660 else
32661 { echo "$as_me:$LINENO: result: no" >&5
32662 echo "${ECHO_T}no" >&6; }
32663 fi
32664
32665 if test "x$ac_pt_PKG_CONFIG" = x; then
32666 PKG_CONFIG=""
32667 else
32668 case $cross_compiling:$ac_tool_warned in
32669 yes:)
32670 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32671 whose name does not start with the host triplet. If you think this
32672 configuration is useful to you, please write to autoconf@gnu.org." >&5
32673 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32674 whose name does not start with the host triplet. If you think this
32675 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32676 ac_tool_warned=yes ;;
32677 esac
32678 PKG_CONFIG=$ac_pt_PKG_CONFIG
32679 fi
32680 else
32681 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
32682 fi
32683
32684 fi
32685 if test -n "$PKG_CONFIG"; then
32686 _pkg_min_version=0.9.0
32687 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32688 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32689 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32690 { echo "$as_me:$LINENO: result: yes" >&5
32691 echo "${ECHO_T}yes" >&6; }
32692 else
32693 { echo "$as_me:$LINENO: result: no" >&5
32694 echo "${ECHO_T}no" >&6; }
32695 PKG_CONFIG=""
32696 fi
32697
32698 fi
32699
32700
32701 pkg_failed=no
32702 { echo "$as_me:$LINENO: checking for PANGOX" >&5
32703 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
32704
32705 if test -n "$PKG_CONFIG"; then
32706 if test -n "$PANGOX_CFLAGS"; then
32707 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
32708 else
32709 if test -n "$PKG_CONFIG" && \
32710 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32711 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32712 ac_status=$?
32713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32714 (exit $ac_status); }; then
32715 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
32716 else
32717 pkg_failed=yes
32718 fi
32719 fi
32720 else
32721 pkg_failed=untried
32722 fi
32723 if test -n "$PKG_CONFIG"; then
32724 if test -n "$PANGOX_LIBS"; then
32725 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
32726 else
32727 if test -n "$PKG_CONFIG" && \
32728 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32729 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32730 ac_status=$?
32731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32732 (exit $ac_status); }; then
32733 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
32734 else
32735 pkg_failed=yes
32736 fi
32737 fi
32738 else
32739 pkg_failed=untried
32740 fi
32741
32742
32743
32744 if test $pkg_failed = yes; then
32745
32746 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32747 _pkg_short_errors_supported=yes
32748 else
32749 _pkg_short_errors_supported=no
32750 fi
32751 if test $_pkg_short_errors_supported = yes; then
32752 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
32753 else
32754 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
32755 fi
32756 # Put the nasty error message in config.log where it belongs
32757 echo "$PANGOX_PKG_ERRORS" >&5
32758
32759
32760 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32761 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32762 { (exit 1); exit 1; }; }
32763
32764
32765 elif test $pkg_failed = untried; then
32766
32767 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32768 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32769 { (exit 1); exit 1; }; }
32770
32771
32772 else
32773 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
32774 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
32775 { echo "$as_me:$LINENO: result: yes" >&5
32776 echo "${ECHO_T}yes" >&6; }
32777
32778 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
32779 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
32780 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
32781
32782 fi
32783
32784 pkg_failed=no
32785 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
32786 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
32787
32788 if test -n "$PKG_CONFIG"; then
32789 if test -n "$PANGOFT2_CFLAGS"; then
32790 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
32791 else
32792 if test -n "$PKG_CONFIG" && \
32793 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32794 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32795 ac_status=$?
32796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32797 (exit $ac_status); }; then
32798 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
32799 else
32800 pkg_failed=yes
32801 fi
32802 fi
32803 else
32804 pkg_failed=untried
32805 fi
32806 if test -n "$PKG_CONFIG"; then
32807 if test -n "$PANGOFT2_LIBS"; then
32808 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
32809 else
32810 if test -n "$PKG_CONFIG" && \
32811 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32812 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32813 ac_status=$?
32814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32815 (exit $ac_status); }; then
32816 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
32817 else
32818 pkg_failed=yes
32819 fi
32820 fi
32821 else
32822 pkg_failed=untried
32823 fi
32824
32825
32826
32827 if test $pkg_failed = yes; then
32828
32829 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32830 _pkg_short_errors_supported=yes
32831 else
32832 _pkg_short_errors_supported=no
32833 fi
32834 if test $_pkg_short_errors_supported = yes; then
32835 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
32836 else
32837 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
32838 fi
32839 # Put the nasty error message in config.log where it belongs
32840 echo "$PANGOFT2_PKG_ERRORS" >&5
32841
32842
32843 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32844 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32845 wxUSE_PRINTING_ARCHITECTURE="no"
32846
32847
32848 elif test $pkg_failed = untried; then
32849
32850 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32851 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32852 wxUSE_PRINTING_ARCHITECTURE="no"
32853
32854
32855 else
32856 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
32857 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
32858 { echo "$as_me:$LINENO: result: yes" >&5
32859 echo "${ECHO_T}yes" >&6; }
32860
32861 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
32862 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
32863 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
32864
32865 fi
32866
32867 pkg_failed=no
32868 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
32869 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
32870
32871 if test -n "$PKG_CONFIG"; then
32872 if test -n "$PANGOXFT_CFLAGS"; then
32873 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
32874 else
32875 if test -n "$PKG_CONFIG" && \
32876 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32877 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32878 ac_status=$?
32879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32880 (exit $ac_status); }; then
32881 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
32882 else
32883 pkg_failed=yes
32884 fi
32885 fi
32886 else
32887 pkg_failed=untried
32888 fi
32889 if test -n "$PKG_CONFIG"; then
32890 if test -n "$PANGOXFT_LIBS"; then
32891 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
32892 else
32893 if test -n "$PKG_CONFIG" && \
32894 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32895 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32896 ac_status=$?
32897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32898 (exit $ac_status); }; then
32899 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
32900 else
32901 pkg_failed=yes
32902 fi
32903 fi
32904 else
32905 pkg_failed=untried
32906 fi
32907
32908
32909
32910 if test $pkg_failed = yes; then
32911
32912 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32913 _pkg_short_errors_supported=yes
32914 else
32915 _pkg_short_errors_supported=no
32916 fi
32917 if test $_pkg_short_errors_supported = yes; then
32918 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
32919 else
32920 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
32921 fi
32922 # Put the nasty error message in config.log where it belongs
32923 echo "$PANGOXFT_PKG_ERRORS" >&5
32924
32925
32926 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32927 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32928
32929
32930 elif test $pkg_failed = untried; then
32931
32932 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32933 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32934
32935
32936 else
32937 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
32938 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
32939 { echo "$as_me:$LINENO: result: yes" >&5
32940 echo "${ECHO_T}yes" >&6; }
32941
32942 cat >>confdefs.h <<\_ACEOF
32943 #define HAVE_PANGO_XFT 1
32944 _ACEOF
32945
32946 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
32947 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
32948 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
32949
32950 fi
32951 save_LIBS="$LIBS"
32952 LIBS="$LIBS $PANGOX_LIBS"
32953
32954 for ac_func in pango_font_family_is_monospace
32955 do
32956 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32957 { echo "$as_me:$LINENO: checking for $ac_func" >&5
32958 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
32959 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
32960 echo $ECHO_N "(cached) $ECHO_C" >&6
32961 else
32962 cat >conftest.$ac_ext <<_ACEOF
32963 /* confdefs.h. */
32964 _ACEOF
32965 cat confdefs.h >>conftest.$ac_ext
32966 cat >>conftest.$ac_ext <<_ACEOF
32967 /* end confdefs.h. */
32968 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32969 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32970 #define $ac_func innocuous_$ac_func
32971
32972 /* System header to define __stub macros and hopefully few prototypes,
32973 which can conflict with char $ac_func (); below.
32974 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32975 <limits.h> exists even on freestanding compilers. */
32976
32977 #ifdef __STDC__
32978 # include <limits.h>
32979 #else
32980 # include <assert.h>
32981 #endif
32982
32983 #undef $ac_func
32984
32985 /* Override any GCC internal prototype to avoid an error.
32986 Use char because int might match the return type of a GCC
32987 builtin and then its argument prototype would still apply. */
32988 #ifdef __cplusplus
32989 extern "C"
32990 #endif
32991 char $ac_func ();
32992 /* The GNU C library defines this for functions which it implements
32993 to always fail with ENOSYS. Some functions are actually named
32994 something starting with __ and the normal name is an alias. */
32995 #if defined __stub_$ac_func || defined __stub___$ac_func
32996 choke me
32997 #endif
32998
32999 int
33000 main ()
33001 {
33002 return $ac_func ();
33003 ;
33004 return 0;
33005 }
33006 _ACEOF
33007 rm -f conftest.$ac_objext conftest$ac_exeext
33008 if { (ac_try="$ac_link"
33009 case "(($ac_try" in
33010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33011 *) ac_try_echo=$ac_try;;
33012 esac
33013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33014 (eval "$ac_link") 2>conftest.er1
33015 ac_status=$?
33016 grep -v '^ *+' conftest.er1 >conftest.err
33017 rm -f conftest.er1
33018 cat conftest.err >&5
33019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33020 (exit $ac_status); } && {
33021 test -z "$ac_c_werror_flag" ||
33022 test ! -s conftest.err
33023 } && test -s conftest$ac_exeext &&
33024 $as_test_x conftest$ac_exeext; then
33025 eval "$as_ac_var=yes"
33026 else
33027 echo "$as_me: failed program was:" >&5
33028 sed 's/^/| /' conftest.$ac_ext >&5
33029
33030 eval "$as_ac_var=no"
33031 fi
33032
33033 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33034 conftest$ac_exeext conftest.$ac_ext
33035 fi
33036 ac_res=`eval echo '${'$as_ac_var'}'`
33037 { echo "$as_me:$LINENO: result: $ac_res" >&5
33038 echo "${ECHO_T}$ac_res" >&6; }
33039 if test `eval echo '${'$as_ac_var'}'` = yes; then
33040 cat >>confdefs.h <<_ACEOF
33041 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33042 _ACEOF
33043
33044 fi
33045 done
33046
33047 LIBS="$save_LIBS"
33048 fi
33049
33050 wxUSE_UNIVERSAL="yes"
33051
33052 if test "$wxUSE_NANOX" = "yes"; then
33053 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
33054 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"
33055 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
33056 else
33057 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
33058 fi
33059
33060 TOOLKIT=X11
33061 GUIDIST=X11_DIST
33062 fi
33063
33064 if test "$wxUSE_MOTIF" = 1; then
33065 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
33066 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
33067
33068 ac_find_includes=
33069 for ac_dir in $SEARCH_INCLUDE /usr/include;
33070 do
33071 if test -f "$ac_dir/Xm/Xm.h"; then
33072 ac_find_includes=$ac_dir
33073 break
33074 fi
33075 done
33076
33077 if test "$ac_find_includes" != "" ; then
33078 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33079 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33080
33081 if test "x$ac_find_includes" = "x/usr/include"; then
33082 ac_path_to_include=""
33083 else
33084 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
33085 result=$?
33086 if test $result = 0; then
33087 ac_path_to_include=""
33088 else
33089 ac_path_to_include=" -I$ac_find_includes"
33090 fi
33091 fi
33092
33093 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
33094 else
33095 save_CFLAGS=$CFLAGS
33096 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33097
33098 cat >conftest.$ac_ext <<_ACEOF
33099 /* confdefs.h. */
33100 _ACEOF
33101 cat confdefs.h >>conftest.$ac_ext
33102 cat >>conftest.$ac_ext <<_ACEOF
33103 /* end confdefs.h. */
33104
33105 #include <Xm/Xm.h>
33106
33107 int
33108 main ()
33109 {
33110
33111 int version;
33112 version = xmUseVersion;
33113
33114 ;
33115 return 0;
33116 }
33117 _ACEOF
33118 rm -f conftest.$ac_objext
33119 if { (ac_try="$ac_compile"
33120 case "(($ac_try" in
33121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33122 *) ac_try_echo=$ac_try;;
33123 esac
33124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33125 (eval "$ac_compile") 2>conftest.er1
33126 ac_status=$?
33127 grep -v '^ *+' conftest.er1 >conftest.err
33128 rm -f conftest.er1
33129 cat conftest.err >&5
33130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33131 (exit $ac_status); } && {
33132 test -z "$ac_c_werror_flag" ||
33133 test ! -s conftest.err
33134 } && test -s conftest.$ac_objext; then
33135
33136 { echo "$as_me:$LINENO: result: found in default search path" >&5
33137 echo "${ECHO_T}found in default search path" >&6; }
33138 COMPILED_X_PROGRAM=1
33139
33140 else
33141 echo "$as_me: failed program was:" >&5
33142 sed 's/^/| /' conftest.$ac_ext >&5
33143
33144
33145 { echo "$as_me:$LINENO: result: no" >&5
33146 echo "${ECHO_T}no" >&6; }
33147 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
33148 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
33149 { (exit 1); exit 1; }; }
33150
33151
33152 fi
33153
33154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33155
33156 CFLAGS=$save_CFLAGS
33157 fi
33158
33159
33160 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
33161 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
33162
33163 ac_find_libraries=
33164 for ac_dir in $SEARCH_LIB;
33165 do
33166 for ac_extension in a so sl dylib dll.a; do
33167 if test -f "$ac_dir/libXm.$ac_extension"; then
33168 ac_find_libraries=$ac_dir
33169 break 2
33170 fi
33171 done
33172 done
33173
33174
33175 if test "x$ac_find_libraries" != "x" ; then
33176 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33177 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33178
33179
33180 if test "$ac_find_libraries" = "default location"; then
33181 ac_path_to_link=""
33182 else
33183 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33184 result=$?
33185 if test $result = 0; then
33186 ac_path_to_link=""
33187 else
33188 ac_path_to_link=" -L$ac_find_libraries"
33189 fi
33190 fi
33191
33192 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33193 else
33194 save_CFLAGS=$CFLAGS
33195 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33196 save_LIBS="$LIBS"
33197 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
33198
33199 cat >conftest.$ac_ext <<_ACEOF
33200 /* confdefs.h. */
33201 _ACEOF
33202 cat confdefs.h >>conftest.$ac_ext
33203 cat >>conftest.$ac_ext <<_ACEOF
33204 /* end confdefs.h. */
33205
33206 #include <Xm/Xm.h>
33207
33208 int
33209 main ()
33210 {
33211
33212 int version;
33213 version = xmUseVersion;
33214
33215 ;
33216 return 0;
33217 }
33218 _ACEOF
33219 rm -f conftest.$ac_objext conftest$ac_exeext
33220 if { (ac_try="$ac_link"
33221 case "(($ac_try" in
33222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33223 *) ac_try_echo=$ac_try;;
33224 esac
33225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33226 (eval "$ac_link") 2>conftest.er1
33227 ac_status=$?
33228 grep -v '^ *+' conftest.er1 >conftest.err
33229 rm -f conftest.er1
33230 cat conftest.err >&5
33231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33232 (exit $ac_status); } && {
33233 test -z "$ac_c_werror_flag" ||
33234 test ! -s conftest.err
33235 } && test -s conftest$ac_exeext &&
33236 $as_test_x conftest$ac_exeext; then
33237
33238 { echo "$as_me:$LINENO: result: found in default search path" >&5
33239 echo "${ECHO_T}found in default search path" >&6; }
33240 COMPILED_X_PROGRAM=1
33241
33242 else
33243 echo "$as_me: failed program was:" >&5
33244 sed 's/^/| /' conftest.$ac_ext >&5
33245
33246
33247 { echo "$as_me:$LINENO: result: no" >&5
33248 echo "${ECHO_T}no" >&6; }
33249 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
33250 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
33251 { (exit 1); exit 1; }; }
33252
33253
33254 fi
33255
33256 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33257 conftest$ac_exeext conftest.$ac_ext
33258
33259 CFLAGS=$save_CFLAGS
33260 LIBS="$save_LIBS"
33261 fi
33262
33263 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
33264 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
33265 libp_link=""
33266 libsm_ice_link=""
33267 libs_found=0
33268 for libp in "" " -lXp"; do
33269 if test "$libs_found" = 0; then
33270 for libsm_ice in "" " -lSM -lICE"; do
33271 if test "$libs_found" = 0; then
33272 save_LIBS="$LIBS"
33273 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
33274 save_CFLAGS=$CFLAGS
33275 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33276
33277 cat >conftest.$ac_ext <<_ACEOF
33278 /* confdefs.h. */
33279 _ACEOF
33280 cat confdefs.h >>conftest.$ac_ext
33281 cat >>conftest.$ac_ext <<_ACEOF
33282 /* end confdefs.h. */
33283
33284 #include <Xm/Xm.h>
33285 #include <Xm/List.h>
33286
33287 int
33288 main ()
33289 {
33290
33291 XmString string = NULL;
33292 Widget w = NULL;
33293 int position = 0;
33294 XmListAddItem(w, string, position);
33295
33296 ;
33297 return 0;
33298 }
33299 _ACEOF
33300 rm -f conftest.$ac_objext conftest$ac_exeext
33301 if { (ac_try="$ac_link"
33302 case "(($ac_try" in
33303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33304 *) ac_try_echo=$ac_try;;
33305 esac
33306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33307 (eval "$ac_link") 2>conftest.er1
33308 ac_status=$?
33309 grep -v '^ *+' conftest.er1 >conftest.err
33310 rm -f conftest.er1
33311 cat conftest.err >&5
33312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33313 (exit $ac_status); } && {
33314 test -z "$ac_c_werror_flag" ||
33315 test ! -s conftest.err
33316 } && test -s conftest$ac_exeext &&
33317 $as_test_x conftest$ac_exeext; then
33318
33319 libp_link="$libp"
33320 libsm_ice_link="$libsm_ice"
33321 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
33322 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
33323 libs_found=1
33324
33325 else
33326 echo "$as_me: failed program was:" >&5
33327 sed 's/^/| /' conftest.$ac_ext >&5
33328
33329
33330
33331 fi
33332
33333 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33334 conftest$ac_exeext conftest.$ac_ext
33335
33336 LIBS="$save_LIBS"
33337 CFLAGS=$save_CFLAGS
33338 fi
33339 done
33340 fi
33341 done
33342
33343 if test "$libs_found" = 0; then
33344 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
33345 echo "${ECHO_T}can't find the right libraries" >&6; }
33346 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
33347 echo "$as_me: error: can't link a simple motif program" >&2;}
33348 { (exit 1); exit 1; }; }
33349 fi
33350
33351 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
33352 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
33353 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
33354 echo $ECHO_N "(cached) $ECHO_C" >&6
33355 else
33356 ac_check_lib_save_LIBS=$LIBS
33357 LIBS="-lSgm $LIBS"
33358 cat >conftest.$ac_ext <<_ACEOF
33359 /* confdefs.h. */
33360 _ACEOF
33361 cat confdefs.h >>conftest.$ac_ext
33362 cat >>conftest.$ac_ext <<_ACEOF
33363 /* end confdefs.h. */
33364
33365 /* Override any GCC internal prototype to avoid an error.
33366 Use char because int might match the return type of a GCC
33367 builtin and then its argument prototype would still apply. */
33368 #ifdef __cplusplus
33369 extern "C"
33370 #endif
33371 char SgCreateList ();
33372 int
33373 main ()
33374 {
33375 return SgCreateList ();
33376 ;
33377 return 0;
33378 }
33379 _ACEOF
33380 rm -f conftest.$ac_objext conftest$ac_exeext
33381 if { (ac_try="$ac_link"
33382 case "(($ac_try" in
33383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33384 *) ac_try_echo=$ac_try;;
33385 esac
33386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33387 (eval "$ac_link") 2>conftest.er1
33388 ac_status=$?
33389 grep -v '^ *+' conftest.er1 >conftest.err
33390 rm -f conftest.er1
33391 cat conftest.err >&5
33392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33393 (exit $ac_status); } && {
33394 test -z "$ac_c_werror_flag" ||
33395 test ! -s conftest.err
33396 } && test -s conftest$ac_exeext &&
33397 $as_test_x conftest$ac_exeext; then
33398 ac_cv_lib_Sgm_SgCreateList=yes
33399 else
33400 echo "$as_me: failed program was:" >&5
33401 sed 's/^/| /' conftest.$ac_ext >&5
33402
33403 ac_cv_lib_Sgm_SgCreateList=no
33404 fi
33405
33406 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33407 conftest$ac_exeext conftest.$ac_ext
33408 LIBS=$ac_check_lib_save_LIBS
33409 fi
33410 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
33411 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
33412 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
33413 libsgm_link=" -lSgm"
33414 fi
33415
33416
33417 save_CFLAGS=$CFLAGS
33418 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33419
33420 { echo "$as_me:$LINENO: checking for Motif 2" >&5
33421 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
33422 if test "${wx_cv_lib_motif2+set}" = set; then
33423 echo $ECHO_N "(cached) $ECHO_C" >&6
33424 else
33425 cat >conftest.$ac_ext <<_ACEOF
33426 /* confdefs.h. */
33427 _ACEOF
33428 cat confdefs.h >>conftest.$ac_ext
33429 cat >>conftest.$ac_ext <<_ACEOF
33430 /* end confdefs.h. */
33431
33432 #include <Xm/Xm.h>
33433
33434 int
33435 main ()
33436 {
33437
33438 #if XmVersion < 2000
33439 Not Motif 2
33440 #endif
33441
33442 ;
33443 return 0;
33444 }
33445 _ACEOF
33446 rm -f conftest.$ac_objext
33447 if { (ac_try="$ac_compile"
33448 case "(($ac_try" in
33449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33450 *) ac_try_echo=$ac_try;;
33451 esac
33452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33453 (eval "$ac_compile") 2>conftest.er1
33454 ac_status=$?
33455 grep -v '^ *+' conftest.er1 >conftest.err
33456 rm -f conftest.er1
33457 cat conftest.err >&5
33458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33459 (exit $ac_status); } && {
33460 test -z "$ac_c_werror_flag" ||
33461 test ! -s conftest.err
33462 } && test -s conftest.$ac_objext; then
33463 wx_cv_lib_motif2="yes"
33464 else
33465 echo "$as_me: failed program was:" >&5
33466 sed 's/^/| /' conftest.$ac_ext >&5
33467
33468 wx_cv_lib_motif2="no"
33469 fi
33470
33471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33472 fi
33473 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
33474 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
33475 if test "$wx_cv_lib_motif2" = "yes"; then
33476 cat >>confdefs.h <<\_ACEOF
33477 #define __WXMOTIF20__ 1
33478 _ACEOF
33479
33480 else
33481 cat >>confdefs.h <<\_ACEOF
33482 #define __WXMOTIF20__ 0
33483 _ACEOF
33484
33485 fi
33486
33487 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
33488 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
33489 if test "${wx_cv_lib_lesstif+set}" = set; then
33490 echo $ECHO_N "(cached) $ECHO_C" >&6
33491 else
33492 cat >conftest.$ac_ext <<_ACEOF
33493 /* confdefs.h. */
33494 _ACEOF
33495 cat confdefs.h >>conftest.$ac_ext
33496 cat >>conftest.$ac_ext <<_ACEOF
33497 /* end confdefs.h. */
33498
33499 #include <Xm/Xm.h>
33500
33501 int
33502 main ()
33503 {
33504
33505 #if !defined(LesstifVersion) || LesstifVersion <= 0
33506 Not Lesstif
33507 #endif
33508
33509 ;
33510 return 0;
33511 }
33512 _ACEOF
33513 rm -f conftest.$ac_objext
33514 if { (ac_try="$ac_compile"
33515 case "(($ac_try" in
33516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33517 *) ac_try_echo=$ac_try;;
33518 esac
33519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33520 (eval "$ac_compile") 2>conftest.er1
33521 ac_status=$?
33522 grep -v '^ *+' conftest.er1 >conftest.err
33523 rm -f conftest.er1
33524 cat conftest.err >&5
33525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33526 (exit $ac_status); } && {
33527 test -z "$ac_c_werror_flag" ||
33528 test ! -s conftest.err
33529 } && test -s conftest.$ac_objext; then
33530 wx_cv_lib_lesstif="yes"
33531 else
33532 echo "$as_me: failed program was:" >&5
33533 sed 's/^/| /' conftest.$ac_ext >&5
33534
33535 wx_cv_lib_lesstif="no"
33536 fi
33537
33538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33539
33540 fi
33541 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
33542 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
33543 if test "$wx_cv_lib_lesstif" = "yes"; then
33544 cat >>confdefs.h <<\_ACEOF
33545 #define __WXLESSTIF__ 1
33546 _ACEOF
33547
33548 else
33549 cat >>confdefs.h <<\_ACEOF
33550 #define __WXLESSTIF__ 0
33551 _ACEOF
33552
33553 fi
33554
33555 CFLAGS=$save_CFLAGS
33556
33557 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
33558 TOOLKIT=MOTIF
33559 GUIDIST=MOTIF_DIST
33560 fi
33561
33562 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
33563 if test "$wxUSE_LIBXPM" = "sys"; then
33564 { echo "$as_me:$LINENO: checking for Xpm library" >&5
33565 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
33566
33567 ac_find_libraries=
33568 for ac_dir in $SEARCH_LIB;
33569 do
33570 for ac_extension in a so sl dylib dll.a; do
33571 if test -f "$ac_dir/libXpm.$ac_extension"; then
33572 ac_find_libraries=$ac_dir
33573 break 2
33574 fi
33575 done
33576 done
33577
33578 if test "$ac_find_libraries" != "" ; then
33579
33580 if test "$ac_find_libraries" = "default location"; then
33581 ac_path_to_link=""
33582 else
33583 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33584 result=$?
33585 if test $result = 0; then
33586 ac_path_to_link=""
33587 else
33588 ac_path_to_link=" -L$ac_find_libraries"
33589 fi
33590 fi
33591
33592 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33593 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33594 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33595
33596 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
33597 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
33598 if test "${wx_cv_x11_xpm_h+set}" = set; then
33599 echo $ECHO_N "(cached) $ECHO_C" >&6
33600 else
33601
33602 save_CFLAGS=$CFLAGS
33603 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33604
33605 cat >conftest.$ac_ext <<_ACEOF
33606 /* confdefs.h. */
33607 _ACEOF
33608 cat confdefs.h >>conftest.$ac_ext
33609 cat >>conftest.$ac_ext <<_ACEOF
33610 /* end confdefs.h. */
33611
33612 #include <X11/xpm.h>
33613
33614 int
33615 main ()
33616 {
33617
33618 int version;
33619 version = XpmLibraryVersion();
33620
33621 ;
33622 return 0;
33623 }
33624 _ACEOF
33625 rm -f conftest.$ac_objext
33626 if { (ac_try="$ac_compile"
33627 case "(($ac_try" in
33628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33629 *) ac_try_echo=$ac_try;;
33630 esac
33631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33632 (eval "$ac_compile") 2>conftest.er1
33633 ac_status=$?
33634 grep -v '^ *+' conftest.er1 >conftest.err
33635 rm -f conftest.er1
33636 cat conftest.err >&5
33637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33638 (exit $ac_status); } && {
33639 test -z "$ac_c_werror_flag" ||
33640 test ! -s conftest.err
33641 } && test -s conftest.$ac_objext; then
33642 wx_cv_x11_xpm_h=yes
33643 else
33644 echo "$as_me: failed program was:" >&5
33645 sed 's/^/| /' conftest.$ac_ext >&5
33646
33647 wx_cv_x11_xpm_h=no
33648
33649 fi
33650
33651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33652
33653 CFLAGS=$save_CFLAGS
33654
33655
33656 fi
33657 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
33658 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
33659
33660 if test $wx_cv_x11_xpm_h = "yes"; then
33661 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
33662 cat >>confdefs.h <<\_ACEOF
33663 #define wxHAVE_LIB_XPM 1
33664 _ACEOF
33665
33666 else
33667 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
33668 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
33669 fi
33670 fi
33671
33672 fi
33673
33674 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
33675 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
33676 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
33677 echo $ECHO_N "(cached) $ECHO_C" >&6
33678 else
33679 ac_check_lib_save_LIBS=$LIBS
33680 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
33681 cat >conftest.$ac_ext <<_ACEOF
33682 /* confdefs.h. */
33683 _ACEOF
33684 cat confdefs.h >>conftest.$ac_ext
33685 cat >>conftest.$ac_ext <<_ACEOF
33686 /* end confdefs.h. */
33687
33688 /* Override any GCC internal prototype to avoid an error.
33689 Use char because int might match the return type of a GCC
33690 builtin and then its argument prototype would still apply. */
33691 #ifdef __cplusplus
33692 extern "C"
33693 #endif
33694 char XShapeQueryExtension ();
33695 int
33696 main ()
33697 {
33698 return XShapeQueryExtension ();
33699 ;
33700 return 0;
33701 }
33702 _ACEOF
33703 rm -f conftest.$ac_objext conftest$ac_exeext
33704 if { (ac_try="$ac_link"
33705 case "(($ac_try" in
33706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33707 *) ac_try_echo=$ac_try;;
33708 esac
33709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33710 (eval "$ac_link") 2>conftest.er1
33711 ac_status=$?
33712 grep -v '^ *+' conftest.er1 >conftest.err
33713 rm -f conftest.er1
33714 cat conftest.err >&5
33715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33716 (exit $ac_status); } && {
33717 test -z "$ac_c_werror_flag" ||
33718 test ! -s conftest.err
33719 } && test -s conftest$ac_exeext &&
33720 $as_test_x conftest$ac_exeext; then
33721 ac_cv_lib_Xext_XShapeQueryExtension=yes
33722 else
33723 echo "$as_me: failed program was:" >&5
33724 sed 's/^/| /' conftest.$ac_ext >&5
33725
33726 ac_cv_lib_Xext_XShapeQueryExtension=no
33727 fi
33728
33729 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33730 conftest$ac_exeext conftest.$ac_ext
33731 LIBS=$ac_check_lib_save_LIBS
33732 fi
33733 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
33734 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
33735 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
33736
33737 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
33738 wxHAVE_XEXT_LIB=1
33739
33740 fi
33741
33742
33743 if test "$wxHAVE_XEXT_LIB" = 1; then
33744 save_CFLAGS="$CFLAGS"
33745 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33746
33747 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
33748 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
33749 cat >conftest.$ac_ext <<_ACEOF
33750 /* confdefs.h. */
33751 _ACEOF
33752 cat confdefs.h >>conftest.$ac_ext
33753 cat >>conftest.$ac_ext <<_ACEOF
33754 /* end confdefs.h. */
33755
33756 #include <X11/Xlib.h>
33757 #include <X11/extensions/shape.h>
33758
33759 int
33760 main ()
33761 {
33762
33763 int dummy1, dummy2;
33764 XShapeQueryExtension((Display*)NULL,
33765 (int*)NULL, (int*)NULL);
33766
33767 ;
33768 return 0;
33769 }
33770 _ACEOF
33771 rm -f conftest.$ac_objext
33772 if { (ac_try="$ac_compile"
33773 case "(($ac_try" in
33774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33775 *) ac_try_echo=$ac_try;;
33776 esac
33777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33778 (eval "$ac_compile") 2>conftest.er1
33779 ac_status=$?
33780 grep -v '^ *+' conftest.er1 >conftest.err
33781 rm -f conftest.er1
33782 cat conftest.err >&5
33783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33784 (exit $ac_status); } && {
33785 test -z "$ac_c_werror_flag" ||
33786 test ! -s conftest.err
33787 } && test -s conftest.$ac_objext; then
33788
33789 cat >>confdefs.h <<\_ACEOF
33790 #define HAVE_XSHAPE 1
33791 _ACEOF
33792
33793 { echo "$as_me:$LINENO: result: found" >&5
33794 echo "${ECHO_T}found" >&6; }
33795
33796 else
33797 echo "$as_me: failed program was:" >&5
33798 sed 's/^/| /' conftest.$ac_ext >&5
33799
33800
33801 { echo "$as_me:$LINENO: result: not found" >&5
33802 echo "${ECHO_T}not found" >&6; }
33803
33804 fi
33805
33806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33807 CFLAGS="$save_CFLAGS"
33808
33809 fi
33810 fi
33811
33812 if test "$wxUSE_OSX_CARBON" = 1; then
33813 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
33814 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
33815 if test "$GCC" = yes; then
33816 { echo "$as_me:$LINENO: result: gcc" >&5
33817 echo "${ECHO_T}gcc" >&6; }
33818 CPPFLAGS_PASCAL="-fpascal-strings"
33819 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
33820 { echo "$as_me:$LINENO: result: xlc" >&5
33821 echo "${ECHO_T}xlc" >&6; }
33822 CPPFLAGS_PASCAL="-qmacpstr"
33823 else
33824 { echo "$as_me:$LINENO: result: none" >&5
33825 echo "${ECHO_T}none" >&6; }
33826 fi
33827
33828 if test "x$wxUSE_UNIX" = "xyes"; then
33829 CPPFLAGS="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
33830 else
33831 CPPFLAGS="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
33832 fi
33833
33834 TOOLKIT=OSX_CARBON
33835 GUIDIST=OSX_CARBON_DIST
33836 WXBASEPORT="_carbon"
33837
33838 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
33839 fi
33840
33841 if test "$wxUSE_OSX_COCOA" = 1; then
33842 TOOLKIT=OSX_COCOA
33843 GUIDIST=OSX_COCOA_DIST
33844
33845 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
33846 fi
33847
33848 if test "$wxUSE_OSX_IPHONE" = 1; then
33849 TOOLKIT=OSX_IPHONE
33850 fi
33851
33852 if test "$wxUSE_OLD_COCOA" = 1; then
33853 TOOLKIT=COCOA
33854 GUIDIST=COCOA_DIST
33855 fi
33856
33857 if test "$wxUSE_PM" = 1; then
33858 TOOLKIT=PM
33859 GUIDIST=PM_DIST
33860 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
33861 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
33862 if test "${wx_cv_spbcdata+set}" = set; then
33863 echo $ECHO_N "(cached) $ECHO_C" >&6
33864 else
33865
33866 cat >conftest.$ac_ext <<_ACEOF
33867 /* confdefs.h. */
33868 _ACEOF
33869 cat confdefs.h >>conftest.$ac_ext
33870 cat >>conftest.$ac_ext <<_ACEOF
33871 /* end confdefs.h. */
33872
33873 #define INCL_PM
33874 #include <os2.h>
33875
33876 int
33877 main ()
33878 {
33879
33880 SPBCDATA test;
33881
33882 ;
33883 return 0;
33884 }
33885 _ACEOF
33886 rm -f conftest.$ac_objext
33887 if { (ac_try="$ac_compile"
33888 case "(($ac_try" in
33889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33890 *) ac_try_echo=$ac_try;;
33891 esac
33892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33893 (eval "$ac_compile") 2>conftest.er1
33894 ac_status=$?
33895 grep -v '^ *+' conftest.er1 >conftest.err
33896 rm -f conftest.er1
33897 cat conftest.err >&5
33898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33899 (exit $ac_status); } && {
33900 test -z "$ac_c_werror_flag" ||
33901 test ! -s conftest.err
33902 } && test -s conftest.$ac_objext; then
33903 wx_cv_spbcdata=yes
33904 else
33905 echo "$as_me: failed program was:" >&5
33906 sed 's/^/| /' conftest.$ac_ext >&5
33907
33908 wx_cv_spbcdata=no
33909
33910 fi
33911
33912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33913
33914
33915 fi
33916 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
33917 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
33918
33919 if test $wx_cv_spbcdata = "yes"; then
33920 cat >>confdefs.h <<\_ACEOF
33921 #define HAVE_SPBCDATA 1
33922 _ACEOF
33923
33924 fi
33925 fi
33926
33927 if test "$TOOLKIT" = "PM" ; then
33928 TOOLKIT_DIR="os2"
33929 else
33930 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
33931 fi
33932
33933 if test "$wxUSE_UNIVERSAL" = "yes"; then
33934 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
33935 WIDGET_SET=univ
33936 fi
33937
33938 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
33939 DISTDIR="wx\$(TOOLKIT)"
33940 else
33941 USE_GUI=0
33942
33943 TOOLKIT_DIR="base"
33944
33945 if test "$USE_WIN32" = 1 ; then
33946 TOOLKIT="MSW"
33947 fi
33948
33949 GUIDIST="BASE_DIST"
33950 DISTDIR="wxBase"
33951 fi
33952
33953
33954
33955 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
33956 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
33957 wxUSE_UNICODE_UTF8=yes
33958 elif test "$USE_OS2" = 1 ; then
33959 wxUSE_UNICODE_UTF8=yes
33960 else
33961 wxUSE_UNICODE_UTF8=no
33962 fi
33963 fi
33964
33965
33966 if test "$wxUSE_GUI" = "yes"; then
33967 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
33968
33969 for ac_header in X11/Xlib.h
33970 do
33971 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33972 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33973 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33974 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33975 echo $ECHO_N "(cached) $ECHO_C" >&6
33976 else
33977 cat >conftest.$ac_ext <<_ACEOF
33978 /* confdefs.h. */
33979 _ACEOF
33980 cat confdefs.h >>conftest.$ac_ext
33981 cat >>conftest.$ac_ext <<_ACEOF
33982 /* end confdefs.h. */
33983
33984
33985 #include <$ac_header>
33986 _ACEOF
33987 rm -f conftest.$ac_objext
33988 if { (ac_try="$ac_compile"
33989 case "(($ac_try" in
33990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33991 *) ac_try_echo=$ac_try;;
33992 esac
33993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33994 (eval "$ac_compile") 2>conftest.er1
33995 ac_status=$?
33996 grep -v '^ *+' conftest.er1 >conftest.err
33997 rm -f conftest.er1
33998 cat conftest.err >&5
33999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34000 (exit $ac_status); } && {
34001 test -z "$ac_c_werror_flag" ||
34002 test ! -s conftest.err
34003 } && test -s conftest.$ac_objext; then
34004 eval "$as_ac_Header=yes"
34005 else
34006 echo "$as_me: failed program was:" >&5
34007 sed 's/^/| /' conftest.$ac_ext >&5
34008
34009 eval "$as_ac_Header=no"
34010 fi
34011
34012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34013 fi
34014 ac_res=`eval echo '${'$as_ac_Header'}'`
34015 { echo "$as_me:$LINENO: result: $ac_res" >&5
34016 echo "${ECHO_T}$ac_res" >&6; }
34017 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34018 cat >>confdefs.h <<_ACEOF
34019 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34020 _ACEOF
34021
34022 fi
34023
34024 done
34025
34026
34027 for ac_header in X11/XKBlib.h
34028 do
34029 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34030 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34031 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34032 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34033 echo $ECHO_N "(cached) $ECHO_C" >&6
34034 else
34035 cat >conftest.$ac_ext <<_ACEOF
34036 /* confdefs.h. */
34037 _ACEOF
34038 cat confdefs.h >>conftest.$ac_ext
34039 cat >>conftest.$ac_ext <<_ACEOF
34040 /* end confdefs.h. */
34041
34042 #if HAVE_X11_XLIB_H
34043 #include <X11/Xlib.h>
34044 #endif
34045
34046
34047 #include <$ac_header>
34048 _ACEOF
34049 rm -f conftest.$ac_objext
34050 if { (ac_try="$ac_compile"
34051 case "(($ac_try" in
34052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34053 *) ac_try_echo=$ac_try;;
34054 esac
34055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34056 (eval "$ac_compile") 2>conftest.er1
34057 ac_status=$?
34058 grep -v '^ *+' conftest.er1 >conftest.err
34059 rm -f conftest.er1
34060 cat conftest.err >&5
34061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34062 (exit $ac_status); } && {
34063 test -z "$ac_c_werror_flag" ||
34064 test ! -s conftest.err
34065 } && test -s conftest.$ac_objext; then
34066 eval "$as_ac_Header=yes"
34067 else
34068 echo "$as_me: failed program was:" >&5
34069 sed 's/^/| /' conftest.$ac_ext >&5
34070
34071 eval "$as_ac_Header=no"
34072 fi
34073
34074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34075 fi
34076 ac_res=`eval echo '${'$as_ac_Header'}'`
34077 { echo "$as_me:$LINENO: result: $ac_res" >&5
34078 echo "${ECHO_T}$ac_res" >&6; }
34079 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34080 cat >>confdefs.h <<_ACEOF
34081 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34082 _ACEOF
34083
34084 fi
34085
34086 done
34087
34088 fi
34089 fi
34090
34091
34092
34093 USE_XINERAMA=0
34094 if test "$wxUSE_DISPLAY" = "yes"; then
34095 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK1" = 1; then
34096 { echo "$as_me:$LINENO: checking for Xinerama" >&5
34097 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
34098
34099 ac_find_libraries=
34100 for ac_dir in $SEARCH_LIB;
34101 do
34102 for ac_extension in a so sl dylib dll.a; do
34103 if test -f "$ac_dir/libXinerama.$ac_extension"; then
34104 ac_find_libraries=$ac_dir
34105 break 2
34106 fi
34107 done
34108 done
34109
34110 if test "$ac_find_libraries" != "" ; then
34111
34112 if test "$ac_find_libraries" = "default location"; then
34113 ac_path_to_link=""
34114 else
34115 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34116 result=$?
34117 if test $result = 0; then
34118 ac_path_to_link=""
34119 else
34120 ac_path_to_link=" -L$ac_find_libraries"
34121 fi
34122 fi
34123
34124 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34125 LDFLAGS="$LDFLAGS $ac_path_to_link"
34126 fi
34127 USE_XINERAMA=1
34128 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
34129 { echo "$as_me:$LINENO: result: yes" >&5
34130 echo "${ECHO_T}yes" >&6; }
34131 else
34132 { echo "$as_me:$LINENO: result: no" >&5
34133 echo "${ECHO_T}no" >&6; }
34134 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
34135 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
34136 wxUSE_DISPLAY="no"
34137 fi
34138 elif test "$wxUSE_MSW" = 1; then
34139 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
34140 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
34141 if test "${ac_cv_header_ddraw_h+set}" = set; then
34142 echo $ECHO_N "(cached) $ECHO_C" >&6
34143 else
34144 cat >conftest.$ac_ext <<_ACEOF
34145 /* confdefs.h. */
34146 _ACEOF
34147 cat confdefs.h >>conftest.$ac_ext
34148 cat >>conftest.$ac_ext <<_ACEOF
34149 /* end confdefs.h. */
34150 #include <windows.h>
34151
34152 #include <ddraw.h>
34153 _ACEOF
34154 rm -f conftest.$ac_objext
34155 if { (ac_try="$ac_compile"
34156 case "(($ac_try" in
34157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34158 *) ac_try_echo=$ac_try;;
34159 esac
34160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34161 (eval "$ac_compile") 2>conftest.er1
34162 ac_status=$?
34163 grep -v '^ *+' conftest.er1 >conftest.err
34164 rm -f conftest.er1
34165 cat conftest.err >&5
34166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34167 (exit $ac_status); } && {
34168 test -z "$ac_c_werror_flag" ||
34169 test ! -s conftest.err
34170 } && test -s conftest.$ac_objext; then
34171 ac_cv_header_ddraw_h=yes
34172 else
34173 echo "$as_me: failed program was:" >&5
34174 sed 's/^/| /' conftest.$ac_ext >&5
34175
34176 ac_cv_header_ddraw_h=no
34177 fi
34178
34179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34180 fi
34181 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
34182 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
34183
34184
34185 fi
34186 fi
34187
34188 if test "$wxUSE_DISPLAY" = "yes"; then
34189 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
34190 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
34191 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
34192
34193 ac_find_libraries=
34194 for ac_dir in $SEARCH_LIB;
34195 do
34196 for ac_extension in a so sl dylib dll.a; do
34197 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
34198 ac_find_libraries=$ac_dir
34199 break 2
34200 fi
34201 done
34202 done
34203
34204 if test "$ac_find_libraries" != "" ; then
34205 { echo "$as_me:$LINENO: result: yes" >&5
34206 echo "${ECHO_T}yes" >&6; }
34207
34208 for ac_header in X11/extensions/xf86vmode.h
34209 do
34210 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34211 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34212 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34213 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34214 echo $ECHO_N "(cached) $ECHO_C" >&6
34215 else
34216 cat >conftest.$ac_ext <<_ACEOF
34217 /* confdefs.h. */
34218 _ACEOF
34219 cat confdefs.h >>conftest.$ac_ext
34220 cat >>conftest.$ac_ext <<_ACEOF
34221 /* end confdefs.h. */
34222
34223 #if HAVE_X11_XLIB_H
34224 #include <X11/Xlib.h>
34225 #endif
34226
34227
34228 #include <$ac_header>
34229 _ACEOF
34230 rm -f conftest.$ac_objext
34231 if { (ac_try="$ac_compile"
34232 case "(($ac_try" in
34233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34234 *) ac_try_echo=$ac_try;;
34235 esac
34236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34237 (eval "$ac_compile") 2>conftest.er1
34238 ac_status=$?
34239 grep -v '^ *+' conftest.er1 >conftest.err
34240 rm -f conftest.er1
34241 cat conftest.err >&5
34242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34243 (exit $ac_status); } && {
34244 test -z "$ac_c_werror_flag" ||
34245 test ! -s conftest.err
34246 } && test -s conftest.$ac_objext; then
34247 eval "$as_ac_Header=yes"
34248 else
34249 echo "$as_me: failed program was:" >&5
34250 sed 's/^/| /' conftest.$ac_ext >&5
34251
34252 eval "$as_ac_Header=no"
34253 fi
34254
34255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34256 fi
34257 ac_res=`eval echo '${'$as_ac_Header'}'`
34258 { echo "$as_me:$LINENO: result: $ac_res" >&5
34259 echo "${ECHO_T}$ac_res" >&6; }
34260 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34261 cat >>confdefs.h <<_ACEOF
34262 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34263 _ACEOF
34264
34265 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
34266
34267 fi
34268
34269 done
34270
34271 else
34272 { echo "$as_me:$LINENO: result: no" >&5
34273 echo "${ECHO_T}no" >&6; }
34274 fi
34275 fi
34276 fi
34277
34278 if test "$wxUSE_DETECT_SM" = "yes"; then
34279 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
34280 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
34281 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
34282
34283 ac_find_libraries=
34284 for ac_dir in $SEARCH_LIB;
34285 do
34286 for ac_extension in a so sl dylib dll.a; do
34287 if test -f "$ac_dir/libSM.$ac_extension"; then
34288 ac_find_libraries=$ac_dir
34289 break 2
34290 fi
34291 done
34292 done
34293
34294 if test "$ac_find_libraries" != "" ; then
34295
34296 if test "$ac_find_libraries" = "default location"; then
34297 ac_path_to_link=""
34298 else
34299 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34300 result=$?
34301 if test $result = 0; then
34302 ac_path_to_link=""
34303 else
34304 ac_path_to_link=" -L$ac_find_libraries"
34305 fi
34306 fi
34307
34308 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34309 LDFLAGS="$LDFLAGS $ac_path_to_link"
34310 fi
34311 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
34312 { echo "$as_me:$LINENO: result: yes" >&5
34313 echo "${ECHO_T}yes" >&6; }
34314 else
34315 { echo "$as_me:$LINENO: result: no" >&5
34316 echo "${ECHO_T}no" >&6; }
34317 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
34318 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
34319 wxUSE_DETECT_SM="no"
34320 fi
34321 else
34322 wxUSE_DETECT_SM="no"
34323 fi
34324 fi
34325
34326
34327
34328 USE_OPENGL=0
34329 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
34330
34331
34332 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
34333 OPENGL_LIBS="-framework OpenGL -framework AGL"
34334 elif test "$wxUSE_MSW" = 1; then
34335 OPENGL_LIBS="-lopengl32 -lglu32"
34336 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
34337
34338 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
34339 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
34340
34341 ac_find_includes=
34342 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
34343 do
34344 if test -f "$ac_dir/GL/gl.h"; then
34345 ac_find_includes=$ac_dir
34346 break
34347 fi
34348 done
34349
34350 if test "$ac_find_includes" != "" ; then
34351 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34352 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34353
34354 if test "x$ac_find_includes" = "x/usr/include"; then
34355 ac_path_to_include=""
34356 else
34357 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
34358 result=$?
34359 if test $result = 0; then
34360 ac_path_to_include=""
34361 else
34362 ac_path_to_include=" -I$ac_find_includes"
34363 fi
34364 fi
34365
34366 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
34367 else
34368 { echo "$as_me:$LINENO: result: not found" >&5
34369 echo "${ECHO_T}not found" >&6; }
34370 fi
34371
34372 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
34373 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
34374 if test "${ac_cv_header_GL_gl_h+set}" = set; then
34375 echo $ECHO_N "(cached) $ECHO_C" >&6
34376 else
34377 cat >conftest.$ac_ext <<_ACEOF
34378 /* confdefs.h. */
34379 _ACEOF
34380 cat confdefs.h >>conftest.$ac_ext
34381 cat >>conftest.$ac_ext <<_ACEOF
34382 /* end confdefs.h. */
34383
34384
34385 #include <GL/gl.h>
34386 _ACEOF
34387 rm -f conftest.$ac_objext
34388 if { (ac_try="$ac_compile"
34389 case "(($ac_try" in
34390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34391 *) ac_try_echo=$ac_try;;
34392 esac
34393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34394 (eval "$ac_compile") 2>conftest.er1
34395 ac_status=$?
34396 grep -v '^ *+' conftest.er1 >conftest.err
34397 rm -f conftest.er1
34398 cat conftest.err >&5
34399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34400 (exit $ac_status); } && {
34401 test -z "$ac_c_werror_flag" ||
34402 test ! -s conftest.err
34403 } && test -s conftest.$ac_objext; then
34404 ac_cv_header_GL_gl_h=yes
34405 else
34406 echo "$as_me: failed program was:" >&5
34407 sed 's/^/| /' conftest.$ac_ext >&5
34408
34409 ac_cv_header_GL_gl_h=no
34410 fi
34411
34412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34413 fi
34414 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
34415 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
34416 if test $ac_cv_header_GL_gl_h = yes; then
34417
34418 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
34419 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
34420 if test "${ac_cv_header_GL_glu_h+set}" = set; then
34421 echo $ECHO_N "(cached) $ECHO_C" >&6
34422 else
34423 cat >conftest.$ac_ext <<_ACEOF
34424 /* confdefs.h. */
34425 _ACEOF
34426 cat confdefs.h >>conftest.$ac_ext
34427 cat >>conftest.$ac_ext <<_ACEOF
34428 /* end confdefs.h. */
34429
34430
34431 #include <GL/glu.h>
34432 _ACEOF
34433 rm -f conftest.$ac_objext
34434 if { (ac_try="$ac_compile"
34435 case "(($ac_try" in
34436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34437 *) ac_try_echo=$ac_try;;
34438 esac
34439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34440 (eval "$ac_compile") 2>conftest.er1
34441 ac_status=$?
34442 grep -v '^ *+' conftest.er1 >conftest.err
34443 rm -f conftest.er1
34444 cat conftest.err >&5
34445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34446 (exit $ac_status); } && {
34447 test -z "$ac_c_werror_flag" ||
34448 test ! -s conftest.err
34449 } && test -s conftest.$ac_objext; then
34450 ac_cv_header_GL_glu_h=yes
34451 else
34452 echo "$as_me: failed program was:" >&5
34453 sed 's/^/| /' conftest.$ac_ext >&5
34454
34455 ac_cv_header_GL_glu_h=no
34456 fi
34457
34458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34459 fi
34460 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
34461 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
34462 if test $ac_cv_header_GL_glu_h = yes; then
34463
34464 found_gl=0
34465
34466 { echo "$as_me:$LINENO: checking for -lGL" >&5
34467 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
34468
34469 ac_find_libraries=
34470 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
34471 do
34472 for ac_extension in a so sl dylib dll.a; do
34473 if test -f "$ac_dir/libGL.$ac_extension"; then
34474 ac_find_libraries=$ac_dir
34475 break 2
34476 fi
34477 done
34478 done
34479
34480 if test "$ac_find_libraries" != "" ; then
34481 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34482 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34483
34484
34485 if test "$ac_find_libraries" = "default location"; then
34486 ac_path_to_link=""
34487 else
34488 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34489 result=$?
34490 if test $result = 0; then
34491 ac_path_to_link=""
34492 else
34493 ac_path_to_link=" -L$ac_find_libraries"
34494 fi
34495 fi
34496
34497 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34498 LDFLAGS_GL="$ac_path_to_link"
34499 fi
34500
34501 { echo "$as_me:$LINENO: checking for -lGLU" >&5
34502 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
34503
34504 ac_find_libraries=
34505 for ac_dir in $SEARCH_LIB;
34506 do
34507 for ac_extension in a so sl dylib dll.a; do
34508 if test -f "$ac_dir/libGLU.$ac_extension"; then
34509 ac_find_libraries=$ac_dir
34510 break 2
34511 fi
34512 done
34513 done
34514
34515 if test "$ac_find_libraries" != "" ; then
34516
34517 if test "$ac_find_libraries" = "default location"; then
34518 ac_path_to_link=""
34519 else
34520 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34521 result=$?
34522 if test $result = 0; then
34523 ac_path_to_link=""
34524 else
34525 ac_path_to_link=" -L$ac_find_libraries"
34526 fi
34527 fi
34528
34529 if test "$ac_path_to_link" != " -L/usr/lib" -a \
34530 "$ac_path_to_link" != "$LDFLAGS_GL"; then
34531 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
34532 fi
34533
34534 found_gl=1
34535 OPENGL_LIBS="-lGL -lGLU"
34536 { echo "$as_me:$LINENO: result: yes" >&5
34537 echo "${ECHO_T}yes" >&6; }
34538 else
34539 { echo "$as_me:$LINENO: result: no" >&5
34540 echo "${ECHO_T}no" >&6; }
34541 fi
34542 else
34543 { echo "$as_me:$LINENO: result: no" >&5
34544 echo "${ECHO_T}no" >&6; }
34545 fi
34546
34547 if test "$found_gl" != 1; then
34548 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
34549 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
34550
34551 ac_find_libraries=
34552 for ac_dir in $SEARCH_LIB;
34553 do
34554 for ac_extension in a so sl dylib dll.a; do
34555 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
34556 ac_find_libraries=$ac_dir
34557 break 2
34558 fi
34559 done
34560 done
34561
34562 if test "$ac_find_libraries" != "" ; then
34563
34564 if test "$ac_find_libraries" = "default location"; then
34565 ac_path_to_link=""
34566 else
34567 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34568 result=$?
34569 if test $result = 0; then
34570 ac_path_to_link=""
34571 else
34572 ac_path_to_link=" -L$ac_find_libraries"
34573 fi
34574 fi
34575
34576 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
34577 OPENGL_LIBS="-lMesaGL -lMesaGLU"
34578 { echo "$as_me:$LINENO: result: yes" >&5
34579 echo "${ECHO_T}yes" >&6; }
34580 else
34581 { echo "$as_me:$LINENO: result: no" >&5
34582 echo "${ECHO_T}no" >&6; }
34583 fi
34584 fi
34585
34586 fi
34587
34588
34589
34590 fi
34591
34592
34593
34594 if test "x$OPENGL_LIBS" = "x"; then
34595 if test "$wxUSE_OPENGL" = "yes"; then
34596 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
34597 echo "$as_me: error: OpenGL libraries not available" >&2;}
34598 { (exit 1); exit 1; }; }
34599 else
34600 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
34601 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
34602 wxUSE_OPENGL=no
34603 USE_OPENGL=0
34604 fi
34605 fi
34606 else
34607 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
34608 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
34609 wxUSE_OPENGL="no"
34610 fi
34611
34612 if test "$wxUSE_OPENGL" = "auto"; then
34613 wxUSE_OPENGL=yes
34614 fi
34615
34616 if test "$wxUSE_OPENGL" = "yes"; then
34617 USE_OPENGL=1
34618 cat >>confdefs.h <<\_ACEOF
34619 #define wxUSE_OPENGL 1
34620 _ACEOF
34621
34622 cat >>confdefs.h <<\_ACEOF
34623 #define wxUSE_GLCANVAS 1
34624 _ACEOF
34625
34626 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
34627 fi
34628 fi
34629
34630
34631 if test -n "$TOOLKIT" ; then
34632 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
34633 fi
34634
34635
34636
34637 if test "$wxUSE_SHARED" = "yes"; then
34638 case "${host}" in
34639 *-pc-msdosdjgpp )
34640 wxUSE_SHARED=no
34641 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
34642 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
34643 ;;
34644 esac
34645 fi
34646
34647 if test "$wxUSE_SHARED" = "yes"; then
34648
34649
34650 case "${host}" in
34651 *-*-cygwin* | *-*-mingw* )
34652 wx_cv_version_script=no
34653 ;;
34654
34655 *)
34656 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
34657 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
34658 if test "${wx_cv_version_script+set}" = set; then
34659 echo $ECHO_N "(cached) $ECHO_C" >&6
34660 else
34661
34662 echo "VER_1 { *; };" >conftest.sym
34663 echo "int main() { return 0; }" >conftest.cpp
34664
34665 if { ac_try='
34666 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34667 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
34668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34669 (eval $ac_try) 2>&5
34670 ac_status=$?
34671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34672 (exit $ac_status); }; } ; then
34673 if test -s conftest.stderr ; then
34674 wx_cv_version_script=no
34675 else
34676 wx_cv_version_script=yes
34677 fi
34678 else
34679 wx_cv_version_script=no
34680 fi
34681
34682 if test $wx_cv_version_script = yes
34683 then
34684 echo "struct B { virtual ~B() { } }; \
34685 struct D : public B { }; \
34686 void F() { D d; }" > conftest.cpp
34687
34688 if { ac_try='
34689 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34690 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
34691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34692 (eval $ac_try) 2>&5
34693 ac_status=$?
34694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34695 (exit $ac_status); }; } &&
34696 { ac_try='
34697 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34698 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
34699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34700 (eval $ac_try) 2>&5
34701 ac_status=$?
34702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34703 (exit $ac_status); }; }
34704 then
34705 if { ac_try='
34706 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34707 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
34708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34709 (eval $ac_try) 2>&5
34710 ac_status=$?
34711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34712 (exit $ac_status); }; }
34713 then
34714 wx_cv_version_script=yes
34715 else
34716 wx_cv_version_script=no
34717 fi
34718 fi
34719 fi
34720
34721 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
34722 rm -f conftest1.output conftest2.output conftest3.output
34723
34724 fi
34725 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
34726 echo "${ECHO_T}$wx_cv_version_script" >&6; }
34727
34728 if test $wx_cv_version_script = yes ; then
34729 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
34730 fi
34731 ;;
34732 esac
34733
34734
34735 if test "$wxUSE_VISIBILITY" != "no"; then
34736
34737
34738 if test -n "$GCC"; then
34739 CFLAGS_VISIBILITY="-fvisibility=hidden"
34740 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
34741 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
34742 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
34743 if test "${wx_cv_cc_visibility+set}" = set; then
34744 echo $ECHO_N "(cached) $ECHO_C" >&6
34745 else
34746
34747 wx_save_CXXFLAGS="$CXXFLAGS"
34748 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
34749 ac_ext=cpp
34750 ac_cpp='$CXXCPP $CPPFLAGS'
34751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34754
34755 cat >conftest.$ac_ext <<_ACEOF
34756 /* confdefs.h. */
34757 _ACEOF
34758 cat confdefs.h >>conftest.$ac_ext
34759 cat >>conftest.$ac_ext <<_ACEOF
34760 /* end confdefs.h. */
34761
34762 /* we need gcc >= 4.0, older versions with visibility support
34763 didn't have class visibility: */
34764 #if defined(__GNUC__) && __GNUC__ < 4
34765 error this gcc is too old;
34766 #endif
34767
34768 /* visibility only makes sense for ELF shared libs: */
34769 #if !defined(__ELF__) && !defined(__APPLE__)
34770 error this platform has no visibility;
34771 #endif
34772
34773 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
34774 extern __attribute__((__visibility__("default"))) int exportedvar;
34775 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
34776 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
34777 class __attribute__((__visibility__("default"))) Foo {
34778 Foo() {}
34779 };
34780
34781 int
34782 main ()
34783 {
34784
34785 ;
34786 return 0;
34787 }
34788 _ACEOF
34789 rm -f conftest.$ac_objext
34790 if { (ac_try="$ac_compile"
34791 case "(($ac_try" in
34792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34793 *) ac_try_echo=$ac_try;;
34794 esac
34795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34796 (eval "$ac_compile") 2>conftest.er1
34797 ac_status=$?
34798 grep -v '^ *+' conftest.er1 >conftest.err
34799 rm -f conftest.er1
34800 cat conftest.err >&5
34801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34802 (exit $ac_status); } && {
34803 test -z "$ac_cxx_werror_flag" ||
34804 test ! -s conftest.err
34805 } && test -s conftest.$ac_objext; then
34806 wx_cv_cc_visibility=yes
34807 else
34808 echo "$as_me: failed program was:" >&5
34809 sed 's/^/| /' conftest.$ac_ext >&5
34810
34811 wx_cv_cc_visibility=no
34812 fi
34813
34814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34815 ac_ext=c
34816 ac_cpp='$CPP $CPPFLAGS'
34817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34820
34821 CXXFLAGS="$wx_save_CXXFLAGS"
34822 fi
34823
34824 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
34825 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
34826 if test $wx_cv_cc_visibility = yes; then
34827 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
34828 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
34829 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
34830 echo $ECHO_N "(cached) $ECHO_C" >&6
34831 else
34832
34833 wx_save_CXXFLAGS="$CXXFLAGS"
34834 wx_save_LDFLAGS="$LDFLAGS"
34835 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
34836 LDFLAGS="$LDFLAGS -shared -fPIC"
34837 ac_ext=cpp
34838 ac_cpp='$CXXCPP $CPPFLAGS'
34839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34842
34843 cat >conftest.$ac_ext <<_ACEOF
34844 /* confdefs.h. */
34845 _ACEOF
34846 cat confdefs.h >>conftest.$ac_ext
34847 cat >>conftest.$ac_ext <<_ACEOF
34848 /* end confdefs.h. */
34849
34850 #include <string>
34851
34852 int
34853 main ()
34854 {
34855
34856 std::string s("hello");
34857 return s.length();
34858
34859 ;
34860 return 0;
34861 }
34862 _ACEOF
34863 rm -f conftest.$ac_objext conftest$ac_exeext
34864 if { (ac_try="$ac_link"
34865 case "(($ac_try" in
34866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34867 *) ac_try_echo=$ac_try;;
34868 esac
34869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34870 (eval "$ac_link") 2>conftest.er1
34871 ac_status=$?
34872 grep -v '^ *+' conftest.er1 >conftest.err
34873 rm -f conftest.er1
34874 cat conftest.err >&5
34875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34876 (exit $ac_status); } && {
34877 test -z "$ac_cxx_werror_flag" ||
34878 test ! -s conftest.err
34879 } && test -s conftest$ac_exeext &&
34880 $as_test_x conftest$ac_exeext; then
34881 wx_cv_cc_broken_libstdcxx_visibility=no
34882 else
34883 echo "$as_me: failed program was:" >&5
34884 sed 's/^/| /' conftest.$ac_ext >&5
34885
34886 wx_cv_cc_broken_libstdcxx_visibility=yes
34887 fi
34888
34889 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34890 conftest$ac_exeext conftest.$ac_ext
34891 ac_ext=c
34892 ac_cpp='$CPP $CPPFLAGS'
34893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34896
34897 CXXFLAGS="$wx_save_CXXFLAGS"
34898 LDFLAGS="$wx_save_LDFLAGS"
34899 fi
34900
34901 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
34902 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
34903
34904 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
34905 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
34906 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
34907 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
34908 echo $ECHO_N "(cached) $ECHO_C" >&6
34909 else
34910
34911 ac_ext=cpp
34912 ac_cpp='$CXXCPP $CPPFLAGS'
34913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34916
34917 cat >conftest.$ac_ext <<_ACEOF
34918 /* confdefs.h. */
34919 _ACEOF
34920 cat confdefs.h >>conftest.$ac_ext
34921 cat >>conftest.$ac_ext <<_ACEOF
34922 /* end confdefs.h. */
34923
34924 #pragma GCC visibility push(default)
34925 #include <string>
34926 #pragma GCC visibility pop
34927
34928 int
34929 main ()
34930 {
34931
34932 std::string s("hello");
34933 return s.length();
34934
34935 ;
34936 return 0;
34937 }
34938 _ACEOF
34939 rm -f conftest.$ac_objext conftest$ac_exeext
34940 if { (ac_try="$ac_link"
34941 case "(($ac_try" in
34942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34943 *) ac_try_echo=$ac_try;;
34944 esac
34945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34946 (eval "$ac_link") 2>conftest.er1
34947 ac_status=$?
34948 grep -v '^ *+' conftest.er1 >conftest.err
34949 rm -f conftest.er1
34950 cat conftest.err >&5
34951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34952 (exit $ac_status); } && {
34953 test -z "$ac_cxx_werror_flag" ||
34954 test ! -s conftest.err
34955 } && test -s conftest$ac_exeext &&
34956 $as_test_x conftest$ac_exeext; then
34957 wx_cv_cc_visibility_workaround=no
34958 else
34959 echo "$as_me: failed program was:" >&5
34960 sed 's/^/| /' conftest.$ac_ext >&5
34961
34962 wx_cv_cc_visibility_workaround=yes
34963 fi
34964
34965 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34966 conftest$ac_exeext conftest.$ac_ext
34967 ac_ext=c
34968 ac_cpp='$CPP $CPPFLAGS'
34969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34972
34973
34974 fi
34975
34976 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
34977 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
34978
34979 if test $wx_cv_cc_visibility_workaround = no; then
34980 wx_cv_cc_visibility=no
34981 fi
34982 fi
34983 fi
34984
34985 if test $wx_cv_cc_visibility = yes; then
34986 cat >>confdefs.h <<\_ACEOF
34987 #define HAVE_VISIBILITY 1
34988 _ACEOF
34989
34990 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
34991 cat >>confdefs.h <<\_ACEOF
34992 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
34993 _ACEOF
34994
34995 fi
34996 else
34997 CFLAGS_VISIBILITY=""
34998 CXXFLAGS_VISIBILITY=""
34999 fi
35000
35001
35002 fi
35003
35004 fi
35005
35006 if test "x$SUNCXX" = xyes; then
35007 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
35008 WXCONFIG_RPATH="-R\$libdir"
35009 else
35010 case "${host}" in
35011 *-*-linux* | *-*-gnu* )
35012 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35013 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35014 ;;
35015
35016 *-*-solaris2* )
35017
35018 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
35019
35020 saveLdflags="$LDFLAGS"
35021 LDFLAGS="$saveLdflags -Wl,-rpath,/"
35022 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
35023 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
35024 cat >conftest.$ac_ext <<_ACEOF
35025 /* confdefs.h. */
35026 _ACEOF
35027 cat confdefs.h >>conftest.$ac_ext
35028 cat >>conftest.$ac_ext <<_ACEOF
35029 /* end confdefs.h. */
35030
35031 int
35032 main ()
35033 {
35034
35035 ;
35036 return 0;
35037 }
35038 _ACEOF
35039 rm -f conftest.$ac_objext conftest$ac_exeext
35040 if { (ac_try="$ac_link"
35041 case "(($ac_try" in
35042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35043 *) ac_try_echo=$ac_try;;
35044 esac
35045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35046 (eval "$ac_link") 2>conftest.er1
35047 ac_status=$?
35048 grep -v '^ *+' conftest.er1 >conftest.err
35049 rm -f conftest.er1
35050 cat conftest.err >&5
35051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35052 (exit $ac_status); } && {
35053 test -z "$ac_c_werror_flag" ||
35054 test ! -s conftest.err
35055 } && test -s conftest$ac_exeext &&
35056 $as_test_x conftest$ac_exeext; then
35057
35058 { echo "$as_me:$LINENO: result: yes" >&5
35059 echo "${ECHO_T}yes" >&6; }
35060 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35061 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35062
35063 else
35064 echo "$as_me: failed program was:" >&5
35065 sed 's/^/| /' conftest.$ac_ext >&5
35066
35067
35068 { echo "$as_me:$LINENO: result: no" >&5
35069 echo "${ECHO_T}no" >&6; }
35070 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
35071 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
35072 LDFLAGS="$saveLdflags -Wl,-R,/"
35073 cat >conftest.$ac_ext <<_ACEOF
35074 /* confdefs.h. */
35075 _ACEOF
35076 cat confdefs.h >>conftest.$ac_ext
35077 cat >>conftest.$ac_ext <<_ACEOF
35078 /* end confdefs.h. */
35079
35080 int
35081 main ()
35082 {
35083
35084 ;
35085 return 0;
35086 }
35087 _ACEOF
35088 rm -f conftest.$ac_objext conftest$ac_exeext
35089 if { (ac_try="$ac_link"
35090 case "(($ac_try" in
35091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35092 *) ac_try_echo=$ac_try;;
35093 esac
35094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35095 (eval "$ac_link") 2>conftest.er1
35096 ac_status=$?
35097 grep -v '^ *+' conftest.er1 >conftest.err
35098 rm -f conftest.er1
35099 cat conftest.err >&5
35100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35101 (exit $ac_status); } && {
35102 test -z "$ac_c_werror_flag" ||
35103 test ! -s conftest.err
35104 } && test -s conftest$ac_exeext &&
35105 $as_test_x conftest$ac_exeext; then
35106
35107 { echo "$as_me:$LINENO: result: yes" >&5
35108 echo "${ECHO_T}yes" >&6; }
35109 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
35110 WXCONFIG_RPATH="-Wl,-R,\$libdir"
35111
35112 else
35113 echo "$as_me: failed program was:" >&5
35114 sed 's/^/| /' conftest.$ac_ext >&5
35115
35116
35117 { echo "$as_me:$LINENO: result: no" >&5
35118 echo "${ECHO_T}no" >&6; }
35119
35120 fi
35121
35122 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35123 conftest$ac_exeext conftest.$ac_ext
35124
35125 fi
35126
35127 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35128 conftest$ac_exeext conftest.$ac_ext
35129 LDFLAGS="$saveLdflags"
35130 ;;
35131
35132 *-*-darwin* )
35133 install_name_tool=`which ${HOST_PREFIX}install_name_tool`
35134 if test "$install_name_tool" -a -x "$install_name_tool"; then
35135 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
35136 cat <<EOF >change-install-names
35137 #!/bin/sh
35138 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
35139 for i in \${libnames} ; do
35140 ${HOST_PREFIX}install_name_tool -id \${1}/\${i} \${1}/\${i}
35141 for dep in \${libnames} ; do
35142 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${1}/\${dep} \${1}/\${i}
35143 done
35144 done
35145 EOF
35146 chmod +x change-install-names
35147 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${libdir} \$(wx_top_builddir)/lib"
35148 fi
35149
35150 HEADER_PAD_OPTION="-headerpad_max_install_names"
35151 ;;
35152
35153 *-*-cygwin* | *-*-mingw32* )
35154 ;;
35155
35156 *-*-hpux* )
35157 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
35158 WXCONFIG_RPATH="-Wl,+b,\$libdir"
35159 ;;
35160
35161 esac
35162 fi
35163
35164 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
35165
35166 if test $wxUSE_RPATH = "no"; then
35167 SAMPLES_RPATH_FLAG=''
35168 DYLIB_PATH_POSTLINK=''
35169 WXCONFIG_RPATH=''
35170 fi
35171
35172 SHARED=1
35173
35174 else
35175
35176 config_linkage_component="-static"
35177 SHARED=0
35178
35179 fi
35180
35181
35182 UNICODE=0
35183 lib_unicode_suffix=
35184 WX_CHARTYPE="ansi"
35185 if test "$wxUSE_UNICODE" = "yes"; then
35186 lib_unicode_suffix=u
35187 WX_CHARTYPE="unicode"
35188 UNICODE=1
35189 fi
35190
35191 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
35192 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
35193
35194 DEBUG_INFO=0
35195 if test "$wxUSE_DEBUG_INFO" = "yes"; then
35196 DEBUG_INFO=1
35197 fi
35198
35199 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
35200
35201 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
35202
35203 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
35204
35205
35206 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
35207 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35208 else
35209 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35210 fi
35211 if test "${TOOLKIT_DIR}" = "os2"; then
35212 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35213 else
35214 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35215 fi
35216
35217
35218
35219 if test "$wxUSE_OLD_COCOA" = 1; then
35220
35221 ac_ext=c
35222 ac_cpp='$CPP $CPPFLAGS'
35223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35226
35227 ac_ext=m
35228
35229 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
35230 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
35231 cat >conftest.$ac_ext <<_ACEOF
35232 /* confdefs.h. */
35233 _ACEOF
35234 cat confdefs.h >>conftest.$ac_ext
35235 cat >>conftest.$ac_ext <<_ACEOF
35236 /* end confdefs.h. */
35237 #include <AppKit/NSEvent.h>
35238 #include <CoreFoundation/CoreFoundation.h>
35239
35240 int
35241 main ()
35242 {
35243
35244 ;
35245 return 0;
35246 }
35247 _ACEOF
35248 rm -f conftest.$ac_objext
35249 if { (ac_try="$ac_compile"
35250 case "(($ac_try" in
35251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35252 *) ac_try_echo=$ac_try;;
35253 esac
35254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35255 (eval "$ac_compile") 2>conftest.er1
35256 ac_status=$?
35257 grep -v '^ *+' conftest.er1 >conftest.err
35258 rm -f conftest.er1
35259 cat conftest.err >&5
35260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35261 (exit $ac_status); } && {
35262 test -z "$ac_c_werror_flag" ||
35263 test ! -s conftest.err
35264 } && test -s conftest.$ac_objext; then
35265 { echo "$as_me:$LINENO: result: no" >&5
35266 echo "${ECHO_T}no" >&6; }
35267 else
35268 echo "$as_me: failed program was:" >&5
35269 sed 's/^/| /' conftest.$ac_ext >&5
35270
35271 { echo "$as_me:$LINENO: result: yes" >&5
35272 echo "${ECHO_T}yes" >&6; }
35273 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
35274 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
35275 cat >conftest.$ac_ext <<_ACEOF
35276 /* confdefs.h. */
35277 _ACEOF
35278 cat confdefs.h >>conftest.$ac_ext
35279 cat >>conftest.$ac_ext <<_ACEOF
35280 /* end confdefs.h. */
35281 #define __Point__ 1
35282 #include <AppKit/NSEvent.h>
35283 #include <CoreFoundation/CoreFoundation.h>
35284
35285 int
35286 main ()
35287 {
35288
35289 ;
35290 return 0;
35291 }
35292 _ACEOF
35293 rm -f conftest.$ac_objext
35294 if { (ac_try="$ac_compile"
35295 case "(($ac_try" in
35296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35297 *) ac_try_echo=$ac_try;;
35298 esac
35299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35300 (eval "$ac_compile") 2>conftest.er1
35301 ac_status=$?
35302 grep -v '^ *+' conftest.er1 >conftest.err
35303 rm -f conftest.er1
35304 cat conftest.err >&5
35305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35306 (exit $ac_status); } && {
35307 test -z "$ac_c_werror_flag" ||
35308 test ! -s conftest.err
35309 } && test -s conftest.$ac_objext; then
35310 { echo "$as_me:$LINENO: result: yes" >&5
35311 echo "${ECHO_T}yes" >&6; }
35312 cat >>confdefs.h <<\_ACEOF
35313 #define __Point__ 1
35314 _ACEOF
35315
35316
35317 else
35318 echo "$as_me: failed program was:" >&5
35319 sed 's/^/| /' conftest.$ac_ext >&5
35320
35321 { { echo "$as_me:$LINENO: error: no
35322 See \`config.log' for more details." >&5
35323 echo "$as_me: error: no
35324 See \`config.log' for more details." >&2;}
35325 { (exit 1); exit 1; }; }
35326
35327 fi
35328
35329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35330
35331 fi
35332
35333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35334 ac_ext=c
35335 ac_cpp='$CPP $CPPFLAGS'
35336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35339
35340 fi
35341
35342
35343 { echo "$as_me:$LINENO: checking for mode_t" >&5
35344 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
35345 if test "${ac_cv_type_mode_t+set}" = set; then
35346 echo $ECHO_N "(cached) $ECHO_C" >&6
35347 else
35348 cat >conftest.$ac_ext <<_ACEOF
35349 /* confdefs.h. */
35350 _ACEOF
35351 cat confdefs.h >>conftest.$ac_ext
35352 cat >>conftest.$ac_ext <<_ACEOF
35353 /* end confdefs.h. */
35354 $ac_includes_default
35355 typedef mode_t ac__type_new_;
35356 int
35357 main ()
35358 {
35359 if ((ac__type_new_ *) 0)
35360 return 0;
35361 if (sizeof (ac__type_new_))
35362 return 0;
35363 ;
35364 return 0;
35365 }
35366 _ACEOF
35367 rm -f conftest.$ac_objext
35368 if { (ac_try="$ac_compile"
35369 case "(($ac_try" in
35370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35371 *) ac_try_echo=$ac_try;;
35372 esac
35373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35374 (eval "$ac_compile") 2>conftest.er1
35375 ac_status=$?
35376 grep -v '^ *+' conftest.er1 >conftest.err
35377 rm -f conftest.er1
35378 cat conftest.err >&5
35379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35380 (exit $ac_status); } && {
35381 test -z "$ac_c_werror_flag" ||
35382 test ! -s conftest.err
35383 } && test -s conftest.$ac_objext; then
35384 ac_cv_type_mode_t=yes
35385 else
35386 echo "$as_me: failed program was:" >&5
35387 sed 's/^/| /' conftest.$ac_ext >&5
35388
35389 ac_cv_type_mode_t=no
35390 fi
35391
35392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35393 fi
35394 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
35395 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
35396 if test $ac_cv_type_mode_t = yes; then
35397 :
35398 else
35399
35400 cat >>confdefs.h <<_ACEOF
35401 #define mode_t int
35402 _ACEOF
35403
35404 fi
35405
35406 { echo "$as_me:$LINENO: checking for off_t" >&5
35407 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
35408 if test "${ac_cv_type_off_t+set}" = set; then
35409 echo $ECHO_N "(cached) $ECHO_C" >&6
35410 else
35411 cat >conftest.$ac_ext <<_ACEOF
35412 /* confdefs.h. */
35413 _ACEOF
35414 cat confdefs.h >>conftest.$ac_ext
35415 cat >>conftest.$ac_ext <<_ACEOF
35416 /* end confdefs.h. */
35417 $ac_includes_default
35418 typedef off_t ac__type_new_;
35419 int
35420 main ()
35421 {
35422 if ((ac__type_new_ *) 0)
35423 return 0;
35424 if (sizeof (ac__type_new_))
35425 return 0;
35426 ;
35427 return 0;
35428 }
35429 _ACEOF
35430 rm -f conftest.$ac_objext
35431 if { (ac_try="$ac_compile"
35432 case "(($ac_try" in
35433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35434 *) ac_try_echo=$ac_try;;
35435 esac
35436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35437 (eval "$ac_compile") 2>conftest.er1
35438 ac_status=$?
35439 grep -v '^ *+' conftest.er1 >conftest.err
35440 rm -f conftest.er1
35441 cat conftest.err >&5
35442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35443 (exit $ac_status); } && {
35444 test -z "$ac_c_werror_flag" ||
35445 test ! -s conftest.err
35446 } && test -s conftest.$ac_objext; then
35447 ac_cv_type_off_t=yes
35448 else
35449 echo "$as_me: failed program was:" >&5
35450 sed 's/^/| /' conftest.$ac_ext >&5
35451
35452 ac_cv_type_off_t=no
35453 fi
35454
35455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35456 fi
35457 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
35458 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
35459 if test $ac_cv_type_off_t = yes; then
35460 :
35461 else
35462
35463 cat >>confdefs.h <<_ACEOF
35464 #define off_t long int
35465 _ACEOF
35466
35467 fi
35468
35469 { echo "$as_me:$LINENO: checking for pid_t" >&5
35470 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
35471 if test "${ac_cv_type_pid_t+set}" = set; then
35472 echo $ECHO_N "(cached) $ECHO_C" >&6
35473 else
35474 cat >conftest.$ac_ext <<_ACEOF
35475 /* confdefs.h. */
35476 _ACEOF
35477 cat confdefs.h >>conftest.$ac_ext
35478 cat >>conftest.$ac_ext <<_ACEOF
35479 /* end confdefs.h. */
35480 $ac_includes_default
35481 typedef pid_t ac__type_new_;
35482 int
35483 main ()
35484 {
35485 if ((ac__type_new_ *) 0)
35486 return 0;
35487 if (sizeof (ac__type_new_))
35488 return 0;
35489 ;
35490 return 0;
35491 }
35492 _ACEOF
35493 rm -f conftest.$ac_objext
35494 if { (ac_try="$ac_compile"
35495 case "(($ac_try" in
35496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35497 *) ac_try_echo=$ac_try;;
35498 esac
35499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35500 (eval "$ac_compile") 2>conftest.er1
35501 ac_status=$?
35502 grep -v '^ *+' conftest.er1 >conftest.err
35503 rm -f conftest.er1
35504 cat conftest.err >&5
35505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35506 (exit $ac_status); } && {
35507 test -z "$ac_c_werror_flag" ||
35508 test ! -s conftest.err
35509 } && test -s conftest.$ac_objext; then
35510 ac_cv_type_pid_t=yes
35511 else
35512 echo "$as_me: failed program was:" >&5
35513 sed 's/^/| /' conftest.$ac_ext >&5
35514
35515 ac_cv_type_pid_t=no
35516 fi
35517
35518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35519 fi
35520 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
35521 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
35522 if test $ac_cv_type_pid_t = yes; then
35523 :
35524 else
35525
35526 cat >>confdefs.h <<_ACEOF
35527 #define pid_t int
35528 _ACEOF
35529
35530 fi
35531
35532 { echo "$as_me:$LINENO: checking for size_t" >&5
35533 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
35534 if test "${ac_cv_type_size_t+set}" = set; then
35535 echo $ECHO_N "(cached) $ECHO_C" >&6
35536 else
35537 cat >conftest.$ac_ext <<_ACEOF
35538 /* confdefs.h. */
35539 _ACEOF
35540 cat confdefs.h >>conftest.$ac_ext
35541 cat >>conftest.$ac_ext <<_ACEOF
35542 /* end confdefs.h. */
35543 $ac_includes_default
35544 typedef size_t ac__type_new_;
35545 int
35546 main ()
35547 {
35548 if ((ac__type_new_ *) 0)
35549 return 0;
35550 if (sizeof (ac__type_new_))
35551 return 0;
35552 ;
35553 return 0;
35554 }
35555 _ACEOF
35556 rm -f conftest.$ac_objext
35557 if { (ac_try="$ac_compile"
35558 case "(($ac_try" in
35559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35560 *) ac_try_echo=$ac_try;;
35561 esac
35562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35563 (eval "$ac_compile") 2>conftest.er1
35564 ac_status=$?
35565 grep -v '^ *+' conftest.er1 >conftest.err
35566 rm -f conftest.er1
35567 cat conftest.err >&5
35568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35569 (exit $ac_status); } && {
35570 test -z "$ac_c_werror_flag" ||
35571 test ! -s conftest.err
35572 } && test -s conftest.$ac_objext; then
35573 ac_cv_type_size_t=yes
35574 else
35575 echo "$as_me: failed program was:" >&5
35576 sed 's/^/| /' conftest.$ac_ext >&5
35577
35578 ac_cv_type_size_t=no
35579 fi
35580
35581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35582 fi
35583 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
35584 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
35585 if test $ac_cv_type_size_t = yes; then
35586 :
35587 else
35588
35589 cat >>confdefs.h <<_ACEOF
35590 #define size_t unsigned int
35591 _ACEOF
35592
35593 fi
35594
35595
35596 { echo "$as_me:$LINENO: checking for ssize_t" >&5
35597 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
35598 if test "${ac_cv_type_ssize_t+set}" = set; then
35599 echo $ECHO_N "(cached) $ECHO_C" >&6
35600 else
35601 cat >conftest.$ac_ext <<_ACEOF
35602 /* confdefs.h. */
35603 _ACEOF
35604 cat confdefs.h >>conftest.$ac_ext
35605 cat >>conftest.$ac_ext <<_ACEOF
35606 /* end confdefs.h. */
35607 $ac_includes_default
35608 typedef ssize_t ac__type_new_;
35609 int
35610 main ()
35611 {
35612 if ((ac__type_new_ *) 0)
35613 return 0;
35614 if (sizeof (ac__type_new_))
35615 return 0;
35616 ;
35617 return 0;
35618 }
35619 _ACEOF
35620 rm -f conftest.$ac_objext
35621 if { (ac_try="$ac_compile"
35622 case "(($ac_try" in
35623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35624 *) ac_try_echo=$ac_try;;
35625 esac
35626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35627 (eval "$ac_compile") 2>conftest.er1
35628 ac_status=$?
35629 grep -v '^ *+' conftest.er1 >conftest.err
35630 rm -f conftest.er1
35631 cat conftest.err >&5
35632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35633 (exit $ac_status); } && {
35634 test -z "$ac_c_werror_flag" ||
35635 test ! -s conftest.err
35636 } && test -s conftest.$ac_objext; then
35637 ac_cv_type_ssize_t=yes
35638 else
35639 echo "$as_me: failed program was:" >&5
35640 sed 's/^/| /' conftest.$ac_ext >&5
35641
35642 ac_cv_type_ssize_t=no
35643 fi
35644
35645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35646 fi
35647 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
35648 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
35649 if test $ac_cv_type_ssize_t = yes; then
35650
35651 cat >>confdefs.h <<_ACEOF
35652 #define HAVE_SSIZE_T 1
35653 _ACEOF
35654
35655
35656 fi
35657
35658
35659 ac_ext=cpp
35660 ac_cpp='$CXXCPP $CPPFLAGS'
35661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35664 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
35665 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
35666 if test "${wx_cv_size_t_is_uint+set}" = set; then
35667 echo $ECHO_N "(cached) $ECHO_C" >&6
35668 else
35669
35670 cat >conftest.$ac_ext <<_ACEOF
35671 /* confdefs.h. */
35672 _ACEOF
35673 cat confdefs.h >>conftest.$ac_ext
35674 cat >>conftest.$ac_ext <<_ACEOF
35675 /* end confdefs.h. */
35676 #include <stddef.h>
35677 int
35678 main ()
35679 {
35680
35681 return 0; }
35682
35683 struct Foo { void foo(size_t); void foo(unsigned int); };
35684
35685 int bar() {
35686
35687 ;
35688 return 0;
35689 }
35690 _ACEOF
35691 rm -f conftest.$ac_objext
35692 if { (ac_try="$ac_compile"
35693 case "(($ac_try" in
35694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35695 *) ac_try_echo=$ac_try;;
35696 esac
35697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35698 (eval "$ac_compile") 2>conftest.er1
35699 ac_status=$?
35700 grep -v '^ *+' conftest.er1 >conftest.err
35701 rm -f conftest.er1
35702 cat conftest.err >&5
35703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35704 (exit $ac_status); } && {
35705 test -z "$ac_cxx_werror_flag" ||
35706 test ! -s conftest.err
35707 } && test -s conftest.$ac_objext; then
35708 wx_cv_size_t_is_uint=no
35709 else
35710 echo "$as_me: failed program was:" >&5
35711 sed 's/^/| /' conftest.$ac_ext >&5
35712
35713 wx_cv_size_t_is_uint=yes
35714
35715 fi
35716
35717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35718
35719
35720 fi
35721 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
35722 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
35723
35724 if test "$wx_cv_size_t_is_uint" = "yes"; then
35725 cat >>confdefs.h <<\_ACEOF
35726 #define wxSIZE_T_IS_UINT 1
35727 _ACEOF
35728
35729 else
35730 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
35731 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
35732 if test "${wx_cv_size_t_is_ulong+set}" = set; then
35733 echo $ECHO_N "(cached) $ECHO_C" >&6
35734 else
35735 cat >conftest.$ac_ext <<_ACEOF
35736 /* confdefs.h. */
35737 _ACEOF
35738 cat confdefs.h >>conftest.$ac_ext
35739 cat >>conftest.$ac_ext <<_ACEOF
35740 /* end confdefs.h. */
35741 #include <stddef.h>
35742 int
35743 main ()
35744 {
35745
35746 return 0; }
35747
35748 struct Foo { void foo(size_t); void foo(unsigned long); };
35749
35750 int bar() {
35751
35752 ;
35753 return 0;
35754 }
35755 _ACEOF
35756 rm -f conftest.$ac_objext
35757 if { (ac_try="$ac_compile"
35758 case "(($ac_try" in
35759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35760 *) ac_try_echo=$ac_try;;
35761 esac
35762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35763 (eval "$ac_compile") 2>conftest.er1
35764 ac_status=$?
35765 grep -v '^ *+' conftest.er1 >conftest.err
35766 rm -f conftest.er1
35767 cat conftest.err >&5
35768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35769 (exit $ac_status); } && {
35770 test -z "$ac_cxx_werror_flag" ||
35771 test ! -s conftest.err
35772 } && test -s conftest.$ac_objext; then
35773 wx_cv_size_t_is_ulong=no
35774 else
35775 echo "$as_me: failed program was:" >&5
35776 sed 's/^/| /' conftest.$ac_ext >&5
35777
35778 wx_cv_size_t_is_ulong=yes
35779
35780 fi
35781
35782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35783
35784 fi
35785 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
35786 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
35787
35788 if test "$wx_cv_size_t_is_ulong" = "yes"; then
35789 cat >>confdefs.h <<\_ACEOF
35790 #define wxSIZE_T_IS_ULONG 1
35791 _ACEOF
35792
35793 fi
35794 fi
35795
35796 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
35797 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
35798 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
35799 echo $ECHO_N "(cached) $ECHO_C" >&6
35800 else
35801 cat >conftest.$ac_ext <<_ACEOF
35802 /* confdefs.h. */
35803 _ACEOF
35804 cat confdefs.h >>conftest.$ac_ext
35805 cat >>conftest.$ac_ext <<_ACEOF
35806 /* end confdefs.h. */
35807 #include <wchar.h>
35808 int
35809 main ()
35810 {
35811
35812 return 0; }
35813
35814 struct Foo { void foo(wchar_t);
35815 void foo(unsigned short);
35816 void foo(unsigned int);
35817 void foo(unsigned long); };
35818
35819 int bar() {
35820
35821 ;
35822 return 0;
35823 }
35824 _ACEOF
35825 rm -f conftest.$ac_objext
35826 if { (ac_try="$ac_compile"
35827 case "(($ac_try" in
35828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35829 *) ac_try_echo=$ac_try;;
35830 esac
35831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35832 (eval "$ac_compile") 2>conftest.er1
35833 ac_status=$?
35834 grep -v '^ *+' conftest.er1 >conftest.err
35835 rm -f conftest.er1
35836 cat conftest.err >&5
35837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35838 (exit $ac_status); } && {
35839 test -z "$ac_cxx_werror_flag" ||
35840 test ! -s conftest.err
35841 } && test -s conftest.$ac_objext; then
35842 wx_cv_wchar_t_is_separate_type=yes
35843 else
35844 echo "$as_me: failed program was:" >&5
35845 sed 's/^/| /' conftest.$ac_ext >&5
35846
35847 wx_cv_wchar_t_is_separate_type=no
35848
35849 fi
35850
35851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35852
35853 fi
35854 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
35855 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
35856
35857 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
35858 cat >>confdefs.h <<\_ACEOF
35859 #define wxWCHAR_T_IS_REAL_TYPE 1
35860 _ACEOF
35861
35862 else
35863 cat >>confdefs.h <<\_ACEOF
35864 #define wxWCHAR_T_IS_REAL_TYPE 0
35865 _ACEOF
35866
35867 fi
35868
35869 ac_ext=c
35870 ac_cpp='$CPP $CPPFLAGS'
35871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35874
35875
35876 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
35877 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
35878 if test "${wx_cv_struct_pw_gecos+set}" = set; then
35879 echo $ECHO_N "(cached) $ECHO_C" >&6
35880 else
35881
35882 cat >conftest.$ac_ext <<_ACEOF
35883 /* confdefs.h. */
35884 _ACEOF
35885 cat confdefs.h >>conftest.$ac_ext
35886 cat >>conftest.$ac_ext <<_ACEOF
35887 /* end confdefs.h. */
35888 #include <pwd.h>
35889 int
35890 main ()
35891 {
35892
35893 char *p;
35894 struct passwd *pw;
35895 p = pw->pw_gecos;
35896
35897 ;
35898 return 0;
35899 }
35900 _ACEOF
35901 rm -f conftest.$ac_objext
35902 if { (ac_try="$ac_compile"
35903 case "(($ac_try" in
35904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35905 *) ac_try_echo=$ac_try;;
35906 esac
35907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35908 (eval "$ac_compile") 2>conftest.er1
35909 ac_status=$?
35910 grep -v '^ *+' conftest.er1 >conftest.err
35911 rm -f conftest.er1
35912 cat conftest.err >&5
35913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35914 (exit $ac_status); } && {
35915 test -z "$ac_c_werror_flag" ||
35916 test ! -s conftest.err
35917 } && test -s conftest.$ac_objext; then
35918
35919 wx_cv_struct_pw_gecos=yes
35920
35921 else
35922 echo "$as_me: failed program was:" >&5
35923 sed 's/^/| /' conftest.$ac_ext >&5
35924
35925
35926 wx_cv_struct_pw_gecos=no
35927
35928
35929 fi
35930
35931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35932
35933
35934 fi
35935 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
35936 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
35937
35938 if test "$wx_cv_struct_pw_gecos" = "yes"; then
35939 cat >>confdefs.h <<\_ACEOF
35940 #define HAVE_PW_GECOS 1
35941 _ACEOF
35942
35943 fi
35944
35945
35946 WCSLEN_FOUND=0
35947 WCHAR_LINK=
35948
35949 for ac_func in wcslen
35950 do
35951 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35952 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35953 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35954 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35955 echo $ECHO_N "(cached) $ECHO_C" >&6
35956 else
35957 cat >conftest.$ac_ext <<_ACEOF
35958 /* confdefs.h. */
35959 _ACEOF
35960 cat confdefs.h >>conftest.$ac_ext
35961 cat >>conftest.$ac_ext <<_ACEOF
35962 /* end confdefs.h. */
35963 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35964 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35965 #define $ac_func innocuous_$ac_func
35966
35967 /* System header to define __stub macros and hopefully few prototypes,
35968 which can conflict with char $ac_func (); below.
35969 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35970 <limits.h> exists even on freestanding compilers. */
35971
35972 #ifdef __STDC__
35973 # include <limits.h>
35974 #else
35975 # include <assert.h>
35976 #endif
35977
35978 #undef $ac_func
35979
35980 /* Override any GCC internal prototype to avoid an error.
35981 Use char because int might match the return type of a GCC
35982 builtin and then its argument prototype would still apply. */
35983 #ifdef __cplusplus
35984 extern "C"
35985 #endif
35986 char $ac_func ();
35987 /* The GNU C library defines this for functions which it implements
35988 to always fail with ENOSYS. Some functions are actually named
35989 something starting with __ and the normal name is an alias. */
35990 #if defined __stub_$ac_func || defined __stub___$ac_func
35991 choke me
35992 #endif
35993
35994 int
35995 main ()
35996 {
35997 return $ac_func ();
35998 ;
35999 return 0;
36000 }
36001 _ACEOF
36002 rm -f conftest.$ac_objext conftest$ac_exeext
36003 if { (ac_try="$ac_link"
36004 case "(($ac_try" in
36005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36006 *) ac_try_echo=$ac_try;;
36007 esac
36008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36009 (eval "$ac_link") 2>conftest.er1
36010 ac_status=$?
36011 grep -v '^ *+' conftest.er1 >conftest.err
36012 rm -f conftest.er1
36013 cat conftest.err >&5
36014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36015 (exit $ac_status); } && {
36016 test -z "$ac_c_werror_flag" ||
36017 test ! -s conftest.err
36018 } && test -s conftest$ac_exeext &&
36019 $as_test_x conftest$ac_exeext; then
36020 eval "$as_ac_var=yes"
36021 else
36022 echo "$as_me: failed program was:" >&5
36023 sed 's/^/| /' conftest.$ac_ext >&5
36024
36025 eval "$as_ac_var=no"
36026 fi
36027
36028 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36029 conftest$ac_exeext conftest.$ac_ext
36030 fi
36031 ac_res=`eval echo '${'$as_ac_var'}'`
36032 { echo "$as_me:$LINENO: result: $ac_res" >&5
36033 echo "${ECHO_T}$ac_res" >&6; }
36034 if test `eval echo '${'$as_ac_var'}'` = yes; then
36035 cat >>confdefs.h <<_ACEOF
36036 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36037 _ACEOF
36038 WCSLEN_FOUND=1
36039 fi
36040 done
36041
36042
36043 if test "$WCSLEN_FOUND" = 0; then
36044 if test "$TOOLKIT" = "MSW"; then
36045 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
36046 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
36047 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
36048 echo $ECHO_N "(cached) $ECHO_C" >&6
36049 else
36050 ac_check_lib_save_LIBS=$LIBS
36051 LIBS="-lmsvcrt $LIBS"
36052 cat >conftest.$ac_ext <<_ACEOF
36053 /* confdefs.h. */
36054 _ACEOF
36055 cat confdefs.h >>conftest.$ac_ext
36056 cat >>conftest.$ac_ext <<_ACEOF
36057 /* end confdefs.h. */
36058
36059 /* Override any GCC internal prototype to avoid an error.
36060 Use char because int might match the return type of a GCC
36061 builtin and then its argument prototype would still apply. */
36062 #ifdef __cplusplus
36063 extern "C"
36064 #endif
36065 char wcslen ();
36066 int
36067 main ()
36068 {
36069 return wcslen ();
36070 ;
36071 return 0;
36072 }
36073 _ACEOF
36074 rm -f conftest.$ac_objext conftest$ac_exeext
36075 if { (ac_try="$ac_link"
36076 case "(($ac_try" in
36077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36078 *) ac_try_echo=$ac_try;;
36079 esac
36080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36081 (eval "$ac_link") 2>conftest.er1
36082 ac_status=$?
36083 grep -v '^ *+' conftest.er1 >conftest.err
36084 rm -f conftest.er1
36085 cat conftest.err >&5
36086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36087 (exit $ac_status); } && {
36088 test -z "$ac_c_werror_flag" ||
36089 test ! -s conftest.err
36090 } && test -s conftest$ac_exeext &&
36091 $as_test_x conftest$ac_exeext; then
36092 ac_cv_lib_msvcrt_wcslen=yes
36093 else
36094 echo "$as_me: failed program was:" >&5
36095 sed 's/^/| /' conftest.$ac_ext >&5
36096
36097 ac_cv_lib_msvcrt_wcslen=no
36098 fi
36099
36100 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36101 conftest$ac_exeext conftest.$ac_ext
36102 LIBS=$ac_check_lib_save_LIBS
36103 fi
36104 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
36105 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
36106 if test $ac_cv_lib_msvcrt_wcslen = yes; then
36107 WCHAR_OK=1
36108 fi
36109
36110 else
36111 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
36112 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
36113 if test "${ac_cv_lib_w_wcslen+set}" = set; then
36114 echo $ECHO_N "(cached) $ECHO_C" >&6
36115 else
36116 ac_check_lib_save_LIBS=$LIBS
36117 LIBS="-lw $LIBS"
36118 cat >conftest.$ac_ext <<_ACEOF
36119 /* confdefs.h. */
36120 _ACEOF
36121 cat confdefs.h >>conftest.$ac_ext
36122 cat >>conftest.$ac_ext <<_ACEOF
36123 /* end confdefs.h. */
36124
36125 /* Override any GCC internal prototype to avoid an error.
36126 Use char because int might match the return type of a GCC
36127 builtin and then its argument prototype would still apply. */
36128 #ifdef __cplusplus
36129 extern "C"
36130 #endif
36131 char wcslen ();
36132 int
36133 main ()
36134 {
36135 return wcslen ();
36136 ;
36137 return 0;
36138 }
36139 _ACEOF
36140 rm -f conftest.$ac_objext conftest$ac_exeext
36141 if { (ac_try="$ac_link"
36142 case "(($ac_try" in
36143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36144 *) ac_try_echo=$ac_try;;
36145 esac
36146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36147 (eval "$ac_link") 2>conftest.er1
36148 ac_status=$?
36149 grep -v '^ *+' conftest.er1 >conftest.err
36150 rm -f conftest.er1
36151 cat conftest.err >&5
36152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36153 (exit $ac_status); } && {
36154 test -z "$ac_c_werror_flag" ||
36155 test ! -s conftest.err
36156 } && test -s conftest$ac_exeext &&
36157 $as_test_x conftest$ac_exeext; then
36158 ac_cv_lib_w_wcslen=yes
36159 else
36160 echo "$as_me: failed program was:" >&5
36161 sed 's/^/| /' conftest.$ac_ext >&5
36162
36163 ac_cv_lib_w_wcslen=no
36164 fi
36165
36166 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36167 conftest$ac_exeext conftest.$ac_ext
36168 LIBS=$ac_check_lib_save_LIBS
36169 fi
36170 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
36171 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
36172 if test $ac_cv_lib_w_wcslen = yes; then
36173
36174 WCHAR_LINK=" -lw"
36175 WCSLEN_FOUND=1
36176
36177 fi
36178
36179 fi
36180 fi
36181
36182 if test "$WCSLEN_FOUND" = 1; then
36183 cat >>confdefs.h <<\_ACEOF
36184 #define HAVE_WCSLEN 1
36185 _ACEOF
36186
36187 fi
36188
36189
36190
36191
36192
36193
36194
36195 for ac_func in wcsdup wcsftime strnlen wcsnlen wcscasecmp wcsncasecmp
36196 do
36197 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36198 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36199 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36200 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36201 echo $ECHO_N "(cached) $ECHO_C" >&6
36202 else
36203 cat >conftest.$ac_ext <<_ACEOF
36204 /* confdefs.h. */
36205 _ACEOF
36206 cat confdefs.h >>conftest.$ac_ext
36207 cat >>conftest.$ac_ext <<_ACEOF
36208 /* end confdefs.h. */
36209 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36210 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36211 #define $ac_func innocuous_$ac_func
36212
36213 /* System header to define __stub macros and hopefully few prototypes,
36214 which can conflict with char $ac_func (); below.
36215 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36216 <limits.h> exists even on freestanding compilers. */
36217
36218 #ifdef __STDC__
36219 # include <limits.h>
36220 #else
36221 # include <assert.h>
36222 #endif
36223
36224 #undef $ac_func
36225
36226 /* Override any GCC internal prototype to avoid an error.
36227 Use char because int might match the return type of a GCC
36228 builtin and then its argument prototype would still apply. */
36229 #ifdef __cplusplus
36230 extern "C"
36231 #endif
36232 char $ac_func ();
36233 /* The GNU C library defines this for functions which it implements
36234 to always fail with ENOSYS. Some functions are actually named
36235 something starting with __ and the normal name is an alias. */
36236 #if defined __stub_$ac_func || defined __stub___$ac_func
36237 choke me
36238 #endif
36239
36240 int
36241 main ()
36242 {
36243 return $ac_func ();
36244 ;
36245 return 0;
36246 }
36247 _ACEOF
36248 rm -f conftest.$ac_objext conftest$ac_exeext
36249 if { (ac_try="$ac_link"
36250 case "(($ac_try" in
36251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36252 *) ac_try_echo=$ac_try;;
36253 esac
36254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36255 (eval "$ac_link") 2>conftest.er1
36256 ac_status=$?
36257 grep -v '^ *+' conftest.er1 >conftest.err
36258 rm -f conftest.er1
36259 cat conftest.err >&5
36260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36261 (exit $ac_status); } && {
36262 test -z "$ac_c_werror_flag" ||
36263 test ! -s conftest.err
36264 } && test -s conftest$ac_exeext &&
36265 $as_test_x conftest$ac_exeext; then
36266 eval "$as_ac_var=yes"
36267 else
36268 echo "$as_me: failed program was:" >&5
36269 sed 's/^/| /' conftest.$ac_ext >&5
36270
36271 eval "$as_ac_var=no"
36272 fi
36273
36274 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36275 conftest$ac_exeext conftest.$ac_ext
36276 fi
36277 ac_res=`eval echo '${'$as_ac_var'}'`
36278 { echo "$as_me:$LINENO: result: $ac_res" >&5
36279 echo "${ECHO_T}$ac_res" >&6; }
36280 if test `eval echo '${'$as_ac_var'}'` = yes; then
36281 cat >>confdefs.h <<_ACEOF
36282 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36283 _ACEOF
36284
36285 fi
36286 done
36287
36288
36289 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
36290 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
36291 fi
36292
36293 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
36294 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
36295 if test "${ac_cv_type_mbstate_t+set}" = set; then
36296 echo $ECHO_N "(cached) $ECHO_C" >&6
36297 else
36298 cat >conftest.$ac_ext <<_ACEOF
36299 /* confdefs.h. */
36300 _ACEOF
36301 cat confdefs.h >>conftest.$ac_ext
36302 cat >>conftest.$ac_ext <<_ACEOF
36303 /* end confdefs.h. */
36304 #include <wchar.h>
36305
36306 typedef mbstate_t ac__type_new_;
36307 int
36308 main ()
36309 {
36310 if ((ac__type_new_ *) 0)
36311 return 0;
36312 if (sizeof (ac__type_new_))
36313 return 0;
36314 ;
36315 return 0;
36316 }
36317 _ACEOF
36318 rm -f conftest.$ac_objext
36319 if { (ac_try="$ac_compile"
36320 case "(($ac_try" in
36321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36322 *) ac_try_echo=$ac_try;;
36323 esac
36324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36325 (eval "$ac_compile") 2>conftest.er1
36326 ac_status=$?
36327 grep -v '^ *+' conftest.er1 >conftest.err
36328 rm -f conftest.er1
36329 cat conftest.err >&5
36330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36331 (exit $ac_status); } && {
36332 test -z "$ac_c_werror_flag" ||
36333 test ! -s conftest.err
36334 } && test -s conftest.$ac_objext; then
36335 ac_cv_type_mbstate_t=yes
36336 else
36337 echo "$as_me: failed program was:" >&5
36338 sed 's/^/| /' conftest.$ac_ext >&5
36339
36340 ac_cv_type_mbstate_t=no
36341 fi
36342
36343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36344 fi
36345 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
36346 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
36347 if test $ac_cv_type_mbstate_t = yes; then
36348
36349 cat >>confdefs.h <<_ACEOF
36350 #define HAVE_MBSTATE_T 1
36351 _ACEOF
36352
36353
36354 for ac_func in wcsrtombs
36355 do
36356 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36357 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36358 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36359 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36360 echo $ECHO_N "(cached) $ECHO_C" >&6
36361 else
36362 cat >conftest.$ac_ext <<_ACEOF
36363 /* confdefs.h. */
36364 _ACEOF
36365 cat confdefs.h >>conftest.$ac_ext
36366 cat >>conftest.$ac_ext <<_ACEOF
36367 /* end confdefs.h. */
36368 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36369 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36370 #define $ac_func innocuous_$ac_func
36371
36372 /* System header to define __stub macros and hopefully few prototypes,
36373 which can conflict with char $ac_func (); below.
36374 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36375 <limits.h> exists even on freestanding compilers. */
36376
36377 #ifdef __STDC__
36378 # include <limits.h>
36379 #else
36380 # include <assert.h>
36381 #endif
36382
36383 #undef $ac_func
36384
36385 /* Override any GCC internal prototype to avoid an error.
36386 Use char because int might match the return type of a GCC
36387 builtin and then its argument prototype would still apply. */
36388 #ifdef __cplusplus
36389 extern "C"
36390 #endif
36391 char $ac_func ();
36392 /* The GNU C library defines this for functions which it implements
36393 to always fail with ENOSYS. Some functions are actually named
36394 something starting with __ and the normal name is an alias. */
36395 #if defined __stub_$ac_func || defined __stub___$ac_func
36396 choke me
36397 #endif
36398
36399 int
36400 main ()
36401 {
36402 return $ac_func ();
36403 ;
36404 return 0;
36405 }
36406 _ACEOF
36407 rm -f conftest.$ac_objext conftest$ac_exeext
36408 if { (ac_try="$ac_link"
36409 case "(($ac_try" in
36410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36411 *) ac_try_echo=$ac_try;;
36412 esac
36413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36414 (eval "$ac_link") 2>conftest.er1
36415 ac_status=$?
36416 grep -v '^ *+' conftest.er1 >conftest.err
36417 rm -f conftest.er1
36418 cat conftest.err >&5
36419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36420 (exit $ac_status); } && {
36421 test -z "$ac_c_werror_flag" ||
36422 test ! -s conftest.err
36423 } && test -s conftest$ac_exeext &&
36424 $as_test_x conftest$ac_exeext; then
36425 eval "$as_ac_var=yes"
36426 else
36427 echo "$as_me: failed program was:" >&5
36428 sed 's/^/| /' conftest.$ac_ext >&5
36429
36430 eval "$as_ac_var=no"
36431 fi
36432
36433 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36434 conftest$ac_exeext conftest.$ac_ext
36435 fi
36436 ac_res=`eval echo '${'$as_ac_var'}'`
36437 { echo "$as_me:$LINENO: result: $ac_res" >&5
36438 echo "${ECHO_T}$ac_res" >&6; }
36439 if test `eval echo '${'$as_ac_var'}'` = yes; then
36440 cat >>confdefs.h <<_ACEOF
36441 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36442 _ACEOF
36443
36444 fi
36445 done
36446
36447 fi
36448
36449
36450
36451
36452
36453 for ac_func in snprintf vsnprintf vsscanf
36454 do
36455 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36456 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36457 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36458 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36459 echo $ECHO_N "(cached) $ECHO_C" >&6
36460 else
36461 cat >conftest.$ac_ext <<_ACEOF
36462 /* confdefs.h. */
36463 _ACEOF
36464 cat confdefs.h >>conftest.$ac_ext
36465 cat >>conftest.$ac_ext <<_ACEOF
36466 /* end confdefs.h. */
36467 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36468 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36469 #define $ac_func innocuous_$ac_func
36470
36471 /* System header to define __stub macros and hopefully few prototypes,
36472 which can conflict with char $ac_func (); below.
36473 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36474 <limits.h> exists even on freestanding compilers. */
36475
36476 #ifdef __STDC__
36477 # include <limits.h>
36478 #else
36479 # include <assert.h>
36480 #endif
36481
36482 #undef $ac_func
36483
36484 /* Override any GCC internal prototype to avoid an error.
36485 Use char because int might match the return type of a GCC
36486 builtin and then its argument prototype would still apply. */
36487 #ifdef __cplusplus
36488 extern "C"
36489 #endif
36490 char $ac_func ();
36491 /* The GNU C library defines this for functions which it implements
36492 to always fail with ENOSYS. Some functions are actually named
36493 something starting with __ and the normal name is an alias. */
36494 #if defined __stub_$ac_func || defined __stub___$ac_func
36495 choke me
36496 #endif
36497
36498 int
36499 main ()
36500 {
36501 return $ac_func ();
36502 ;
36503 return 0;
36504 }
36505 _ACEOF
36506 rm -f conftest.$ac_objext conftest$ac_exeext
36507 if { (ac_try="$ac_link"
36508 case "(($ac_try" in
36509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36510 *) ac_try_echo=$ac_try;;
36511 esac
36512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36513 (eval "$ac_link") 2>conftest.er1
36514 ac_status=$?
36515 grep -v '^ *+' conftest.er1 >conftest.err
36516 rm -f conftest.er1
36517 cat conftest.err >&5
36518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36519 (exit $ac_status); } && {
36520 test -z "$ac_c_werror_flag" ||
36521 test ! -s conftest.err
36522 } && test -s conftest$ac_exeext &&
36523 $as_test_x conftest$ac_exeext; then
36524 eval "$as_ac_var=yes"
36525 else
36526 echo "$as_me: failed program was:" >&5
36527 sed 's/^/| /' conftest.$ac_ext >&5
36528
36529 eval "$as_ac_var=no"
36530 fi
36531
36532 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36533 conftest$ac_exeext conftest.$ac_ext
36534 fi
36535 ac_res=`eval echo '${'$as_ac_var'}'`
36536 { echo "$as_me:$LINENO: result: $ac_res" >&5
36537 echo "${ECHO_T}$ac_res" >&6; }
36538 if test `eval echo '${'$as_ac_var'}'` = yes; then
36539 cat >>confdefs.h <<_ACEOF
36540 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36541 _ACEOF
36542
36543 fi
36544 done
36545
36546
36547 ac_ext=cpp
36548 ac_cpp='$CXXCPP $CPPFLAGS'
36549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36552
36553 if test "$ac_cv_func_vsnprintf" = "yes"; then
36554 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
36555 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
36556 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
36557 echo $ECHO_N "(cached) $ECHO_C" >&6
36558 else
36559
36560 cat >conftest.$ac_ext <<_ACEOF
36561 /* confdefs.h. */
36562 _ACEOF
36563 cat confdefs.h >>conftest.$ac_ext
36564 cat >>conftest.$ac_ext <<_ACEOF
36565 /* end confdefs.h. */
36566
36567 #include <stdio.h>
36568 #include <stdarg.h>
36569 #ifdef __MSL__
36570 #if __MSL__ >= 0x6000
36571 namespace std {}
36572 using namespace std;
36573 #endif
36574 #endif
36575
36576 int
36577 main ()
36578 {
36579
36580 char *buf;
36581 va_list ap;
36582 vsnprintf(buf, 10u, "%s", ap);
36583
36584 ;
36585 return 0;
36586 }
36587 _ACEOF
36588 rm -f conftest.$ac_objext
36589 if { (ac_try="$ac_compile"
36590 case "(($ac_try" in
36591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36592 *) ac_try_echo=$ac_try;;
36593 esac
36594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36595 (eval "$ac_compile") 2>conftest.er1
36596 ac_status=$?
36597 grep -v '^ *+' conftest.er1 >conftest.err
36598 rm -f conftest.er1
36599 cat conftest.err >&5
36600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36601 (exit $ac_status); } && {
36602 test -z "$ac_cxx_werror_flag" ||
36603 test ! -s conftest.err
36604 } && test -s conftest.$ac_objext; then
36605 wx_cv_func_vsnprintf_decl=yes
36606 else
36607 echo "$as_me: failed program was:" >&5
36608 sed 's/^/| /' conftest.$ac_ext >&5
36609
36610 wx_cv_func_vsnprintf_decl=no
36611
36612 fi
36613
36614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36615
36616
36617 fi
36618 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
36619 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
36620
36621 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
36622 cat >>confdefs.h <<\_ACEOF
36623 #define HAVE_VSNPRINTF_DECL 1
36624 _ACEOF
36625
36626
36627 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
36628 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
36629 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
36630 echo $ECHO_N "(cached) $ECHO_C" >&6
36631 else
36632
36633 cat >conftest.$ac_ext <<_ACEOF
36634 /* confdefs.h. */
36635 _ACEOF
36636 cat confdefs.h >>conftest.$ac_ext
36637 cat >>conftest.$ac_ext <<_ACEOF
36638 /* end confdefs.h. */
36639
36640 #include <stdio.h>
36641 #include <stdarg.h>
36642 #ifdef __MSL__
36643 #if __MSL__ >= 0x6000
36644 namespace std {}
36645 using namespace std;
36646 #endif
36647 #endif
36648
36649 int
36650 main ()
36651 {
36652
36653 char *buf;
36654 va_list ap;
36655 const char *fmt = "%s";
36656 vsnprintf(buf, 10u, fmt, ap);
36657
36658 ;
36659 return 0;
36660 }
36661 _ACEOF
36662 rm -f conftest.$ac_objext
36663 if { (ac_try="$ac_compile"
36664 case "(($ac_try" in
36665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36666 *) ac_try_echo=$ac_try;;
36667 esac
36668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36669 (eval "$ac_compile") 2>conftest.er1
36670 ac_status=$?
36671 grep -v '^ *+' conftest.er1 >conftest.err
36672 rm -f conftest.er1
36673 cat conftest.err >&5
36674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36675 (exit $ac_status); } && {
36676 test -z "$ac_cxx_werror_flag" ||
36677 test ! -s conftest.err
36678 } && test -s conftest.$ac_objext; then
36679 wx_cv_func_broken_vsnprintf_decl=no
36680 else
36681 echo "$as_me: failed program was:" >&5
36682 sed 's/^/| /' conftest.$ac_ext >&5
36683
36684 wx_cv_func_broken_vsnprintf_decl=yes
36685
36686 fi
36687
36688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36689
36690
36691 fi
36692 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
36693 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
36694
36695 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
36696 cat >>confdefs.h <<\_ACEOF
36697 #define HAVE_BROKEN_VSNPRINTF_DECL 1
36698 _ACEOF
36699
36700 fi
36701 fi
36702 fi
36703
36704 if test "$ac_cv_func_snprintf" = "yes"; then
36705 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
36706 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
36707 if test "${wx_cv_func_snprintf_decl+set}" = set; then
36708 echo $ECHO_N "(cached) $ECHO_C" >&6
36709 else
36710
36711 cat >conftest.$ac_ext <<_ACEOF
36712 /* confdefs.h. */
36713 _ACEOF
36714 cat confdefs.h >>conftest.$ac_ext
36715 cat >>conftest.$ac_ext <<_ACEOF
36716 /* end confdefs.h. */
36717
36718 #include <stdio.h>
36719 #include <stdarg.h>
36720 #ifdef __MSL__
36721 #if __MSL__ >= 0x6000
36722 namespace std {}
36723 using namespace std;
36724 #endif
36725 #endif
36726
36727 int
36728 main ()
36729 {
36730
36731 char *buf;
36732 snprintf(buf, 10u, "%s", "wx");
36733
36734 ;
36735 return 0;
36736 }
36737 _ACEOF
36738 rm -f conftest.$ac_objext
36739 if { (ac_try="$ac_compile"
36740 case "(($ac_try" in
36741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36742 *) ac_try_echo=$ac_try;;
36743 esac
36744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36745 (eval "$ac_compile") 2>conftest.er1
36746 ac_status=$?
36747 grep -v '^ *+' conftest.er1 >conftest.err
36748 rm -f conftest.er1
36749 cat conftest.err >&5
36750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36751 (exit $ac_status); } && {
36752 test -z "$ac_cxx_werror_flag" ||
36753 test ! -s conftest.err
36754 } && test -s conftest.$ac_objext; then
36755 wx_cv_func_snprintf_decl=yes
36756 else
36757 echo "$as_me: failed program was:" >&5
36758 sed 's/^/| /' conftest.$ac_ext >&5
36759
36760 wx_cv_func_snprintf_decl=no
36761
36762 fi
36763
36764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36765
36766
36767 fi
36768 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
36769 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
36770
36771 if test "$wx_cv_func_snprintf_decl" = "yes"; then
36772 cat >>confdefs.h <<\_ACEOF
36773 #define HAVE_SNPRINTF_DECL 1
36774 _ACEOF
36775
36776 fi
36777
36778 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
36779
36780 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
36781 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
36782 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
36783 echo $ECHO_N "(cached) $ECHO_C" >&6
36784 else
36785
36786 if test "$cross_compiling" = yes; then
36787
36788 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
36789 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
36790 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
36791 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
36792 wx_cv_func_snprintf_pos_params=no
36793
36794
36795 else
36796 cat >conftest.$ac_ext <<_ACEOF
36797 /* confdefs.h. */
36798 _ACEOF
36799 cat confdefs.h >>conftest.$ac_ext
36800 cat >>conftest.$ac_ext <<_ACEOF
36801 /* end confdefs.h. */
36802
36803 #include <stdio.h>
36804
36805 int main (void)
36806 {
36807 char buffer[128];
36808 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
36809 if (strcmp ("2 3 1", buffer) == 0)
36810 exit (0);
36811 exit (1);
36812 }
36813
36814 _ACEOF
36815 rm -f conftest$ac_exeext
36816 if { (ac_try="$ac_link"
36817 case "(($ac_try" in
36818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36819 *) ac_try_echo=$ac_try;;
36820 esac
36821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36822 (eval "$ac_link") 2>&5
36823 ac_status=$?
36824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36825 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
36826 { (case "(($ac_try" in
36827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36828 *) ac_try_echo=$ac_try;;
36829 esac
36830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36831 (eval "$ac_try") 2>&5
36832 ac_status=$?
36833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36834 (exit $ac_status); }; }; then
36835 wx_cv_func_snprintf_pos_params=no
36836 else
36837 echo "$as_me: program exited with status $ac_status" >&5
36838 echo "$as_me: failed program was:" >&5
36839 sed 's/^/| /' conftest.$ac_ext >&5
36840
36841 ( exit $ac_status )
36842 wx_cv_func_snprintf_pos_params=yes
36843 fi
36844 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
36845 fi
36846
36847
36848
36849
36850 fi
36851 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
36852 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
36853
36854 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
36855 cat >>confdefs.h <<\_ACEOF
36856 #define HAVE_UNIX98_PRINTF 1
36857 _ACEOF
36858
36859 fi
36860 fi
36861 fi
36862
36863 if test "$ac_cv_func_vsscanf" = "yes"; then
36864 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
36865 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
36866 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
36867 echo $ECHO_N "(cached) $ECHO_C" >&6
36868 else
36869
36870 cat >conftest.$ac_ext <<_ACEOF
36871 /* confdefs.h. */
36872 _ACEOF
36873 cat confdefs.h >>conftest.$ac_ext
36874 cat >>conftest.$ac_ext <<_ACEOF
36875 /* end confdefs.h. */
36876
36877 #include <stdio.h>
36878 #include <stdarg.h>
36879 #ifdef __MSL__
36880 #if __MSL__ >= 0x6000
36881 namespace std {}
36882 using namespace std;
36883 #endif
36884 #endif
36885
36886 int
36887 main ()
36888 {
36889
36890 char *buf;
36891 va_list args;
36892 vsscanf(buf, "%s", args);
36893
36894 ;
36895 return 0;
36896 }
36897 _ACEOF
36898 rm -f conftest.$ac_objext
36899 if { (ac_try="$ac_compile"
36900 case "(($ac_try" in
36901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36902 *) ac_try_echo=$ac_try;;
36903 esac
36904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36905 (eval "$ac_compile") 2>conftest.er1
36906 ac_status=$?
36907 grep -v '^ *+' conftest.er1 >conftest.err
36908 rm -f conftest.er1
36909 cat conftest.err >&5
36910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36911 (exit $ac_status); } && {
36912 test -z "$ac_cxx_werror_flag" ||
36913 test ! -s conftest.err
36914 } && test -s conftest.$ac_objext; then
36915 wx_cv_func_vsscanf_decl=yes
36916 else
36917 echo "$as_me: failed program was:" >&5
36918 sed 's/^/| /' conftest.$ac_ext >&5
36919
36920 wx_cv_func_vsscanf_decl=no
36921
36922 fi
36923
36924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36925
36926
36927 fi
36928 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
36929 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
36930
36931 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
36932 cat >>confdefs.h <<\_ACEOF
36933 #define HAVE_VSSCANF_DECL 1
36934 _ACEOF
36935
36936 fi
36937 fi
36938 ac_ext=c
36939 ac_cpp='$CPP $CPPFLAGS'
36940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36943
36944
36945 if test "$wxUSE_UNICODE" = yes; then
36946
36947 wchar_headers="#include <stdio.h>
36948 #include <wchar.h>"
36949 case "${host}" in
36950 *-*-solaris2* )
36951
36952 for ac_header in widec.h
36953 do
36954 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36955 { echo "$as_me:$LINENO: checking for $ac_header" >&5
36956 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
36957 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
36958 echo $ECHO_N "(cached) $ECHO_C" >&6
36959 else
36960 cat >conftest.$ac_ext <<_ACEOF
36961 /* confdefs.h. */
36962 _ACEOF
36963 cat confdefs.h >>conftest.$ac_ext
36964 cat >>conftest.$ac_ext <<_ACEOF
36965 /* end confdefs.h. */
36966 $ac_includes_default
36967
36968 #include <$ac_header>
36969 _ACEOF
36970 rm -f conftest.$ac_objext
36971 if { (ac_try="$ac_compile"
36972 case "(($ac_try" in
36973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36974 *) ac_try_echo=$ac_try;;
36975 esac
36976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36977 (eval "$ac_compile") 2>conftest.er1
36978 ac_status=$?
36979 grep -v '^ *+' conftest.er1 >conftest.err
36980 rm -f conftest.er1
36981 cat conftest.err >&5
36982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36983 (exit $ac_status); } && {
36984 test -z "$ac_c_werror_flag" ||
36985 test ! -s conftest.err
36986 } && test -s conftest.$ac_objext; then
36987 eval "$as_ac_Header=yes"
36988 else
36989 echo "$as_me: failed program was:" >&5
36990 sed 's/^/| /' conftest.$ac_ext >&5
36991
36992 eval "$as_ac_Header=no"
36993 fi
36994
36995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36996 fi
36997 ac_res=`eval echo '${'$as_ac_Header'}'`
36998 { echo "$as_me:$LINENO: result: $ac_res" >&5
36999 echo "${ECHO_T}$ac_res" >&6; }
37000 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37001 cat >>confdefs.h <<_ACEOF
37002 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37003 _ACEOF
37004
37005 fi
37006
37007 done
37008
37009 if test "$ac_cv_header_widec_h" = "yes"; then
37010 wchar_headers="$wchar_headers
37011 #include <widec.h>"
37012 fi
37013 esac
37014
37015
37016 for wx_func in putws fputws wprintf vswprintf vswscanf
37017 do
37018 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37019 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37020 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37021 echo $ECHO_N "(cached) $ECHO_C" >&6
37022 else
37023
37024 cat >conftest.$ac_ext <<_ACEOF
37025
37026 /* confdefs.h. */
37027 _ACEOF
37028 cat confdefs.h >>conftest.$ac_ext
37029 cat >>conftest.$ac_ext <<_ACEOF
37030 /* end confdefs.h. */
37031
37032 $wchar_headers
37033 $ac_includes_default
37034
37035 int
37036 main ()
37037 {
37038
37039 #ifndef $wx_func
37040 &$wx_func;
37041 #endif
37042
37043
37044 ;
37045 return 0;
37046 }
37047
37048 _ACEOF
37049 rm -f conftest.$ac_objext conftest$ac_exeext
37050 if { (ac_try="$ac_link"
37051 case "(($ac_try" in
37052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37053 *) ac_try_echo=$ac_try;;
37054 esac
37055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37056 (eval "$ac_link") 2>conftest.er1
37057 ac_status=$?
37058 grep -v '^ *+' conftest.er1 >conftest.err
37059 rm -f conftest.er1
37060 cat conftest.err >&5
37061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37062 (exit $ac_status); } && {
37063 test -z "$ac_c_werror_flag" ||
37064 test ! -s conftest.err
37065 } && test -s conftest$ac_exeext &&
37066 $as_test_x conftest$ac_exeext; then
37067 eval wx_cv_func_$wx_func=yes
37068 else
37069 echo "$as_me: failed program was:" >&5
37070 sed 's/^/| /' conftest.$ac_ext >&5
37071
37072 eval wx_cv_func_$wx_func=no
37073 fi
37074
37075 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37076 conftest$ac_exeext conftest.$ac_ext
37077
37078 fi
37079 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37080 { echo "$as_me:$LINENO: result: $ac_res" >&5
37081 echo "${ECHO_T}$ac_res" >&6; }
37082
37083 if eval test \$wx_cv_func_$wx_func = yes
37084 then
37085 cat >>confdefs.h <<_ACEOF
37086 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37087 _ACEOF
37088
37089
37090 else
37091 :
37092
37093 fi
37094 done
37095
37096
37097 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
37098 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
37099 cat >conftest.$ac_ext <<_ACEOF
37100 /* confdefs.h. */
37101 _ACEOF
37102 cat confdefs.h >>conftest.$ac_ext
37103 cat >>conftest.$ac_ext <<_ACEOF
37104 /* end confdefs.h. */
37105 #include <wchar.h>
37106 int
37107 main ()
37108 {
37109 &_vsnwprintf;
37110 ;
37111 return 0;
37112 }
37113 _ACEOF
37114 rm -f conftest.$ac_objext
37115 if { (ac_try="$ac_compile"
37116 case "(($ac_try" in
37117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37118 *) ac_try_echo=$ac_try;;
37119 esac
37120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37121 (eval "$ac_compile") 2>conftest.er1
37122 ac_status=$?
37123 grep -v '^ *+' conftest.er1 >conftest.err
37124 rm -f conftest.er1
37125 cat conftest.err >&5
37126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37127 (exit $ac_status); } && {
37128 test -z "$ac_c_werror_flag" ||
37129 test ! -s conftest.err
37130 } && test -s conftest.$ac_objext; then
37131 { echo "$as_me:$LINENO: result: yes" >&5
37132 echo "${ECHO_T}yes" >&6; }
37133 cat >>confdefs.h <<\_ACEOF
37134 #define HAVE__VSNWPRINTF 1
37135 _ACEOF
37136
37137 else
37138 echo "$as_me: failed program was:" >&5
37139 sed 's/^/| /' conftest.$ac_ext >&5
37140
37141 { echo "$as_me:$LINENO: result: no" >&5
37142 echo "${ECHO_T}no" >&6; }
37143 fi
37144
37145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
37146 fi
37147
37148 if test "$wxUSE_FILE" = "yes"; then
37149
37150 for wx_func in fsync
37151 do
37152 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37153 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37154 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37155 echo $ECHO_N "(cached) $ECHO_C" >&6
37156 else
37157
37158 cat >conftest.$ac_ext <<_ACEOF
37159
37160 /* confdefs.h. */
37161 _ACEOF
37162 cat confdefs.h >>conftest.$ac_ext
37163 cat >>conftest.$ac_ext <<_ACEOF
37164 /* end confdefs.h. */
37165
37166
37167 $ac_includes_default
37168
37169 int
37170 main ()
37171 {
37172
37173 #ifndef $wx_func
37174 &$wx_func;
37175 #endif
37176
37177
37178 ;
37179 return 0;
37180 }
37181
37182 _ACEOF
37183 rm -f conftest.$ac_objext conftest$ac_exeext
37184 if { (ac_try="$ac_link"
37185 case "(($ac_try" in
37186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37187 *) ac_try_echo=$ac_try;;
37188 esac
37189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37190 (eval "$ac_link") 2>conftest.er1
37191 ac_status=$?
37192 grep -v '^ *+' conftest.er1 >conftest.err
37193 rm -f conftest.er1
37194 cat conftest.err >&5
37195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37196 (exit $ac_status); } && {
37197 test -z "$ac_c_werror_flag" ||
37198 test ! -s conftest.err
37199 } && test -s conftest$ac_exeext &&
37200 $as_test_x conftest$ac_exeext; then
37201 eval wx_cv_func_$wx_func=yes
37202 else
37203 echo "$as_me: failed program was:" >&5
37204 sed 's/^/| /' conftest.$ac_ext >&5
37205
37206 eval wx_cv_func_$wx_func=no
37207 fi
37208
37209 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37210 conftest$ac_exeext conftest.$ac_ext
37211
37212 fi
37213 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37214 { echo "$as_me:$LINENO: result: $ac_res" >&5
37215 echo "${ECHO_T}$ac_res" >&6; }
37216
37217 if eval test \$wx_cv_func_$wx_func = yes
37218 then
37219 cat >>confdefs.h <<_ACEOF
37220 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37221 _ACEOF
37222
37223
37224 else
37225 :
37226
37227 fi
37228 done
37229
37230 fi
37231
37232 ac_ext=cpp
37233 ac_cpp='$CXXCPP $CPPFLAGS'
37234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37237
37238
37239 for wx_func in round
37240 do
37241 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37242 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37243 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37244 echo $ECHO_N "(cached) $ECHO_C" >&6
37245 else
37246
37247 cat >conftest.$ac_ext <<_ACEOF
37248
37249 /* confdefs.h. */
37250 _ACEOF
37251 cat confdefs.h >>conftest.$ac_ext
37252 cat >>conftest.$ac_ext <<_ACEOF
37253 /* end confdefs.h. */
37254
37255 #include <math.h>
37256 $ac_includes_default
37257
37258 int
37259 main ()
37260 {
37261
37262 #ifndef $wx_func
37263 &$wx_func;
37264 #endif
37265
37266
37267 ;
37268 return 0;
37269 }
37270
37271 _ACEOF
37272 rm -f conftest.$ac_objext conftest$ac_exeext
37273 if { (ac_try="$ac_link"
37274 case "(($ac_try" in
37275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37276 *) ac_try_echo=$ac_try;;
37277 esac
37278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37279 (eval "$ac_link") 2>conftest.er1
37280 ac_status=$?
37281 grep -v '^ *+' conftest.er1 >conftest.err
37282 rm -f conftest.er1
37283 cat conftest.err >&5
37284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37285 (exit $ac_status); } && {
37286 test -z "$ac_cxx_werror_flag" ||
37287 test ! -s conftest.err
37288 } && test -s conftest$ac_exeext &&
37289 $as_test_x conftest$ac_exeext; then
37290 eval wx_cv_func_$wx_func=yes
37291 else
37292 echo "$as_me: failed program was:" >&5
37293 sed 's/^/| /' conftest.$ac_ext >&5
37294
37295 eval wx_cv_func_$wx_func=no
37296 fi
37297
37298 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37299 conftest$ac_exeext conftest.$ac_ext
37300
37301 fi
37302 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37303 { echo "$as_me:$LINENO: result: $ac_res" >&5
37304 echo "${ECHO_T}$ac_res" >&6; }
37305
37306 if eval test \$wx_cv_func_$wx_func = yes
37307 then
37308 cat >>confdefs.h <<_ACEOF
37309 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37310 _ACEOF
37311
37312
37313 else
37314 :
37315
37316 fi
37317 done
37318
37319 ac_ext=c
37320 ac_cpp='$CPP $CPPFLAGS'
37321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37324
37325
37326 if test "$TOOLKIT" != "MSW"; then
37327
37328 if test "$wxUSE_LIBICONV" != "no" ; then
37329
37330
37331
37332 # Check whether --with-libiconv-prefix was given.
37333 if test "${with_libiconv_prefix+set}" = set; then
37334 withval=$with_libiconv_prefix;
37335 for dir in `echo "$withval" | tr : ' '`; do
37336 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
37337 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
37338 done
37339
37340 fi
37341
37342
37343 { echo "$as_me:$LINENO: checking for iconv" >&5
37344 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
37345 if test "${am_cv_func_iconv+set}" = set; then
37346 echo $ECHO_N "(cached) $ECHO_C" >&6
37347 else
37348
37349 am_cv_func_iconv="no, consider installing GNU libiconv"
37350 am_cv_lib_iconv=no
37351 cat >conftest.$ac_ext <<_ACEOF
37352 /* confdefs.h. */
37353 _ACEOF
37354 cat confdefs.h >>conftest.$ac_ext
37355 cat >>conftest.$ac_ext <<_ACEOF
37356 /* end confdefs.h. */
37357 #include <stdlib.h>
37358 #include <iconv.h>
37359 int
37360 main ()
37361 {
37362 iconv_t cd = iconv_open("","");
37363 iconv(cd,NULL,NULL,NULL,NULL);
37364 iconv_close(cd);
37365 ;
37366 return 0;
37367 }
37368 _ACEOF
37369 rm -f conftest.$ac_objext conftest$ac_exeext
37370 if { (ac_try="$ac_link"
37371 case "(($ac_try" in
37372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37373 *) ac_try_echo=$ac_try;;
37374 esac
37375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37376 (eval "$ac_link") 2>conftest.er1
37377 ac_status=$?
37378 grep -v '^ *+' conftest.er1 >conftest.err
37379 rm -f conftest.er1
37380 cat conftest.err >&5
37381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37382 (exit $ac_status); } && {
37383 test -z "$ac_c_werror_flag" ||
37384 test ! -s conftest.err
37385 } && test -s conftest$ac_exeext &&
37386 $as_test_x conftest$ac_exeext; then
37387 am_cv_func_iconv=yes
37388 else
37389 echo "$as_me: failed program was:" >&5
37390 sed 's/^/| /' conftest.$ac_ext >&5
37391
37392
37393 fi
37394
37395 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37396 conftest$ac_exeext conftest.$ac_ext
37397 if test "$am_cv_func_iconv" != yes; then
37398 am_save_LIBS="$LIBS"
37399 LIBS="$LIBS -liconv"
37400 cat >conftest.$ac_ext <<_ACEOF
37401 /* confdefs.h. */
37402 _ACEOF
37403 cat confdefs.h >>conftest.$ac_ext
37404 cat >>conftest.$ac_ext <<_ACEOF
37405 /* end confdefs.h. */
37406 #include <stdlib.h>
37407 #include <iconv.h>
37408 int
37409 main ()
37410 {
37411 iconv_t cd = iconv_open("","");
37412 iconv(cd,NULL,NULL,NULL,NULL);
37413 iconv_close(cd);
37414 ;
37415 return 0;
37416 }
37417 _ACEOF
37418 rm -f conftest.$ac_objext conftest$ac_exeext
37419 if { (ac_try="$ac_link"
37420 case "(($ac_try" in
37421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37422 *) ac_try_echo=$ac_try;;
37423 esac
37424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37425 (eval "$ac_link") 2>conftest.er1
37426 ac_status=$?
37427 grep -v '^ *+' conftest.er1 >conftest.err
37428 rm -f conftest.er1
37429 cat conftest.err >&5
37430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37431 (exit $ac_status); } && {
37432 test -z "$ac_c_werror_flag" ||
37433 test ! -s conftest.err
37434 } && test -s conftest$ac_exeext &&
37435 $as_test_x conftest$ac_exeext; then
37436 am_cv_lib_iconv=yes
37437 am_cv_func_iconv=yes
37438 else
37439 echo "$as_me: failed program was:" >&5
37440 sed 's/^/| /' conftest.$ac_ext >&5
37441
37442
37443 fi
37444
37445 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37446 conftest$ac_exeext conftest.$ac_ext
37447 LIBS="$am_save_LIBS"
37448 fi
37449
37450 fi
37451 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
37452 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
37453 if test "$am_cv_func_iconv" = yes; then
37454
37455 cat >>confdefs.h <<\_ACEOF
37456 #define HAVE_ICONV 1
37457 _ACEOF
37458
37459 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
37460 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
37461 if test "${wx_cv_func_iconv_const+set}" = set; then
37462 echo $ECHO_N "(cached) $ECHO_C" >&6
37463 else
37464 cat >conftest.$ac_ext <<_ACEOF
37465 /* confdefs.h. */
37466 _ACEOF
37467 cat confdefs.h >>conftest.$ac_ext
37468 cat >>conftest.$ac_ext <<_ACEOF
37469 /* end confdefs.h. */
37470
37471 #include <stdlib.h>
37472 #include <iconv.h>
37473 extern
37474 #ifdef __cplusplus
37475 "C"
37476 #endif
37477 #if defined(__STDC__) || defined(__cplusplus)
37478 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
37479 #else
37480 size_t iconv();
37481 #endif
37482
37483 int
37484 main ()
37485 {
37486
37487 ;
37488 return 0;
37489 }
37490 _ACEOF
37491 rm -f conftest.$ac_objext
37492 if { (ac_try="$ac_compile"
37493 case "(($ac_try" in
37494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37495 *) ac_try_echo=$ac_try;;
37496 esac
37497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37498 (eval "$ac_compile") 2>conftest.er1
37499 ac_status=$?
37500 grep -v '^ *+' conftest.er1 >conftest.err
37501 rm -f conftest.er1
37502 cat conftest.err >&5
37503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37504 (exit $ac_status); } && {
37505 test -z "$ac_c_werror_flag" ||
37506 test ! -s conftest.err
37507 } && test -s conftest.$ac_objext; then
37508 wx_cv_func_iconv_const="no"
37509 else
37510 echo "$as_me: failed program was:" >&5
37511 sed 's/^/| /' conftest.$ac_ext >&5
37512
37513 wx_cv_func_iconv_const="yes"
37514
37515 fi
37516
37517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37518
37519 fi
37520 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
37521 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
37522
37523 iconv_const=
37524 if test "x$wx_cv_func_iconv_const" = "xyes"; then
37525 iconv_const="const"
37526 fi
37527
37528
37529 cat >>confdefs.h <<_ACEOF
37530 #define ICONV_CONST $iconv_const
37531 _ACEOF
37532
37533 fi
37534 LIBICONV=
37535 if test "$am_cv_lib_iconv" = yes; then
37536 LIBICONV="-liconv"
37537 fi
37538
37539
37540 LIBS="$LIBICONV $LIBS"
37541 fi
37542
37543 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37544
37545 for ac_func in sigaction
37546 do
37547 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37548 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37549 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37550 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37551 echo $ECHO_N "(cached) $ECHO_C" >&6
37552 else
37553 cat >conftest.$ac_ext <<_ACEOF
37554 /* confdefs.h. */
37555 _ACEOF
37556 cat confdefs.h >>conftest.$ac_ext
37557 cat >>conftest.$ac_ext <<_ACEOF
37558 /* end confdefs.h. */
37559 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37560 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37561 #define $ac_func innocuous_$ac_func
37562
37563 /* System header to define __stub macros and hopefully few prototypes,
37564 which can conflict with char $ac_func (); below.
37565 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37566 <limits.h> exists even on freestanding compilers. */
37567
37568 #ifdef __STDC__
37569 # include <limits.h>
37570 #else
37571 # include <assert.h>
37572 #endif
37573
37574 #undef $ac_func
37575
37576 /* Override any GCC internal prototype to avoid an error.
37577 Use char because int might match the return type of a GCC
37578 builtin and then its argument prototype would still apply. */
37579 #ifdef __cplusplus
37580 extern "C"
37581 #endif
37582 char $ac_func ();
37583 /* The GNU C library defines this for functions which it implements
37584 to always fail with ENOSYS. Some functions are actually named
37585 something starting with __ and the normal name is an alias. */
37586 #if defined __stub_$ac_func || defined __stub___$ac_func
37587 choke me
37588 #endif
37589
37590 int
37591 main ()
37592 {
37593 return $ac_func ();
37594 ;
37595 return 0;
37596 }
37597 _ACEOF
37598 rm -f conftest.$ac_objext conftest$ac_exeext
37599 if { (ac_try="$ac_link"
37600 case "(($ac_try" in
37601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37602 *) ac_try_echo=$ac_try;;
37603 esac
37604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37605 (eval "$ac_link") 2>conftest.er1
37606 ac_status=$?
37607 grep -v '^ *+' conftest.er1 >conftest.err
37608 rm -f conftest.er1
37609 cat conftest.err >&5
37610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37611 (exit $ac_status); } && {
37612 test -z "$ac_c_werror_flag" ||
37613 test ! -s conftest.err
37614 } && test -s conftest$ac_exeext &&
37615 $as_test_x conftest$ac_exeext; then
37616 eval "$as_ac_var=yes"
37617 else
37618 echo "$as_me: failed program was:" >&5
37619 sed 's/^/| /' conftest.$ac_ext >&5
37620
37621 eval "$as_ac_var=no"
37622 fi
37623
37624 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37625 conftest$ac_exeext conftest.$ac_ext
37626 fi
37627 ac_res=`eval echo '${'$as_ac_var'}'`
37628 { echo "$as_me:$LINENO: result: $ac_res" >&5
37629 echo "${ECHO_T}$ac_res" >&6; }
37630 if test `eval echo '${'$as_ac_var'}'` = yes; then
37631 cat >>confdefs.h <<_ACEOF
37632 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37633 _ACEOF
37634
37635 fi
37636 done
37637
37638
37639 if test "$ac_cv_func_sigaction" = "no"; then
37640 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
37641 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
37642 wxUSE_ON_FATAL_EXCEPTION=no
37643 fi
37644
37645 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37646 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
37647 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
37648 if test "${wx_cv_type_sa_handler+set}" = set; then
37649 echo $ECHO_N "(cached) $ECHO_C" >&6
37650 else
37651
37652 ac_ext=cpp
37653 ac_cpp='$CXXCPP $CPPFLAGS'
37654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37657
37658 cat >conftest.$ac_ext <<_ACEOF
37659 /* confdefs.h. */
37660 _ACEOF
37661 cat confdefs.h >>conftest.$ac_ext
37662 cat >>conftest.$ac_ext <<_ACEOF
37663 /* end confdefs.h. */
37664 #include <signal.h>
37665 int
37666 main ()
37667 {
37668
37669 extern void testSigHandler(int);
37670
37671 struct sigaction sa;
37672 sa.sa_handler = testSigHandler;
37673
37674 ;
37675 return 0;
37676 }
37677 _ACEOF
37678 rm -f conftest.$ac_objext
37679 if { (ac_try="$ac_compile"
37680 case "(($ac_try" in
37681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37682 *) ac_try_echo=$ac_try;;
37683 esac
37684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37685 (eval "$ac_compile") 2>conftest.er1
37686 ac_status=$?
37687 grep -v '^ *+' conftest.er1 >conftest.err
37688 rm -f conftest.er1
37689 cat conftest.err >&5
37690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37691 (exit $ac_status); } && {
37692 test -z "$ac_cxx_werror_flag" ||
37693 test ! -s conftest.err
37694 } && test -s conftest.$ac_objext; then
37695
37696 wx_cv_type_sa_handler=int
37697
37698 else
37699 echo "$as_me: failed program was:" >&5
37700 sed 's/^/| /' conftest.$ac_ext >&5
37701
37702
37703 wx_cv_type_sa_handler=void
37704
37705 fi
37706
37707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37708 ac_ext=c
37709 ac_cpp='$CPP $CPPFLAGS'
37710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37713
37714
37715 fi
37716 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
37717 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
37718
37719 cat >>confdefs.h <<_ACEOF
37720 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
37721 _ACEOF
37722
37723 fi
37724 fi
37725
37726 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37727 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
37728 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
37729 if test "${wx_cv_func_backtrace+set}" = set; then
37730 echo $ECHO_N "(cached) $ECHO_C" >&6
37731 else
37732
37733 ac_ext=cpp
37734 ac_cpp='$CXXCPP $CPPFLAGS'
37735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37738
37739 cat >conftest.$ac_ext <<_ACEOF
37740 /* confdefs.h. */
37741 _ACEOF
37742 cat confdefs.h >>conftest.$ac_ext
37743 cat >>conftest.$ac_ext <<_ACEOF
37744 /* end confdefs.h. */
37745 #include <execinfo.h>
37746 int
37747 main ()
37748 {
37749
37750 void *trace[1];
37751 char **messages;
37752
37753 backtrace(trace, 1);
37754 messages = backtrace_symbols(trace, 1);
37755
37756 ;
37757 return 0;
37758 }
37759 _ACEOF
37760 rm -f conftest.$ac_objext
37761 if { (ac_try="$ac_compile"
37762 case "(($ac_try" in
37763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37764 *) ac_try_echo=$ac_try;;
37765 esac
37766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37767 (eval "$ac_compile") 2>conftest.er1
37768 ac_status=$?
37769 grep -v '^ *+' conftest.er1 >conftest.err
37770 rm -f conftest.er1
37771 cat conftest.err >&5
37772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37773 (exit $ac_status); } && {
37774 test -z "$ac_cxx_werror_flag" ||
37775 test ! -s conftest.err
37776 } && test -s conftest.$ac_objext; then
37777 wx_cv_func_backtrace=yes
37778 else
37779 echo "$as_me: failed program was:" >&5
37780 sed 's/^/| /' conftest.$ac_ext >&5
37781
37782 wx_cv_func_backtrace=no
37783
37784 fi
37785
37786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37787 ac_ext=c
37788 ac_cpp='$CPP $CPPFLAGS'
37789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37792
37793
37794
37795 fi
37796 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
37797 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
37798
37799
37800 if test "$wx_cv_func_backtrace" = "no"; then
37801 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
37802 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
37803 wxUSE_STACKWALKER=no
37804 else
37805 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
37806 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
37807 if test "${wx_cv_func_cxa_demangle+set}" = set; then
37808 echo $ECHO_N "(cached) $ECHO_C" >&6
37809 else
37810
37811 ac_ext=cpp
37812 ac_cpp='$CXXCPP $CPPFLAGS'
37813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37816
37817 cat >conftest.$ac_ext <<_ACEOF
37818 /* confdefs.h. */
37819 _ACEOF
37820 cat confdefs.h >>conftest.$ac_ext
37821 cat >>conftest.$ac_ext <<_ACEOF
37822 /* end confdefs.h. */
37823 #include <cxxabi.h>
37824 int
37825 main ()
37826 {
37827
37828 int rc;
37829 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
37830
37831 ;
37832 return 0;
37833 }
37834 _ACEOF
37835 rm -f conftest.$ac_objext conftest$ac_exeext
37836 if { (ac_try="$ac_link"
37837 case "(($ac_try" in
37838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37839 *) ac_try_echo=$ac_try;;
37840 esac
37841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37842 (eval "$ac_link") 2>conftest.er1
37843 ac_status=$?
37844 grep -v '^ *+' conftest.er1 >conftest.err
37845 rm -f conftest.er1
37846 cat conftest.err >&5
37847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37848 (exit $ac_status); } && {
37849 test -z "$ac_cxx_werror_flag" ||
37850 test ! -s conftest.err
37851 } && test -s conftest$ac_exeext &&
37852 $as_test_x conftest$ac_exeext; then
37853 wx_cv_func_cxa_demangle=yes
37854 else
37855 echo "$as_me: failed program was:" >&5
37856 sed 's/^/| /' conftest.$ac_ext >&5
37857
37858 wx_cv_func_cxa_demangle=no
37859
37860 fi
37861
37862 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37863 conftest$ac_exeext conftest.$ac_ext
37864 ac_ext=c
37865 ac_cpp='$CPP $CPPFLAGS'
37866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37869
37870
37871
37872 fi
37873 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
37874 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
37875
37876 if test "$wx_cv_func_cxa_demangle" = "yes"; then
37877 cat >>confdefs.h <<\_ACEOF
37878 #define HAVE_CXA_DEMANGLE 1
37879 _ACEOF
37880
37881 fi
37882 fi
37883 fi
37884
37885 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
37886 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
37887 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
37888 wxUSE_STACKWALKER=no
37889 fi
37890
37891
37892
37893
37894 for ac_func in mkstemp mktemp
37895 do
37896 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37897 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37898 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37899 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37900 echo $ECHO_N "(cached) $ECHO_C" >&6
37901 else
37902 cat >conftest.$ac_ext <<_ACEOF
37903 /* confdefs.h. */
37904 _ACEOF
37905 cat confdefs.h >>conftest.$ac_ext
37906 cat >>conftest.$ac_ext <<_ACEOF
37907 /* end confdefs.h. */
37908 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37909 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37910 #define $ac_func innocuous_$ac_func
37911
37912 /* System header to define __stub macros and hopefully few prototypes,
37913 which can conflict with char $ac_func (); below.
37914 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37915 <limits.h> exists even on freestanding compilers. */
37916
37917 #ifdef __STDC__
37918 # include <limits.h>
37919 #else
37920 # include <assert.h>
37921 #endif
37922
37923 #undef $ac_func
37924
37925 /* Override any GCC internal prototype to avoid an error.
37926 Use char because int might match the return type of a GCC
37927 builtin and then its argument prototype would still apply. */
37928 #ifdef __cplusplus
37929 extern "C"
37930 #endif
37931 char $ac_func ();
37932 /* The GNU C library defines this for functions which it implements
37933 to always fail with ENOSYS. Some functions are actually named
37934 something starting with __ and the normal name is an alias. */
37935 #if defined __stub_$ac_func || defined __stub___$ac_func
37936 choke me
37937 #endif
37938
37939 int
37940 main ()
37941 {
37942 return $ac_func ();
37943 ;
37944 return 0;
37945 }
37946 _ACEOF
37947 rm -f conftest.$ac_objext conftest$ac_exeext
37948 if { (ac_try="$ac_link"
37949 case "(($ac_try" in
37950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37951 *) ac_try_echo=$ac_try;;
37952 esac
37953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37954 (eval "$ac_link") 2>conftest.er1
37955 ac_status=$?
37956 grep -v '^ *+' conftest.er1 >conftest.err
37957 rm -f conftest.er1
37958 cat conftest.err >&5
37959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37960 (exit $ac_status); } && {
37961 test -z "$ac_c_werror_flag" ||
37962 test ! -s conftest.err
37963 } && test -s conftest$ac_exeext &&
37964 $as_test_x conftest$ac_exeext; then
37965 eval "$as_ac_var=yes"
37966 else
37967 echo "$as_me: failed program was:" >&5
37968 sed 's/^/| /' conftest.$ac_ext >&5
37969
37970 eval "$as_ac_var=no"
37971 fi
37972
37973 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37974 conftest$ac_exeext conftest.$ac_ext
37975 fi
37976 ac_res=`eval echo '${'$as_ac_var'}'`
37977 { echo "$as_me:$LINENO: result: $ac_res" >&5
37978 echo "${ECHO_T}$ac_res" >&6; }
37979 if test `eval echo '${'$as_ac_var'}'` = yes; then
37980 cat >>confdefs.h <<_ACEOF
37981 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37982 _ACEOF
37983 break
37984 fi
37985 done
37986
37987
37988 { echo "$as_me:$LINENO: checking for statfs" >&5
37989 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
37990 if test "${wx_cv_func_statfs+set}" = set; then
37991 echo $ECHO_N "(cached) $ECHO_C" >&6
37992 else
37993 cat >conftest.$ac_ext <<_ACEOF
37994 /* confdefs.h. */
37995 _ACEOF
37996 cat confdefs.h >>conftest.$ac_ext
37997 cat >>conftest.$ac_ext <<_ACEOF
37998 /* end confdefs.h. */
37999
38000 #if defined(__BSD__)
38001 #include <sys/param.h>
38002 #include <sys/mount.h>
38003 #else
38004 #include <sys/vfs.h>
38005 #endif
38006
38007 int
38008 main ()
38009 {
38010
38011 long l;
38012 struct statfs fs;
38013 statfs("/", &fs);
38014 l = fs.f_bsize;
38015 l += fs.f_blocks;
38016 l += fs.f_bavail;
38017
38018 ;
38019 return 0;
38020 }
38021 _ACEOF
38022 rm -f conftest.$ac_objext
38023 if { (ac_try="$ac_compile"
38024 case "(($ac_try" in
38025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38026 *) ac_try_echo=$ac_try;;
38027 esac
38028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38029 (eval "$ac_compile") 2>conftest.er1
38030 ac_status=$?
38031 grep -v '^ *+' conftest.er1 >conftest.err
38032 rm -f conftest.er1
38033 cat conftest.err >&5
38034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38035 (exit $ac_status); } && {
38036 test -z "$ac_c_werror_flag" ||
38037 test ! -s conftest.err
38038 } && test -s conftest.$ac_objext; then
38039 wx_cv_func_statfs=yes
38040 else
38041 echo "$as_me: failed program was:" >&5
38042 sed 's/^/| /' conftest.$ac_ext >&5
38043
38044 wx_cv_func_statfs=no
38045
38046 fi
38047
38048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38049
38050 fi
38051 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
38052 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
38053
38054 if test "$wx_cv_func_statfs" = "yes"; then
38055 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
38056 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
38057 if test "${wx_cv_func_statfs_decl+set}" = set; then
38058 echo $ECHO_N "(cached) $ECHO_C" >&6
38059 else
38060 ac_ext=cpp
38061 ac_cpp='$CXXCPP $CPPFLAGS'
38062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38065
38066 cat >conftest.$ac_ext <<_ACEOF
38067 /* confdefs.h. */
38068 _ACEOF
38069 cat confdefs.h >>conftest.$ac_ext
38070 cat >>conftest.$ac_ext <<_ACEOF
38071 /* end confdefs.h. */
38072
38073 #if defined(__BSD__)
38074 #include <sys/param.h>
38075 #include <sys/mount.h>
38076 #else
38077 #include <sys/vfs.h>
38078 #endif
38079
38080 int
38081 main ()
38082 {
38083
38084 struct statfs fs;
38085 statfs("", &fs);
38086
38087 ;
38088 return 0;
38089 }
38090 _ACEOF
38091 rm -f conftest.$ac_objext
38092 if { (ac_try="$ac_compile"
38093 case "(($ac_try" in
38094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38095 *) ac_try_echo=$ac_try;;
38096 esac
38097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38098 (eval "$ac_compile") 2>conftest.er1
38099 ac_status=$?
38100 grep -v '^ *+' conftest.er1 >conftest.err
38101 rm -f conftest.er1
38102 cat conftest.err >&5
38103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38104 (exit $ac_status); } && {
38105 test -z "$ac_cxx_werror_flag" ||
38106 test ! -s conftest.err
38107 } && test -s conftest.$ac_objext; then
38108 wx_cv_func_statfs_decl=yes
38109 else
38110 echo "$as_me: failed program was:" >&5
38111 sed 's/^/| /' conftest.$ac_ext >&5
38112
38113 wx_cv_func_statfs_decl=no
38114
38115 fi
38116
38117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38118 ac_ext=c
38119 ac_cpp='$CPP $CPPFLAGS'
38120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38123
38124
38125 fi
38126 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
38127 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
38128
38129 if test "$wx_cv_func_statfs_decl" = "yes"; then
38130 cat >>confdefs.h <<\_ACEOF
38131 #define HAVE_STATFS_DECL 1
38132 _ACEOF
38133
38134 fi
38135
38136 wx_cv_type_statvfs_t="struct statfs"
38137 cat >>confdefs.h <<\_ACEOF
38138 #define HAVE_STATFS 1
38139 _ACEOF
38140
38141 else
38142 { echo "$as_me:$LINENO: checking for statvfs" >&5
38143 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
38144 if test "${wx_cv_func_statvfs+set}" = set; then
38145 echo $ECHO_N "(cached) $ECHO_C" >&6
38146 else
38147 cat >conftest.$ac_ext <<_ACEOF
38148 /* confdefs.h. */
38149 _ACEOF
38150 cat confdefs.h >>conftest.$ac_ext
38151 cat >>conftest.$ac_ext <<_ACEOF
38152 /* end confdefs.h. */
38153
38154 #include <stddef.h>
38155 #include <sys/statvfs.h>
38156
38157 int
38158 main ()
38159 {
38160
38161 statvfs("/", NULL);
38162
38163 ;
38164 return 0;
38165 }
38166 _ACEOF
38167 rm -f conftest.$ac_objext
38168 if { (ac_try="$ac_compile"
38169 case "(($ac_try" in
38170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38171 *) ac_try_echo=$ac_try;;
38172 esac
38173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38174 (eval "$ac_compile") 2>conftest.er1
38175 ac_status=$?
38176 grep -v '^ *+' conftest.er1 >conftest.err
38177 rm -f conftest.er1
38178 cat conftest.err >&5
38179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38180 (exit $ac_status); } && {
38181 test -z "$ac_c_werror_flag" ||
38182 test ! -s conftest.err
38183 } && test -s conftest.$ac_objext; then
38184 wx_cv_func_statvfs=yes
38185 else
38186 echo "$as_me: failed program was:" >&5
38187 sed 's/^/| /' conftest.$ac_ext >&5
38188
38189 wx_cv_func_statvfs=no
38190
38191 fi
38192
38193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38194
38195 fi
38196 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
38197 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
38198
38199 if test "$wx_cv_func_statvfs" = "yes"; then
38200 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
38201 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
38202 if test "${wx_cv_type_statvfs_t+set}" = set; then
38203 echo $ECHO_N "(cached) $ECHO_C" >&6
38204 else
38205 ac_ext=cpp
38206 ac_cpp='$CXXCPP $CPPFLAGS'
38207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38210
38211 cat >conftest.$ac_ext <<_ACEOF
38212 /* confdefs.h. */
38213 _ACEOF
38214 cat confdefs.h >>conftest.$ac_ext
38215 cat >>conftest.$ac_ext <<_ACEOF
38216 /* end confdefs.h. */
38217
38218 #include <sys/statvfs.h>
38219
38220 int
38221 main ()
38222 {
38223
38224 long l;
38225 statvfs_t fs;
38226 statvfs("/", &fs);
38227 l = fs.f_bsize;
38228 l += fs.f_blocks;
38229 l += fs.f_bavail;
38230
38231 ;
38232 return 0;
38233 }
38234 _ACEOF
38235 rm -f conftest.$ac_objext
38236 if { (ac_try="$ac_compile"
38237 case "(($ac_try" in
38238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38239 *) ac_try_echo=$ac_try;;
38240 esac
38241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38242 (eval "$ac_compile") 2>conftest.er1
38243 ac_status=$?
38244 grep -v '^ *+' conftest.er1 >conftest.err
38245 rm -f conftest.er1
38246 cat conftest.err >&5
38247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38248 (exit $ac_status); } && {
38249 test -z "$ac_cxx_werror_flag" ||
38250 test ! -s conftest.err
38251 } && test -s conftest.$ac_objext; then
38252 wx_cv_type_statvfs_t=statvfs_t
38253 else
38254 echo "$as_me: failed program was:" >&5
38255 sed 's/^/| /' conftest.$ac_ext >&5
38256
38257
38258 cat >conftest.$ac_ext <<_ACEOF
38259 /* confdefs.h. */
38260 _ACEOF
38261 cat confdefs.h >>conftest.$ac_ext
38262 cat >>conftest.$ac_ext <<_ACEOF
38263 /* end confdefs.h. */
38264
38265 #include <sys/statvfs.h>
38266
38267 int
38268 main ()
38269 {
38270
38271 long l;
38272 struct statvfs fs;
38273 statvfs("/", &fs);
38274 l = fs.f_bsize;
38275 l += fs.f_blocks;
38276 l += fs.f_bavail;
38277
38278 ;
38279 return 0;
38280 }
38281 _ACEOF
38282 rm -f conftest.$ac_objext
38283 if { (ac_try="$ac_compile"
38284 case "(($ac_try" in
38285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38286 *) ac_try_echo=$ac_try;;
38287 esac
38288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38289 (eval "$ac_compile") 2>conftest.er1
38290 ac_status=$?
38291 grep -v '^ *+' conftest.er1 >conftest.err
38292 rm -f conftest.er1
38293 cat conftest.err >&5
38294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38295 (exit $ac_status); } && {
38296 test -z "$ac_cxx_werror_flag" ||
38297 test ! -s conftest.err
38298 } && test -s conftest.$ac_objext; then
38299 wx_cv_type_statvfs_t="struct statvfs"
38300 else
38301 echo "$as_me: failed program was:" >&5
38302 sed 's/^/| /' conftest.$ac_ext >&5
38303
38304 wx_cv_type_statvfs_t="unknown"
38305
38306 fi
38307
38308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38309
38310
38311 fi
38312
38313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38314 ac_ext=c
38315 ac_cpp='$CPP $CPPFLAGS'
38316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38319
38320
38321 fi
38322 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
38323 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
38324
38325 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38326 cat >>confdefs.h <<\_ACEOF
38327 #define HAVE_STATVFS 1
38328 _ACEOF
38329
38330 fi
38331 else
38332 wx_cv_type_statvfs_t="unknown"
38333 fi
38334 fi
38335
38336 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38337 cat >>confdefs.h <<_ACEOF
38338 #define WX_STATFS_T $wx_cv_type_statvfs_t
38339 _ACEOF
38340
38341 else
38342 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
38343 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
38344 fi
38345
38346 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
38347
38348
38349 for ac_func in fcntl flock
38350 do
38351 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38352 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38353 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38354 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38355 echo $ECHO_N "(cached) $ECHO_C" >&6
38356 else
38357 cat >conftest.$ac_ext <<_ACEOF
38358 /* confdefs.h. */
38359 _ACEOF
38360 cat confdefs.h >>conftest.$ac_ext
38361 cat >>conftest.$ac_ext <<_ACEOF
38362 /* end confdefs.h. */
38363 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38364 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38365 #define $ac_func innocuous_$ac_func
38366
38367 /* System header to define __stub macros and hopefully few prototypes,
38368 which can conflict with char $ac_func (); below.
38369 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38370 <limits.h> exists even on freestanding compilers. */
38371
38372 #ifdef __STDC__
38373 # include <limits.h>
38374 #else
38375 # include <assert.h>
38376 #endif
38377
38378 #undef $ac_func
38379
38380 /* Override any GCC internal prototype to avoid an error.
38381 Use char because int might match the return type of a GCC
38382 builtin and then its argument prototype would still apply. */
38383 #ifdef __cplusplus
38384 extern "C"
38385 #endif
38386 char $ac_func ();
38387 /* The GNU C library defines this for functions which it implements
38388 to always fail with ENOSYS. Some functions are actually named
38389 something starting with __ and the normal name is an alias. */
38390 #if defined __stub_$ac_func || defined __stub___$ac_func
38391 choke me
38392 #endif
38393
38394 int
38395 main ()
38396 {
38397 return $ac_func ();
38398 ;
38399 return 0;
38400 }
38401 _ACEOF
38402 rm -f conftest.$ac_objext conftest$ac_exeext
38403 if { (ac_try="$ac_link"
38404 case "(($ac_try" in
38405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38406 *) ac_try_echo=$ac_try;;
38407 esac
38408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38409 (eval "$ac_link") 2>conftest.er1
38410 ac_status=$?
38411 grep -v '^ *+' conftest.er1 >conftest.err
38412 rm -f conftest.er1
38413 cat conftest.err >&5
38414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38415 (exit $ac_status); } && {
38416 test -z "$ac_c_werror_flag" ||
38417 test ! -s conftest.err
38418 } && test -s conftest$ac_exeext &&
38419 $as_test_x conftest$ac_exeext; then
38420 eval "$as_ac_var=yes"
38421 else
38422 echo "$as_me: failed program was:" >&5
38423 sed 's/^/| /' conftest.$ac_ext >&5
38424
38425 eval "$as_ac_var=no"
38426 fi
38427
38428 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38429 conftest$ac_exeext conftest.$ac_ext
38430 fi
38431 ac_res=`eval echo '${'$as_ac_var'}'`
38432 { echo "$as_me:$LINENO: result: $ac_res" >&5
38433 echo "${ECHO_T}$ac_res" >&6; }
38434 if test `eval echo '${'$as_ac_var'}'` = yes; then
38435 cat >>confdefs.h <<_ACEOF
38436 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38437 _ACEOF
38438 break
38439 fi
38440 done
38441
38442
38443 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
38444 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
38445 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
38446 wxUSE_SNGLINST_CHECKER=no
38447 fi
38448 fi
38449
38450
38451
38452 for ac_func in setenv putenv
38453 do
38454 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38455 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38456 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38457 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38458 echo $ECHO_N "(cached) $ECHO_C" >&6
38459 else
38460 cat >conftest.$ac_ext <<_ACEOF
38461 /* confdefs.h. */
38462 _ACEOF
38463 cat confdefs.h >>conftest.$ac_ext
38464 cat >>conftest.$ac_ext <<_ACEOF
38465 /* end confdefs.h. */
38466 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38467 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38468 #define $ac_func innocuous_$ac_func
38469
38470 /* System header to define __stub macros and hopefully few prototypes,
38471 which can conflict with char $ac_func (); below.
38472 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38473 <limits.h> exists even on freestanding compilers. */
38474
38475 #ifdef __STDC__
38476 # include <limits.h>
38477 #else
38478 # include <assert.h>
38479 #endif
38480
38481 #undef $ac_func
38482
38483 /* Override any GCC internal prototype to avoid an error.
38484 Use char because int might match the return type of a GCC
38485 builtin and then its argument prototype would still apply. */
38486 #ifdef __cplusplus
38487 extern "C"
38488 #endif
38489 char $ac_func ();
38490 /* The GNU C library defines this for functions which it implements
38491 to always fail with ENOSYS. Some functions are actually named
38492 something starting with __ and the normal name is an alias. */
38493 #if defined __stub_$ac_func || defined __stub___$ac_func
38494 choke me
38495 #endif
38496
38497 int
38498 main ()
38499 {
38500 return $ac_func ();
38501 ;
38502 return 0;
38503 }
38504 _ACEOF
38505 rm -f conftest.$ac_objext conftest$ac_exeext
38506 if { (ac_try="$ac_link"
38507 case "(($ac_try" in
38508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38509 *) ac_try_echo=$ac_try;;
38510 esac
38511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38512 (eval "$ac_link") 2>conftest.er1
38513 ac_status=$?
38514 grep -v '^ *+' conftest.er1 >conftest.err
38515 rm -f conftest.er1
38516 cat conftest.err >&5
38517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38518 (exit $ac_status); } && {
38519 test -z "$ac_c_werror_flag" ||
38520 test ! -s conftest.err
38521 } && test -s conftest$ac_exeext &&
38522 $as_test_x conftest$ac_exeext; then
38523 eval "$as_ac_var=yes"
38524 else
38525 echo "$as_me: failed program was:" >&5
38526 sed 's/^/| /' conftest.$ac_ext >&5
38527
38528 eval "$as_ac_var=no"
38529 fi
38530
38531 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38532 conftest$ac_exeext conftest.$ac_ext
38533 fi
38534 ac_res=`eval echo '${'$as_ac_var'}'`
38535 { echo "$as_me:$LINENO: result: $ac_res" >&5
38536 echo "${ECHO_T}$ac_res" >&6; }
38537 if test `eval echo '${'$as_ac_var'}'` = yes; then
38538 cat >>confdefs.h <<_ACEOF
38539 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38540 _ACEOF
38541 break
38542 fi
38543 done
38544
38545 if test "$ac_cv_func_setenv" = "yes"; then
38546
38547 for ac_func in unsetenv
38548 do
38549 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38550 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38551 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38552 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38553 echo $ECHO_N "(cached) $ECHO_C" >&6
38554 else
38555 cat >conftest.$ac_ext <<_ACEOF
38556 /* confdefs.h. */
38557 _ACEOF
38558 cat confdefs.h >>conftest.$ac_ext
38559 cat >>conftest.$ac_ext <<_ACEOF
38560 /* end confdefs.h. */
38561 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38562 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38563 #define $ac_func innocuous_$ac_func
38564
38565 /* System header to define __stub macros and hopefully few prototypes,
38566 which can conflict with char $ac_func (); below.
38567 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38568 <limits.h> exists even on freestanding compilers. */
38569
38570 #ifdef __STDC__
38571 # include <limits.h>
38572 #else
38573 # include <assert.h>
38574 #endif
38575
38576 #undef $ac_func
38577
38578 /* Override any GCC internal prototype to avoid an error.
38579 Use char because int might match the return type of a GCC
38580 builtin and then its argument prototype would still apply. */
38581 #ifdef __cplusplus
38582 extern "C"
38583 #endif
38584 char $ac_func ();
38585 /* The GNU C library defines this for functions which it implements
38586 to always fail with ENOSYS. Some functions are actually named
38587 something starting with __ and the normal name is an alias. */
38588 #if defined __stub_$ac_func || defined __stub___$ac_func
38589 choke me
38590 #endif
38591
38592 int
38593 main ()
38594 {
38595 return $ac_func ();
38596 ;
38597 return 0;
38598 }
38599 _ACEOF
38600 rm -f conftest.$ac_objext conftest$ac_exeext
38601 if { (ac_try="$ac_link"
38602 case "(($ac_try" in
38603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38604 *) ac_try_echo=$ac_try;;
38605 esac
38606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38607 (eval "$ac_link") 2>conftest.er1
38608 ac_status=$?
38609 grep -v '^ *+' conftest.er1 >conftest.err
38610 rm -f conftest.er1
38611 cat conftest.err >&5
38612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38613 (exit $ac_status); } && {
38614 test -z "$ac_c_werror_flag" ||
38615 test ! -s conftest.err
38616 } && test -s conftest$ac_exeext &&
38617 $as_test_x conftest$ac_exeext; then
38618 eval "$as_ac_var=yes"
38619 else
38620 echo "$as_me: failed program was:" >&5
38621 sed 's/^/| /' conftest.$ac_ext >&5
38622
38623 eval "$as_ac_var=no"
38624 fi
38625
38626 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38627 conftest$ac_exeext conftest.$ac_ext
38628 fi
38629 ac_res=`eval echo '${'$as_ac_var'}'`
38630 { echo "$as_me:$LINENO: result: $ac_res" >&5
38631 echo "${ECHO_T}$ac_res" >&6; }
38632 if test `eval echo '${'$as_ac_var'}'` = yes; then
38633 cat >>confdefs.h <<_ACEOF
38634 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38635 _ACEOF
38636
38637 fi
38638 done
38639
38640 fi
38641
38642 HAVE_SOME_SLEEP_FUNC=0
38643 if test "$USE_BEOS" = 1; then
38644 cat >>confdefs.h <<\_ACEOF
38645 #define HAVE_SLEEP 1
38646 _ACEOF
38647
38648 HAVE_SOME_SLEEP_FUNC=1
38649 fi
38650
38651 if test "$USE_DARWIN" = 1; then
38652 cat >>confdefs.h <<\_ACEOF
38653 #define HAVE_USLEEP 1
38654 _ACEOF
38655
38656 HAVE_SOME_SLEEP_FUNC=1
38657 fi
38658
38659 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
38660 POSIX4_LINK=
38661
38662 for ac_func in nanosleep
38663 do
38664 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38665 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38666 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38667 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38668 echo $ECHO_N "(cached) $ECHO_C" >&6
38669 else
38670 cat >conftest.$ac_ext <<_ACEOF
38671 /* confdefs.h. */
38672 _ACEOF
38673 cat confdefs.h >>conftest.$ac_ext
38674 cat >>conftest.$ac_ext <<_ACEOF
38675 /* end confdefs.h. */
38676 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38677 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38678 #define $ac_func innocuous_$ac_func
38679
38680 /* System header to define __stub macros and hopefully few prototypes,
38681 which can conflict with char $ac_func (); below.
38682 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38683 <limits.h> exists even on freestanding compilers. */
38684
38685 #ifdef __STDC__
38686 # include <limits.h>
38687 #else
38688 # include <assert.h>
38689 #endif
38690
38691 #undef $ac_func
38692
38693 /* Override any GCC internal prototype to avoid an error.
38694 Use char because int might match the return type of a GCC
38695 builtin and then its argument prototype would still apply. */
38696 #ifdef __cplusplus
38697 extern "C"
38698 #endif
38699 char $ac_func ();
38700 /* The GNU C library defines this for functions which it implements
38701 to always fail with ENOSYS. Some functions are actually named
38702 something starting with __ and the normal name is an alias. */
38703 #if defined __stub_$ac_func || defined __stub___$ac_func
38704 choke me
38705 #endif
38706
38707 int
38708 main ()
38709 {
38710 return $ac_func ();
38711 ;
38712 return 0;
38713 }
38714 _ACEOF
38715 rm -f conftest.$ac_objext conftest$ac_exeext
38716 if { (ac_try="$ac_link"
38717 case "(($ac_try" in
38718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38719 *) ac_try_echo=$ac_try;;
38720 esac
38721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38722 (eval "$ac_link") 2>conftest.er1
38723 ac_status=$?
38724 grep -v '^ *+' conftest.er1 >conftest.err
38725 rm -f conftest.er1
38726 cat conftest.err >&5
38727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38728 (exit $ac_status); } && {
38729 test -z "$ac_c_werror_flag" ||
38730 test ! -s conftest.err
38731 } && test -s conftest$ac_exeext &&
38732 $as_test_x conftest$ac_exeext; then
38733 eval "$as_ac_var=yes"
38734 else
38735 echo "$as_me: failed program was:" >&5
38736 sed 's/^/| /' conftest.$ac_ext >&5
38737
38738 eval "$as_ac_var=no"
38739 fi
38740
38741 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38742 conftest$ac_exeext conftest.$ac_ext
38743 fi
38744 ac_res=`eval echo '${'$as_ac_var'}'`
38745 { echo "$as_me:$LINENO: result: $ac_res" >&5
38746 echo "${ECHO_T}$ac_res" >&6; }
38747 if test `eval echo '${'$as_ac_var'}'` = yes; then
38748 cat >>confdefs.h <<_ACEOF
38749 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38750 _ACEOF
38751 cat >>confdefs.h <<\_ACEOF
38752 #define HAVE_NANOSLEEP 1
38753 _ACEOF
38754
38755 else
38756
38757 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
38758 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
38759 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
38760 echo $ECHO_N "(cached) $ECHO_C" >&6
38761 else
38762 ac_check_lib_save_LIBS=$LIBS
38763 LIBS="-lposix4 $LIBS"
38764 cat >conftest.$ac_ext <<_ACEOF
38765 /* confdefs.h. */
38766 _ACEOF
38767 cat confdefs.h >>conftest.$ac_ext
38768 cat >>conftest.$ac_ext <<_ACEOF
38769 /* end confdefs.h. */
38770
38771 /* Override any GCC internal prototype to avoid an error.
38772 Use char because int might match the return type of a GCC
38773 builtin and then its argument prototype would still apply. */
38774 #ifdef __cplusplus
38775 extern "C"
38776 #endif
38777 char nanosleep ();
38778 int
38779 main ()
38780 {
38781 return nanosleep ();
38782 ;
38783 return 0;
38784 }
38785 _ACEOF
38786 rm -f conftest.$ac_objext conftest$ac_exeext
38787 if { (ac_try="$ac_link"
38788 case "(($ac_try" in
38789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38790 *) ac_try_echo=$ac_try;;
38791 esac
38792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38793 (eval "$ac_link") 2>conftest.er1
38794 ac_status=$?
38795 grep -v '^ *+' conftest.er1 >conftest.err
38796 rm -f conftest.er1
38797 cat conftest.err >&5
38798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38799 (exit $ac_status); } && {
38800 test -z "$ac_c_werror_flag" ||
38801 test ! -s conftest.err
38802 } && test -s conftest$ac_exeext &&
38803 $as_test_x conftest$ac_exeext; then
38804 ac_cv_lib_posix4_nanosleep=yes
38805 else
38806 echo "$as_me: failed program was:" >&5
38807 sed 's/^/| /' conftest.$ac_ext >&5
38808
38809 ac_cv_lib_posix4_nanosleep=no
38810 fi
38811
38812 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38813 conftest$ac_exeext conftest.$ac_ext
38814 LIBS=$ac_check_lib_save_LIBS
38815 fi
38816 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
38817 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
38818 if test $ac_cv_lib_posix4_nanosleep = yes; then
38819
38820 cat >>confdefs.h <<\_ACEOF
38821 #define HAVE_NANOSLEEP 1
38822 _ACEOF
38823
38824 POSIX4_LINK=" -lposix4"
38825
38826 else
38827
38828
38829 for wx_func in usleep
38830 do
38831 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38832 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38833 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38834 echo $ECHO_N "(cached) $ECHO_C" >&6
38835 else
38836
38837 cat >conftest.$ac_ext <<_ACEOF
38838
38839 /* confdefs.h. */
38840 _ACEOF
38841 cat confdefs.h >>conftest.$ac_ext
38842 cat >>conftest.$ac_ext <<_ACEOF
38843 /* end confdefs.h. */
38844
38845
38846 $ac_includes_default
38847
38848 int
38849 main ()
38850 {
38851
38852 #ifndef $wx_func
38853 &$wx_func;
38854 #endif
38855
38856
38857 ;
38858 return 0;
38859 }
38860
38861 _ACEOF
38862 rm -f conftest.$ac_objext conftest$ac_exeext
38863 if { (ac_try="$ac_link"
38864 case "(($ac_try" in
38865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38866 *) ac_try_echo=$ac_try;;
38867 esac
38868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38869 (eval "$ac_link") 2>conftest.er1
38870 ac_status=$?
38871 grep -v '^ *+' conftest.er1 >conftest.err
38872 rm -f conftest.er1
38873 cat conftest.err >&5
38874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38875 (exit $ac_status); } && {
38876 test -z "$ac_c_werror_flag" ||
38877 test ! -s conftest.err
38878 } && test -s conftest$ac_exeext &&
38879 $as_test_x conftest$ac_exeext; then
38880 eval wx_cv_func_$wx_func=yes
38881 else
38882 echo "$as_me: failed program was:" >&5
38883 sed 's/^/| /' conftest.$ac_ext >&5
38884
38885 eval wx_cv_func_$wx_func=no
38886 fi
38887
38888 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38889 conftest$ac_exeext conftest.$ac_ext
38890
38891 fi
38892 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38893 { echo "$as_me:$LINENO: result: $ac_res" >&5
38894 echo "${ECHO_T}$ac_res" >&6; }
38895
38896 if eval test \$wx_cv_func_$wx_func = yes
38897 then
38898 cat >>confdefs.h <<_ACEOF
38899 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38900 _ACEOF
38901
38902
38903 else
38904 :
38905 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
38906 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
38907
38908 fi
38909 done
38910
38911
38912
38913 fi
38914
38915
38916
38917 fi
38918 done
38919
38920 fi
38921
38922
38923 for wx_func in uname
38924 do
38925 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38926 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38927 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38928 echo $ECHO_N "(cached) $ECHO_C" >&6
38929 else
38930
38931 cat >conftest.$ac_ext <<_ACEOF
38932
38933 /* confdefs.h. */
38934 _ACEOF
38935 cat confdefs.h >>conftest.$ac_ext
38936 cat >>conftest.$ac_ext <<_ACEOF
38937 /* end confdefs.h. */
38938
38939 #include <sys/utsname.h>
38940 $ac_includes_default
38941
38942 int
38943 main ()
38944 {
38945
38946 #ifndef $wx_func
38947 &$wx_func;
38948 #endif
38949
38950
38951 ;
38952 return 0;
38953 }
38954
38955 _ACEOF
38956 rm -f conftest.$ac_objext conftest$ac_exeext
38957 if { (ac_try="$ac_link"
38958 case "(($ac_try" in
38959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38960 *) ac_try_echo=$ac_try;;
38961 esac
38962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38963 (eval "$ac_link") 2>conftest.er1
38964 ac_status=$?
38965 grep -v '^ *+' conftest.er1 >conftest.err
38966 rm -f conftest.er1
38967 cat conftest.err >&5
38968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38969 (exit $ac_status); } && {
38970 test -z "$ac_c_werror_flag" ||
38971 test ! -s conftest.err
38972 } && test -s conftest$ac_exeext &&
38973 $as_test_x conftest$ac_exeext; then
38974 eval wx_cv_func_$wx_func=yes
38975 else
38976 echo "$as_me: failed program was:" >&5
38977 sed 's/^/| /' conftest.$ac_ext >&5
38978
38979 eval wx_cv_func_$wx_func=no
38980 fi
38981
38982 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38983 conftest$ac_exeext conftest.$ac_ext
38984
38985 fi
38986 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38987 { echo "$as_me:$LINENO: result: $ac_res" >&5
38988 echo "${ECHO_T}$ac_res" >&6; }
38989
38990 if eval test \$wx_cv_func_$wx_func = yes
38991 then
38992 cat >>confdefs.h <<_ACEOF
38993 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38994 _ACEOF
38995
38996
38997 else
38998 :
38999
39000 fi
39001 done
39002
39003 if test "$wx_cv_func_uname" != yes; then
39004
39005 for wx_func in gethostname
39006 do
39007 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39008 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39009 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39010 echo $ECHO_N "(cached) $ECHO_C" >&6
39011 else
39012
39013 cat >conftest.$ac_ext <<_ACEOF
39014
39015 /* confdefs.h. */
39016 _ACEOF
39017 cat confdefs.h >>conftest.$ac_ext
39018 cat >>conftest.$ac_ext <<_ACEOF
39019 /* end confdefs.h. */
39020
39021
39022 $ac_includes_default
39023
39024 int
39025 main ()
39026 {
39027
39028 #ifndef $wx_func
39029 &$wx_func;
39030 #endif
39031
39032
39033 ;
39034 return 0;
39035 }
39036
39037 _ACEOF
39038 rm -f conftest.$ac_objext conftest$ac_exeext
39039 if { (ac_try="$ac_link"
39040 case "(($ac_try" in
39041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39042 *) ac_try_echo=$ac_try;;
39043 esac
39044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39045 (eval "$ac_link") 2>conftest.er1
39046 ac_status=$?
39047 grep -v '^ *+' conftest.er1 >conftest.err
39048 rm -f conftest.er1
39049 cat conftest.err >&5
39050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39051 (exit $ac_status); } && {
39052 test -z "$ac_c_werror_flag" ||
39053 test ! -s conftest.err
39054 } && test -s conftest$ac_exeext &&
39055 $as_test_x conftest$ac_exeext; then
39056 eval wx_cv_func_$wx_func=yes
39057 else
39058 echo "$as_me: failed program was:" >&5
39059 sed 's/^/| /' conftest.$ac_ext >&5
39060
39061 eval wx_cv_func_$wx_func=no
39062 fi
39063
39064 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39065 conftest$ac_exeext conftest.$ac_ext
39066
39067 fi
39068 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39069 { echo "$as_me:$LINENO: result: $ac_res" >&5
39070 echo "${ECHO_T}$ac_res" >&6; }
39071
39072 if eval test \$wx_cv_func_$wx_func = yes
39073 then
39074 cat >>confdefs.h <<_ACEOF
39075 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39076 _ACEOF
39077
39078
39079 else
39080 :
39081
39082 fi
39083 done
39084
39085 fi
39086
39087
39088 for wx_func in strtok_r
39089 do
39090 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39091 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39092 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39093 echo $ECHO_N "(cached) $ECHO_C" >&6
39094 else
39095
39096 cat >conftest.$ac_ext <<_ACEOF
39097
39098 /* confdefs.h. */
39099 _ACEOF
39100 cat confdefs.h >>conftest.$ac_ext
39101 cat >>conftest.$ac_ext <<_ACEOF
39102 /* end confdefs.h. */
39103
39104 #define _REENTRANT
39105 $ac_includes_default
39106
39107 int
39108 main ()
39109 {
39110
39111 #ifndef $wx_func
39112 &$wx_func;
39113 #endif
39114
39115
39116 ;
39117 return 0;
39118 }
39119
39120 _ACEOF
39121 rm -f conftest.$ac_objext conftest$ac_exeext
39122 if { (ac_try="$ac_link"
39123 case "(($ac_try" in
39124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39125 *) ac_try_echo=$ac_try;;
39126 esac
39127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39128 (eval "$ac_link") 2>conftest.er1
39129 ac_status=$?
39130 grep -v '^ *+' conftest.er1 >conftest.err
39131 rm -f conftest.er1
39132 cat conftest.err >&5
39133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39134 (exit $ac_status); } && {
39135 test -z "$ac_c_werror_flag" ||
39136 test ! -s conftest.err
39137 } && test -s conftest$ac_exeext &&
39138 $as_test_x conftest$ac_exeext; then
39139 eval wx_cv_func_$wx_func=yes
39140 else
39141 echo "$as_me: failed program was:" >&5
39142 sed 's/^/| /' conftest.$ac_ext >&5
39143
39144 eval wx_cv_func_$wx_func=no
39145 fi
39146
39147 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39148 conftest$ac_exeext conftest.$ac_ext
39149
39150 fi
39151 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39152 { echo "$as_me:$LINENO: result: $ac_res" >&5
39153 echo "${ECHO_T}$ac_res" >&6; }
39154
39155 if eval test \$wx_cv_func_$wx_func = yes
39156 then
39157 cat >>confdefs.h <<_ACEOF
39158 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39159 _ACEOF
39160
39161
39162 else
39163 :
39164
39165 fi
39166 done
39167
39168
39169 INET_LINK=
39170
39171 for ac_func in inet_addr
39172 do
39173 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39174 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39175 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39176 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39177 echo $ECHO_N "(cached) $ECHO_C" >&6
39178 else
39179 cat >conftest.$ac_ext <<_ACEOF
39180 /* confdefs.h. */
39181 _ACEOF
39182 cat confdefs.h >>conftest.$ac_ext
39183 cat >>conftest.$ac_ext <<_ACEOF
39184 /* end confdefs.h. */
39185 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39186 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39187 #define $ac_func innocuous_$ac_func
39188
39189 /* System header to define __stub macros and hopefully few prototypes,
39190 which can conflict with char $ac_func (); below.
39191 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39192 <limits.h> exists even on freestanding compilers. */
39193
39194 #ifdef __STDC__
39195 # include <limits.h>
39196 #else
39197 # include <assert.h>
39198 #endif
39199
39200 #undef $ac_func
39201
39202 /* Override any GCC internal prototype to avoid an error.
39203 Use char because int might match the return type of a GCC
39204 builtin and then its argument prototype would still apply. */
39205 #ifdef __cplusplus
39206 extern "C"
39207 #endif
39208 char $ac_func ();
39209 /* The GNU C library defines this for functions which it implements
39210 to always fail with ENOSYS. Some functions are actually named
39211 something starting with __ and the normal name is an alias. */
39212 #if defined __stub_$ac_func || defined __stub___$ac_func
39213 choke me
39214 #endif
39215
39216 int
39217 main ()
39218 {
39219 return $ac_func ();
39220 ;
39221 return 0;
39222 }
39223 _ACEOF
39224 rm -f conftest.$ac_objext conftest$ac_exeext
39225 if { (ac_try="$ac_link"
39226 case "(($ac_try" in
39227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39228 *) ac_try_echo=$ac_try;;
39229 esac
39230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39231 (eval "$ac_link") 2>conftest.er1
39232 ac_status=$?
39233 grep -v '^ *+' conftest.er1 >conftest.err
39234 rm -f conftest.er1
39235 cat conftest.err >&5
39236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39237 (exit $ac_status); } && {
39238 test -z "$ac_c_werror_flag" ||
39239 test ! -s conftest.err
39240 } && test -s conftest$ac_exeext &&
39241 $as_test_x conftest$ac_exeext; then
39242 eval "$as_ac_var=yes"
39243 else
39244 echo "$as_me: failed program was:" >&5
39245 sed 's/^/| /' conftest.$ac_ext >&5
39246
39247 eval "$as_ac_var=no"
39248 fi
39249
39250 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39251 conftest$ac_exeext conftest.$ac_ext
39252 fi
39253 ac_res=`eval echo '${'$as_ac_var'}'`
39254 { echo "$as_me:$LINENO: result: $ac_res" >&5
39255 echo "${ECHO_T}$ac_res" >&6; }
39256 if test `eval echo '${'$as_ac_var'}'` = yes; then
39257 cat >>confdefs.h <<_ACEOF
39258 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39259 _ACEOF
39260 cat >>confdefs.h <<\_ACEOF
39261 #define HAVE_INET_ADDR 1
39262 _ACEOF
39263
39264 else
39265
39266 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
39267 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
39268 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
39269 echo $ECHO_N "(cached) $ECHO_C" >&6
39270 else
39271 ac_check_lib_save_LIBS=$LIBS
39272 LIBS="-lnsl $LIBS"
39273 cat >conftest.$ac_ext <<_ACEOF
39274 /* confdefs.h. */
39275 _ACEOF
39276 cat confdefs.h >>conftest.$ac_ext
39277 cat >>conftest.$ac_ext <<_ACEOF
39278 /* end confdefs.h. */
39279
39280 /* Override any GCC internal prototype to avoid an error.
39281 Use char because int might match the return type of a GCC
39282 builtin and then its argument prototype would still apply. */
39283 #ifdef __cplusplus
39284 extern "C"
39285 #endif
39286 char inet_addr ();
39287 int
39288 main ()
39289 {
39290 return inet_addr ();
39291 ;
39292 return 0;
39293 }
39294 _ACEOF
39295 rm -f conftest.$ac_objext conftest$ac_exeext
39296 if { (ac_try="$ac_link"
39297 case "(($ac_try" in
39298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39299 *) ac_try_echo=$ac_try;;
39300 esac
39301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39302 (eval "$ac_link") 2>conftest.er1
39303 ac_status=$?
39304 grep -v '^ *+' conftest.er1 >conftest.err
39305 rm -f conftest.er1
39306 cat conftest.err >&5
39307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39308 (exit $ac_status); } && {
39309 test -z "$ac_c_werror_flag" ||
39310 test ! -s conftest.err
39311 } && test -s conftest$ac_exeext &&
39312 $as_test_x conftest$ac_exeext; then
39313 ac_cv_lib_nsl_inet_addr=yes
39314 else
39315 echo "$as_me: failed program was:" >&5
39316 sed 's/^/| /' conftest.$ac_ext >&5
39317
39318 ac_cv_lib_nsl_inet_addr=no
39319 fi
39320
39321 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39322 conftest$ac_exeext conftest.$ac_ext
39323 LIBS=$ac_check_lib_save_LIBS
39324 fi
39325 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
39326 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
39327 if test $ac_cv_lib_nsl_inet_addr = yes; then
39328 INET_LINK="nsl"
39329 else
39330
39331 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
39332 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
39333 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
39334 echo $ECHO_N "(cached) $ECHO_C" >&6
39335 else
39336 ac_check_lib_save_LIBS=$LIBS
39337 LIBS="-lresolv $LIBS"
39338 cat >conftest.$ac_ext <<_ACEOF
39339 /* confdefs.h. */
39340 _ACEOF
39341 cat confdefs.h >>conftest.$ac_ext
39342 cat >>conftest.$ac_ext <<_ACEOF
39343 /* end confdefs.h. */
39344
39345 /* Override any GCC internal prototype to avoid an error.
39346 Use char because int might match the return type of a GCC
39347 builtin and then its argument prototype would still apply. */
39348 #ifdef __cplusplus
39349 extern "C"
39350 #endif
39351 char inet_addr ();
39352 int
39353 main ()
39354 {
39355 return inet_addr ();
39356 ;
39357 return 0;
39358 }
39359 _ACEOF
39360 rm -f conftest.$ac_objext conftest$ac_exeext
39361 if { (ac_try="$ac_link"
39362 case "(($ac_try" in
39363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39364 *) ac_try_echo=$ac_try;;
39365 esac
39366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39367 (eval "$ac_link") 2>conftest.er1
39368 ac_status=$?
39369 grep -v '^ *+' conftest.er1 >conftest.err
39370 rm -f conftest.er1
39371 cat conftest.err >&5
39372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39373 (exit $ac_status); } && {
39374 test -z "$ac_c_werror_flag" ||
39375 test ! -s conftest.err
39376 } && test -s conftest$ac_exeext &&
39377 $as_test_x conftest$ac_exeext; then
39378 ac_cv_lib_resolv_inet_addr=yes
39379 else
39380 echo "$as_me: failed program was:" >&5
39381 sed 's/^/| /' conftest.$ac_ext >&5
39382
39383 ac_cv_lib_resolv_inet_addr=no
39384 fi
39385
39386 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39387 conftest$ac_exeext conftest.$ac_ext
39388 LIBS=$ac_check_lib_save_LIBS
39389 fi
39390 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
39391 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
39392 if test $ac_cv_lib_resolv_inet_addr = yes; then
39393 INET_LINK="resolv"
39394 else
39395
39396 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
39397 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
39398 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
39399 echo $ECHO_N "(cached) $ECHO_C" >&6
39400 else
39401 ac_check_lib_save_LIBS=$LIBS
39402 LIBS="-lsocket $LIBS"
39403 cat >conftest.$ac_ext <<_ACEOF
39404 /* confdefs.h. */
39405 _ACEOF
39406 cat confdefs.h >>conftest.$ac_ext
39407 cat >>conftest.$ac_ext <<_ACEOF
39408 /* end confdefs.h. */
39409
39410 /* Override any GCC internal prototype to avoid an error.
39411 Use char because int might match the return type of a GCC
39412 builtin and then its argument prototype would still apply. */
39413 #ifdef __cplusplus
39414 extern "C"
39415 #endif
39416 char inet_addr ();
39417 int
39418 main ()
39419 {
39420 return inet_addr ();
39421 ;
39422 return 0;
39423 }
39424 _ACEOF
39425 rm -f conftest.$ac_objext conftest$ac_exeext
39426 if { (ac_try="$ac_link"
39427 case "(($ac_try" in
39428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39429 *) ac_try_echo=$ac_try;;
39430 esac
39431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39432 (eval "$ac_link") 2>conftest.er1
39433 ac_status=$?
39434 grep -v '^ *+' conftest.er1 >conftest.err
39435 rm -f conftest.er1
39436 cat conftest.err >&5
39437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39438 (exit $ac_status); } && {
39439 test -z "$ac_c_werror_flag" ||
39440 test ! -s conftest.err
39441 } && test -s conftest$ac_exeext &&
39442 $as_test_x conftest$ac_exeext; then
39443 ac_cv_lib_socket_inet_addr=yes
39444 else
39445 echo "$as_me: failed program was:" >&5
39446 sed 's/^/| /' conftest.$ac_ext >&5
39447
39448 ac_cv_lib_socket_inet_addr=no
39449 fi
39450
39451 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39452 conftest$ac_exeext conftest.$ac_ext
39453 LIBS=$ac_check_lib_save_LIBS
39454 fi
39455 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
39456 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
39457 if test $ac_cv_lib_socket_inet_addr = yes; then
39458 INET_LINK="socket"
39459
39460 fi
39461
39462
39463
39464 fi
39465
39466
39467
39468 fi
39469
39470
39471
39472 fi
39473 done
39474
39475
39476
39477 for ac_func in inet_aton
39478 do
39479 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39480 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39481 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39482 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39483 echo $ECHO_N "(cached) $ECHO_C" >&6
39484 else
39485 cat >conftest.$ac_ext <<_ACEOF
39486 /* confdefs.h. */
39487 _ACEOF
39488 cat confdefs.h >>conftest.$ac_ext
39489 cat >>conftest.$ac_ext <<_ACEOF
39490 /* end confdefs.h. */
39491 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39492 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39493 #define $ac_func innocuous_$ac_func
39494
39495 /* System header to define __stub macros and hopefully few prototypes,
39496 which can conflict with char $ac_func (); below.
39497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39498 <limits.h> exists even on freestanding compilers. */
39499
39500 #ifdef __STDC__
39501 # include <limits.h>
39502 #else
39503 # include <assert.h>
39504 #endif
39505
39506 #undef $ac_func
39507
39508 /* Override any GCC internal prototype to avoid an error.
39509 Use char because int might match the return type of a GCC
39510 builtin and then its argument prototype would still apply. */
39511 #ifdef __cplusplus
39512 extern "C"
39513 #endif
39514 char $ac_func ();
39515 /* The GNU C library defines this for functions which it implements
39516 to always fail with ENOSYS. Some functions are actually named
39517 something starting with __ and the normal name is an alias. */
39518 #if defined __stub_$ac_func || defined __stub___$ac_func
39519 choke me
39520 #endif
39521
39522 int
39523 main ()
39524 {
39525 return $ac_func ();
39526 ;
39527 return 0;
39528 }
39529 _ACEOF
39530 rm -f conftest.$ac_objext conftest$ac_exeext
39531 if { (ac_try="$ac_link"
39532 case "(($ac_try" in
39533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39534 *) ac_try_echo=$ac_try;;
39535 esac
39536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39537 (eval "$ac_link") 2>conftest.er1
39538 ac_status=$?
39539 grep -v '^ *+' conftest.er1 >conftest.err
39540 rm -f conftest.er1
39541 cat conftest.err >&5
39542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39543 (exit $ac_status); } && {
39544 test -z "$ac_c_werror_flag" ||
39545 test ! -s conftest.err
39546 } && test -s conftest$ac_exeext &&
39547 $as_test_x conftest$ac_exeext; then
39548 eval "$as_ac_var=yes"
39549 else
39550 echo "$as_me: failed program was:" >&5
39551 sed 's/^/| /' conftest.$ac_ext >&5
39552
39553 eval "$as_ac_var=no"
39554 fi
39555
39556 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39557 conftest$ac_exeext conftest.$ac_ext
39558 fi
39559 ac_res=`eval echo '${'$as_ac_var'}'`
39560 { echo "$as_me:$LINENO: result: $ac_res" >&5
39561 echo "${ECHO_T}$ac_res" >&6; }
39562 if test `eval echo '${'$as_ac_var'}'` = yes; then
39563 cat >>confdefs.h <<_ACEOF
39564 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39565 _ACEOF
39566 cat >>confdefs.h <<\_ACEOF
39567 #define HAVE_INET_ATON 1
39568 _ACEOF
39569
39570 else
39571
39572 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
39573 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
39574 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
39575 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
39576 echo $ECHO_N "(cached) $ECHO_C" >&6
39577 else
39578 ac_check_lib_save_LIBS=$LIBS
39579 LIBS="-l$INET_LINK $LIBS"
39580 cat >conftest.$ac_ext <<_ACEOF
39581 /* confdefs.h. */
39582 _ACEOF
39583 cat confdefs.h >>conftest.$ac_ext
39584 cat >>conftest.$ac_ext <<_ACEOF
39585 /* end confdefs.h. */
39586
39587 /* Override any GCC internal prototype to avoid an error.
39588 Use char because int might match the return type of a GCC
39589 builtin and then its argument prototype would still apply. */
39590 #ifdef __cplusplus
39591 extern "C"
39592 #endif
39593 char inet_aton ();
39594 int
39595 main ()
39596 {
39597 return inet_aton ();
39598 ;
39599 return 0;
39600 }
39601 _ACEOF
39602 rm -f conftest.$ac_objext conftest$ac_exeext
39603 if { (ac_try="$ac_link"
39604 case "(($ac_try" in
39605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39606 *) ac_try_echo=$ac_try;;
39607 esac
39608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39609 (eval "$ac_link") 2>conftest.er1
39610 ac_status=$?
39611 grep -v '^ *+' conftest.er1 >conftest.err
39612 rm -f conftest.er1
39613 cat conftest.err >&5
39614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39615 (exit $ac_status); } && {
39616 test -z "$ac_c_werror_flag" ||
39617 test ! -s conftest.err
39618 } && test -s conftest$ac_exeext &&
39619 $as_test_x conftest$ac_exeext; then
39620 eval "$as_ac_Lib=yes"
39621 else
39622 echo "$as_me: failed program was:" >&5
39623 sed 's/^/| /' conftest.$ac_ext >&5
39624
39625 eval "$as_ac_Lib=no"
39626 fi
39627
39628 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39629 conftest$ac_exeext conftest.$ac_ext
39630 LIBS=$ac_check_lib_save_LIBS
39631 fi
39632 ac_res=`eval echo '${'$as_ac_Lib'}'`
39633 { echo "$as_me:$LINENO: result: $ac_res" >&5
39634 echo "${ECHO_T}$ac_res" >&6; }
39635 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
39636 cat >>confdefs.h <<\_ACEOF
39637 #define HAVE_INET_ATON 1
39638 _ACEOF
39639
39640 fi
39641
39642
39643 fi
39644 done
39645
39646
39647 if test "x$INET_LINK" != "x"; then
39648 cat >>confdefs.h <<\_ACEOF
39649 #define HAVE_INET_ADDR 1
39650 _ACEOF
39651
39652 INET_LINK=" -l$INET_LINK"
39653 fi
39654
39655
39656 for wx_func in fdopen
39657 do
39658 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39659 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39660 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39661 echo $ECHO_N "(cached) $ECHO_C" >&6
39662 else
39663
39664 cat >conftest.$ac_ext <<_ACEOF
39665
39666 /* confdefs.h. */
39667 _ACEOF
39668 cat confdefs.h >>conftest.$ac_ext
39669 cat >>conftest.$ac_ext <<_ACEOF
39670 /* end confdefs.h. */
39671
39672
39673 $ac_includes_default
39674
39675 int
39676 main ()
39677 {
39678
39679 #ifndef $wx_func
39680 &$wx_func;
39681 #endif
39682
39683
39684 ;
39685 return 0;
39686 }
39687
39688 _ACEOF
39689 rm -f conftest.$ac_objext conftest$ac_exeext
39690 if { (ac_try="$ac_link"
39691 case "(($ac_try" in
39692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39693 *) ac_try_echo=$ac_try;;
39694 esac
39695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39696 (eval "$ac_link") 2>conftest.er1
39697 ac_status=$?
39698 grep -v '^ *+' conftest.er1 >conftest.err
39699 rm -f conftest.er1
39700 cat conftest.err >&5
39701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39702 (exit $ac_status); } && {
39703 test -z "$ac_c_werror_flag" ||
39704 test ! -s conftest.err
39705 } && test -s conftest$ac_exeext &&
39706 $as_test_x conftest$ac_exeext; then
39707 eval wx_cv_func_$wx_func=yes
39708 else
39709 echo "$as_me: failed program was:" >&5
39710 sed 's/^/| /' conftest.$ac_ext >&5
39711
39712 eval wx_cv_func_$wx_func=no
39713 fi
39714
39715 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39716 conftest$ac_exeext conftest.$ac_ext
39717
39718 fi
39719 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39720 { echo "$as_me:$LINENO: result: $ac_res" >&5
39721 echo "${ECHO_T}$ac_res" >&6; }
39722
39723 if eval test \$wx_cv_func_$wx_func = yes
39724 then
39725 cat >>confdefs.h <<_ACEOF
39726 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39727 _ACEOF
39728
39729
39730 else
39731 :
39732
39733 fi
39734 done
39735
39736
39737 if test "$wxUSE_TARSTREAM" = "yes"; then
39738
39739 for wx_func in sysconf
39740 do
39741 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39742 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39743 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39744 echo $ECHO_N "(cached) $ECHO_C" >&6
39745 else
39746
39747 cat >conftest.$ac_ext <<_ACEOF
39748
39749 /* confdefs.h. */
39750 _ACEOF
39751 cat confdefs.h >>conftest.$ac_ext
39752 cat >>conftest.$ac_ext <<_ACEOF
39753 /* end confdefs.h. */
39754
39755
39756 $ac_includes_default
39757
39758 int
39759 main ()
39760 {
39761
39762 #ifndef $wx_func
39763 &$wx_func;
39764 #endif
39765
39766
39767 ;
39768 return 0;
39769 }
39770
39771 _ACEOF
39772 rm -f conftest.$ac_objext conftest$ac_exeext
39773 if { (ac_try="$ac_link"
39774 case "(($ac_try" in
39775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39776 *) ac_try_echo=$ac_try;;
39777 esac
39778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39779 (eval "$ac_link") 2>conftest.er1
39780 ac_status=$?
39781 grep -v '^ *+' conftest.er1 >conftest.err
39782 rm -f conftest.er1
39783 cat conftest.err >&5
39784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39785 (exit $ac_status); } && {
39786 test -z "$ac_c_werror_flag" ||
39787 test ! -s conftest.err
39788 } && test -s conftest$ac_exeext &&
39789 $as_test_x conftest$ac_exeext; then
39790 eval wx_cv_func_$wx_func=yes
39791 else
39792 echo "$as_me: failed program was:" >&5
39793 sed 's/^/| /' conftest.$ac_ext >&5
39794
39795 eval wx_cv_func_$wx_func=no
39796 fi
39797
39798 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39799 conftest$ac_exeext conftest.$ac_ext
39800
39801 fi
39802 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39803 { echo "$as_me:$LINENO: result: $ac_res" >&5
39804 echo "${ECHO_T}$ac_res" >&6; }
39805
39806 if eval test \$wx_cv_func_$wx_func = yes
39807 then
39808 cat >>confdefs.h <<_ACEOF
39809 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39810 _ACEOF
39811
39812
39813 else
39814 :
39815
39816 fi
39817 done
39818
39819
39820
39821 for wx_func in getpwuid_r
39822 do
39823 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39824 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39825 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39826 echo $ECHO_N "(cached) $ECHO_C" >&6
39827 else
39828
39829 cat >conftest.$ac_ext <<_ACEOF
39830
39831 /* confdefs.h. */
39832 _ACEOF
39833 cat confdefs.h >>conftest.$ac_ext
39834 cat >>conftest.$ac_ext <<_ACEOF
39835 /* end confdefs.h. */
39836
39837
39838 #define _REENTRANT
39839 #include <pwd.h>
39840
39841 $ac_includes_default
39842
39843 int
39844 main ()
39845 {
39846
39847 #ifndef $wx_func
39848 &$wx_func;
39849 #endif
39850
39851 struct passwd pw, *ppw;
39852 char buf[1024];
39853 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
39854
39855
39856 ;
39857 return 0;
39858 }
39859
39860 _ACEOF
39861 rm -f conftest.$ac_objext conftest$ac_exeext
39862 if { (ac_try="$ac_link"
39863 case "(($ac_try" in
39864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39865 *) ac_try_echo=$ac_try;;
39866 esac
39867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39868 (eval "$ac_link") 2>conftest.er1
39869 ac_status=$?
39870 grep -v '^ *+' conftest.er1 >conftest.err
39871 rm -f conftest.er1
39872 cat conftest.err >&5
39873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39874 (exit $ac_status); } && {
39875 test -z "$ac_c_werror_flag" ||
39876 test ! -s conftest.err
39877 } && test -s conftest$ac_exeext &&
39878 $as_test_x conftest$ac_exeext; then
39879 eval wx_cv_func_$wx_func=yes
39880 else
39881 echo "$as_me: failed program was:" >&5
39882 sed 's/^/| /' conftest.$ac_ext >&5
39883
39884 eval wx_cv_func_$wx_func=no
39885 fi
39886
39887 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39888 conftest$ac_exeext conftest.$ac_ext
39889
39890 fi
39891 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39892 { echo "$as_me:$LINENO: result: $ac_res" >&5
39893 echo "${ECHO_T}$ac_res" >&6; }
39894
39895 if eval test \$wx_cv_func_$wx_func = yes
39896 then
39897 cat >>confdefs.h <<_ACEOF
39898 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39899 _ACEOF
39900
39901
39902 else
39903 :
39904
39905 fi
39906 done
39907
39908
39909
39910 for wx_func in getgrgid_r
39911 do
39912 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39913 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39914 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39915 echo $ECHO_N "(cached) $ECHO_C" >&6
39916 else
39917
39918 cat >conftest.$ac_ext <<_ACEOF
39919
39920 /* confdefs.h. */
39921 _ACEOF
39922 cat confdefs.h >>conftest.$ac_ext
39923 cat >>conftest.$ac_ext <<_ACEOF
39924 /* end confdefs.h. */
39925
39926
39927 #define _REENTRANT
39928 #include <grp.h>
39929
39930 $ac_includes_default
39931
39932 int
39933 main ()
39934 {
39935
39936 #ifndef $wx_func
39937 &$wx_func;
39938 #endif
39939
39940 struct group grp, *pgrp;
39941 char buf[1024];
39942 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
39943
39944
39945 ;
39946 return 0;
39947 }
39948
39949 _ACEOF
39950 rm -f conftest.$ac_objext conftest$ac_exeext
39951 if { (ac_try="$ac_link"
39952 case "(($ac_try" in
39953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39954 *) ac_try_echo=$ac_try;;
39955 esac
39956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39957 (eval "$ac_link") 2>conftest.er1
39958 ac_status=$?
39959 grep -v '^ *+' conftest.er1 >conftest.err
39960 rm -f conftest.er1
39961 cat conftest.err >&5
39962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39963 (exit $ac_status); } && {
39964 test -z "$ac_c_werror_flag" ||
39965 test ! -s conftest.err
39966 } && test -s conftest$ac_exeext &&
39967 $as_test_x conftest$ac_exeext; then
39968 eval wx_cv_func_$wx_func=yes
39969 else
39970 echo "$as_me: failed program was:" >&5
39971 sed 's/^/| /' conftest.$ac_ext >&5
39972
39973 eval wx_cv_func_$wx_func=no
39974 fi
39975
39976 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39977 conftest$ac_exeext conftest.$ac_ext
39978
39979 fi
39980 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39981 { echo "$as_me:$LINENO: result: $ac_res" >&5
39982 echo "${ECHO_T}$ac_res" >&6; }
39983
39984 if eval test \$wx_cv_func_$wx_func = yes
39985 then
39986 cat >>confdefs.h <<_ACEOF
39987 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39988 _ACEOF
39989
39990
39991 else
39992 :
39993
39994 fi
39995 done
39996
39997 fi
39998
39999 fi
40000
40001
40002
40003 cat >confcache <<\_ACEOF
40004 # This file is a shell script that caches the results of configure
40005 # tests run on this system so they can be shared between configure
40006 # scripts and configure runs, see configure's option --config-cache.
40007 # It is not useful on other systems. If it contains results you don't
40008 # want to keep, you may remove or edit it.
40009 #
40010 # config.status only pays attention to the cache file if you give it
40011 # the --recheck option to rerun configure.
40012 #
40013 # `ac_cv_env_foo' variables (set or unset) will be overridden when
40014 # loading this file, other *unset* `ac_cv_foo' will be assigned the
40015 # following values.
40016
40017 _ACEOF
40018
40019 # The following way of writing the cache mishandles newlines in values,
40020 # but we know of no workaround that is simple, portable, and efficient.
40021 # So, we kill variables containing newlines.
40022 # Ultrix sh set writes to stderr and can't be redirected directly,
40023 # and sets the high bit in the cache file unless we assign to the vars.
40024 (
40025 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
40026 eval ac_val=\$$ac_var
40027 case $ac_val in #(
40028 *${as_nl}*)
40029 case $ac_var in #(
40030 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
40031 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
40032 esac
40033 case $ac_var in #(
40034 _ | IFS | as_nl) ;; #(
40035 *) $as_unset $ac_var ;;
40036 esac ;;
40037 esac
40038 done
40039
40040 (set) 2>&1 |
40041 case $as_nl`(ac_space=' '; set) 2>&1` in #(
40042 *${as_nl}ac_space=\ *)
40043 # `set' does not quote correctly, so add quotes (double-quote
40044 # substitution turns \\\\ into \\, and sed turns \\ into \).
40045 sed -n \
40046 "s/'/'\\\\''/g;
40047 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
40048 ;; #(
40049 *)
40050 # `set' quotes correctly as required by POSIX, so do not add quotes.
40051 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
40052 ;;
40053 esac |
40054 sort
40055 ) |
40056 sed '
40057 /^ac_cv_env_/b end
40058 t clear
40059 :clear
40060 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
40061 t end
40062 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
40063 :end' >>confcache
40064 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
40065 if test -w "$cache_file"; then
40066 test "x$cache_file" != "x/dev/null" &&
40067 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
40068 echo "$as_me: updating cache $cache_file" >&6;}
40069 cat confcache >$cache_file
40070 else
40071 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
40072 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
40073 fi
40074 fi
40075 rm -f confcache
40076
40077
40078 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40079
40080
40081 THREADS_LINK=
40082 THREADS_CFLAGS=
40083
40084 if test "$wxUSE_THREADS" = "yes" ; then
40085 if test "$USE_BEOS" = 1; then
40086 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
40087 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
40088 wxUSE_THREADS="no"
40089 fi
40090 fi
40091
40092 if test "$wxUSE_THREADS" = "yes" ; then
40093
40094
40095 THREAD_OPTS="-pthread"
40096 if test "x$SUNCXX" = xyes; then
40097 THREAD_OPTS="-mt lthread $THREAD_OPTS"
40098 fi
40099
40100 case "${host}" in
40101 *-*-solaris2* | *-*-sunos4* )
40102 if test "x$GCC" = "xyes"; then
40103 THREAD_OPTS="-pthreads $THREAD_OPTS"
40104 fi
40105 ;;
40106 *-*-freebsd*)
40107 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
40108 ;;
40109 *-*-darwin* | *-*-cygwin* )
40110 THREAD_OPTS=""
40111 ;;
40112 *-*-aix*)
40113 THREAD_OPTS="pthreads"
40114 ;;
40115 *-hp-hpux* )
40116 if test "x$GCC" = "xyes"; then
40117 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
40118 THREAD_OPTS=""
40119 else
40120 THREAD_OPTS="-mt"
40121 fi
40122 ;;
40123
40124 *-*-irix* )
40125 if test "x$GCC" = "xyes"; then
40126 THREAD_OPTS=""
40127 fi
40128 ;;
40129
40130 *-*-qnx*)
40131 THREAD_OPTS=""
40132 ;;
40133
40134 *-*-*UnixWare*)
40135 if test "x$GCC" != "xyes"; then
40136 THREAD_OPTS="-Ethread"
40137 fi
40138 ;;
40139 esac
40140
40141 case "${host}" in
40142 *-*-qnx*)
40143 THREAD_OPTS="none pthread"
40144 ;;
40145
40146 *)
40147 THREAD_OPTS="$THREAD_OPTS pthread none"
40148 ;;
40149 esac
40150
40151 THREADS_OK=no
40152 for flag in $THREAD_OPTS; do
40153 case $flag in
40154 none)
40155 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
40156 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
40157 ;;
40158
40159 -*)
40160 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
40161 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
40162 THREADS_CFLAGS="$flag"
40163 ;;
40164
40165 *)
40166 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
40167 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
40168 THREADS_LINK="-l$flag"
40169 ;;
40170 esac
40171
40172 save_LIBS="$LIBS"
40173 save_CFLAGS="$CFLAGS"
40174 LIBS="$THREADS_LINK $LIBS"
40175 CFLAGS="$THREADS_CFLAGS $CFLAGS"
40176
40177 cat >conftest.$ac_ext <<_ACEOF
40178 /* confdefs.h. */
40179 _ACEOF
40180 cat confdefs.h >>conftest.$ac_ext
40181 cat >>conftest.$ac_ext <<_ACEOF
40182 /* end confdefs.h. */
40183 #include <pthread.h>
40184 int
40185 main ()
40186 {
40187 pthread_create(0,0,0,0);
40188 ;
40189 return 0;
40190 }
40191 _ACEOF
40192 rm -f conftest.$ac_objext conftest$ac_exeext
40193 if { (ac_try="$ac_link"
40194 case "(($ac_try" in
40195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40196 *) ac_try_echo=$ac_try;;
40197 esac
40198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40199 (eval "$ac_link") 2>conftest.er1
40200 ac_status=$?
40201 grep -v '^ *+' conftest.er1 >conftest.err
40202 rm -f conftest.er1
40203 cat conftest.err >&5
40204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40205 (exit $ac_status); } && {
40206 test -z "$ac_c_werror_flag" ||
40207 test ! -s conftest.err
40208 } && test -s conftest$ac_exeext &&
40209 $as_test_x conftest$ac_exeext; then
40210 THREADS_OK=yes
40211 else
40212 echo "$as_me: failed program was:" >&5
40213 sed 's/^/| /' conftest.$ac_ext >&5
40214
40215
40216 fi
40217
40218 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40219 conftest$ac_exeext conftest.$ac_ext
40220
40221 LIBS="$save_LIBS"
40222 CFLAGS="$save_CFLAGS"
40223
40224 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
40225 echo "${ECHO_T}$THREADS_OK" >&6; }
40226 if test "x$THREADS_OK" = "xyes"; then
40227 break;
40228 fi
40229
40230 THREADS_LINK=""
40231 THREADS_CFLAGS=""
40232 done
40233
40234 if test "x$THREADS_OK" != "xyes"; then
40235 wxUSE_THREADS=no
40236 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
40237 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
40238 else
40239 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
40240 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
40241 LIBS="$THREADS_LINK $LIBS"
40242
40243 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
40244 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
40245 flag=no
40246 case "${host}" in
40247 *-aix*)
40248 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
40249 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
40250 flag="-D_THREAD_SAFE"
40251 ;;
40252 *-freebsd*)
40253 flag="-D_THREAD_SAFE"
40254 ;;
40255 *-hp-hpux* )
40256 flag="-D_REENTRANT"
40257 if test "x$GCC" != "xyes"; then
40258 flag="$flag -D_RWSTD_MULTI_THREAD"
40259 fi
40260 ;;
40261 *solaris* | alpha*-osf*)
40262 flag="-D_REENTRANT"
40263 ;;
40264 esac
40265 { echo "$as_me:$LINENO: result: ${flag}" >&5
40266 echo "${ECHO_T}${flag}" >&6; }
40267 if test "x$flag" != xno; then
40268 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
40269 fi
40270
40271 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
40272 fi
40273 fi
40274
40275 if test "$wxUSE_THREADS" = "yes" ; then
40276
40277 for ac_func in thr_setconcurrency
40278 do
40279 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40280 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40281 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40282 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40283 echo $ECHO_N "(cached) $ECHO_C" >&6
40284 else
40285 cat >conftest.$ac_ext <<_ACEOF
40286 /* confdefs.h. */
40287 _ACEOF
40288 cat confdefs.h >>conftest.$ac_ext
40289 cat >>conftest.$ac_ext <<_ACEOF
40290 /* end confdefs.h. */
40291 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40292 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40293 #define $ac_func innocuous_$ac_func
40294
40295 /* System header to define __stub macros and hopefully few prototypes,
40296 which can conflict with char $ac_func (); below.
40297 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40298 <limits.h> exists even on freestanding compilers. */
40299
40300 #ifdef __STDC__
40301 # include <limits.h>
40302 #else
40303 # include <assert.h>
40304 #endif
40305
40306 #undef $ac_func
40307
40308 /* Override any GCC internal prototype to avoid an error.
40309 Use char because int might match the return type of a GCC
40310 builtin and then its argument prototype would still apply. */
40311 #ifdef __cplusplus
40312 extern "C"
40313 #endif
40314 char $ac_func ();
40315 /* The GNU C library defines this for functions which it implements
40316 to always fail with ENOSYS. Some functions are actually named
40317 something starting with __ and the normal name is an alias. */
40318 #if defined __stub_$ac_func || defined __stub___$ac_func
40319 choke me
40320 #endif
40321
40322 int
40323 main ()
40324 {
40325 return $ac_func ();
40326 ;
40327 return 0;
40328 }
40329 _ACEOF
40330 rm -f conftest.$ac_objext conftest$ac_exeext
40331 if { (ac_try="$ac_link"
40332 case "(($ac_try" in
40333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40334 *) ac_try_echo=$ac_try;;
40335 esac
40336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40337 (eval "$ac_link") 2>conftest.er1
40338 ac_status=$?
40339 grep -v '^ *+' conftest.er1 >conftest.err
40340 rm -f conftest.er1
40341 cat conftest.err >&5
40342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40343 (exit $ac_status); } && {
40344 test -z "$ac_c_werror_flag" ||
40345 test ! -s conftest.err
40346 } && test -s conftest$ac_exeext &&
40347 $as_test_x conftest$ac_exeext; then
40348 eval "$as_ac_var=yes"
40349 else
40350 echo "$as_me: failed program was:" >&5
40351 sed 's/^/| /' conftest.$ac_ext >&5
40352
40353 eval "$as_ac_var=no"
40354 fi
40355
40356 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40357 conftest$ac_exeext conftest.$ac_ext
40358 fi
40359 ac_res=`eval echo '${'$as_ac_var'}'`
40360 { echo "$as_me:$LINENO: result: $ac_res" >&5
40361 echo "${ECHO_T}$ac_res" >&6; }
40362 if test `eval echo '${'$as_ac_var'}'` = yes; then
40363 cat >>confdefs.h <<_ACEOF
40364 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40365 _ACEOF
40366
40367 fi
40368 done
40369
40370
40371 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
40372 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
40373 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
40374 echo $ECHO_N "(cached) $ECHO_C" >&6
40375 else
40376
40377 ac_ext=cpp
40378 ac_cpp='$CXXCPP $CPPFLAGS'
40379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40382
40383 cat >conftest.$ac_ext <<_ACEOF
40384 /* confdefs.h. */
40385 _ACEOF
40386 cat confdefs.h >>conftest.$ac_ext
40387 cat >>conftest.$ac_ext <<_ACEOF
40388 /* end confdefs.h. */
40389 #include <pthread.h>
40390 void ThreadCleanupFunc(void *p);
40391
40392 int
40393 main ()
40394 {
40395
40396 void *p;
40397 pthread_cleanup_push(ThreadCleanupFunc, p);
40398 pthread_cleanup_pop(0);
40399
40400 ;
40401 return 0;
40402 }
40403 _ACEOF
40404 rm -f conftest.$ac_objext
40405 if { (ac_try="$ac_compile"
40406 case "(($ac_try" in
40407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40408 *) ac_try_echo=$ac_try;;
40409 esac
40410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40411 (eval "$ac_compile") 2>conftest.er1
40412 ac_status=$?
40413 grep -v '^ *+' conftest.er1 >conftest.err
40414 rm -f conftest.er1
40415 cat conftest.err >&5
40416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40417 (exit $ac_status); } && {
40418 test -z "$ac_cxx_werror_flag" ||
40419 test ! -s conftest.err
40420 } && test -s conftest.$ac_objext; then
40421
40422 wx_cv_func_pthread_cleanup=yes
40423
40424 else
40425 echo "$as_me: failed program was:" >&5
40426 sed 's/^/| /' conftest.$ac_ext >&5
40427
40428
40429 wx_cv_func_pthread_cleanup=no
40430
40431
40432 fi
40433
40434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40435 ac_ext=c
40436 ac_cpp='$CPP $CPPFLAGS'
40437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40440
40441
40442 fi
40443 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
40444 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
40445 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
40446 cat >>confdefs.h <<\_ACEOF
40447 #define wxHAVE_PTHREAD_CLEANUP 1
40448 _ACEOF
40449
40450 fi
40451
40452
40453 for ac_header in sched.h
40454 do
40455 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40456 { echo "$as_me:$LINENO: checking for $ac_header" >&5
40457 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
40458 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
40459 echo $ECHO_N "(cached) $ECHO_C" >&6
40460 else
40461 cat >conftest.$ac_ext <<_ACEOF
40462 /* confdefs.h. */
40463 _ACEOF
40464 cat confdefs.h >>conftest.$ac_ext
40465 cat >>conftest.$ac_ext <<_ACEOF
40466 /* end confdefs.h. */
40467 $ac_includes_default
40468
40469 #include <$ac_header>
40470 _ACEOF
40471 rm -f conftest.$ac_objext
40472 if { (ac_try="$ac_compile"
40473 case "(($ac_try" in
40474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40475 *) ac_try_echo=$ac_try;;
40476 esac
40477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40478 (eval "$ac_compile") 2>conftest.er1
40479 ac_status=$?
40480 grep -v '^ *+' conftest.er1 >conftest.err
40481 rm -f conftest.er1
40482 cat conftest.err >&5
40483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40484 (exit $ac_status); } && {
40485 test -z "$ac_c_werror_flag" ||
40486 test ! -s conftest.err
40487 } && test -s conftest.$ac_objext; then
40488 eval "$as_ac_Header=yes"
40489 else
40490 echo "$as_me: failed program was:" >&5
40491 sed 's/^/| /' conftest.$ac_ext >&5
40492
40493 eval "$as_ac_Header=no"
40494 fi
40495
40496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40497 fi
40498 ac_res=`eval echo '${'$as_ac_Header'}'`
40499 { echo "$as_me:$LINENO: result: $ac_res" >&5
40500 echo "${ECHO_T}$ac_res" >&6; }
40501 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40502 cat >>confdefs.h <<_ACEOF
40503 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40504 _ACEOF
40505
40506 fi
40507
40508 done
40509
40510 if test "$ac_cv_header_sched_h" = "yes"; then
40511 { echo "$as_me:$LINENO: checking for sched_yield" >&5
40512 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
40513 if test "${ac_cv_func_sched_yield+set}" = set; then
40514 echo $ECHO_N "(cached) $ECHO_C" >&6
40515 else
40516 cat >conftest.$ac_ext <<_ACEOF
40517 /* confdefs.h. */
40518 _ACEOF
40519 cat confdefs.h >>conftest.$ac_ext
40520 cat >>conftest.$ac_ext <<_ACEOF
40521 /* end confdefs.h. */
40522 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
40523 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40524 #define sched_yield innocuous_sched_yield
40525
40526 /* System header to define __stub macros and hopefully few prototypes,
40527 which can conflict with char sched_yield (); below.
40528 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40529 <limits.h> exists even on freestanding compilers. */
40530
40531 #ifdef __STDC__
40532 # include <limits.h>
40533 #else
40534 # include <assert.h>
40535 #endif
40536
40537 #undef sched_yield
40538
40539 /* Override any GCC internal prototype to avoid an error.
40540 Use char because int might match the return type of a GCC
40541 builtin and then its argument prototype would still apply. */
40542 #ifdef __cplusplus
40543 extern "C"
40544 #endif
40545 char sched_yield ();
40546 /* The GNU C library defines this for functions which it implements
40547 to always fail with ENOSYS. Some functions are actually named
40548 something starting with __ and the normal name is an alias. */
40549 #if defined __stub_sched_yield || defined __stub___sched_yield
40550 choke me
40551 #endif
40552
40553 int
40554 main ()
40555 {
40556 return sched_yield ();
40557 ;
40558 return 0;
40559 }
40560 _ACEOF
40561 rm -f conftest.$ac_objext conftest$ac_exeext
40562 if { (ac_try="$ac_link"
40563 case "(($ac_try" in
40564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40565 *) ac_try_echo=$ac_try;;
40566 esac
40567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40568 (eval "$ac_link") 2>conftest.er1
40569 ac_status=$?
40570 grep -v '^ *+' conftest.er1 >conftest.err
40571 rm -f conftest.er1
40572 cat conftest.err >&5
40573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40574 (exit $ac_status); } && {
40575 test -z "$ac_c_werror_flag" ||
40576 test ! -s conftest.err
40577 } && test -s conftest$ac_exeext &&
40578 $as_test_x conftest$ac_exeext; then
40579 ac_cv_func_sched_yield=yes
40580 else
40581 echo "$as_me: failed program was:" >&5
40582 sed 's/^/| /' conftest.$ac_ext >&5
40583
40584 ac_cv_func_sched_yield=no
40585 fi
40586
40587 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40588 conftest$ac_exeext conftest.$ac_ext
40589 fi
40590 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
40591 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
40592 if test $ac_cv_func_sched_yield = yes; then
40593 cat >>confdefs.h <<\_ACEOF
40594 #define HAVE_SCHED_YIELD 1
40595 _ACEOF
40596
40597 else
40598
40599 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
40600 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
40601 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
40602 echo $ECHO_N "(cached) $ECHO_C" >&6
40603 else
40604 ac_check_lib_save_LIBS=$LIBS
40605 LIBS="-lposix4 $LIBS"
40606 cat >conftest.$ac_ext <<_ACEOF
40607 /* confdefs.h. */
40608 _ACEOF
40609 cat confdefs.h >>conftest.$ac_ext
40610 cat >>conftest.$ac_ext <<_ACEOF
40611 /* end confdefs.h. */
40612
40613 /* Override any GCC internal prototype to avoid an error.
40614 Use char because int might match the return type of a GCC
40615 builtin and then its argument prototype would still apply. */
40616 #ifdef __cplusplus
40617 extern "C"
40618 #endif
40619 char sched_yield ();
40620 int
40621 main ()
40622 {
40623 return sched_yield ();
40624 ;
40625 return 0;
40626 }
40627 _ACEOF
40628 rm -f conftest.$ac_objext conftest$ac_exeext
40629 if { (ac_try="$ac_link"
40630 case "(($ac_try" in
40631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40632 *) ac_try_echo=$ac_try;;
40633 esac
40634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40635 (eval "$ac_link") 2>conftest.er1
40636 ac_status=$?
40637 grep -v '^ *+' conftest.er1 >conftest.err
40638 rm -f conftest.er1
40639 cat conftest.err >&5
40640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40641 (exit $ac_status); } && {
40642 test -z "$ac_c_werror_flag" ||
40643 test ! -s conftest.err
40644 } && test -s conftest$ac_exeext &&
40645 $as_test_x conftest$ac_exeext; then
40646 ac_cv_lib_posix4_sched_yield=yes
40647 else
40648 echo "$as_me: failed program was:" >&5
40649 sed 's/^/| /' conftest.$ac_ext >&5
40650
40651 ac_cv_lib_posix4_sched_yield=no
40652 fi
40653
40654 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40655 conftest$ac_exeext conftest.$ac_ext
40656 LIBS=$ac_check_lib_save_LIBS
40657 fi
40658 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
40659 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
40660 if test $ac_cv_lib_posix4_sched_yield = yes; then
40661 cat >>confdefs.h <<\_ACEOF
40662 #define HAVE_SCHED_YIELD 1
40663 _ACEOF
40664 POSIX4_LINK=" -lposix4"
40665 else
40666 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
40667 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
40668
40669 fi
40670
40671
40672
40673 fi
40674
40675 fi
40676
40677 HAVE_PRIOR_FUNCS=0
40678 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
40679 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
40680 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
40681 echo $ECHO_N "(cached) $ECHO_C" >&6
40682 else
40683 cat >conftest.$ac_ext <<_ACEOF
40684 /* confdefs.h. */
40685 _ACEOF
40686 cat confdefs.h >>conftest.$ac_ext
40687 cat >>conftest.$ac_ext <<_ACEOF
40688 /* end confdefs.h. */
40689 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
40690 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40691 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
40692
40693 /* System header to define __stub macros and hopefully few prototypes,
40694 which can conflict with char pthread_attr_getschedpolicy (); below.
40695 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40696 <limits.h> exists even on freestanding compilers. */
40697
40698 #ifdef __STDC__
40699 # include <limits.h>
40700 #else
40701 # include <assert.h>
40702 #endif
40703
40704 #undef pthread_attr_getschedpolicy
40705
40706 /* Override any GCC internal prototype to avoid an error.
40707 Use char because int might match the return type of a GCC
40708 builtin and then its argument prototype would still apply. */
40709 #ifdef __cplusplus
40710 extern "C"
40711 #endif
40712 char pthread_attr_getschedpolicy ();
40713 /* The GNU C library defines this for functions which it implements
40714 to always fail with ENOSYS. Some functions are actually named
40715 something starting with __ and the normal name is an alias. */
40716 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
40717 choke me
40718 #endif
40719
40720 int
40721 main ()
40722 {
40723 return pthread_attr_getschedpolicy ();
40724 ;
40725 return 0;
40726 }
40727 _ACEOF
40728 rm -f conftest.$ac_objext conftest$ac_exeext
40729 if { (ac_try="$ac_link"
40730 case "(($ac_try" in
40731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40732 *) ac_try_echo=$ac_try;;
40733 esac
40734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40735 (eval "$ac_link") 2>conftest.er1
40736 ac_status=$?
40737 grep -v '^ *+' conftest.er1 >conftest.err
40738 rm -f conftest.er1
40739 cat conftest.err >&5
40740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40741 (exit $ac_status); } && {
40742 test -z "$ac_c_werror_flag" ||
40743 test ! -s conftest.err
40744 } && test -s conftest$ac_exeext &&
40745 $as_test_x conftest$ac_exeext; then
40746 ac_cv_func_pthread_attr_getschedpolicy=yes
40747 else
40748 echo "$as_me: failed program was:" >&5
40749 sed 's/^/| /' conftest.$ac_ext >&5
40750
40751 ac_cv_func_pthread_attr_getschedpolicy=no
40752 fi
40753
40754 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40755 conftest$ac_exeext conftest.$ac_ext
40756 fi
40757 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
40758 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
40759 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
40760 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
40761 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
40762 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
40763 echo $ECHO_N "(cached) $ECHO_C" >&6
40764 else
40765 cat >conftest.$ac_ext <<_ACEOF
40766 /* confdefs.h. */
40767 _ACEOF
40768 cat confdefs.h >>conftest.$ac_ext
40769 cat >>conftest.$ac_ext <<_ACEOF
40770 /* end confdefs.h. */
40771 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
40772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40773 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
40774
40775 /* System header to define __stub macros and hopefully few prototypes,
40776 which can conflict with char pthread_attr_setschedparam (); below.
40777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40778 <limits.h> exists even on freestanding compilers. */
40779
40780 #ifdef __STDC__
40781 # include <limits.h>
40782 #else
40783 # include <assert.h>
40784 #endif
40785
40786 #undef pthread_attr_setschedparam
40787
40788 /* Override any GCC internal prototype to avoid an error.
40789 Use char because int might match the return type of a GCC
40790 builtin and then its argument prototype would still apply. */
40791 #ifdef __cplusplus
40792 extern "C"
40793 #endif
40794 char pthread_attr_setschedparam ();
40795 /* The GNU C library defines this for functions which it implements
40796 to always fail with ENOSYS. Some functions are actually named
40797 something starting with __ and the normal name is an alias. */
40798 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
40799 choke me
40800 #endif
40801
40802 int
40803 main ()
40804 {
40805 return pthread_attr_setschedparam ();
40806 ;
40807 return 0;
40808 }
40809 _ACEOF
40810 rm -f conftest.$ac_objext conftest$ac_exeext
40811 if { (ac_try="$ac_link"
40812 case "(($ac_try" in
40813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40814 *) ac_try_echo=$ac_try;;
40815 esac
40816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40817 (eval "$ac_link") 2>conftest.er1
40818 ac_status=$?
40819 grep -v '^ *+' conftest.er1 >conftest.err
40820 rm -f conftest.er1
40821 cat conftest.err >&5
40822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40823 (exit $ac_status); } && {
40824 test -z "$ac_c_werror_flag" ||
40825 test ! -s conftest.err
40826 } && test -s conftest$ac_exeext &&
40827 $as_test_x conftest$ac_exeext; then
40828 ac_cv_func_pthread_attr_setschedparam=yes
40829 else
40830 echo "$as_me: failed program was:" >&5
40831 sed 's/^/| /' conftest.$ac_ext >&5
40832
40833 ac_cv_func_pthread_attr_setschedparam=no
40834 fi
40835
40836 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40837 conftest$ac_exeext conftest.$ac_ext
40838 fi
40839 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
40840 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
40841 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
40842 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
40843 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
40844 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
40845 echo $ECHO_N "(cached) $ECHO_C" >&6
40846 else
40847 cat >conftest.$ac_ext <<_ACEOF
40848 /* confdefs.h. */
40849 _ACEOF
40850 cat confdefs.h >>conftest.$ac_ext
40851 cat >>conftest.$ac_ext <<_ACEOF
40852 /* end confdefs.h. */
40853 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
40854 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40855 #define sched_get_priority_max innocuous_sched_get_priority_max
40856
40857 /* System header to define __stub macros and hopefully few prototypes,
40858 which can conflict with char sched_get_priority_max (); below.
40859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40860 <limits.h> exists even on freestanding compilers. */
40861
40862 #ifdef __STDC__
40863 # include <limits.h>
40864 #else
40865 # include <assert.h>
40866 #endif
40867
40868 #undef sched_get_priority_max
40869
40870 /* Override any GCC internal prototype to avoid an error.
40871 Use char because int might match the return type of a GCC
40872 builtin and then its argument prototype would still apply. */
40873 #ifdef __cplusplus
40874 extern "C"
40875 #endif
40876 char sched_get_priority_max ();
40877 /* The GNU C library defines this for functions which it implements
40878 to always fail with ENOSYS. Some functions are actually named
40879 something starting with __ and the normal name is an alias. */
40880 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
40881 choke me
40882 #endif
40883
40884 int
40885 main ()
40886 {
40887 return sched_get_priority_max ();
40888 ;
40889 return 0;
40890 }
40891 _ACEOF
40892 rm -f conftest.$ac_objext conftest$ac_exeext
40893 if { (ac_try="$ac_link"
40894 case "(($ac_try" in
40895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40896 *) ac_try_echo=$ac_try;;
40897 esac
40898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40899 (eval "$ac_link") 2>conftest.er1
40900 ac_status=$?
40901 grep -v '^ *+' conftest.er1 >conftest.err
40902 rm -f conftest.er1
40903 cat conftest.err >&5
40904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40905 (exit $ac_status); } && {
40906 test -z "$ac_c_werror_flag" ||
40907 test ! -s conftest.err
40908 } && test -s conftest$ac_exeext &&
40909 $as_test_x conftest$ac_exeext; then
40910 ac_cv_func_sched_get_priority_max=yes
40911 else
40912 echo "$as_me: failed program was:" >&5
40913 sed 's/^/| /' conftest.$ac_ext >&5
40914
40915 ac_cv_func_sched_get_priority_max=no
40916 fi
40917
40918 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40919 conftest$ac_exeext conftest.$ac_ext
40920 fi
40921 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
40922 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
40923 if test $ac_cv_func_sched_get_priority_max = yes; then
40924 HAVE_PRIOR_FUNCS=1
40925 else
40926 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
40927 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
40928 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
40929 echo $ECHO_N "(cached) $ECHO_C" >&6
40930 else
40931 ac_check_lib_save_LIBS=$LIBS
40932 LIBS="-lposix4 $LIBS"
40933 cat >conftest.$ac_ext <<_ACEOF
40934 /* confdefs.h. */
40935 _ACEOF
40936 cat confdefs.h >>conftest.$ac_ext
40937 cat >>conftest.$ac_ext <<_ACEOF
40938 /* end confdefs.h. */
40939
40940 /* Override any GCC internal prototype to avoid an error.
40941 Use char because int might match the return type of a GCC
40942 builtin and then its argument prototype would still apply. */
40943 #ifdef __cplusplus
40944 extern "C"
40945 #endif
40946 char sched_get_priority_max ();
40947 int
40948 main ()
40949 {
40950 return sched_get_priority_max ();
40951 ;
40952 return 0;
40953 }
40954 _ACEOF
40955 rm -f conftest.$ac_objext conftest$ac_exeext
40956 if { (ac_try="$ac_link"
40957 case "(($ac_try" in
40958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40959 *) ac_try_echo=$ac_try;;
40960 esac
40961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40962 (eval "$ac_link") 2>conftest.er1
40963 ac_status=$?
40964 grep -v '^ *+' conftest.er1 >conftest.err
40965 rm -f conftest.er1
40966 cat conftest.err >&5
40967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40968 (exit $ac_status); } && {
40969 test -z "$ac_c_werror_flag" ||
40970 test ! -s conftest.err
40971 } && test -s conftest$ac_exeext &&
40972 $as_test_x conftest$ac_exeext; then
40973 ac_cv_lib_posix4_sched_get_priority_max=yes
40974 else
40975 echo "$as_me: failed program was:" >&5
40976 sed 's/^/| /' conftest.$ac_ext >&5
40977
40978 ac_cv_lib_posix4_sched_get_priority_max=no
40979 fi
40980
40981 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40982 conftest$ac_exeext conftest.$ac_ext
40983 LIBS=$ac_check_lib_save_LIBS
40984 fi
40985 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
40986 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
40987 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
40988
40989 HAVE_PRIOR_FUNCS=1
40990 POSIX4_LINK=" -lposix4"
40991
40992 fi
40993
40994
40995 fi
40996
40997
40998 fi
40999
41000
41001 fi
41002
41003
41004 if test "$HAVE_PRIOR_FUNCS" = 1; then
41005 cat >>confdefs.h <<\_ACEOF
41006 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
41007 _ACEOF
41008
41009 else
41010 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
41011 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
41012 fi
41013
41014 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
41015 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
41016 if test "${ac_cv_func_pthread_cancel+set}" = set; then
41017 echo $ECHO_N "(cached) $ECHO_C" >&6
41018 else
41019 cat >conftest.$ac_ext <<_ACEOF
41020 /* confdefs.h. */
41021 _ACEOF
41022 cat confdefs.h >>conftest.$ac_ext
41023 cat >>conftest.$ac_ext <<_ACEOF
41024 /* end confdefs.h. */
41025 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
41026 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41027 #define pthread_cancel innocuous_pthread_cancel
41028
41029 /* System header to define __stub macros and hopefully few prototypes,
41030 which can conflict with char pthread_cancel (); below.
41031 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41032 <limits.h> exists even on freestanding compilers. */
41033
41034 #ifdef __STDC__
41035 # include <limits.h>
41036 #else
41037 # include <assert.h>
41038 #endif
41039
41040 #undef pthread_cancel
41041
41042 /* Override any GCC internal prototype to avoid an error.
41043 Use char because int might match the return type of a GCC
41044 builtin and then its argument prototype would still apply. */
41045 #ifdef __cplusplus
41046 extern "C"
41047 #endif
41048 char pthread_cancel ();
41049 /* The GNU C library defines this for functions which it implements
41050 to always fail with ENOSYS. Some functions are actually named
41051 something starting with __ and the normal name is an alias. */
41052 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
41053 choke me
41054 #endif
41055
41056 int
41057 main ()
41058 {
41059 return pthread_cancel ();
41060 ;
41061 return 0;
41062 }
41063 _ACEOF
41064 rm -f conftest.$ac_objext conftest$ac_exeext
41065 if { (ac_try="$ac_link"
41066 case "(($ac_try" in
41067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41068 *) ac_try_echo=$ac_try;;
41069 esac
41070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41071 (eval "$ac_link") 2>conftest.er1
41072 ac_status=$?
41073 grep -v '^ *+' conftest.er1 >conftest.err
41074 rm -f conftest.er1
41075 cat conftest.err >&5
41076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41077 (exit $ac_status); } && {
41078 test -z "$ac_c_werror_flag" ||
41079 test ! -s conftest.err
41080 } && test -s conftest$ac_exeext &&
41081 $as_test_x conftest$ac_exeext; then
41082 ac_cv_func_pthread_cancel=yes
41083 else
41084 echo "$as_me: failed program was:" >&5
41085 sed 's/^/| /' conftest.$ac_ext >&5
41086
41087 ac_cv_func_pthread_cancel=no
41088 fi
41089
41090 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41091 conftest$ac_exeext conftest.$ac_ext
41092 fi
41093 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
41094 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
41095 if test $ac_cv_func_pthread_cancel = yes; then
41096 cat >>confdefs.h <<\_ACEOF
41097 #define HAVE_PTHREAD_CANCEL 1
41098 _ACEOF
41099
41100 else
41101 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
41102 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
41103 fi
41104
41105
41106 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
41107 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
41108 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
41109 echo $ECHO_N "(cached) $ECHO_C" >&6
41110 else
41111 cat >conftest.$ac_ext <<_ACEOF
41112 /* confdefs.h. */
41113 _ACEOF
41114 cat confdefs.h >>conftest.$ac_ext
41115 cat >>conftest.$ac_ext <<_ACEOF
41116 /* end confdefs.h. */
41117 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
41118 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41119 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
41120
41121 /* System header to define __stub macros and hopefully few prototypes,
41122 which can conflict with char pthread_mutex_timedlock (); below.
41123 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41124 <limits.h> exists even on freestanding compilers. */
41125
41126 #ifdef __STDC__
41127 # include <limits.h>
41128 #else
41129 # include <assert.h>
41130 #endif
41131
41132 #undef pthread_mutex_timedlock
41133
41134 /* Override any GCC internal prototype to avoid an error.
41135 Use char because int might match the return type of a GCC
41136 builtin and then its argument prototype would still apply. */
41137 #ifdef __cplusplus
41138 extern "C"
41139 #endif
41140 char pthread_mutex_timedlock ();
41141 /* The GNU C library defines this for functions which it implements
41142 to always fail with ENOSYS. Some functions are actually named
41143 something starting with __ and the normal name is an alias. */
41144 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
41145 choke me
41146 #endif
41147
41148 int
41149 main ()
41150 {
41151 return pthread_mutex_timedlock ();
41152 ;
41153 return 0;
41154 }
41155 _ACEOF
41156 rm -f conftest.$ac_objext conftest$ac_exeext
41157 if { (ac_try="$ac_link"
41158 case "(($ac_try" in
41159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41160 *) ac_try_echo=$ac_try;;
41161 esac
41162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41163 (eval "$ac_link") 2>conftest.er1
41164 ac_status=$?
41165 grep -v '^ *+' conftest.er1 >conftest.err
41166 rm -f conftest.er1
41167 cat conftest.err >&5
41168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41169 (exit $ac_status); } && {
41170 test -z "$ac_c_werror_flag" ||
41171 test ! -s conftest.err
41172 } && test -s conftest$ac_exeext &&
41173 $as_test_x conftest$ac_exeext; then
41174 ac_cv_func_pthread_mutex_timedlock=yes
41175 else
41176 echo "$as_me: failed program was:" >&5
41177 sed 's/^/| /' conftest.$ac_ext >&5
41178
41179 ac_cv_func_pthread_mutex_timedlock=no
41180 fi
41181
41182 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41183 conftest$ac_exeext conftest.$ac_ext
41184 fi
41185 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
41186 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
41187 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
41188 cat >>confdefs.h <<\_ACEOF
41189 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
41190 _ACEOF
41191
41192 else
41193 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
41194 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
41195 fi
41196
41197
41198 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
41199 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
41200 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
41201 echo $ECHO_N "(cached) $ECHO_C" >&6
41202 else
41203 cat >conftest.$ac_ext <<_ACEOF
41204 /* confdefs.h. */
41205 _ACEOF
41206 cat confdefs.h >>conftest.$ac_ext
41207 cat >>conftest.$ac_ext <<_ACEOF
41208 /* end confdefs.h. */
41209 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
41210 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41211 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
41212
41213 /* System header to define __stub macros and hopefully few prototypes,
41214 which can conflict with char pthread_attr_setstacksize (); below.
41215 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41216 <limits.h> exists even on freestanding compilers. */
41217
41218 #ifdef __STDC__
41219 # include <limits.h>
41220 #else
41221 # include <assert.h>
41222 #endif
41223
41224 #undef pthread_attr_setstacksize
41225
41226 /* Override any GCC internal prototype to avoid an error.
41227 Use char because int might match the return type of a GCC
41228 builtin and then its argument prototype would still apply. */
41229 #ifdef __cplusplus
41230 extern "C"
41231 #endif
41232 char pthread_attr_setstacksize ();
41233 /* The GNU C library defines this for functions which it implements
41234 to always fail with ENOSYS. Some functions are actually named
41235 something starting with __ and the normal name is an alias. */
41236 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
41237 choke me
41238 #endif
41239
41240 int
41241 main ()
41242 {
41243 return pthread_attr_setstacksize ();
41244 ;
41245 return 0;
41246 }
41247 _ACEOF
41248 rm -f conftest.$ac_objext conftest$ac_exeext
41249 if { (ac_try="$ac_link"
41250 case "(($ac_try" in
41251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41252 *) ac_try_echo=$ac_try;;
41253 esac
41254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41255 (eval "$ac_link") 2>conftest.er1
41256 ac_status=$?
41257 grep -v '^ *+' conftest.er1 >conftest.err
41258 rm -f conftest.er1
41259 cat conftest.err >&5
41260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41261 (exit $ac_status); } && {
41262 test -z "$ac_c_werror_flag" ||
41263 test ! -s conftest.err
41264 } && test -s conftest$ac_exeext &&
41265 $as_test_x conftest$ac_exeext; then
41266 ac_cv_func_pthread_attr_setstacksize=yes
41267 else
41268 echo "$as_me: failed program was:" >&5
41269 sed 's/^/| /' conftest.$ac_ext >&5
41270
41271 ac_cv_func_pthread_attr_setstacksize=no
41272 fi
41273
41274 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41275 conftest$ac_exeext conftest.$ac_ext
41276 fi
41277 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
41278 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
41279 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
41280 cat >>confdefs.h <<\_ACEOF
41281 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
41282 _ACEOF
41283
41284 fi
41285
41286
41287
41288 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
41289 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
41290 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
41291 echo $ECHO_N "(cached) $ECHO_C" >&6
41292 else
41293
41294 cat >conftest.$ac_ext <<_ACEOF
41295 /* confdefs.h. */
41296 _ACEOF
41297 cat confdefs.h >>conftest.$ac_ext
41298 cat >>conftest.$ac_ext <<_ACEOF
41299 /* end confdefs.h. */
41300 #include <pthread.h>
41301 int
41302 main ()
41303 {
41304
41305 pthread_mutexattr_t attr;
41306 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41307
41308 ;
41309 return 0;
41310 }
41311 _ACEOF
41312 rm -f conftest.$ac_objext
41313 if { (ac_try="$ac_compile"
41314 case "(($ac_try" in
41315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41316 *) ac_try_echo=$ac_try;;
41317 esac
41318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41319 (eval "$ac_compile") 2>conftest.er1
41320 ac_status=$?
41321 grep -v '^ *+' conftest.er1 >conftest.err
41322 rm -f conftest.er1
41323 cat conftest.err >&5
41324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41325 (exit $ac_status); } && {
41326 test -z "$ac_c_werror_flag" ||
41327 test ! -s conftest.err
41328 } && test -s conftest.$ac_objext; then
41329 wx_cv_type_pthread_mutexattr_t=yes
41330 else
41331 echo "$as_me: failed program was:" >&5
41332 sed 's/^/| /' conftest.$ac_ext >&5
41333
41334 wx_cv_type_pthread_mutexattr_t=no
41335
41336 fi
41337
41338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41339
41340 fi
41341 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
41342 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
41343
41344 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
41345 cat >>confdefs.h <<\_ACEOF
41346 #define HAVE_PTHREAD_MUTEXATTR_T 1
41347 _ACEOF
41348
41349
41350 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
41351 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
41352 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
41353 echo $ECHO_N "(cached) $ECHO_C" >&6
41354 else
41355
41356 cat >conftest.$ac_ext <<_ACEOF
41357 /* confdefs.h. */
41358 _ACEOF
41359 cat confdefs.h >>conftest.$ac_ext
41360 cat >>conftest.$ac_ext <<_ACEOF
41361 /* end confdefs.h. */
41362 #include <pthread.h>
41363 int
41364 main ()
41365 {
41366
41367 pthread_mutexattr_t attr;
41368 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41369
41370 ;
41371 return 0;
41372 }
41373 _ACEOF
41374 rm -f conftest.$ac_objext
41375 if { (ac_try="$ac_compile"
41376 case "(($ac_try" in
41377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41378 *) ac_try_echo=$ac_try;;
41379 esac
41380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41381 (eval "$ac_compile") 2>conftest.er1
41382 ac_status=$?
41383 grep -v '^ *+' conftest.er1 >conftest.err
41384 rm -f conftest.er1
41385 cat conftest.err >&5
41386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41387 (exit $ac_status); } && {
41388 test -z "$ac_c_werror_flag" ||
41389 test ! -s conftest.err
41390 } && test -s conftest.$ac_objext; then
41391 wx_cv_func_pthread_mutexattr_settype_decl=yes
41392 else
41393 echo "$as_me: failed program was:" >&5
41394 sed 's/^/| /' conftest.$ac_ext >&5
41395
41396 wx_cv_func_pthread_mutexattr_settype_decl=no
41397
41398 fi
41399
41400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41401
41402 fi
41403 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
41404 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
41405 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
41406 cat >>confdefs.h <<\_ACEOF
41407 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
41408 _ACEOF
41409
41410 fi
41411 else
41412 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
41413 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
41414 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
41415 echo $ECHO_N "(cached) $ECHO_C" >&6
41416 else
41417
41418 cat >conftest.$ac_ext <<_ACEOF
41419 /* confdefs.h. */
41420 _ACEOF
41421 cat confdefs.h >>conftest.$ac_ext
41422 cat >>conftest.$ac_ext <<_ACEOF
41423 /* end confdefs.h. */
41424 #include <pthread.h>
41425 int
41426 main ()
41427 {
41428
41429 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
41430
41431 ;
41432 return 0;
41433 }
41434 _ACEOF
41435 rm -f conftest.$ac_objext
41436 if { (ac_try="$ac_compile"
41437 case "(($ac_try" in
41438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41439 *) ac_try_echo=$ac_try;;
41440 esac
41441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41442 (eval "$ac_compile") 2>conftest.er1
41443 ac_status=$?
41444 grep -v '^ *+' conftest.er1 >conftest.err
41445 rm -f conftest.er1
41446 cat conftest.err >&5
41447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41448 (exit $ac_status); } && {
41449 test -z "$ac_c_werror_flag" ||
41450 test ! -s conftest.err
41451 } && test -s conftest.$ac_objext; then
41452
41453 wx_cv_type_pthread_rec_mutex_init=yes
41454
41455 else
41456 echo "$as_me: failed program was:" >&5
41457 sed 's/^/| /' conftest.$ac_ext >&5
41458
41459
41460 wx_cv_type_pthread_rec_mutex_init=no
41461
41462
41463 fi
41464
41465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41466
41467 fi
41468 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
41469 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
41470 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
41471 cat >>confdefs.h <<\_ACEOF
41472 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
41473 _ACEOF
41474
41475 else
41476 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
41477 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
41478 fi
41479 fi
41480
41481 if test "$wxUSE_COMPILER_TLS" = "auto"; then
41482 if test "$USE_NETBSD" = 1; then
41483 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
41484 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
41485 wxUSE_COMPILER_TLS=no
41486 else
41487 wxUSE_COMPILER_TLS=yes
41488 fi
41489 fi
41490
41491 if test "$wxUSE_COMPILER_TLS" = "yes"; then
41492 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
41493 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
41494 if test "${wx_cv_cc___thread+set}" = set; then
41495 echo $ECHO_N "(cached) $ECHO_C" >&6
41496 else
41497
41498 cat >conftest.$ac_ext <<_ACEOF
41499 /* confdefs.h. */
41500 _ACEOF
41501 cat confdefs.h >>conftest.$ac_ext
41502 cat >>conftest.$ac_ext <<_ACEOF
41503 /* end confdefs.h. */
41504 #include <pthread.h>
41505 int
41506 main ()
41507 {
41508
41509 static __thread int n = 0;
41510 static __thread int *p = 0;
41511
41512 ;
41513 return 0;
41514 }
41515 _ACEOF
41516 rm -f conftest.$ac_objext
41517 if { (ac_try="$ac_compile"
41518 case "(($ac_try" in
41519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41520 *) ac_try_echo=$ac_try;;
41521 esac
41522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41523 (eval "$ac_compile") 2>conftest.er1
41524 ac_status=$?
41525 grep -v '^ *+' conftest.er1 >conftest.err
41526 rm -f conftest.er1
41527 cat conftest.err >&5
41528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41529 (exit $ac_status); } && {
41530 test -z "$ac_c_werror_flag" ||
41531 test ! -s conftest.err
41532 } && test -s conftest.$ac_objext; then
41533 wx_cv_cc___thread=yes
41534 else
41535 echo "$as_me: failed program was:" >&5
41536 sed 's/^/| /' conftest.$ac_ext >&5
41537
41538 wx_cv_cc___thread=no
41539
41540 fi
41541
41542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41543
41544
41545 fi
41546 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
41547 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
41548
41549 if test "$wx_cv_cc___thread" = "yes"; then
41550
41551 GXX_VERSION=""
41552
41553
41554
41555 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
41556 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
41557
41558 if test "x$GCC" = "xyes" ; then
41559
41560 if test -z "" ; then
41561
41562 ax_gcc_option_test="int main()
41563 {
41564 return 0;
41565 }"
41566
41567 else
41568
41569 ax_gcc_option_test=""
41570
41571 fi
41572
41573
41574 # Dump the test program to file
41575 cat <<EOF > conftest.c
41576 $ax_gcc_option_test
41577 EOF
41578
41579 # Dump back the file to the log, useful for debugging purposes
41580 { ac_try='cat conftest.c 1>&5'
41581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41582 (eval $ac_try) 2>&5
41583 ac_status=$?
41584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41585 (exit $ac_status); }; }
41586
41587 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
41588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41589 (eval $ac_try) 2>&5
41590 ac_status=$?
41591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41592 (exit $ac_status); }; } ; then
41593
41594 { echo "$as_me:$LINENO: result: yes" >&5
41595 echo "${ECHO_T}yes" >&6; }
41596
41597 ax_gcc_version_option=yes
41598
41599
41600 else
41601
41602 { echo "$as_me:$LINENO: result: no" >&5
41603 echo "${ECHO_T}no" >&6; }
41604
41605 ax_gcc_version_option=no
41606
41607
41608 fi
41609
41610
41611 else
41612
41613 { echo "$as_me:$LINENO: result: no gcc available" >&5
41614 echo "${ECHO_T}no gcc available" >&6; }
41615
41616 fi
41617
41618
41619 if test "x$GXX" = "xyes"; then
41620
41621 if test "x$ax_gxx_version_option" != "no"; then
41622
41623 { echo "$as_me:$LINENO: checking gxx version" >&5
41624 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
41625 if test "${ax_cv_gxx_version+set}" = set; then
41626 echo $ECHO_N "(cached) $ECHO_C" >&6
41627 else
41628
41629 ax_cv_gxx_version="`$CXX -dumpversion`"
41630 if test "x$ax_cv_gxx_version" = "x"; then
41631
41632 ax_cv_gxx_version=""
41633
41634 fi
41635
41636
41637 fi
41638 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
41639 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
41640 GXX_VERSION=$ax_cv_gxx_version
41641
41642 fi
41643
41644
41645 fi
41646
41647
41648
41649 if test -n "$ax_cv_gxx_version"; then
41650 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
41651 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
41652 case "$ax_cv_gxx_version" in
41653 1.* | 2.* | 3.* )
41654 { echo "$as_me:$LINENO: result: no, it's broken" >&5
41655 echo "${ECHO_T}no, it's broken" >&6; }
41656 wx_cv_cc___thread=no
41657 ;;
41658 *)
41659 { echo "$as_me:$LINENO: result: yes, it works" >&5
41660 echo "${ECHO_T}yes, it works" >&6; }
41661 ;;
41662 esac
41663 fi
41664 fi
41665
41666 if test "$wx_cv_cc___thread" = "yes"; then
41667 cat >>confdefs.h <<\_ACEOF
41668 #define HAVE___THREAD_KEYWORD 1
41669 _ACEOF
41670
41671 fi
41672 fi
41673 fi
41674
41675 else
41676 if test "$wxUSE_THREADS" = "yes" ; then
41677 case "${host}" in
41678 x86_64-*-mingw32* )
41679 ;;
41680 *-*-mingw32* )
41681 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
41682 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
41683 if test "${wx_cv_cflags_mthread+set}" = set; then
41684 echo $ECHO_N "(cached) $ECHO_C" >&6
41685 else
41686
41687 CFLAGS_OLD="$CFLAGS"
41688 CFLAGS="-mthreads $CFLAGS"
41689 cat >conftest.$ac_ext <<_ACEOF
41690 /* confdefs.h. */
41691 _ACEOF
41692 cat confdefs.h >>conftest.$ac_ext
41693 cat >>conftest.$ac_ext <<_ACEOF
41694 /* end confdefs.h. */
41695
41696 int
41697 main ()
41698 {
41699
41700 ;
41701 return 0;
41702 }
41703 _ACEOF
41704 rm -f conftest.$ac_objext
41705 if { (ac_try="$ac_compile"
41706 case "(($ac_try" in
41707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41708 *) ac_try_echo=$ac_try;;
41709 esac
41710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41711 (eval "$ac_compile") 2>conftest.er1
41712 ac_status=$?
41713 grep -v '^ *+' conftest.er1 >conftest.err
41714 rm -f conftest.er1
41715 cat conftest.err >&5
41716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41717 (exit $ac_status); } && {
41718 test -z "$ac_c_werror_flag" ||
41719 test ! -s conftest.err
41720 } && test -s conftest.$ac_objext; then
41721 wx_cv_cflags_mthread=yes
41722 else
41723 echo "$as_me: failed program was:" >&5
41724 sed 's/^/| /' conftest.$ac_ext >&5
41725
41726 wx_cv_cflags_mthread=no
41727
41728 fi
41729
41730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41731
41732
41733 fi
41734 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
41735 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
41736
41737 if test "$wx_cv_cflags_mthread" = "yes"; then
41738 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
41739 LDFLAGS="$LDFLAGS -mthreads"
41740 else
41741 CFLAGS="$CFLAGS_OLD"
41742 fi
41743 ;;
41744 *-pc-os2*emx )
41745 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
41746 LDFLAGS="$LDFLAGS -Zmt"
41747 ;;
41748 esac
41749 fi
41750 fi
41751
41752 { echo "$as_me:$LINENO: checking for localtime_r" >&5
41753 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
41754 if test "${ac_cv_func_localtime_r+set}" = set; then
41755 echo $ECHO_N "(cached) $ECHO_C" >&6
41756 else
41757 cat >conftest.$ac_ext <<_ACEOF
41758 /* confdefs.h. */
41759 _ACEOF
41760 cat confdefs.h >>conftest.$ac_ext
41761 cat >>conftest.$ac_ext <<_ACEOF
41762 /* end confdefs.h. */
41763 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
41764 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41765 #define localtime_r innocuous_localtime_r
41766
41767 /* System header to define __stub macros and hopefully few prototypes,
41768 which can conflict with char localtime_r (); below.
41769 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41770 <limits.h> exists even on freestanding compilers. */
41771
41772 #ifdef __STDC__
41773 # include <limits.h>
41774 #else
41775 # include <assert.h>
41776 #endif
41777
41778 #undef localtime_r
41779
41780 /* Override any GCC internal prototype to avoid an error.
41781 Use char because int might match the return type of a GCC
41782 builtin and then its argument prototype would still apply. */
41783 #ifdef __cplusplus
41784 extern "C"
41785 #endif
41786 char localtime_r ();
41787 /* The GNU C library defines this for functions which it implements
41788 to always fail with ENOSYS. Some functions are actually named
41789 something starting with __ and the normal name is an alias. */
41790 #if defined __stub_localtime_r || defined __stub___localtime_r
41791 choke me
41792 #endif
41793
41794 int
41795 main ()
41796 {
41797 return localtime_r ();
41798 ;
41799 return 0;
41800 }
41801 _ACEOF
41802 rm -f conftest.$ac_objext conftest$ac_exeext
41803 if { (ac_try="$ac_link"
41804 case "(($ac_try" in
41805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41806 *) ac_try_echo=$ac_try;;
41807 esac
41808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41809 (eval "$ac_link") 2>conftest.er1
41810 ac_status=$?
41811 grep -v '^ *+' conftest.er1 >conftest.err
41812 rm -f conftest.er1
41813 cat conftest.err >&5
41814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41815 (exit $ac_status); } && {
41816 test -z "$ac_c_werror_flag" ||
41817 test ! -s conftest.err
41818 } && test -s conftest$ac_exeext &&
41819 $as_test_x conftest$ac_exeext; then
41820 ac_cv_func_localtime_r=yes
41821 else
41822 echo "$as_me: failed program was:" >&5
41823 sed 's/^/| /' conftest.$ac_ext >&5
41824
41825 ac_cv_func_localtime_r=no
41826 fi
41827
41828 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41829 conftest$ac_exeext conftest.$ac_ext
41830 fi
41831 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
41832 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
41833 if test $ac_cv_func_localtime_r = yes; then
41834 cat >>confdefs.h <<\_ACEOF
41835 #define HAVE_LOCALTIME_R 1
41836 _ACEOF
41837
41838 fi
41839
41840 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
41841 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
41842 if test "${ac_cv_func_gmtime_r+set}" = set; then
41843 echo $ECHO_N "(cached) $ECHO_C" >&6
41844 else
41845 cat >conftest.$ac_ext <<_ACEOF
41846 /* confdefs.h. */
41847 _ACEOF
41848 cat confdefs.h >>conftest.$ac_ext
41849 cat >>conftest.$ac_ext <<_ACEOF
41850 /* end confdefs.h. */
41851 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
41852 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41853 #define gmtime_r innocuous_gmtime_r
41854
41855 /* System header to define __stub macros and hopefully few prototypes,
41856 which can conflict with char gmtime_r (); below.
41857 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41858 <limits.h> exists even on freestanding compilers. */
41859
41860 #ifdef __STDC__
41861 # include <limits.h>
41862 #else
41863 # include <assert.h>
41864 #endif
41865
41866 #undef gmtime_r
41867
41868 /* Override any GCC internal prototype to avoid an error.
41869 Use char because int might match the return type of a GCC
41870 builtin and then its argument prototype would still apply. */
41871 #ifdef __cplusplus
41872 extern "C"
41873 #endif
41874 char gmtime_r ();
41875 /* The GNU C library defines this for functions which it implements
41876 to always fail with ENOSYS. Some functions are actually named
41877 something starting with __ and the normal name is an alias. */
41878 #if defined __stub_gmtime_r || defined __stub___gmtime_r
41879 choke me
41880 #endif
41881
41882 int
41883 main ()
41884 {
41885 return gmtime_r ();
41886 ;
41887 return 0;
41888 }
41889 _ACEOF
41890 rm -f conftest.$ac_objext conftest$ac_exeext
41891 if { (ac_try="$ac_link"
41892 case "(($ac_try" in
41893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41894 *) ac_try_echo=$ac_try;;
41895 esac
41896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41897 (eval "$ac_link") 2>conftest.er1
41898 ac_status=$?
41899 grep -v '^ *+' conftest.er1 >conftest.err
41900 rm -f conftest.er1
41901 cat conftest.err >&5
41902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41903 (exit $ac_status); } && {
41904 test -z "$ac_c_werror_flag" ||
41905 test ! -s conftest.err
41906 } && test -s conftest$ac_exeext &&
41907 $as_test_x conftest$ac_exeext; then
41908 ac_cv_func_gmtime_r=yes
41909 else
41910 echo "$as_me: failed program was:" >&5
41911 sed 's/^/| /' conftest.$ac_ext >&5
41912
41913 ac_cv_func_gmtime_r=no
41914 fi
41915
41916 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41917 conftest$ac_exeext conftest.$ac_ext
41918 fi
41919 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
41920 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
41921 if test $ac_cv_func_gmtime_r = yes; then
41922 cat >>confdefs.h <<\_ACEOF
41923 #define HAVE_GMTIME_R 1
41924 _ACEOF
41925
41926 fi
41927
41928
41929
41930
41931 ac_ext=c
41932 ac_cpp='$CPP $CPPFLAGS'
41933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41936
41937 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
41938 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
41939
41940 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
41941 echo $ECHO_N "(cached) $ECHO_C" >&6
41942 else
41943
41944
41945 ################################################################
41946
41947 ac_cv_func_which_gethostbyname_r=unknown
41948
41949 #
41950 # ONE ARGUMENT (sanity check)
41951 #
41952
41953 # This should fail, as there is no variant of gethostbyname_r() that takes
41954 # a single argument. If it actually compiles, then we can assume that
41955 # netdb.h is not declaring the function, and the compiler is thereby
41956 # assuming an implicit prototype. In which case, we're out of luck.
41957 #
41958 cat >conftest.$ac_ext <<_ACEOF
41959 /* confdefs.h. */
41960 _ACEOF
41961 cat confdefs.h >>conftest.$ac_ext
41962 cat >>conftest.$ac_ext <<_ACEOF
41963 /* end confdefs.h. */
41964 #include <netdb.h>
41965 int
41966 main ()
41967 {
41968
41969 char *name = "www.gnu.org";
41970 (void)gethostbyname_r(name) /* ; */
41971
41972 ;
41973 return 0;
41974 }
41975 _ACEOF
41976 rm -f conftest.$ac_objext
41977 if { (ac_try="$ac_compile"
41978 case "(($ac_try" in
41979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41980 *) ac_try_echo=$ac_try;;
41981 esac
41982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41983 (eval "$ac_compile") 2>conftest.er1
41984 ac_status=$?
41985 grep -v '^ *+' conftest.er1 >conftest.err
41986 rm -f conftest.er1
41987 cat conftest.err >&5
41988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41989 (exit $ac_status); } && {
41990 test -z "$ac_c_werror_flag" ||
41991 test ! -s conftest.err
41992 } && test -s conftest.$ac_objext; then
41993 ac_cv_func_which_gethostbyname_r=no
41994 else
41995 echo "$as_me: failed program was:" >&5
41996 sed 's/^/| /' conftest.$ac_ext >&5
41997
41998
41999 fi
42000
42001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42002
42003 #
42004 # SIX ARGUMENTS
42005 # (e.g. Linux)
42006 #
42007
42008 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42009
42010 cat >conftest.$ac_ext <<_ACEOF
42011 /* confdefs.h. */
42012 _ACEOF
42013 cat confdefs.h >>conftest.$ac_ext
42014 cat >>conftest.$ac_ext <<_ACEOF
42015 /* end confdefs.h. */
42016 #include <netdb.h>
42017 int
42018 main ()
42019 {
42020
42021 char *name = "www.gnu.org";
42022 struct hostent ret, *retp;
42023 char buf[1024];
42024 int buflen = 1024;
42025 int my_h_errno;
42026 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
42027
42028 ;
42029 return 0;
42030 }
42031 _ACEOF
42032 rm -f conftest.$ac_objext
42033 if { (ac_try="$ac_compile"
42034 case "(($ac_try" in
42035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42036 *) ac_try_echo=$ac_try;;
42037 esac
42038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42039 (eval "$ac_compile") 2>conftest.er1
42040 ac_status=$?
42041 grep -v '^ *+' conftest.er1 >conftest.err
42042 rm -f conftest.er1
42043 cat conftest.err >&5
42044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42045 (exit $ac_status); } && {
42046 test -z "$ac_c_werror_flag" ||
42047 test ! -s conftest.err
42048 } && test -s conftest.$ac_objext; then
42049 ac_cv_func_which_gethostbyname_r=six
42050 else
42051 echo "$as_me: failed program was:" >&5
42052 sed 's/^/| /' conftest.$ac_ext >&5
42053
42054
42055 fi
42056
42057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42058
42059 fi
42060
42061 #
42062 # FIVE ARGUMENTS
42063 # (e.g. Solaris)
42064 #
42065
42066 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42067
42068 cat >conftest.$ac_ext <<_ACEOF
42069 /* confdefs.h. */
42070 _ACEOF
42071 cat confdefs.h >>conftest.$ac_ext
42072 cat >>conftest.$ac_ext <<_ACEOF
42073 /* end confdefs.h. */
42074 #include <netdb.h>
42075 int
42076 main ()
42077 {
42078
42079 char *name = "www.gnu.org";
42080 struct hostent ret;
42081 char buf[1024];
42082 int buflen = 1024;
42083 int my_h_errno;
42084 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
42085
42086 ;
42087 return 0;
42088 }
42089 _ACEOF
42090 rm -f conftest.$ac_objext
42091 if { (ac_try="$ac_compile"
42092 case "(($ac_try" in
42093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42094 *) ac_try_echo=$ac_try;;
42095 esac
42096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42097 (eval "$ac_compile") 2>conftest.er1
42098 ac_status=$?
42099 grep -v '^ *+' conftest.er1 >conftest.err
42100 rm -f conftest.er1
42101 cat conftest.err >&5
42102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42103 (exit $ac_status); } && {
42104 test -z "$ac_c_werror_flag" ||
42105 test ! -s conftest.err
42106 } && test -s conftest.$ac_objext; then
42107 ac_cv_func_which_gethostbyname_r=five
42108 else
42109 echo "$as_me: failed program was:" >&5
42110 sed 's/^/| /' conftest.$ac_ext >&5
42111
42112
42113 fi
42114
42115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42116
42117 fi
42118
42119 #
42120 # THREE ARGUMENTS
42121 # (e.g. AIX, HP-UX, Tru64)
42122 #
42123
42124 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42125
42126 cat >conftest.$ac_ext <<_ACEOF
42127 /* confdefs.h. */
42128 _ACEOF
42129 cat confdefs.h >>conftest.$ac_ext
42130 cat >>conftest.$ac_ext <<_ACEOF
42131 /* end confdefs.h. */
42132 #include <netdb.h>
42133 int
42134 main ()
42135 {
42136
42137 char *name = "www.gnu.org";
42138 struct hostent ret;
42139 struct hostent_data data;
42140 (void)gethostbyname_r(name, &ret, &data) /* ; */
42141
42142 ;
42143 return 0;
42144 }
42145 _ACEOF
42146 rm -f conftest.$ac_objext
42147 if { (ac_try="$ac_compile"
42148 case "(($ac_try" in
42149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42150 *) ac_try_echo=$ac_try;;
42151 esac
42152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42153 (eval "$ac_compile") 2>conftest.er1
42154 ac_status=$?
42155 grep -v '^ *+' conftest.er1 >conftest.err
42156 rm -f conftest.er1
42157 cat conftest.err >&5
42158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42159 (exit $ac_status); } && {
42160 test -z "$ac_c_werror_flag" ||
42161 test ! -s conftest.err
42162 } && test -s conftest.$ac_objext; then
42163 ac_cv_func_which_gethostbyname_r=three
42164 else
42165 echo "$as_me: failed program was:" >&5
42166 sed 's/^/| /' conftest.$ac_ext >&5
42167
42168
42169 fi
42170
42171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42172
42173 fi
42174
42175 ################################################################
42176
42177
42178 fi
42179
42180 case "$ac_cv_func_which_gethostbyname_r" in
42181 three)
42182 { echo "$as_me:$LINENO: result: three" >&5
42183 echo "${ECHO_T}three" >&6; }
42184 cat >>confdefs.h <<\_ACEOF
42185 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
42186 _ACEOF
42187
42188 ;;
42189
42190 five)
42191 { echo "$as_me:$LINENO: result: five" >&5
42192 echo "${ECHO_T}five" >&6; }
42193 cat >>confdefs.h <<\_ACEOF
42194 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
42195 _ACEOF
42196
42197 ;;
42198
42199 six)
42200 { echo "$as_me:$LINENO: result: six" >&5
42201 echo "${ECHO_T}six" >&6; }
42202 cat >>confdefs.h <<\_ACEOF
42203 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
42204 _ACEOF
42205
42206 ;;
42207
42208 no)
42209 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
42210 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
42211 ;;
42212
42213 unknown)
42214 { echo "$as_me:$LINENO: result: can't tell" >&5
42215 echo "${ECHO_T}can't tell" >&6; }
42216 ;;
42217
42218 *)
42219 { { echo "$as_me:$LINENO: error: internal error" >&5
42220 echo "$as_me: error: internal error" >&2;}
42221 { (exit 1); exit 1; }; }
42222 ;;
42223 esac
42224
42225 ac_ext=c
42226 ac_cpp='$CPP $CPPFLAGS'
42227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42230
42231
42232
42233 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
42234 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
42235 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
42236 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
42237 if test "${ac_cv_func_gethostbyname+set}" = set; then
42238 echo $ECHO_N "(cached) $ECHO_C" >&6
42239 else
42240 cat >conftest.$ac_ext <<_ACEOF
42241 /* confdefs.h. */
42242 _ACEOF
42243 cat confdefs.h >>conftest.$ac_ext
42244 cat >>conftest.$ac_ext <<_ACEOF
42245 /* end confdefs.h. */
42246 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
42247 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42248 #define gethostbyname innocuous_gethostbyname
42249
42250 /* System header to define __stub macros and hopefully few prototypes,
42251 which can conflict with char gethostbyname (); below.
42252 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42253 <limits.h> exists even on freestanding compilers. */
42254
42255 #ifdef __STDC__
42256 # include <limits.h>
42257 #else
42258 # include <assert.h>
42259 #endif
42260
42261 #undef gethostbyname
42262
42263 /* Override any GCC internal prototype to avoid an error.
42264 Use char because int might match the return type of a GCC
42265 builtin and then its argument prototype would still apply. */
42266 #ifdef __cplusplus
42267 extern "C"
42268 #endif
42269 char gethostbyname ();
42270 /* The GNU C library defines this for functions which it implements
42271 to always fail with ENOSYS. Some functions are actually named
42272 something starting with __ and the normal name is an alias. */
42273 #if defined __stub_gethostbyname || defined __stub___gethostbyname
42274 choke me
42275 #endif
42276
42277 int
42278 main ()
42279 {
42280 return gethostbyname ();
42281 ;
42282 return 0;
42283 }
42284 _ACEOF
42285 rm -f conftest.$ac_objext conftest$ac_exeext
42286 if { (ac_try="$ac_link"
42287 case "(($ac_try" in
42288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42289 *) ac_try_echo=$ac_try;;
42290 esac
42291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42292 (eval "$ac_link") 2>conftest.er1
42293 ac_status=$?
42294 grep -v '^ *+' conftest.er1 >conftest.err
42295 rm -f conftest.er1
42296 cat conftest.err >&5
42297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42298 (exit $ac_status); } && {
42299 test -z "$ac_c_werror_flag" ||
42300 test ! -s conftest.err
42301 } && test -s conftest$ac_exeext &&
42302 $as_test_x conftest$ac_exeext; then
42303 ac_cv_func_gethostbyname=yes
42304 else
42305 echo "$as_me: failed program was:" >&5
42306 sed 's/^/| /' conftest.$ac_ext >&5
42307
42308 ac_cv_func_gethostbyname=no
42309 fi
42310
42311 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42312 conftest$ac_exeext conftest.$ac_ext
42313 fi
42314 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
42315 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
42316 if test $ac_cv_func_gethostbyname = yes; then
42317 cat >>confdefs.h <<\_ACEOF
42318 #define HAVE_GETHOSTBYNAME 1
42319 _ACEOF
42320
42321 fi
42322
42323 fi
42324
42325 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
42326 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
42327 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
42328 echo $ECHO_N "(cached) $ECHO_C" >&6
42329 else
42330
42331 ac_ext=cpp
42332 ac_cpp='$CXXCPP $CPPFLAGS'
42333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42336
42337
42338 cat >conftest.$ac_ext <<_ACEOF
42339 /* confdefs.h. */
42340 _ACEOF
42341 cat confdefs.h >>conftest.$ac_ext
42342 cat >>conftest.$ac_ext <<_ACEOF
42343 /* end confdefs.h. */
42344 #include <netdb.h>
42345 int
42346 main ()
42347 {
42348
42349 char *name;
42350 char *proto;
42351 struct servent *se, *res;
42352 char buffer[2048];
42353 int buflen = 2048;
42354 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
42355
42356 ;
42357 return 0;
42358 }
42359 _ACEOF
42360 rm -f conftest.$ac_objext
42361 if { (ac_try="$ac_compile"
42362 case "(($ac_try" in
42363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42364 *) ac_try_echo=$ac_try;;
42365 esac
42366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42367 (eval "$ac_compile") 2>conftest.er1
42368 ac_status=$?
42369 grep -v '^ *+' conftest.er1 >conftest.err
42370 rm -f conftest.er1
42371 cat conftest.err >&5
42372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42373 (exit $ac_status); } && {
42374 test -z "$ac_cxx_werror_flag" ||
42375 test ! -s conftest.err
42376 } && test -s conftest.$ac_objext; then
42377 ac_cv_func_which_getservbyname_r=six
42378 else
42379 echo "$as_me: failed program was:" >&5
42380 sed 's/^/| /' conftest.$ac_ext >&5
42381
42382
42383 cat >conftest.$ac_ext <<_ACEOF
42384 /* confdefs.h. */
42385 _ACEOF
42386 cat confdefs.h >>conftest.$ac_ext
42387 cat >>conftest.$ac_ext <<_ACEOF
42388 /* end confdefs.h. */
42389 #include <netdb.h>
42390 int
42391 main ()
42392 {
42393
42394 char *name;
42395 char *proto;
42396 struct servent *se;
42397 char buffer[2048];
42398 int buflen = 2048;
42399 (void) getservbyname_r(name, proto, se, buffer, buflen)
42400
42401 ;
42402 return 0;
42403 }
42404 _ACEOF
42405 rm -f conftest.$ac_objext
42406 if { (ac_try="$ac_compile"
42407 case "(($ac_try" in
42408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42409 *) ac_try_echo=$ac_try;;
42410 esac
42411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42412 (eval "$ac_compile") 2>conftest.er1
42413 ac_status=$?
42414 grep -v '^ *+' conftest.er1 >conftest.err
42415 rm -f conftest.er1
42416 cat conftest.err >&5
42417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42418 (exit $ac_status); } && {
42419 test -z "$ac_cxx_werror_flag" ||
42420 test ! -s conftest.err
42421 } && test -s conftest.$ac_objext; then
42422 ac_cv_func_which_getservbyname_r=five
42423 else
42424 echo "$as_me: failed program was:" >&5
42425 sed 's/^/| /' conftest.$ac_ext >&5
42426
42427
42428 cat >conftest.$ac_ext <<_ACEOF
42429 /* confdefs.h. */
42430 _ACEOF
42431 cat confdefs.h >>conftest.$ac_ext
42432 cat >>conftest.$ac_ext <<_ACEOF
42433 /* end confdefs.h. */
42434 #include <netdb.h>
42435 int
42436 main ()
42437 {
42438
42439 char *name;
42440 char *proto;
42441 struct servent *se;
42442 struct servent_data data;
42443 (void) getservbyname_r(name, proto, se, &data);
42444
42445 ;
42446 return 0;
42447 }
42448 _ACEOF
42449 rm -f conftest.$ac_objext
42450 if { (ac_try="$ac_compile"
42451 case "(($ac_try" in
42452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42453 *) ac_try_echo=$ac_try;;
42454 esac
42455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42456 (eval "$ac_compile") 2>conftest.er1
42457 ac_status=$?
42458 grep -v '^ *+' conftest.er1 >conftest.err
42459 rm -f conftest.er1
42460 cat conftest.err >&5
42461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42462 (exit $ac_status); } && {
42463 test -z "$ac_cxx_werror_flag" ||
42464 test ! -s conftest.err
42465 } && test -s conftest.$ac_objext; then
42466 ac_cv_func_which_getservbyname_r=four
42467 else
42468 echo "$as_me: failed program was:" >&5
42469 sed 's/^/| /' conftest.$ac_ext >&5
42470
42471 ac_cv_func_which_getservbyname_r=no
42472
42473 fi
42474
42475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42476
42477
42478 fi
42479
42480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42481
42482
42483 fi
42484
42485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42486 ac_ext=c
42487 ac_cpp='$CPP $CPPFLAGS'
42488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42491
42492
42493
42494 fi
42495 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
42496 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
42497
42498 if test $ac_cv_func_which_getservbyname_r = six; then
42499 cat >>confdefs.h <<\_ACEOF
42500 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
42501 _ACEOF
42502
42503 elif test $ac_cv_func_which_getservbyname_r = five; then
42504 cat >>confdefs.h <<\_ACEOF
42505 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
42506 _ACEOF
42507
42508 elif test $ac_cv_func_which_getservbyname_r = four; then
42509 cat >>confdefs.h <<\_ACEOF
42510 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
42511 _ACEOF
42512
42513 fi
42514
42515
42516 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
42517 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
42518
42519 for ac_func in getservbyname
42520 do
42521 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42522 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42523 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42524 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42525 echo $ECHO_N "(cached) $ECHO_C" >&6
42526 else
42527 cat >conftest.$ac_ext <<_ACEOF
42528 /* confdefs.h. */
42529 _ACEOF
42530 cat confdefs.h >>conftest.$ac_ext
42531 cat >>conftest.$ac_ext <<_ACEOF
42532 /* end confdefs.h. */
42533 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42534 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42535 #define $ac_func innocuous_$ac_func
42536
42537 /* System header to define __stub macros and hopefully few prototypes,
42538 which can conflict with char $ac_func (); below.
42539 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42540 <limits.h> exists even on freestanding compilers. */
42541
42542 #ifdef __STDC__
42543 # include <limits.h>
42544 #else
42545 # include <assert.h>
42546 #endif
42547
42548 #undef $ac_func
42549
42550 /* Override any GCC internal prototype to avoid an error.
42551 Use char because int might match the return type of a GCC
42552 builtin and then its argument prototype would still apply. */
42553 #ifdef __cplusplus
42554 extern "C"
42555 #endif
42556 char $ac_func ();
42557 /* The GNU C library defines this for functions which it implements
42558 to always fail with ENOSYS. Some functions are actually named
42559 something starting with __ and the normal name is an alias. */
42560 #if defined __stub_$ac_func || defined __stub___$ac_func
42561 choke me
42562 #endif
42563
42564 int
42565 main ()
42566 {
42567 return $ac_func ();
42568 ;
42569 return 0;
42570 }
42571 _ACEOF
42572 rm -f conftest.$ac_objext conftest$ac_exeext
42573 if { (ac_try="$ac_link"
42574 case "(($ac_try" in
42575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42576 *) ac_try_echo=$ac_try;;
42577 esac
42578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42579 (eval "$ac_link") 2>conftest.er1
42580 ac_status=$?
42581 grep -v '^ *+' conftest.er1 >conftest.err
42582 rm -f conftest.er1
42583 cat conftest.err >&5
42584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42585 (exit $ac_status); } && {
42586 test -z "$ac_c_werror_flag" ||
42587 test ! -s conftest.err
42588 } && test -s conftest$ac_exeext &&
42589 $as_test_x conftest$ac_exeext; then
42590 eval "$as_ac_var=yes"
42591 else
42592 echo "$as_me: failed program was:" >&5
42593 sed 's/^/| /' conftest.$ac_ext >&5
42594
42595 eval "$as_ac_var=no"
42596 fi
42597
42598 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42599 conftest$ac_exeext conftest.$ac_ext
42600 fi
42601 ac_res=`eval echo '${'$as_ac_var'}'`
42602 { echo "$as_me:$LINENO: result: $ac_res" >&5
42603 echo "${ECHO_T}$ac_res" >&6; }
42604 if test `eval echo '${'$as_ac_var'}'` = yes; then
42605 cat >>confdefs.h <<_ACEOF
42606 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42607 _ACEOF
42608 cat >>confdefs.h <<\_ACEOF
42609 #define HAVE_GETSERVBYNAME 1
42610 _ACEOF
42611
42612 fi
42613 done
42614
42615 fi
42616
42617 if test "$wxUSE_THREADS" = "yes"; then
42618 cat >>confdefs.h <<\_ACEOF
42619 #define wxUSE_THREADS 1
42620 _ACEOF
42621
42622
42623 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
42624 else
42625 if test "$wx_cv_func_strtok_r" = "yes"; then
42626 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
42627 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
42628 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
42629 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
42630 { echo "$as_me:$LINENO: result: yes" >&5
42631 echo "${ECHO_T}yes" >&6; }
42632 else
42633 { echo "$as_me:$LINENO: result: no" >&5
42634 echo "${ECHO_T}no" >&6; }
42635 fi
42636 fi
42637 fi
42638
42639 if test "$WXGTK2" = 1 ; then
42640 cat >>confdefs.h <<_ACEOF
42641 #define __WXGTK20__ $WXGTK2
42642 _ACEOF
42643
42644 WXGTK12=1
42645 fi
42646
42647 if test "$WXGTK12" = 1 ; then
42648 cat >>confdefs.h <<_ACEOF
42649 #define __WXGTK12__ $WXGTK12
42650 _ACEOF
42651
42652 fi
42653
42654 if test "$WXGTK127" = 1 ; then
42655 cat >>confdefs.h <<_ACEOF
42656 #define __WXGTK127__ $WXGTK127
42657 _ACEOF
42658
42659 fi
42660
42661 if test "$WXGPE" = 1 ; then
42662 cat >>confdefs.h <<_ACEOF
42663 #define __WXGPE__ $WXGPE
42664 _ACEOF
42665
42666 fi
42667
42668 DEBUG_CFLAGS=
42669 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
42670 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
42671 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
42672 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
42673 DEBUG_CFLAGS="-g"
42674 fi
42675
42676 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
42677 wxUSE_DEBUG_INFO=yes
42678 if test "$GCC" = yes; then
42679 DEBUG_CFLAGS="-ggdb"
42680 fi
42681 fi
42682
42683 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
42684 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
42685
42686 if test "$wxUSE_GTK" = 1 ; then
42687 if test "x$wxGTK_VERSION" = "x1" ; then
42688 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
42689 fi
42690 fi
42691 fi
42692
42693 if test "$wxUSE_MEM_TRACING" = "yes" ; then
42694 cat >>confdefs.h <<\_ACEOF
42695 #define wxUSE_MEMORY_TRACING 1
42696 _ACEOF
42697
42698 cat >>confdefs.h <<\_ACEOF
42699 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
42700 _ACEOF
42701
42702 cat >>confdefs.h <<\_ACEOF
42703 #define wxUSE_DEBUG_NEW_ALWAYS 1
42704 _ACEOF
42705
42706 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
42707 fi
42708
42709 if test "$wxUSE_DMALLOC" = "yes" ; then
42710 DMALLOC_LIBS="-ldmallocthcxx"
42711 fi
42712
42713 PROFILE_FLAGS=
42714 if test "$wxUSE_PROFILE" = "yes" ; then
42715 PROFILE_FLAGS=" -pg"
42716 fi
42717
42718 if test "$GCC" = "yes" ; then
42719 if test "$wxUSE_NO_RTTI" = "yes" ; then
42720 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
42721 fi
42722 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
42723 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
42724 fi
42725 if test "$wxUSE_PERMISSIVE" = "yes" ; then
42726 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
42727 fi
42728
42729 case "${host}" in
42730 powerpc*-*-aix* )
42731 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
42732 ;;
42733 *-hppa* )
42734 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
42735 ;;
42736 esac
42737 fi
42738
42739 OPTIMISE_CFLAGS=
42740 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
42741 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
42742 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
42743 else
42744 if test "$wxUSE_OPTIMISE" = "no" ; then
42745 if test "$GCC" = yes ; then
42746 OPTIMISE_CFLAGS="-O0"
42747 fi
42748 else
42749 if test "$GCC" = yes ; then
42750 case "${host}" in
42751 *-pc-os2_emx | *-pc-os2-emx )
42752 OPTIMISE_CFLAGS="-O2"
42753 ;;
42754 *)
42755 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
42756 ;;
42757 esac
42758 else
42759 OPTIMISE_CFLAGS="-O"
42760 fi
42761 fi
42762 fi
42763
42764
42765 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
42766 cat >>confdefs.h <<\_ACEOF
42767 #define WXWIN_COMPATIBILITY_2_6 1
42768 _ACEOF
42769
42770
42771 WXWIN_COMPATIBILITY_2_8="yes"
42772 fi
42773
42774 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
42775 cat >>confdefs.h <<\_ACEOF
42776 #define WXWIN_COMPATIBILITY_2_8 1
42777 _ACEOF
42778
42779 fi
42780
42781
42782 if test "$wxUSE_GUI" = "yes"; then
42783 cat >>confdefs.h <<\_ACEOF
42784 #define wxUSE_GUI 1
42785 _ACEOF
42786
42787
42788 fi
42789
42790
42791 if test "$wxUSE_UNIX" = "yes"; then
42792 cat >>confdefs.h <<\_ACEOF
42793 #define wxUSE_UNIX 1
42794 _ACEOF
42795
42796 fi
42797
42798
42799 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
42800
42801 HAVE_DL_FUNCS=0
42802 HAVE_SHL_FUNCS=0
42803 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42804 if test "$USE_DOS" = 1; then
42805 HAVE_DL_FUNCS=0
42806 else
42807
42808 for ac_func in dlopen
42809 do
42810 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42811 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42812 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42813 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42814 echo $ECHO_N "(cached) $ECHO_C" >&6
42815 else
42816 cat >conftest.$ac_ext <<_ACEOF
42817 /* confdefs.h. */
42818 _ACEOF
42819 cat confdefs.h >>conftest.$ac_ext
42820 cat >>conftest.$ac_ext <<_ACEOF
42821 /* end confdefs.h. */
42822 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42823 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42824 #define $ac_func innocuous_$ac_func
42825
42826 /* System header to define __stub macros and hopefully few prototypes,
42827 which can conflict with char $ac_func (); below.
42828 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42829 <limits.h> exists even on freestanding compilers. */
42830
42831 #ifdef __STDC__
42832 # include <limits.h>
42833 #else
42834 # include <assert.h>
42835 #endif
42836
42837 #undef $ac_func
42838
42839 /* Override any GCC internal prototype to avoid an error.
42840 Use char because int might match the return type of a GCC
42841 builtin and then its argument prototype would still apply. */
42842 #ifdef __cplusplus
42843 extern "C"
42844 #endif
42845 char $ac_func ();
42846 /* The GNU C library defines this for functions which it implements
42847 to always fail with ENOSYS. Some functions are actually named
42848 something starting with __ and the normal name is an alias. */
42849 #if defined __stub_$ac_func || defined __stub___$ac_func
42850 choke me
42851 #endif
42852
42853 int
42854 main ()
42855 {
42856 return $ac_func ();
42857 ;
42858 return 0;
42859 }
42860 _ACEOF
42861 rm -f conftest.$ac_objext conftest$ac_exeext
42862 if { (ac_try="$ac_link"
42863 case "(($ac_try" in
42864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42865 *) ac_try_echo=$ac_try;;
42866 esac
42867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42868 (eval "$ac_link") 2>conftest.er1
42869 ac_status=$?
42870 grep -v '^ *+' conftest.er1 >conftest.err
42871 rm -f conftest.er1
42872 cat conftest.err >&5
42873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42874 (exit $ac_status); } && {
42875 test -z "$ac_c_werror_flag" ||
42876 test ! -s conftest.err
42877 } && test -s conftest$ac_exeext &&
42878 $as_test_x conftest$ac_exeext; then
42879 eval "$as_ac_var=yes"
42880 else
42881 echo "$as_me: failed program was:" >&5
42882 sed 's/^/| /' conftest.$ac_ext >&5
42883
42884 eval "$as_ac_var=no"
42885 fi
42886
42887 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42888 conftest$ac_exeext conftest.$ac_ext
42889 fi
42890 ac_res=`eval echo '${'$as_ac_var'}'`
42891 { echo "$as_me:$LINENO: result: $ac_res" >&5
42892 echo "${ECHO_T}$ac_res" >&6; }
42893 if test `eval echo '${'$as_ac_var'}'` = yes; then
42894 cat >>confdefs.h <<_ACEOF
42895 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42896 _ACEOF
42897
42898 cat >>confdefs.h <<\_ACEOF
42899 #define HAVE_DLOPEN 1
42900 _ACEOF
42901
42902 HAVE_DL_FUNCS=1
42903
42904 else
42905
42906 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
42907 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
42908 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
42909 echo $ECHO_N "(cached) $ECHO_C" >&6
42910 else
42911 ac_check_lib_save_LIBS=$LIBS
42912 LIBS="-ldl $LIBS"
42913 cat >conftest.$ac_ext <<_ACEOF
42914 /* confdefs.h. */
42915 _ACEOF
42916 cat confdefs.h >>conftest.$ac_ext
42917 cat >>conftest.$ac_ext <<_ACEOF
42918 /* end confdefs.h. */
42919
42920 /* Override any GCC internal prototype to avoid an error.
42921 Use char because int might match the return type of a GCC
42922 builtin and then its argument prototype would still apply. */
42923 #ifdef __cplusplus
42924 extern "C"
42925 #endif
42926 char dlopen ();
42927 int
42928 main ()
42929 {
42930 return dlopen ();
42931 ;
42932 return 0;
42933 }
42934 _ACEOF
42935 rm -f conftest.$ac_objext conftest$ac_exeext
42936 if { (ac_try="$ac_link"
42937 case "(($ac_try" in
42938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42939 *) ac_try_echo=$ac_try;;
42940 esac
42941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42942 (eval "$ac_link") 2>conftest.er1
42943 ac_status=$?
42944 grep -v '^ *+' conftest.er1 >conftest.err
42945 rm -f conftest.er1
42946 cat conftest.err >&5
42947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42948 (exit $ac_status); } && {
42949 test -z "$ac_c_werror_flag" ||
42950 test ! -s conftest.err
42951 } && test -s conftest$ac_exeext &&
42952 $as_test_x conftest$ac_exeext; then
42953 ac_cv_lib_dl_dlopen=yes
42954 else
42955 echo "$as_me: failed program was:" >&5
42956 sed 's/^/| /' conftest.$ac_ext >&5
42957
42958 ac_cv_lib_dl_dlopen=no
42959 fi
42960
42961 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42962 conftest$ac_exeext conftest.$ac_ext
42963 LIBS=$ac_check_lib_save_LIBS
42964 fi
42965 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
42966 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
42967 if test $ac_cv_lib_dl_dlopen = yes; then
42968
42969 cat >>confdefs.h <<\_ACEOF
42970 #define HAVE_DLOPEN 1
42971 _ACEOF
42972
42973 HAVE_DL_FUNCS=1
42974 DL_LINK=" -ldl$DL_LINK"
42975
42976 else
42977
42978
42979 for ac_func in shl_load
42980 do
42981 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42982 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42983 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42984 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42985 echo $ECHO_N "(cached) $ECHO_C" >&6
42986 else
42987 cat >conftest.$ac_ext <<_ACEOF
42988 /* confdefs.h. */
42989 _ACEOF
42990 cat confdefs.h >>conftest.$ac_ext
42991 cat >>conftest.$ac_ext <<_ACEOF
42992 /* end confdefs.h. */
42993 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42994 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42995 #define $ac_func innocuous_$ac_func
42996
42997 /* System header to define __stub macros and hopefully few prototypes,
42998 which can conflict with char $ac_func (); below.
42999 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43000 <limits.h> exists even on freestanding compilers. */
43001
43002 #ifdef __STDC__
43003 # include <limits.h>
43004 #else
43005 # include <assert.h>
43006 #endif
43007
43008 #undef $ac_func
43009
43010 /* Override any GCC internal prototype to avoid an error.
43011 Use char because int might match the return type of a GCC
43012 builtin and then its argument prototype would still apply. */
43013 #ifdef __cplusplus
43014 extern "C"
43015 #endif
43016 char $ac_func ();
43017 /* The GNU C library defines this for functions which it implements
43018 to always fail with ENOSYS. Some functions are actually named
43019 something starting with __ and the normal name is an alias. */
43020 #if defined __stub_$ac_func || defined __stub___$ac_func
43021 choke me
43022 #endif
43023
43024 int
43025 main ()
43026 {
43027 return $ac_func ();
43028 ;
43029 return 0;
43030 }
43031 _ACEOF
43032 rm -f conftest.$ac_objext conftest$ac_exeext
43033 if { (ac_try="$ac_link"
43034 case "(($ac_try" in
43035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43036 *) ac_try_echo=$ac_try;;
43037 esac
43038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43039 (eval "$ac_link") 2>conftest.er1
43040 ac_status=$?
43041 grep -v '^ *+' conftest.er1 >conftest.err
43042 rm -f conftest.er1
43043 cat conftest.err >&5
43044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43045 (exit $ac_status); } && {
43046 test -z "$ac_c_werror_flag" ||
43047 test ! -s conftest.err
43048 } && test -s conftest$ac_exeext &&
43049 $as_test_x conftest$ac_exeext; then
43050 eval "$as_ac_var=yes"
43051 else
43052 echo "$as_me: failed program was:" >&5
43053 sed 's/^/| /' conftest.$ac_ext >&5
43054
43055 eval "$as_ac_var=no"
43056 fi
43057
43058 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43059 conftest$ac_exeext conftest.$ac_ext
43060 fi
43061 ac_res=`eval echo '${'$as_ac_var'}'`
43062 { echo "$as_me:$LINENO: result: $ac_res" >&5
43063 echo "${ECHO_T}$ac_res" >&6; }
43064 if test `eval echo '${'$as_ac_var'}'` = yes; then
43065 cat >>confdefs.h <<_ACEOF
43066 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43067 _ACEOF
43068
43069 cat >>confdefs.h <<\_ACEOF
43070 #define HAVE_SHL_LOAD 1
43071 _ACEOF
43072
43073 HAVE_SHL_FUNCS=1
43074
43075 else
43076
43077 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
43078 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
43079 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
43080 echo $ECHO_N "(cached) $ECHO_C" >&6
43081 else
43082 ac_check_lib_save_LIBS=$LIBS
43083 LIBS="-lshl_load $LIBS"
43084 cat >conftest.$ac_ext <<_ACEOF
43085 /* confdefs.h. */
43086 _ACEOF
43087 cat confdefs.h >>conftest.$ac_ext
43088 cat >>conftest.$ac_ext <<_ACEOF
43089 /* end confdefs.h. */
43090
43091 /* Override any GCC internal prototype to avoid an error.
43092 Use char because int might match the return type of a GCC
43093 builtin and then its argument prototype would still apply. */
43094 #ifdef __cplusplus
43095 extern "C"
43096 #endif
43097 char dld ();
43098 int
43099 main ()
43100 {
43101 return dld ();
43102 ;
43103 return 0;
43104 }
43105 _ACEOF
43106 rm -f conftest.$ac_objext conftest$ac_exeext
43107 if { (ac_try="$ac_link"
43108 case "(($ac_try" in
43109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43110 *) ac_try_echo=$ac_try;;
43111 esac
43112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43113 (eval "$ac_link") 2>conftest.er1
43114 ac_status=$?
43115 grep -v '^ *+' conftest.er1 >conftest.err
43116 rm -f conftest.er1
43117 cat conftest.err >&5
43118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43119 (exit $ac_status); } && {
43120 test -z "$ac_c_werror_flag" ||
43121 test ! -s conftest.err
43122 } && test -s conftest$ac_exeext &&
43123 $as_test_x conftest$ac_exeext; then
43124 ac_cv_lib_shl_load_dld=yes
43125 else
43126 echo "$as_me: failed program was:" >&5
43127 sed 's/^/| /' conftest.$ac_ext >&5
43128
43129 ac_cv_lib_shl_load_dld=no
43130 fi
43131
43132 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43133 conftest$ac_exeext conftest.$ac_ext
43134 LIBS=$ac_check_lib_save_LIBS
43135 fi
43136 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
43137 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
43138 if test $ac_cv_lib_shl_load_dld = yes; then
43139
43140 HAVE_SHL_FUNCS=1
43141 DL_LINK=" -ldld$DL_LINK"
43142
43143 fi
43144
43145
43146 fi
43147 done
43148
43149
43150 fi
43151
43152
43153 fi
43154 done
43155
43156
43157 if test "$HAVE_DL_FUNCS" = 1; then
43158
43159 for ac_func in dlerror
43160 do
43161 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43162 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43163 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43164 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43165 echo $ECHO_N "(cached) $ECHO_C" >&6
43166 else
43167 cat >conftest.$ac_ext <<_ACEOF
43168 /* confdefs.h. */
43169 _ACEOF
43170 cat confdefs.h >>conftest.$ac_ext
43171 cat >>conftest.$ac_ext <<_ACEOF
43172 /* end confdefs.h. */
43173 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43174 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43175 #define $ac_func innocuous_$ac_func
43176
43177 /* System header to define __stub macros and hopefully few prototypes,
43178 which can conflict with char $ac_func (); below.
43179 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43180 <limits.h> exists even on freestanding compilers. */
43181
43182 #ifdef __STDC__
43183 # include <limits.h>
43184 #else
43185 # include <assert.h>
43186 #endif
43187
43188 #undef $ac_func
43189
43190 /* Override any GCC internal prototype to avoid an error.
43191 Use char because int might match the return type of a GCC
43192 builtin and then its argument prototype would still apply. */
43193 #ifdef __cplusplus
43194 extern "C"
43195 #endif
43196 char $ac_func ();
43197 /* The GNU C library defines this for functions which it implements
43198 to always fail with ENOSYS. Some functions are actually named
43199 something starting with __ and the normal name is an alias. */
43200 #if defined __stub_$ac_func || defined __stub___$ac_func
43201 choke me
43202 #endif
43203
43204 int
43205 main ()
43206 {
43207 return $ac_func ();
43208 ;
43209 return 0;
43210 }
43211 _ACEOF
43212 rm -f conftest.$ac_objext conftest$ac_exeext
43213 if { (ac_try="$ac_link"
43214 case "(($ac_try" in
43215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43216 *) ac_try_echo=$ac_try;;
43217 esac
43218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43219 (eval "$ac_link") 2>conftest.er1
43220 ac_status=$?
43221 grep -v '^ *+' conftest.er1 >conftest.err
43222 rm -f conftest.er1
43223 cat conftest.err >&5
43224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43225 (exit $ac_status); } && {
43226 test -z "$ac_c_werror_flag" ||
43227 test ! -s conftest.err
43228 } && test -s conftest$ac_exeext &&
43229 $as_test_x conftest$ac_exeext; then
43230 eval "$as_ac_var=yes"
43231 else
43232 echo "$as_me: failed program was:" >&5
43233 sed 's/^/| /' conftest.$ac_ext >&5
43234
43235 eval "$as_ac_var=no"
43236 fi
43237
43238 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43239 conftest$ac_exeext conftest.$ac_ext
43240 fi
43241 ac_res=`eval echo '${'$as_ac_var'}'`
43242 { echo "$as_me:$LINENO: result: $ac_res" >&5
43243 echo "${ECHO_T}$ac_res" >&6; }
43244 if test `eval echo '${'$as_ac_var'}'` = yes; then
43245 cat >>confdefs.h <<_ACEOF
43246 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43247 _ACEOF
43248 cat >>confdefs.h <<\_ACEOF
43249 #define HAVE_DLERROR 1
43250 _ACEOF
43251
43252 else
43253
43254 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
43255 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
43256 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
43257 echo $ECHO_N "(cached) $ECHO_C" >&6
43258 else
43259 ac_check_lib_save_LIBS=$LIBS
43260 LIBS="-ldl $LIBS"
43261 cat >conftest.$ac_ext <<_ACEOF
43262 /* confdefs.h. */
43263 _ACEOF
43264 cat confdefs.h >>conftest.$ac_ext
43265 cat >>conftest.$ac_ext <<_ACEOF
43266 /* end confdefs.h. */
43267
43268 /* Override any GCC internal prototype to avoid an error.
43269 Use char because int might match the return type of a GCC
43270 builtin and then its argument prototype would still apply. */
43271 #ifdef __cplusplus
43272 extern "C"
43273 #endif
43274 char dlerror ();
43275 int
43276 main ()
43277 {
43278 return dlerror ();
43279 ;
43280 return 0;
43281 }
43282 _ACEOF
43283 rm -f conftest.$ac_objext conftest$ac_exeext
43284 if { (ac_try="$ac_link"
43285 case "(($ac_try" in
43286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43287 *) ac_try_echo=$ac_try;;
43288 esac
43289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43290 (eval "$ac_link") 2>conftest.er1
43291 ac_status=$?
43292 grep -v '^ *+' conftest.er1 >conftest.err
43293 rm -f conftest.er1
43294 cat conftest.err >&5
43295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43296 (exit $ac_status); } && {
43297 test -z "$ac_c_werror_flag" ||
43298 test ! -s conftest.err
43299 } && test -s conftest$ac_exeext &&
43300 $as_test_x conftest$ac_exeext; then
43301 ac_cv_lib_dl_dlerror=yes
43302 else
43303 echo "$as_me: failed program was:" >&5
43304 sed 's/^/| /' conftest.$ac_ext >&5
43305
43306 ac_cv_lib_dl_dlerror=no
43307 fi
43308
43309 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43310 conftest$ac_exeext conftest.$ac_ext
43311 LIBS=$ac_check_lib_save_LIBS
43312 fi
43313 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
43314 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
43315 if test $ac_cv_lib_dl_dlerror = yes; then
43316 cat >>confdefs.h <<\_ACEOF
43317 #define HAVE_DLERROR 1
43318 _ACEOF
43319
43320 fi
43321
43322
43323
43324 fi
43325 done
43326
43327 fi
43328 fi
43329
43330 if test "$USE_DARWIN" = 1; then
43331 HAVE_DL_FUNCS=1
43332 fi
43333
43334 if test "$HAVE_DL_FUNCS" = 0; then
43335 if test "$HAVE_SHL_FUNCS" = 0; then
43336 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
43337 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
43338 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
43339 wxUSE_DYNAMIC_LOADER=no
43340 wxUSE_DYNLIB_CLASS=no
43341 else
43342 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
43343 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
43344 fi
43345 fi
43346 fi
43347 fi
43348 fi
43349
43350 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
43351 cat >>confdefs.h <<\_ACEOF
43352 #define wxUSE_DYNAMIC_LOADER 1
43353 _ACEOF
43354
43355 fi
43356 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43357 cat >>confdefs.h <<\_ACEOF
43358 #define wxUSE_DYNLIB_CLASS 1
43359 _ACEOF
43360
43361 fi
43362
43363
43364
43365 if test "$wxUSE_PLUGINS" = "yes" ; then
43366 if test "$wxUSE_SHARED" = "no" ; then
43367 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
43368 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
43369 wxUSE_PLUGINS=no
43370 fi
43371 if test "$wxUSE_MONOLITHIC" = "yes" ; then
43372 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
43373 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
43374 wxUSE_PLUGINS=no
43375 fi
43376 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
43377 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
43378 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
43379 wxUSE_PLUGINS=no
43380 fi
43381 if test "$wxUSE_PLUGINS" = "yes" ; then
43382 cat >>confdefs.h <<\_ACEOF
43383 #define wxUSE_PLUGINS 1
43384 _ACEOF
43385
43386 fi
43387 fi
43388
43389
43390 if test "$wxUSE_FSWATCHER" = "yes"; then
43391 if test "$wxUSE_MSW" != "1"; then
43392 if test "$wxUSE_UNIX" = "yes"; then
43393
43394 for ac_header in sys/inotify.h
43395 do
43396 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43397 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43398 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43399 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43400 echo $ECHO_N "(cached) $ECHO_C" >&6
43401 else
43402 cat >conftest.$ac_ext <<_ACEOF
43403 /* confdefs.h. */
43404 _ACEOF
43405 cat confdefs.h >>conftest.$ac_ext
43406 cat >>conftest.$ac_ext <<_ACEOF
43407 /* end confdefs.h. */
43408 $ac_includes_default
43409
43410 #include <$ac_header>
43411 _ACEOF
43412 rm -f conftest.$ac_objext
43413 if { (ac_try="$ac_compile"
43414 case "(($ac_try" in
43415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43416 *) ac_try_echo=$ac_try;;
43417 esac
43418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43419 (eval "$ac_compile") 2>conftest.er1
43420 ac_status=$?
43421 grep -v '^ *+' conftest.er1 >conftest.err
43422 rm -f conftest.er1
43423 cat conftest.err >&5
43424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43425 (exit $ac_status); } && {
43426 test -z "$ac_c_werror_flag" ||
43427 test ! -s conftest.err
43428 } && test -s conftest.$ac_objext; then
43429 eval "$as_ac_Header=yes"
43430 else
43431 echo "$as_me: failed program was:" >&5
43432 sed 's/^/| /' conftest.$ac_ext >&5
43433
43434 eval "$as_ac_Header=no"
43435 fi
43436
43437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43438 fi
43439 ac_res=`eval echo '${'$as_ac_Header'}'`
43440 { echo "$as_me:$LINENO: result: $ac_res" >&5
43441 echo "${ECHO_T}$ac_res" >&6; }
43442 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43443 cat >>confdefs.h <<_ACEOF
43444 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43445 _ACEOF
43446
43447 fi
43448
43449 done
43450
43451 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
43452 cat >>confdefs.h <<\_ACEOF
43453 #define wxHAS_INOTIFY 1
43454 _ACEOF
43455
43456 else
43457
43458 for ac_header in sys/event.h
43459 do
43460 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43461 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43462 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43463 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43464 echo $ECHO_N "(cached) $ECHO_C" >&6
43465 else
43466 cat >conftest.$ac_ext <<_ACEOF
43467 /* confdefs.h. */
43468 _ACEOF
43469 cat confdefs.h >>conftest.$ac_ext
43470 cat >>conftest.$ac_ext <<_ACEOF
43471 /* end confdefs.h. */
43472 $ac_includes_default
43473
43474 #include <$ac_header>
43475 _ACEOF
43476 rm -f conftest.$ac_objext
43477 if { (ac_try="$ac_compile"
43478 case "(($ac_try" in
43479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43480 *) ac_try_echo=$ac_try;;
43481 esac
43482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43483 (eval "$ac_compile") 2>conftest.er1
43484 ac_status=$?
43485 grep -v '^ *+' conftest.er1 >conftest.err
43486 rm -f conftest.er1
43487 cat conftest.err >&5
43488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43489 (exit $ac_status); } && {
43490 test -z "$ac_c_werror_flag" ||
43491 test ! -s conftest.err
43492 } && test -s conftest.$ac_objext; then
43493 eval "$as_ac_Header=yes"
43494 else
43495 echo "$as_me: failed program was:" >&5
43496 sed 's/^/| /' conftest.$ac_ext >&5
43497
43498 eval "$as_ac_Header=no"
43499 fi
43500
43501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43502 fi
43503 ac_res=`eval echo '${'$as_ac_Header'}'`
43504 { echo "$as_me:$LINENO: result: $ac_res" >&5
43505 echo "${ECHO_T}$ac_res" >&6; }
43506 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43507 cat >>confdefs.h <<_ACEOF
43508 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43509 _ACEOF
43510
43511 fi
43512
43513 done
43514
43515 if test "$ac_cv_header_sys_event_h" = "yes"; then
43516 cat >>confdefs.h <<\_ACEOF
43517 #define wxHAS_KQUEUE 1
43518 _ACEOF
43519
43520 else
43521 wxUSE_FSWATCHER=no
43522 fi
43523 fi
43524 else
43525 wxUSE_FSWATCHER=no
43526 fi
43527 fi
43528
43529 if test "$wxUSE_FSWATCHER" = "yes"; then
43530 cat >>confdefs.h <<\_ACEOF
43531 #define wxUSE_FSWATCHER 1
43532 _ACEOF
43533
43534 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
43535 else
43536 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
43537 echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
43538 fi
43539 fi
43540
43541
43542 if test "$wxUSE_STL" = "yes"; then
43543 cat >>confdefs.h <<\_ACEOF
43544 #define wxUSE_STL 1
43545 _ACEOF
43546
43547 fi
43548
43549 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
43550 cat >>confdefs.h <<\_ACEOF
43551 #define wxUSE_EXTENDED_RTTI 1
43552 _ACEOF
43553
43554 fi
43555
43556 if test "$wxUSE_ANY" = "yes"; then
43557 cat >>confdefs.h <<\_ACEOF
43558 #define wxUSE_ANY 1
43559 _ACEOF
43560
43561 fi
43562
43563 if test "$wxUSE_APPLE_IEEE" = "yes"; then
43564 cat >>confdefs.h <<\_ACEOF
43565 #define wxUSE_APPLE_IEEE 1
43566 _ACEOF
43567
43568 fi
43569
43570 if test "$wxUSE_TIMER" = "yes"; then
43571 cat >>confdefs.h <<\_ACEOF
43572 #define wxUSE_TIMER 1
43573 _ACEOF
43574
43575 fi
43576
43577 if test "$USE_UNIX" = 1 ; then
43578 if test "$wxUSE_MGL" != 1; then
43579 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
43580 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
43581 if test "${ac_cv_header_sys_soundcard+set}" = set; then
43582 echo $ECHO_N "(cached) $ECHO_C" >&6
43583 else
43584
43585 cat >conftest.$ac_ext <<_ACEOF
43586 /* confdefs.h. */
43587 _ACEOF
43588 cat confdefs.h >>conftest.$ac_ext
43589 cat >>conftest.$ac_ext <<_ACEOF
43590 /* end confdefs.h. */
43591
43592 #include <sys/ioctl.h>
43593 #include <sys/soundcard.h>
43594
43595 int
43596 main ()
43597 {
43598
43599 ioctl(0, SNDCTL_DSP_SPEED, 0);
43600
43601 ;
43602 return 0;
43603 }
43604 _ACEOF
43605 rm -f conftest.$ac_objext conftest$ac_exeext
43606 if { (ac_try="$ac_link"
43607 case "(($ac_try" in
43608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43609 *) ac_try_echo=$ac_try;;
43610 esac
43611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43612 (eval "$ac_link") 2>conftest.er1
43613 ac_status=$?
43614 grep -v '^ *+' conftest.er1 >conftest.err
43615 rm -f conftest.er1
43616 cat conftest.err >&5
43617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43618 (exit $ac_status); } && {
43619 test -z "$ac_c_werror_flag" ||
43620 test ! -s conftest.err
43621 } && test -s conftest$ac_exeext &&
43622 $as_test_x conftest$ac_exeext; then
43623 ac_cv_header_sys_soundcard=yes
43624 else
43625 echo "$as_me: failed program was:" >&5
43626 sed 's/^/| /' conftest.$ac_ext >&5
43627
43628
43629 saveLibs="$LIBS"
43630 LIBS="$saveLibs -lossaudio"
43631 cat >conftest.$ac_ext <<_ACEOF
43632 /* confdefs.h. */
43633 _ACEOF
43634 cat confdefs.h >>conftest.$ac_ext
43635 cat >>conftest.$ac_ext <<_ACEOF
43636 /* end confdefs.h. */
43637
43638 #include <sys/ioctl.h>
43639 #include <sys/soundcard.h>
43640
43641 int
43642 main ()
43643 {
43644
43645 ioctl(0, SNDCTL_DSP_SPEED, 0);
43646
43647 ;
43648 return 0;
43649 }
43650 _ACEOF
43651 rm -f conftest.$ac_objext conftest$ac_exeext
43652 if { (ac_try="$ac_link"
43653 case "(($ac_try" in
43654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43655 *) ac_try_echo=$ac_try;;
43656 esac
43657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43658 (eval "$ac_link") 2>conftest.er1
43659 ac_status=$?
43660 grep -v '^ *+' conftest.er1 >conftest.err
43661 rm -f conftest.er1
43662 cat conftest.err >&5
43663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43664 (exit $ac_status); } && {
43665 test -z "$ac_c_werror_flag" ||
43666 test ! -s conftest.err
43667 } && test -s conftest$ac_exeext &&
43668 $as_test_x conftest$ac_exeext; then
43669 ac_cv_header_sys_soundcard=yes
43670 else
43671 echo "$as_me: failed program was:" >&5
43672 sed 's/^/| /' conftest.$ac_ext >&5
43673
43674
43675 LIBS="$saveLibs"
43676 ac_cv_header_sys_soundcard=no
43677
43678
43679 fi
43680
43681 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43682 conftest$ac_exeext conftest.$ac_ext
43683
43684
43685 fi
43686
43687 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43688 conftest$ac_exeext conftest.$ac_ext
43689
43690 fi
43691 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
43692 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
43693 fi
43694
43695 if test "$ac_cv_header_sys_soundcard" = "yes"; then
43696 cat >>confdefs.h <<\_ACEOF
43697 #define HAVE_SYS_SOUNDCARD_H 1
43698 _ACEOF
43699
43700 fi
43701 fi
43702
43703 WITH_PLUGIN_SDL=0
43704 if test "$wxUSE_SOUND" = "yes"; then
43705 if test "$USE_UNIX" = 1 ; then
43706 if test "$wxUSE_LIBSDL" != "no"; then
43707
43708 # Check whether --with-sdl-prefix was given.
43709 if test "${with_sdl_prefix+set}" = set; then
43710 withval=$with_sdl_prefix; sdl_prefix="$withval"
43711 else
43712 sdl_prefix=""
43713 fi
43714
43715
43716 # Check whether --with-sdl-exec-prefix was given.
43717 if test "${with_sdl_exec_prefix+set}" = set; then
43718 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
43719 else
43720 sdl_exec_prefix=""
43721 fi
43722
43723 # Check whether --enable-sdltest was given.
43724 if test "${enable_sdltest+set}" = set; then
43725 enableval=$enable_sdltest;
43726 else
43727 enable_sdltest=yes
43728 fi
43729
43730
43731 if test x$sdl_exec_prefix != x ; then
43732 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
43733 if test x${SDL_CONFIG+set} != xset ; then
43734 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
43735 fi
43736 fi
43737 if test x$sdl_prefix != x ; then
43738 sdl_args="$sdl_args --prefix=$sdl_prefix"
43739 if test x${SDL_CONFIG+set} != xset ; then
43740 SDL_CONFIG=$sdl_prefix/bin/sdl-config
43741 fi
43742 fi
43743
43744 if test "x$prefix" != xNONE; then
43745 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
43746 fi
43747 # Extract the first word of "sdl-config", so it can be a program name with args.
43748 set dummy sdl-config; ac_word=$2
43749 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43751 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
43752 echo $ECHO_N "(cached) $ECHO_C" >&6
43753 else
43754 case $SDL_CONFIG in
43755 [\\/]* | ?:[\\/]*)
43756 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
43757 ;;
43758 *)
43759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43760 for as_dir in $PATH
43761 do
43762 IFS=$as_save_IFS
43763 test -z "$as_dir" && as_dir=.
43764 for ac_exec_ext in '' $ac_executable_extensions; do
43765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43766 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43767 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43768 break 2
43769 fi
43770 done
43771 done
43772 IFS=$as_save_IFS
43773
43774 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
43775 ;;
43776 esac
43777 fi
43778 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
43779 if test -n "$SDL_CONFIG"; then
43780 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
43781 echo "${ECHO_T}$SDL_CONFIG" >&6; }
43782 else
43783 { echo "$as_me:$LINENO: result: no" >&5
43784 echo "${ECHO_T}no" >&6; }
43785 fi
43786
43787
43788 min_sdl_version=1.2.0
43789 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
43790 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
43791 no_sdl=""
43792 if test "$SDL_CONFIG" = "no" ; then
43793 no_sdl=yes
43794 else
43795 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
43796 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
43797
43798 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
43799 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43800 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
43801 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43802 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
43803 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43804 if test "x$enable_sdltest" = "xyes" ; then
43805 ac_save_CFLAGS="$CFLAGS"
43806 ac_save_CXXFLAGS="$CXXFLAGS"
43807 ac_save_LIBS="$LIBS"
43808 CFLAGS="$CFLAGS $SDL_CFLAGS"
43809 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43810 LIBS="$LIBS $SDL_LIBS"
43811 rm -f conf.sdltest
43812 if test "$cross_compiling" = yes; then
43813 echo $ac_n "cross compiling; assumed OK... $ac_c"
43814 else
43815 cat >conftest.$ac_ext <<_ACEOF
43816 /* confdefs.h. */
43817 _ACEOF
43818 cat confdefs.h >>conftest.$ac_ext
43819 cat >>conftest.$ac_ext <<_ACEOF
43820 /* end confdefs.h. */
43821
43822 #include <stdio.h>
43823 #include <stdlib.h>
43824 #include <string.h>
43825 #include "SDL.h"
43826
43827 char*
43828 my_strdup (char *str)
43829 {
43830 char *new_str;
43831
43832 if (str)
43833 {
43834 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
43835 strcpy (new_str, str);
43836 }
43837 else
43838 new_str = NULL;
43839
43840 return new_str;
43841 }
43842
43843 int main (int argc, char *argv[])
43844 {
43845 int major, minor, micro;
43846 char *tmp_version;
43847
43848 /* This hangs on some systems (?)
43849 system ("touch conf.sdltest");
43850 */
43851 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
43852
43853 /* HP/UX 9 (%@#!) writes to sscanf strings */
43854 tmp_version = my_strdup("$min_sdl_version");
43855 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
43856 printf("%s, bad version string\n", "$min_sdl_version");
43857 exit(1);
43858 }
43859
43860 if (($sdl_major_version > major) ||
43861 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
43862 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
43863 {
43864 return 0;
43865 }
43866 else
43867 {
43868 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
43869 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
43870 printf("*** best to upgrade to the required version.\n");
43871 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
43872 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
43873 printf("*** config.cache before re-running configure\n");
43874 return 1;
43875 }
43876 }
43877
43878
43879 _ACEOF
43880 rm -f conftest$ac_exeext
43881 if { (ac_try="$ac_link"
43882 case "(($ac_try" in
43883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43884 *) ac_try_echo=$ac_try;;
43885 esac
43886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43887 (eval "$ac_link") 2>&5
43888 ac_status=$?
43889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43890 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
43891 { (case "(($ac_try" in
43892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43893 *) ac_try_echo=$ac_try;;
43894 esac
43895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43896 (eval "$ac_try") 2>&5
43897 ac_status=$?
43898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43899 (exit $ac_status); }; }; then
43900 :
43901 else
43902 echo "$as_me: program exited with status $ac_status" >&5
43903 echo "$as_me: failed program was:" >&5
43904 sed 's/^/| /' conftest.$ac_ext >&5
43905
43906 ( exit $ac_status )
43907 no_sdl=yes
43908 fi
43909 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43910 fi
43911
43912
43913 CFLAGS="$ac_save_CFLAGS"
43914 CXXFLAGS="$ac_save_CXXFLAGS"
43915 LIBS="$ac_save_LIBS"
43916 fi
43917 fi
43918 if test "x$no_sdl" = x ; then
43919 { echo "$as_me:$LINENO: result: yes" >&5
43920 echo "${ECHO_T}yes" >&6; }
43921
43922 EXTRALIBS_SDL="$SDL_LIBS"
43923 CFLAGS="$SDL_CFLAGS $CFLAGS"
43924 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
43925 cat >>confdefs.h <<\_ACEOF
43926 #define wxUSE_LIBSDL 1
43927 _ACEOF
43928
43929
43930 else
43931 { echo "$as_me:$LINENO: result: no" >&5
43932 echo "${ECHO_T}no" >&6; }
43933 if test "$SDL_CONFIG" = "no" ; then
43934 echo "*** The sdl-config script installed by SDL could not be found"
43935 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
43936 echo "*** your path, or set the SDL_CONFIG environment variable to the"
43937 echo "*** full path to sdl-config."
43938 else
43939 if test -f conf.sdltest ; then
43940 :
43941 else
43942 echo "*** Could not run SDL test program, checking why..."
43943 CFLAGS="$CFLAGS $SDL_CFLAGS"
43944 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43945 LIBS="$LIBS $SDL_LIBS"
43946 cat >conftest.$ac_ext <<_ACEOF
43947 /* confdefs.h. */
43948 _ACEOF
43949 cat confdefs.h >>conftest.$ac_ext
43950 cat >>conftest.$ac_ext <<_ACEOF
43951 /* end confdefs.h. */
43952
43953 #include <stdio.h>
43954 #include "SDL.h"
43955
43956 int main(int argc, char *argv[])
43957 { return 0; }
43958 #undef main
43959 #define main K_and_R_C_main
43960
43961 int
43962 main ()
43963 {
43964 return 0;
43965 ;
43966 return 0;
43967 }
43968 _ACEOF
43969 rm -f conftest.$ac_objext conftest$ac_exeext
43970 if { (ac_try="$ac_link"
43971 case "(($ac_try" in
43972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43973 *) ac_try_echo=$ac_try;;
43974 esac
43975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43976 (eval "$ac_link") 2>conftest.er1
43977 ac_status=$?
43978 grep -v '^ *+' conftest.er1 >conftest.err
43979 rm -f conftest.er1
43980 cat conftest.err >&5
43981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43982 (exit $ac_status); } && {
43983 test -z "$ac_c_werror_flag" ||
43984 test ! -s conftest.err
43985 } && test -s conftest$ac_exeext &&
43986 $as_test_x conftest$ac_exeext; then
43987 echo "*** The test program compiled, but did not run. This usually means"
43988 echo "*** that the run-time linker is not finding SDL or finding the wrong"
43989 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
43990 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
43991 echo "*** to the installed location Also, make sure you have run ldconfig if that"
43992 echo "*** is required on your system"
43993 echo "***"
43994 echo "*** If you have an old version installed, it is best to remove it, although"
43995 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
43996 else
43997 echo "$as_me: failed program was:" >&5
43998 sed 's/^/| /' conftest.$ac_ext >&5
43999
44000 echo "*** The test program failed to compile or link. See the file config.log for the"
44001 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
44002 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
44003 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
44004 fi
44005
44006 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44007 conftest$ac_exeext conftest.$ac_ext
44008 CFLAGS="$ac_save_CFLAGS"
44009 CXXFLAGS="$ac_save_CXXFLAGS"
44010 LIBS="$ac_save_LIBS"
44011 fi
44012 fi
44013 SDL_CFLAGS=""
44014 SDL_LIBS=""
44015 wxUSE_LIBSDL="no"
44016 fi
44017
44018
44019 rm -f conf.sdltest
44020
44021 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
44022 WITH_PLUGIN_SDL=1
44023 fi
44024 fi
44025 else
44026 if test "$wxUSE_MGL" = 1; then
44027 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
44028 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
44029 wxUSE_SOUND="no"
44030 fi
44031 fi
44032 fi
44033
44034 if test "$wxUSE_SOUND" = "yes"; then
44035 cat >>confdefs.h <<\_ACEOF
44036 #define wxUSE_SOUND 1
44037 _ACEOF
44038
44039 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
44040 fi
44041
44042 if test "$WXGTK2" = 1; then
44043
44044
44045 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
44046 if test -n "$ac_tool_prefix"; then
44047 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44048 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
44049 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44051 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44052 echo $ECHO_N "(cached) $ECHO_C" >&6
44053 else
44054 case $PKG_CONFIG in
44055 [\\/]* | ?:[\\/]*)
44056 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
44057 ;;
44058 *)
44059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44060 for as_dir in $PATH
44061 do
44062 IFS=$as_save_IFS
44063 test -z "$as_dir" && as_dir=.
44064 for ac_exec_ext in '' $ac_executable_extensions; do
44065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44066 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44067 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44068 break 2
44069 fi
44070 done
44071 done
44072 IFS=$as_save_IFS
44073
44074 ;;
44075 esac
44076 fi
44077 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
44078 if test -n "$PKG_CONFIG"; then
44079 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44080 echo "${ECHO_T}$PKG_CONFIG" >&6; }
44081 else
44082 { echo "$as_me:$LINENO: result: no" >&5
44083 echo "${ECHO_T}no" >&6; }
44084 fi
44085
44086
44087 fi
44088 if test -z "$ac_cv_path_PKG_CONFIG"; then
44089 ac_pt_PKG_CONFIG=$PKG_CONFIG
44090 # Extract the first word of "pkg-config", so it can be a program name with args.
44091 set dummy pkg-config; ac_word=$2
44092 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44093 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44094 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
44095 echo $ECHO_N "(cached) $ECHO_C" >&6
44096 else
44097 case $ac_pt_PKG_CONFIG in
44098 [\\/]* | ?:[\\/]*)
44099 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
44100 ;;
44101 *)
44102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44103 for as_dir in $PATH
44104 do
44105 IFS=$as_save_IFS
44106 test -z "$as_dir" && as_dir=.
44107 for ac_exec_ext in '' $ac_executable_extensions; do
44108 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44109 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44110 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44111 break 2
44112 fi
44113 done
44114 done
44115 IFS=$as_save_IFS
44116
44117 ;;
44118 esac
44119 fi
44120 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
44121 if test -n "$ac_pt_PKG_CONFIG"; then
44122 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44123 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
44124 else
44125 { echo "$as_me:$LINENO: result: no" >&5
44126 echo "${ECHO_T}no" >&6; }
44127 fi
44128
44129 if test "x$ac_pt_PKG_CONFIG" = x; then
44130 PKG_CONFIG=""
44131 else
44132 case $cross_compiling:$ac_tool_warned in
44133 yes:)
44134 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
44135 whose name does not start with the host triplet. If you think this
44136 configuration is useful to you, please write to autoconf@gnu.org." >&5
44137 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
44138 whose name does not start with the host triplet. If you think this
44139 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44140 ac_tool_warned=yes ;;
44141 esac
44142 PKG_CONFIG=$ac_pt_PKG_CONFIG
44143 fi
44144 else
44145 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
44146 fi
44147
44148 fi
44149 if test -n "$PKG_CONFIG"; then
44150 _pkg_min_version=0.9.0
44151 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44152 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
44153 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44154 { echo "$as_me:$LINENO: result: yes" >&5
44155 echo "${ECHO_T}yes" >&6; }
44156 else
44157 { echo "$as_me:$LINENO: result: no" >&5
44158 echo "${ECHO_T}no" >&6; }
44159 PKG_CONFIG=""
44160 fi
44161
44162 fi
44163
44164 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44165
44166 if test "$wxUSE_GTKPRINT" = "yes" ; then
44167
44168
44169 pkg_failed=no
44170 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
44171 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
44172
44173 if test -n "$PKG_CONFIG"; then
44174 if test -n "$GTKPRINT_CFLAGS"; then
44175 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
44176 else
44177 if test -n "$PKG_CONFIG" && \
44178 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44179 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44180 ac_status=$?
44181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44182 (exit $ac_status); }; then
44183 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44184 else
44185 pkg_failed=yes
44186 fi
44187 fi
44188 else
44189 pkg_failed=untried
44190 fi
44191 if test -n "$PKG_CONFIG"; then
44192 if test -n "$GTKPRINT_LIBS"; then
44193 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
44194 else
44195 if test -n "$PKG_CONFIG" && \
44196 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44197 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44198 ac_status=$?
44199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44200 (exit $ac_status); }; then
44201 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44202 else
44203 pkg_failed=yes
44204 fi
44205 fi
44206 else
44207 pkg_failed=untried
44208 fi
44209
44210
44211
44212 if test $pkg_failed = yes; then
44213
44214 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44215 _pkg_short_errors_supported=yes
44216 else
44217 _pkg_short_errors_supported=no
44218 fi
44219 if test $_pkg_short_errors_supported = yes; then
44220 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44221 else
44222 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44223 fi
44224 # Put the nasty error message in config.log where it belongs
44225 echo "$GTKPRINT_PKG_ERRORS" >&5
44226
44227
44228 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44229 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44230 wxUSE_GTKPRINT="no"
44231
44232
44233 elif test $pkg_failed = untried; then
44234
44235 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44236 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44237 wxUSE_GTKPRINT="no"
44238
44239
44240 else
44241 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
44242 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
44243 { echo "$as_me:$LINENO: result: yes" >&5
44244 echo "${ECHO_T}yes" >&6; }
44245
44246 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
44247 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
44248 cat >>confdefs.h <<\_ACEOF
44249 #define wxUSE_GTKPRINT 1
44250 _ACEOF
44251
44252
44253 fi
44254 fi
44255
44256 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
44257
44258
44259 pkg_failed=no
44260 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
44261 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
44262
44263 if test -n "$PKG_CONFIG"; then
44264 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
44265 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
44266 else
44267 if test -n "$PKG_CONFIG" && \
44268 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44269 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44270 ac_status=$?
44271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44272 (exit $ac_status); }; then
44273 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44274 else
44275 pkg_failed=yes
44276 fi
44277 fi
44278 else
44279 pkg_failed=untried
44280 fi
44281 if test -n "$PKG_CONFIG"; then
44282 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
44283 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
44284 else
44285 if test -n "$PKG_CONFIG" && \
44286 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44287 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44288 ac_status=$?
44289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44290 (exit $ac_status); }; then
44291 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44292 else
44293 pkg_failed=yes
44294 fi
44295 fi
44296 else
44297 pkg_failed=untried
44298 fi
44299
44300
44301
44302 if test $pkg_failed = yes; then
44303
44304 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44305 _pkg_short_errors_supported=yes
44306 else
44307 _pkg_short_errors_supported=no
44308 fi
44309 if test $_pkg_short_errors_supported = yes; then
44310 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44311 else
44312 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44313 fi
44314 # Put the nasty error message in config.log where it belongs
44315 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
44316
44317
44318 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44319 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44320 wxUSE_LIBGNOMEPRINT="no"
44321
44322
44323 elif test $pkg_failed = untried; then
44324
44325 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44326 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44327 wxUSE_LIBGNOMEPRINT="no"
44328
44329
44330 else
44331 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
44332 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
44333 { echo "$as_me:$LINENO: result: yes" >&5
44334 echo "${ECHO_T}yes" >&6; }
44335
44336 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
44337 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
44338 cat >>confdefs.h <<\_ACEOF
44339 #define wxUSE_LIBGNOMEPRINT 1
44340 _ACEOF
44341
44342
44343 fi
44344 fi
44345 fi
44346
44347 if test "$wxUSE_MIMETYPE" = "yes" ; then
44348 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
44349
44350
44351 pkg_failed=no
44352 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
44353 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
44354
44355 if test -n "$PKG_CONFIG"; then
44356 if test -n "$GNOMEVFS_CFLAGS"; then
44357 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
44358 else
44359 if test -n "$PKG_CONFIG" && \
44360 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44361 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44362 ac_status=$?
44363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44364 (exit $ac_status); }; then
44365 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44366 else
44367 pkg_failed=yes
44368 fi
44369 fi
44370 else
44371 pkg_failed=untried
44372 fi
44373 if test -n "$PKG_CONFIG"; then
44374 if test -n "$GNOMEVFS_LIBS"; then
44375 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
44376 else
44377 if test -n "$PKG_CONFIG" && \
44378 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44379 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44380 ac_status=$?
44381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44382 (exit $ac_status); }; then
44383 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44384 else
44385 pkg_failed=yes
44386 fi
44387 fi
44388 else
44389 pkg_failed=untried
44390 fi
44391
44392
44393
44394 if test $pkg_failed = yes; then
44395
44396 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44397 _pkg_short_errors_supported=yes
44398 else
44399 _pkg_short_errors_supported=no
44400 fi
44401 if test $_pkg_short_errors_supported = yes; then
44402 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44403 else
44404 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44405 fi
44406 # Put the nasty error message in config.log where it belongs
44407 echo "$GNOMEVFS_PKG_ERRORS" >&5
44408
44409
44410 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44411 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44412 wxUSE_LIBGNOMEVFS="no"
44413
44414
44415 elif test $pkg_failed = untried; then
44416
44417 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44418 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44419 wxUSE_LIBGNOMEVFS="no"
44420
44421
44422 else
44423 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
44424 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
44425 { echo "$as_me:$LINENO: result: yes" >&5
44426 echo "${ECHO_T}yes" >&6; }
44427
44428 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
44429 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
44430 cat >>confdefs.h <<\_ACEOF
44431 #define wxUSE_LIBGNOMEVFS 1
44432 _ACEOF
44433
44434
44435 fi
44436 fi
44437 fi
44438
44439 if test "$wxUSE_LIBHILDON" = "yes" ; then
44440
44441 pkg_failed=no
44442 { echo "$as_me:$LINENO: checking for HILDON" >&5
44443 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
44444
44445 if test -n "$PKG_CONFIG"; then
44446 if test -n "$HILDON_CFLAGS"; then
44447 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
44448 else
44449 if test -n "$PKG_CONFIG" && \
44450 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44451 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44452 ac_status=$?
44453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44454 (exit $ac_status); }; then
44455 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
44456 else
44457 pkg_failed=yes
44458 fi
44459 fi
44460 else
44461 pkg_failed=untried
44462 fi
44463 if test -n "$PKG_CONFIG"; then
44464 if test -n "$HILDON_LIBS"; then
44465 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
44466 else
44467 if test -n "$PKG_CONFIG" && \
44468 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44469 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44470 ac_status=$?
44471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44472 (exit $ac_status); }; then
44473 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
44474 else
44475 pkg_failed=yes
44476 fi
44477 fi
44478 else
44479 pkg_failed=untried
44480 fi
44481
44482
44483
44484 if test $pkg_failed = yes; then
44485
44486 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44487 _pkg_short_errors_supported=yes
44488 else
44489 _pkg_short_errors_supported=no
44490 fi
44491 if test $_pkg_short_errors_supported = yes; then
44492 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44493 else
44494 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44495 fi
44496 # Put the nasty error message in config.log where it belongs
44497 echo "$HILDON_PKG_ERRORS" >&5
44498
44499
44500 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44501 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44502 wxUSE_LIBHILDON="no"
44503 ac_hildon_lgpl=0
44504
44505
44506 elif test $pkg_failed = untried; then
44507
44508 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44509 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44510 wxUSE_LIBHILDON="no"
44511 ac_hildon_lgpl=0
44512
44513
44514 else
44515 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
44516 HILDON_LIBS=$pkg_cv_HILDON_LIBS
44517 { echo "$as_me:$LINENO: result: yes" >&5
44518 echo "${ECHO_T}yes" >&6; }
44519
44520 EXTRALIBS_HILDON="$HILDON_LIBS"
44521 CFLAGS="$CFLAGS $HILDON_CFLAGS"
44522 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
44523 cat >>confdefs.h <<\_ACEOF
44524 #define wxUSE_LIBHILDON 1
44525 _ACEOF
44526
44527 ac_hildon_lgpl=1
44528
44529 fi
44530
44531 if test "$ac_hildon_lgpl" = 0 ; then
44532
44533 pkg_failed=no
44534 { echo "$as_me:$LINENO: checking for HILDON2" >&5
44535 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
44536
44537 if test -n "$PKG_CONFIG"; then
44538 if test -n "$HILDON2_CFLAGS"; then
44539 pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
44540 else
44541 if test -n "$PKG_CONFIG" && \
44542 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44543 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44544 ac_status=$?
44545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44546 (exit $ac_status); }; then
44547 pkg_cv_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
44548 else
44549 pkg_failed=yes
44550 fi
44551 fi
44552 else
44553 pkg_failed=untried
44554 fi
44555 if test -n "$PKG_CONFIG"; then
44556 if test -n "$HILDON2_LIBS"; then
44557 pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
44558 else
44559 if test -n "$PKG_CONFIG" && \
44560 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44561 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44562 ac_status=$?
44563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44564 (exit $ac_status); }; then
44565 pkg_cv_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
44566 else
44567 pkg_failed=yes
44568 fi
44569 fi
44570 else
44571 pkg_failed=untried
44572 fi
44573
44574
44575
44576 if test $pkg_failed = yes; then
44577
44578 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44579 _pkg_short_errors_supported=yes
44580 else
44581 _pkg_short_errors_supported=no
44582 fi
44583 if test $_pkg_short_errors_supported = yes; then
44584 HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44585 else
44586 HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44587 fi
44588 # Put the nasty error message in config.log where it belongs
44589 echo "$HILDON2_PKG_ERRORS" >&5
44590
44591
44592 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44593 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44594 wxUSE_LIBHILDON2="no"
44595
44596
44597 elif test $pkg_failed = untried; then
44598
44599 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44600 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44601 wxUSE_LIBHILDON2="no"
44602
44603
44604 else
44605 HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
44606 HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
44607 { echo "$as_me:$LINENO: result: yes" >&5
44608 echo "${ECHO_T}yes" >&6; }
44609
44610 EXTRALIBS_HILDON="$HILDON2_LIBS"
44611 CFLAGS="$CFLAGS $HILDON2_CFLAGS"
44612 CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
44613 cat >>confdefs.h <<\_ACEOF
44614 #define wxUSE_LIBHILDON2 1
44615 _ACEOF
44616
44617
44618 fi
44619 fi
44620 fi
44621 fi
44622
44623 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
44624 cat >>confdefs.h <<\_ACEOF
44625 #define wxUSE_CMDLINE_PARSER 1
44626 _ACEOF
44627
44628 fi
44629
44630 if test "$wxUSE_STOPWATCH" = "yes"; then
44631 cat >>confdefs.h <<\_ACEOF
44632 #define wxUSE_STOPWATCH 1
44633 _ACEOF
44634
44635 fi
44636
44637 if test "$wxUSE_DATETIME" = "yes"; then
44638 cat >>confdefs.h <<\_ACEOF
44639 #define wxUSE_DATETIME 1
44640 _ACEOF
44641
44642 fi
44643
44644 if test "$wxUSE_FILE" = "yes"; then
44645 cat >>confdefs.h <<\_ACEOF
44646 #define wxUSE_FILE 1
44647 _ACEOF
44648
44649 fi
44650
44651 if test "$wxUSE_FFILE" = "yes"; then
44652 cat >>confdefs.h <<\_ACEOF
44653 #define wxUSE_FFILE 1
44654 _ACEOF
44655
44656 fi
44657
44658 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
44659 if test "$wxUSE_STREAMS" != yes; then
44660 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
44661 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
44662 wxUSE_ARCHIVE_STREAMS=no
44663 else
44664 cat >>confdefs.h <<\_ACEOF
44665 #define wxUSE_ARCHIVE_STREAMS 1
44666 _ACEOF
44667
44668 fi
44669 fi
44670
44671 if test "$wxUSE_ZIPSTREAM" = "yes"; then
44672 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44673 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
44674 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
44675 elif test "$wxUSE_ZLIB" = "no"; then
44676 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
44677 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
44678 else
44679 cat >>confdefs.h <<\_ACEOF
44680 #define wxUSE_ZIPSTREAM 1
44681 _ACEOF
44682
44683 fi
44684 fi
44685
44686 if test "$wxUSE_TARSTREAM" = "yes"; then
44687 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44688 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
44689 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
44690 else
44691 cat >>confdefs.h <<\_ACEOF
44692 #define wxUSE_TARSTREAM 1
44693 _ACEOF
44694
44695 fi
44696 fi
44697
44698 if test "$wxUSE_FILE_HISTORY" = "yes"; then
44699 cat >>confdefs.h <<\_ACEOF
44700 #define wxUSE_FILE_HISTORY 1
44701 _ACEOF
44702
44703 fi
44704
44705 if test "$wxUSE_FILESYSTEM" = "yes"; then
44706 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
44707 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
44708 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
44709 wxUSE_FILESYSTEM=no
44710 else
44711 cat >>confdefs.h <<\_ACEOF
44712 #define wxUSE_FILESYSTEM 1
44713 _ACEOF
44714
44715 fi
44716 fi
44717
44718 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
44719 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
44720 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
44721 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
44722 else
44723 cat >>confdefs.h <<\_ACEOF
44724 #define wxUSE_FS_ARCHIVE 1
44725 _ACEOF
44726
44727 fi
44728 fi
44729
44730 if test "$wxUSE_FS_ZIP" = "yes"; then
44731 if test "$wxUSE_FS_ARCHIVE" != yes; then
44732 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
44733 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
44734 else
44735 cat >>confdefs.h <<\_ACEOF
44736 #define wxUSE_FS_ZIP 1
44737 _ACEOF
44738
44739 fi
44740 fi
44741
44742 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44743 if test "$USE_UNIX" != 1; then
44744 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
44745 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
44746 wxUSE_ON_FATAL_EXCEPTION=no
44747 else
44748 cat >>confdefs.h <<\_ACEOF
44749 #define wxUSE_ON_FATAL_EXCEPTION 1
44750 _ACEOF
44751
44752 fi
44753 fi
44754
44755 if test "$wxUSE_STACKWALKER" = "yes"; then
44756 cat >>confdefs.h <<\_ACEOF
44757 #define wxUSE_STACKWALKER 1
44758 _ACEOF
44759
44760 fi
44761
44762 if test "$wxUSE_DEBUGREPORT" = "yes"; then
44763 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
44764 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
44765 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
44766 wxUSE_DEBUGREPORT=no
44767 else
44768 cat >>confdefs.h <<\_ACEOF
44769 #define wxUSE_DEBUGREPORT 1
44770 _ACEOF
44771
44772 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44773 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
44774 fi
44775 fi
44776 fi
44777
44778 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
44779 cat >>confdefs.h <<\_ACEOF
44780 #define wxUSE_SNGLINST_CHECKER 1
44781 _ACEOF
44782
44783 fi
44784
44785 if test "$wxUSE_BUSYINFO" = "yes"; then
44786 cat >>confdefs.h <<\_ACEOF
44787 #define wxUSE_BUSYINFO 1
44788 _ACEOF
44789
44790 fi
44791
44792 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
44793 cat >>confdefs.h <<\_ACEOF
44794 #define wxUSE_STD_IOSTREAM 1
44795 _ACEOF
44796
44797 fi
44798
44799 if test "$wxUSE_STD_STRING" = "yes"; then
44800 cat >>confdefs.h <<\_ACEOF
44801 #define wxUSE_STD_STRING 1
44802 _ACEOF
44803
44804 fi
44805
44806 if test "$wxUSE_STDPATHS" = "yes"; then
44807 cat >>confdefs.h <<\_ACEOF
44808 #define wxUSE_STDPATHS 1
44809 _ACEOF
44810
44811 fi
44812
44813 if test "$wxUSE_TEXTBUFFER" = "yes"; then
44814 cat >>confdefs.h <<\_ACEOF
44815 #define wxUSE_TEXTBUFFER 1
44816 _ACEOF
44817
44818 fi
44819
44820 if test "$wxUSE_TEXTFILE" = "yes"; then
44821 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
44822 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
44823 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
44824 else
44825 cat >>confdefs.h <<\_ACEOF
44826 #define wxUSE_TEXTFILE 1
44827 _ACEOF
44828
44829 fi
44830 fi
44831
44832 if test "$wxUSE_CONFIG" = "yes" ; then
44833 if test "$wxUSE_TEXTFILE" != "yes"; then
44834 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
44835 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
44836 else
44837 cat >>confdefs.h <<\_ACEOF
44838 #define wxUSE_CONFIG 1
44839 _ACEOF
44840
44841 cat >>confdefs.h <<\_ACEOF
44842 #define wxUSE_CONFIG_NATIVE 1
44843 _ACEOF
44844
44845 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
44846 fi
44847 fi
44848
44849 if test "$wxUSE_INTL" = "yes" ; then
44850 if test "$wxUSE_FILE" != "yes"; then
44851 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
44852 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
44853 else
44854 cat >>confdefs.h <<\_ACEOF
44855 #define wxUSE_INTL 1
44856 _ACEOF
44857
44858 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
44859 GUIDIST="$GUIDIST INTL_DIST"
44860 fi
44861 fi
44862
44863 if test "$wxUSE_XLOCALE" = "yes" ; then
44864 cat >>confdefs.h <<\_ACEOF
44865 #define wxUSE_XLOCALE 1
44866 _ACEOF
44867
44868 { echo "$as_me:$LINENO: checking for locale_t" >&5
44869 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
44870 if test "${ac_cv_type_locale_t+set}" = set; then
44871 echo $ECHO_N "(cached) $ECHO_C" >&6
44872 else
44873 cat >conftest.$ac_ext <<_ACEOF
44874 /* confdefs.h. */
44875 _ACEOF
44876 cat confdefs.h >>conftest.$ac_ext
44877 cat >>conftest.$ac_ext <<_ACEOF
44878 /* end confdefs.h. */
44879 #include <xlocale.h>
44880 #include <locale.h>
44881
44882 typedef locale_t ac__type_new_;
44883 int
44884 main ()
44885 {
44886 if ((ac__type_new_ *) 0)
44887 return 0;
44888 if (sizeof (ac__type_new_))
44889 return 0;
44890 ;
44891 return 0;
44892 }
44893 _ACEOF
44894 rm -f conftest.$ac_objext
44895 if { (ac_try="$ac_compile"
44896 case "(($ac_try" in
44897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44898 *) ac_try_echo=$ac_try;;
44899 esac
44900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44901 (eval "$ac_compile") 2>conftest.er1
44902 ac_status=$?
44903 grep -v '^ *+' conftest.er1 >conftest.err
44904 rm -f conftest.er1
44905 cat conftest.err >&5
44906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44907 (exit $ac_status); } && {
44908 test -z "$ac_c_werror_flag" ||
44909 test ! -s conftest.err
44910 } && test -s conftest.$ac_objext; then
44911 ac_cv_type_locale_t=yes
44912 else
44913 echo "$as_me: failed program was:" >&5
44914 sed 's/^/| /' conftest.$ac_ext >&5
44915
44916 ac_cv_type_locale_t=no
44917 fi
44918
44919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44920 fi
44921 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
44922 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
44923 if test $ac_cv_type_locale_t = yes; then
44924
44925 cat >>confdefs.h <<_ACEOF
44926 #define HAVE_LOCALE_T 1
44927 _ACEOF
44928
44929
44930 fi
44931
44932 fi
44933
44934 if test "$wxUSE_LOG" = "yes"; then
44935 cat >>confdefs.h <<\_ACEOF
44936 #define wxUSE_LOG 1
44937 _ACEOF
44938
44939
44940 if test "$wxUSE_LOGGUI" = "yes"; then
44941 cat >>confdefs.h <<\_ACEOF
44942 #define wxUSE_LOGGUI 1
44943 _ACEOF
44944
44945 fi
44946
44947 if test "$wxUSE_LOGWINDOW" = "yes"; then
44948 cat >>confdefs.h <<\_ACEOF
44949 #define wxUSE_LOGWINDOW 1
44950 _ACEOF
44951
44952 fi
44953
44954 if test "$wxUSE_LOGDIALOG" = "yes"; then
44955 cat >>confdefs.h <<\_ACEOF
44956 #define wxUSE_LOG_DIALOG 1
44957 _ACEOF
44958
44959 fi
44960
44961 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
44962 fi
44963
44964 if test "$wxUSE_LONGLONG" = "yes"; then
44965 cat >>confdefs.h <<\_ACEOF
44966 #define wxUSE_LONGLONG 1
44967 _ACEOF
44968
44969 fi
44970
44971 if test "$wxUSE_GEOMETRY" = "yes"; then
44972 cat >>confdefs.h <<\_ACEOF
44973 #define wxUSE_GEOMETRY 1
44974 _ACEOF
44975
44976 fi
44977
44978 if test "$wxUSE_BASE64" = "yes"; then
44979 cat >>confdefs.h <<\_ACEOF
44980 #define wxUSE_BASE64 1
44981 _ACEOF
44982
44983 fi
44984
44985 if test "$wxUSE_STREAMS" = "yes" ; then
44986 cat >>confdefs.h <<\_ACEOF
44987 #define wxUSE_STREAMS 1
44988 _ACEOF
44989
44990 fi
44991
44992 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
44993 cat >>confdefs.h <<\_ACEOF
44994 #define wxUSE_PRINTF_POS_PARAMS 1
44995 _ACEOF
44996
44997 fi
44998
44999 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45000 cat >>confdefs.h <<\_ACEOF
45001 #define wxUSE_OBJC_UNIQUIFYING 1
45002 _ACEOF
45003
45004 fi
45005
45006
45007 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
45008 cat >>confdefs.h <<\_ACEOF
45009 #define wxUSE_CONSOLE_EVENTLOOP 1
45010 _ACEOF
45011
45012
45013 if test "$wxUSE_UNIX" = "yes"; then
45014 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
45015 cat >>confdefs.h <<\_ACEOF
45016 #define wxUSE_SELECT_DISPATCHER 1
45017 _ACEOF
45018
45019 fi
45020
45021 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
45022
45023 for ac_header in sys/epoll.h
45024 do
45025 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45026 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45027 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45028 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45029 echo $ECHO_N "(cached) $ECHO_C" >&6
45030 else
45031 cat >conftest.$ac_ext <<_ACEOF
45032 /* confdefs.h. */
45033 _ACEOF
45034 cat confdefs.h >>conftest.$ac_ext
45035 cat >>conftest.$ac_ext <<_ACEOF
45036 /* end confdefs.h. */
45037 $ac_includes_default
45038
45039 #include <$ac_header>
45040 _ACEOF
45041 rm -f conftest.$ac_objext
45042 if { (ac_try="$ac_compile"
45043 case "(($ac_try" in
45044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45045 *) ac_try_echo=$ac_try;;
45046 esac
45047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45048 (eval "$ac_compile") 2>conftest.er1
45049 ac_status=$?
45050 grep -v '^ *+' conftest.er1 >conftest.err
45051 rm -f conftest.er1
45052 cat conftest.err >&5
45053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45054 (exit $ac_status); } && {
45055 test -z "$ac_c_werror_flag" ||
45056 test ! -s conftest.err
45057 } && test -s conftest.$ac_objext; then
45058 eval "$as_ac_Header=yes"
45059 else
45060 echo "$as_me: failed program was:" >&5
45061 sed 's/^/| /' conftest.$ac_ext >&5
45062
45063 eval "$as_ac_Header=no"
45064 fi
45065
45066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45067 fi
45068 ac_res=`eval echo '${'$as_ac_Header'}'`
45069 { echo "$as_me:$LINENO: result: $ac_res" >&5
45070 echo "${ECHO_T}$ac_res" >&6; }
45071 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45072 cat >>confdefs.h <<_ACEOF
45073 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45074 _ACEOF
45075
45076 fi
45077
45078 done
45079
45080 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45081 cat >>confdefs.h <<\_ACEOF
45082 #define wxUSE_EPOLL_DISPATCHER 1
45083 _ACEOF
45084
45085 else
45086 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45087 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45088 fi
45089 fi
45090 fi
45091 fi
45092
45093
45094
45095
45096 for ac_func in gettimeofday ftime
45097 do
45098 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45099 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45100 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45101 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45102 echo $ECHO_N "(cached) $ECHO_C" >&6
45103 else
45104 cat >conftest.$ac_ext <<_ACEOF
45105 /* confdefs.h. */
45106 _ACEOF
45107 cat confdefs.h >>conftest.$ac_ext
45108 cat >>conftest.$ac_ext <<_ACEOF
45109 /* end confdefs.h. */
45110 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45111 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45112 #define $ac_func innocuous_$ac_func
45113
45114 /* System header to define __stub macros and hopefully few prototypes,
45115 which can conflict with char $ac_func (); below.
45116 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45117 <limits.h> exists even on freestanding compilers. */
45118
45119 #ifdef __STDC__
45120 # include <limits.h>
45121 #else
45122 # include <assert.h>
45123 #endif
45124
45125 #undef $ac_func
45126
45127 /* Override any GCC internal prototype to avoid an error.
45128 Use char because int might match the return type of a GCC
45129 builtin and then its argument prototype would still apply. */
45130 #ifdef __cplusplus
45131 extern "C"
45132 #endif
45133 char $ac_func ();
45134 /* The GNU C library defines this for functions which it implements
45135 to always fail with ENOSYS. Some functions are actually named
45136 something starting with __ and the normal name is an alias. */
45137 #if defined __stub_$ac_func || defined __stub___$ac_func
45138 choke me
45139 #endif
45140
45141 int
45142 main ()
45143 {
45144 return $ac_func ();
45145 ;
45146 return 0;
45147 }
45148 _ACEOF
45149 rm -f conftest.$ac_objext conftest$ac_exeext
45150 if { (ac_try="$ac_link"
45151 case "(($ac_try" in
45152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45153 *) ac_try_echo=$ac_try;;
45154 esac
45155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45156 (eval "$ac_link") 2>conftest.er1
45157 ac_status=$?
45158 grep -v '^ *+' conftest.er1 >conftest.err
45159 rm -f conftest.er1
45160 cat conftest.err >&5
45161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45162 (exit $ac_status); } && {
45163 test -z "$ac_c_werror_flag" ||
45164 test ! -s conftest.err
45165 } && test -s conftest$ac_exeext &&
45166 $as_test_x conftest$ac_exeext; then
45167 eval "$as_ac_var=yes"
45168 else
45169 echo "$as_me: failed program was:" >&5
45170 sed 's/^/| /' conftest.$ac_ext >&5
45171
45172 eval "$as_ac_var=no"
45173 fi
45174
45175 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45176 conftest$ac_exeext conftest.$ac_ext
45177 fi
45178 ac_res=`eval echo '${'$as_ac_var'}'`
45179 { echo "$as_me:$LINENO: result: $ac_res" >&5
45180 echo "${ECHO_T}$ac_res" >&6; }
45181 if test `eval echo '${'$as_ac_var'}'` = yes; then
45182 cat >>confdefs.h <<_ACEOF
45183 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45184 _ACEOF
45185 break
45186 fi
45187 done
45188
45189
45190 if test "$ac_cv_func_gettimeofday" = "yes"; then
45191 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45192 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
45193 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45194 echo $ECHO_N "(cached) $ECHO_C" >&6
45195 else
45196
45197 cat >conftest.$ac_ext <<_ACEOF
45198 /* confdefs.h. */
45199 _ACEOF
45200 cat confdefs.h >>conftest.$ac_ext
45201 cat >>conftest.$ac_ext <<_ACEOF
45202 /* end confdefs.h. */
45203
45204 #include <sys/time.h>
45205 #include <unistd.h>
45206
45207 int
45208 main ()
45209 {
45210
45211 struct timeval tv;
45212 gettimeofday(&tv, NULL);
45213
45214 ;
45215 return 0;
45216 }
45217 _ACEOF
45218 rm -f conftest.$ac_objext
45219 if { (ac_try="$ac_compile"
45220 case "(($ac_try" in
45221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45222 *) ac_try_echo=$ac_try;;
45223 esac
45224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45225 (eval "$ac_compile") 2>conftest.er1
45226 ac_status=$?
45227 grep -v '^ *+' conftest.er1 >conftest.err
45228 rm -f conftest.er1
45229 cat conftest.err >&5
45230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45231 (exit $ac_status); } && {
45232 test -z "$ac_c_werror_flag" ||
45233 test ! -s conftest.err
45234 } && test -s conftest.$ac_objext; then
45235 wx_cv_func_gettimeofday_has_2_args=yes
45236 else
45237 echo "$as_me: failed program was:" >&5
45238 sed 's/^/| /' conftest.$ac_ext >&5
45239
45240 cat >conftest.$ac_ext <<_ACEOF
45241 /* confdefs.h. */
45242 _ACEOF
45243 cat confdefs.h >>conftest.$ac_ext
45244 cat >>conftest.$ac_ext <<_ACEOF
45245 /* end confdefs.h. */
45246
45247 #include <sys/time.h>
45248 #include <unistd.h>
45249
45250 int
45251 main ()
45252 {
45253
45254 struct timeval tv;
45255 gettimeofday(&tv);
45256
45257 ;
45258 return 0;
45259 }
45260 _ACEOF
45261 rm -f conftest.$ac_objext
45262 if { (ac_try="$ac_compile"
45263 case "(($ac_try" in
45264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45265 *) ac_try_echo=$ac_try;;
45266 esac
45267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45268 (eval "$ac_compile") 2>conftest.er1
45269 ac_status=$?
45270 grep -v '^ *+' conftest.er1 >conftest.err
45271 rm -f conftest.er1
45272 cat conftest.err >&5
45273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45274 (exit $ac_status); } && {
45275 test -z "$ac_c_werror_flag" ||
45276 test ! -s conftest.err
45277 } && test -s conftest.$ac_objext; then
45278 wx_cv_func_gettimeofday_has_2_args=no
45279 else
45280 echo "$as_me: failed program was:" >&5
45281 sed 's/^/| /' conftest.$ac_ext >&5
45282
45283
45284 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45285 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45286 wx_cv_func_gettimeofday_has_2_args=unknown
45287
45288
45289 fi
45290
45291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45292
45293 fi
45294
45295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45296
45297 fi
45298 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45299 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
45300
45301 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45302 cat >>confdefs.h <<\_ACEOF
45303 #define WX_GETTIMEOFDAY_NO_TZ 1
45304 _ACEOF
45305
45306 fi
45307 fi
45308
45309 if test "$wxUSE_DATETIME" = "yes"; then
45310 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
45311 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
45312 if test "${wx_cv_var_timezone+set}" = set; then
45313 echo $ECHO_N "(cached) $ECHO_C" >&6
45314 else
45315
45316 ac_ext=cpp
45317 ac_cpp='$CXXCPP $CPPFLAGS'
45318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45321
45322 cat >conftest.$ac_ext <<_ACEOF
45323 /* confdefs.h. */
45324 _ACEOF
45325 cat confdefs.h >>conftest.$ac_ext
45326 cat >>conftest.$ac_ext <<_ACEOF
45327 /* end confdefs.h. */
45328
45329 #include <time.h>
45330
45331 int
45332 main ()
45333 {
45334
45335 int tz;
45336 tz = timezone;
45337
45338 ;
45339 return 0;
45340 }
45341 _ACEOF
45342 rm -f conftest.$ac_objext
45343 if { (ac_try="$ac_compile"
45344 case "(($ac_try" in
45345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45346 *) ac_try_echo=$ac_try;;
45347 esac
45348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45349 (eval "$ac_compile") 2>conftest.er1
45350 ac_status=$?
45351 grep -v '^ *+' conftest.er1 >conftest.err
45352 rm -f conftest.er1
45353 cat conftest.err >&5
45354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45355 (exit $ac_status); } && {
45356 test -z "$ac_cxx_werror_flag" ||
45357 test ! -s conftest.err
45358 } && test -s conftest.$ac_objext; then
45359
45360 wx_cv_var_timezone=timezone
45361
45362 else
45363 echo "$as_me: failed program was:" >&5
45364 sed 's/^/| /' conftest.$ac_ext >&5
45365
45366
45367 cat >conftest.$ac_ext <<_ACEOF
45368 /* confdefs.h. */
45369 _ACEOF
45370 cat confdefs.h >>conftest.$ac_ext
45371 cat >>conftest.$ac_ext <<_ACEOF
45372 /* end confdefs.h. */
45373
45374 #include <time.h>
45375
45376 int
45377 main ()
45378 {
45379
45380 int tz;
45381 tz = _timezone;
45382
45383 ;
45384 return 0;
45385 }
45386 _ACEOF
45387 rm -f conftest.$ac_objext
45388 if { (ac_try="$ac_compile"
45389 case "(($ac_try" in
45390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45391 *) ac_try_echo=$ac_try;;
45392 esac
45393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45394 (eval "$ac_compile") 2>conftest.er1
45395 ac_status=$?
45396 grep -v '^ *+' conftest.er1 >conftest.err
45397 rm -f conftest.er1
45398 cat conftest.err >&5
45399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45400 (exit $ac_status); } && {
45401 test -z "$ac_cxx_werror_flag" ||
45402 test ! -s conftest.err
45403 } && test -s conftest.$ac_objext; then
45404
45405 wx_cv_var_timezone=_timezone
45406
45407 else
45408 echo "$as_me: failed program was:" >&5
45409 sed 's/^/| /' conftest.$ac_ext >&5
45410
45411
45412 cat >conftest.$ac_ext <<_ACEOF
45413 /* confdefs.h. */
45414 _ACEOF
45415 cat confdefs.h >>conftest.$ac_ext
45416 cat >>conftest.$ac_ext <<_ACEOF
45417 /* end confdefs.h. */
45418
45419 #include <time.h>
45420
45421 int
45422 main ()
45423 {
45424
45425 int tz;
45426 tz = __timezone;
45427
45428 ;
45429 return 0;
45430 }
45431 _ACEOF
45432 rm -f conftest.$ac_objext
45433 if { (ac_try="$ac_compile"
45434 case "(($ac_try" in
45435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45436 *) ac_try_echo=$ac_try;;
45437 esac
45438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45439 (eval "$ac_compile") 2>conftest.er1
45440 ac_status=$?
45441 grep -v '^ *+' conftest.er1 >conftest.err
45442 rm -f conftest.er1
45443 cat conftest.err >&5
45444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45445 (exit $ac_status); } && {
45446 test -z "$ac_cxx_werror_flag" ||
45447 test ! -s conftest.err
45448 } && test -s conftest.$ac_objext; then
45449
45450 wx_cv_var_timezone=__timezone
45451
45452 else
45453 echo "$as_me: failed program was:" >&5
45454 sed 's/^/| /' conftest.$ac_ext >&5
45455
45456
45457 if test "$USE_DOS" = 0 ; then
45458 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
45459 echo "$as_me: WARNING: no timezone variable" >&2;}
45460 fi
45461
45462
45463 fi
45464
45465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45466
45467
45468 fi
45469
45470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45471
45472
45473 fi
45474
45475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45476 ac_ext=c
45477 ac_cpp='$CPP $CPPFLAGS'
45478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45481
45482
45483
45484 fi
45485 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
45486 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
45487
45488 if test "x$wx_cv_var_timezone" != x ; then
45489 cat >>confdefs.h <<_ACEOF
45490 #define WX_TIMEZONE $wx_cv_var_timezone
45491 _ACEOF
45492
45493 fi
45494
45495
45496 for ac_func in localtime
45497 do
45498 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45499 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45500 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45501 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45502 echo $ECHO_N "(cached) $ECHO_C" >&6
45503 else
45504 cat >conftest.$ac_ext <<_ACEOF
45505 /* confdefs.h. */
45506 _ACEOF
45507 cat confdefs.h >>conftest.$ac_ext
45508 cat >>conftest.$ac_ext <<_ACEOF
45509 /* end confdefs.h. */
45510 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45511 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45512 #define $ac_func innocuous_$ac_func
45513
45514 /* System header to define __stub macros and hopefully few prototypes,
45515 which can conflict with char $ac_func (); below.
45516 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45517 <limits.h> exists even on freestanding compilers. */
45518
45519 #ifdef __STDC__
45520 # include <limits.h>
45521 #else
45522 # include <assert.h>
45523 #endif
45524
45525 #undef $ac_func
45526
45527 /* Override any GCC internal prototype to avoid an error.
45528 Use char because int might match the return type of a GCC
45529 builtin and then its argument prototype would still apply. */
45530 #ifdef __cplusplus
45531 extern "C"
45532 #endif
45533 char $ac_func ();
45534 /* The GNU C library defines this for functions which it implements
45535 to always fail with ENOSYS. Some functions are actually named
45536 something starting with __ and the normal name is an alias. */
45537 #if defined __stub_$ac_func || defined __stub___$ac_func
45538 choke me
45539 #endif
45540
45541 int
45542 main ()
45543 {
45544 return $ac_func ();
45545 ;
45546 return 0;
45547 }
45548 _ACEOF
45549 rm -f conftest.$ac_objext conftest$ac_exeext
45550 if { (ac_try="$ac_link"
45551 case "(($ac_try" in
45552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45553 *) ac_try_echo=$ac_try;;
45554 esac
45555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45556 (eval "$ac_link") 2>conftest.er1
45557 ac_status=$?
45558 grep -v '^ *+' conftest.er1 >conftest.err
45559 rm -f conftest.er1
45560 cat conftest.err >&5
45561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45562 (exit $ac_status); } && {
45563 test -z "$ac_c_werror_flag" ||
45564 test ! -s conftest.err
45565 } && test -s conftest$ac_exeext &&
45566 $as_test_x conftest$ac_exeext; then
45567 eval "$as_ac_var=yes"
45568 else
45569 echo "$as_me: failed program was:" >&5
45570 sed 's/^/| /' conftest.$ac_ext >&5
45571
45572 eval "$as_ac_var=no"
45573 fi
45574
45575 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45576 conftest$ac_exeext conftest.$ac_ext
45577 fi
45578 ac_res=`eval echo '${'$as_ac_var'}'`
45579 { echo "$as_me:$LINENO: result: $ac_res" >&5
45580 echo "${ECHO_T}$ac_res" >&6; }
45581 if test `eval echo '${'$as_ac_var'}'` = yes; then
45582 cat >>confdefs.h <<_ACEOF
45583 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45584 _ACEOF
45585
45586 fi
45587 done
45588
45589
45590 if test "$ac_cv_func_localtime" = "yes"; then
45591 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
45592 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
45593 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
45594 echo $ECHO_N "(cached) $ECHO_C" >&6
45595 else
45596
45597 cat >conftest.$ac_ext <<_ACEOF
45598 /* confdefs.h. */
45599 _ACEOF
45600 cat confdefs.h >>conftest.$ac_ext
45601 cat >>conftest.$ac_ext <<_ACEOF
45602 /* end confdefs.h. */
45603
45604 #include <time.h>
45605
45606 int
45607 main ()
45608 {
45609
45610 struct tm tm;
45611 tm.tm_gmtoff++;
45612
45613 ;
45614 return 0;
45615 }
45616 _ACEOF
45617 rm -f conftest.$ac_objext
45618 if { (ac_try="$ac_compile"
45619 case "(($ac_try" in
45620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45621 *) ac_try_echo=$ac_try;;
45622 esac
45623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45624 (eval "$ac_compile") 2>conftest.er1
45625 ac_status=$?
45626 grep -v '^ *+' conftest.er1 >conftest.err
45627 rm -f conftest.er1
45628 cat conftest.err >&5
45629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45630 (exit $ac_status); } && {
45631 test -z "$ac_c_werror_flag" ||
45632 test ! -s conftest.err
45633 } && test -s conftest.$ac_objext; then
45634
45635 wx_cv_struct_tm_has_gmtoff=yes
45636
45637 else
45638 echo "$as_me: failed program was:" >&5
45639 sed 's/^/| /' conftest.$ac_ext >&5
45640
45641 wx_cv_struct_tm_has_gmtoff=no
45642
45643 fi
45644
45645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45646
45647 fi
45648 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
45649 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
45650 fi
45651
45652 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
45653 cat >>confdefs.h <<\_ACEOF
45654 #define WX_GMTOFF_IN_TM 1
45655 _ACEOF
45656
45657 fi
45658
45659 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
45660 fi
45661
45662
45663 if test "$wxUSE_SOCKETS" = "yes"; then
45664 if test "$wxUSE_MGL" = 1; then
45665 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
45666 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
45667 wxUSE_SOCKETS="no"
45668 fi
45669 fi
45670
45671 if test "$wxUSE_SOCKETS" = "yes"; then
45672 if test "$TOOLKIT" != "MSW"; then
45673 { echo "$as_me:$LINENO: checking for socket" >&5
45674 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
45675 if test "${ac_cv_func_socket+set}" = set; then
45676 echo $ECHO_N "(cached) $ECHO_C" >&6
45677 else
45678 cat >conftest.$ac_ext <<_ACEOF
45679 /* confdefs.h. */
45680 _ACEOF
45681 cat confdefs.h >>conftest.$ac_ext
45682 cat >>conftest.$ac_ext <<_ACEOF
45683 /* end confdefs.h. */
45684 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
45685 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45686 #define socket innocuous_socket
45687
45688 /* System header to define __stub macros and hopefully few prototypes,
45689 which can conflict with char socket (); below.
45690 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45691 <limits.h> exists even on freestanding compilers. */
45692
45693 #ifdef __STDC__
45694 # include <limits.h>
45695 #else
45696 # include <assert.h>
45697 #endif
45698
45699 #undef socket
45700
45701 /* Override any GCC internal prototype to avoid an error.
45702 Use char because int might match the return type of a GCC
45703 builtin and then its argument prototype would still apply. */
45704 #ifdef __cplusplus
45705 extern "C"
45706 #endif
45707 char socket ();
45708 /* The GNU C library defines this for functions which it implements
45709 to always fail with ENOSYS. Some functions are actually named
45710 something starting with __ and the normal name is an alias. */
45711 #if defined __stub_socket || defined __stub___socket
45712 choke me
45713 #endif
45714
45715 int
45716 main ()
45717 {
45718 return socket ();
45719 ;
45720 return 0;
45721 }
45722 _ACEOF
45723 rm -f conftest.$ac_objext conftest$ac_exeext
45724 if { (ac_try="$ac_link"
45725 case "(($ac_try" in
45726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45727 *) ac_try_echo=$ac_try;;
45728 esac
45729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45730 (eval "$ac_link") 2>conftest.er1
45731 ac_status=$?
45732 grep -v '^ *+' conftest.er1 >conftest.err
45733 rm -f conftest.er1
45734 cat conftest.err >&5
45735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45736 (exit $ac_status); } && {
45737 test -z "$ac_c_werror_flag" ||
45738 test ! -s conftest.err
45739 } && test -s conftest$ac_exeext &&
45740 $as_test_x conftest$ac_exeext; then
45741 ac_cv_func_socket=yes
45742 else
45743 echo "$as_me: failed program was:" >&5
45744 sed 's/^/| /' conftest.$ac_ext >&5
45745
45746 ac_cv_func_socket=no
45747 fi
45748
45749 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45750 conftest$ac_exeext conftest.$ac_ext
45751 fi
45752 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
45753 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
45754 if test $ac_cv_func_socket = yes; then
45755 :
45756 else
45757
45758 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
45759 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
45760 if test "${ac_cv_lib_socket_socket+set}" = set; then
45761 echo $ECHO_N "(cached) $ECHO_C" >&6
45762 else
45763 ac_check_lib_save_LIBS=$LIBS
45764 LIBS="-lsocket $LIBS"
45765 cat >conftest.$ac_ext <<_ACEOF
45766 /* confdefs.h. */
45767 _ACEOF
45768 cat confdefs.h >>conftest.$ac_ext
45769 cat >>conftest.$ac_ext <<_ACEOF
45770 /* end confdefs.h. */
45771
45772 /* Override any GCC internal prototype to avoid an error.
45773 Use char because int might match the return type of a GCC
45774 builtin and then its argument prototype would still apply. */
45775 #ifdef __cplusplus
45776 extern "C"
45777 #endif
45778 char socket ();
45779 int
45780 main ()
45781 {
45782 return socket ();
45783 ;
45784 return 0;
45785 }
45786 _ACEOF
45787 rm -f conftest.$ac_objext conftest$ac_exeext
45788 if { (ac_try="$ac_link"
45789 case "(($ac_try" in
45790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45791 *) ac_try_echo=$ac_try;;
45792 esac
45793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45794 (eval "$ac_link") 2>conftest.er1
45795 ac_status=$?
45796 grep -v '^ *+' conftest.er1 >conftest.err
45797 rm -f conftest.er1
45798 cat conftest.err >&5
45799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45800 (exit $ac_status); } && {
45801 test -z "$ac_c_werror_flag" ||
45802 test ! -s conftest.err
45803 } && test -s conftest$ac_exeext &&
45804 $as_test_x conftest$ac_exeext; then
45805 ac_cv_lib_socket_socket=yes
45806 else
45807 echo "$as_me: failed program was:" >&5
45808 sed 's/^/| /' conftest.$ac_ext >&5
45809
45810 ac_cv_lib_socket_socket=no
45811 fi
45812
45813 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45814 conftest$ac_exeext conftest.$ac_ext
45815 LIBS=$ac_check_lib_save_LIBS
45816 fi
45817 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
45818 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
45819 if test $ac_cv_lib_socket_socket = yes; then
45820 if test "$INET_LINK" != " -lsocket"; then
45821 INET_LINK="$INET_LINK -lsocket"
45822 fi
45823 else
45824
45825 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
45826 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
45827 wxUSE_SOCKETS=no
45828
45829
45830 fi
45831
45832
45833
45834 fi
45835
45836 fi
45837 fi
45838
45839 if test "$wxUSE_SOCKETS" = "yes" ; then
45840 if test "$TOOLKIT" != "MSW"; then
45841 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
45842 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
45843 if test "${wx_cv_type_getsockname3+set}" = set; then
45844 echo $ECHO_N "(cached) $ECHO_C" >&6
45845 else
45846
45847 ac_ext=cpp
45848 ac_cpp='$CXXCPP $CPPFLAGS'
45849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45852
45853 cat >conftest.$ac_ext <<_ACEOF
45854 /* confdefs.h. */
45855 _ACEOF
45856 cat confdefs.h >>conftest.$ac_ext
45857 cat >>conftest.$ac_ext <<_ACEOF
45858 /* end confdefs.h. */
45859
45860 #include <sys/types.h>
45861 #include <sys/socket.h>
45862
45863 int
45864 main ()
45865 {
45866
45867 socklen_t len;
45868 getsockname(0, 0, &len);
45869
45870 ;
45871 return 0;
45872 }
45873 _ACEOF
45874 rm -f conftest.$ac_objext
45875 if { (ac_try="$ac_compile"
45876 case "(($ac_try" in
45877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45878 *) ac_try_echo=$ac_try;;
45879 esac
45880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45881 (eval "$ac_compile") 2>conftest.er1
45882 ac_status=$?
45883 grep -v '^ *+' conftest.er1 >conftest.err
45884 rm -f conftest.er1
45885 cat conftest.err >&5
45886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45887 (exit $ac_status); } && {
45888 test -z "$ac_cxx_werror_flag" ||
45889 test ! -s conftest.err
45890 } && test -s conftest.$ac_objext; then
45891 wx_cv_type_getsockname3=socklen_t
45892 else
45893 echo "$as_me: failed program was:" >&5
45894 sed 's/^/| /' conftest.$ac_ext >&5
45895
45896
45897 CFLAGS_OLD="$CFLAGS"
45898 if test "$GCC" = yes ; then
45899 CFLAGS="-Werror $CFLAGS"
45900 fi
45901
45902 cat >conftest.$ac_ext <<_ACEOF
45903 /* confdefs.h. */
45904 _ACEOF
45905 cat confdefs.h >>conftest.$ac_ext
45906 cat >>conftest.$ac_ext <<_ACEOF
45907 /* end confdefs.h. */
45908
45909 #include <sys/types.h>
45910 #include <sys/socket.h>
45911
45912 int
45913 main ()
45914 {
45915
45916 size_t len;
45917 getsockname(0, 0, &len);
45918
45919 ;
45920 return 0;
45921 }
45922 _ACEOF
45923 rm -f conftest.$ac_objext
45924 if { (ac_try="$ac_compile"
45925 case "(($ac_try" in
45926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45927 *) ac_try_echo=$ac_try;;
45928 esac
45929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45930 (eval "$ac_compile") 2>conftest.er1
45931 ac_status=$?
45932 grep -v '^ *+' conftest.er1 >conftest.err
45933 rm -f conftest.er1
45934 cat conftest.err >&5
45935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45936 (exit $ac_status); } && {
45937 test -z "$ac_cxx_werror_flag" ||
45938 test ! -s conftest.err
45939 } && test -s conftest.$ac_objext; then
45940 wx_cv_type_getsockname3=size_t
45941 else
45942 echo "$as_me: failed program was:" >&5
45943 sed 's/^/| /' conftest.$ac_ext >&5
45944
45945 cat >conftest.$ac_ext <<_ACEOF
45946 /* confdefs.h. */
45947 _ACEOF
45948 cat confdefs.h >>conftest.$ac_ext
45949 cat >>conftest.$ac_ext <<_ACEOF
45950 /* end confdefs.h. */
45951
45952 #include <sys/types.h>
45953 #include <sys/socket.h>
45954
45955 int
45956 main ()
45957 {
45958
45959 int len;
45960 getsockname(0, 0, &len);
45961
45962 ;
45963 return 0;
45964 }
45965 _ACEOF
45966 rm -f conftest.$ac_objext
45967 if { (ac_try="$ac_compile"
45968 case "(($ac_try" in
45969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45970 *) ac_try_echo=$ac_try;;
45971 esac
45972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45973 (eval "$ac_compile") 2>conftest.er1
45974 ac_status=$?
45975 grep -v '^ *+' conftest.er1 >conftest.err
45976 rm -f conftest.er1
45977 cat conftest.err >&5
45978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45979 (exit $ac_status); } && {
45980 test -z "$ac_cxx_werror_flag" ||
45981 test ! -s conftest.err
45982 } && test -s conftest.$ac_objext; then
45983 wx_cv_type_getsockname3=int
45984 else
45985 echo "$as_me: failed program was:" >&5
45986 sed 's/^/| /' conftest.$ac_ext >&5
45987
45988 wx_cv_type_getsockname3=unknown
45989
45990 fi
45991
45992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45993
45994 fi
45995
45996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45997
45998 CFLAGS="$CFLAGS_OLD"
45999
46000
46001 fi
46002
46003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46004 ac_ext=c
46005 ac_cpp='$CPP $CPPFLAGS'
46006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46009
46010
46011 fi
46012 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
46013 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
46014
46015 if test "$wx_cv_type_getsockname3" = "unknown"; then
46016 wxUSE_SOCKETS=no
46017 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46018 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46019 else
46020 cat >>confdefs.h <<_ACEOF
46021 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
46022 _ACEOF
46023
46024 fi
46025 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
46026 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
46027 if test "${wx_cv_type_getsockopt5+set}" = set; then
46028 echo $ECHO_N "(cached) $ECHO_C" >&6
46029 else
46030
46031 ac_ext=cpp
46032 ac_cpp='$CXXCPP $CPPFLAGS'
46033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46036
46037 cat >conftest.$ac_ext <<_ACEOF
46038 /* confdefs.h. */
46039 _ACEOF
46040 cat confdefs.h >>conftest.$ac_ext
46041 cat >>conftest.$ac_ext <<_ACEOF
46042 /* end confdefs.h. */
46043
46044 #include <sys/types.h>
46045 #include <sys/socket.h>
46046
46047 int
46048 main ()
46049 {
46050
46051 socklen_t len;
46052 getsockopt(0, 0, 0, 0, &len);
46053
46054 ;
46055 return 0;
46056 }
46057 _ACEOF
46058 rm -f conftest.$ac_objext
46059 if { (ac_try="$ac_compile"
46060 case "(($ac_try" in
46061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46062 *) ac_try_echo=$ac_try;;
46063 esac
46064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46065 (eval "$ac_compile") 2>conftest.er1
46066 ac_status=$?
46067 grep -v '^ *+' conftest.er1 >conftest.err
46068 rm -f conftest.er1
46069 cat conftest.err >&5
46070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46071 (exit $ac_status); } && {
46072 test -z "$ac_cxx_werror_flag" ||
46073 test ! -s conftest.err
46074 } && test -s conftest.$ac_objext; then
46075 wx_cv_type_getsockopt5=socklen_t
46076 else
46077 echo "$as_me: failed program was:" >&5
46078 sed 's/^/| /' conftest.$ac_ext >&5
46079
46080
46081 cat >conftest.$ac_ext <<_ACEOF
46082 /* confdefs.h. */
46083 _ACEOF
46084 cat confdefs.h >>conftest.$ac_ext
46085 cat >>conftest.$ac_ext <<_ACEOF
46086 /* end confdefs.h. */
46087
46088 #include <sys/types.h>
46089 #include <sys/socket.h>
46090
46091 int
46092 main ()
46093 {
46094
46095 size_t len;
46096 getsockopt(0, 0, 0, 0, &len);
46097
46098 ;
46099 return 0;
46100 }
46101 _ACEOF
46102 rm -f conftest.$ac_objext
46103 if { (ac_try="$ac_compile"
46104 case "(($ac_try" in
46105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46106 *) ac_try_echo=$ac_try;;
46107 esac
46108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46109 (eval "$ac_compile") 2>conftest.er1
46110 ac_status=$?
46111 grep -v '^ *+' conftest.er1 >conftest.err
46112 rm -f conftest.er1
46113 cat conftest.err >&5
46114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46115 (exit $ac_status); } && {
46116 test -z "$ac_cxx_werror_flag" ||
46117 test ! -s conftest.err
46118 } && test -s conftest.$ac_objext; then
46119 wx_cv_type_getsockopt5=size_t
46120 else
46121 echo "$as_me: failed program was:" >&5
46122 sed 's/^/| /' conftest.$ac_ext >&5
46123
46124 cat >conftest.$ac_ext <<_ACEOF
46125 /* confdefs.h. */
46126 _ACEOF
46127 cat confdefs.h >>conftest.$ac_ext
46128 cat >>conftest.$ac_ext <<_ACEOF
46129 /* end confdefs.h. */
46130
46131 #include <sys/types.h>
46132 #include <sys/socket.h>
46133
46134 int
46135 main ()
46136 {
46137
46138 int len;
46139 getsockopt(0, 0, 0, 0, &len);
46140
46141 ;
46142 return 0;
46143 }
46144 _ACEOF
46145 rm -f conftest.$ac_objext
46146 if { (ac_try="$ac_compile"
46147 case "(($ac_try" in
46148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46149 *) ac_try_echo=$ac_try;;
46150 esac
46151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46152 (eval "$ac_compile") 2>conftest.er1
46153 ac_status=$?
46154 grep -v '^ *+' conftest.er1 >conftest.err
46155 rm -f conftest.er1
46156 cat conftest.err >&5
46157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46158 (exit $ac_status); } && {
46159 test -z "$ac_cxx_werror_flag" ||
46160 test ! -s conftest.err
46161 } && test -s conftest.$ac_objext; then
46162 wx_cv_type_getsockopt5=int
46163 else
46164 echo "$as_me: failed program was:" >&5
46165 sed 's/^/| /' conftest.$ac_ext >&5
46166
46167 wx_cv_type_getsockopt5=unknown
46168
46169 fi
46170
46171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46172
46173 fi
46174
46175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46176
46177
46178 fi
46179
46180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46181 ac_ext=c
46182 ac_cpp='$CPP $CPPFLAGS'
46183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46186
46187
46188 fi
46189 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
46190 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
46191
46192 if test "$wx_cv_type_getsockopt5" = "unknown"; then
46193 wxUSE_SOCKETS=no
46194 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46195 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46196 else
46197 cat >>confdefs.h <<_ACEOF
46198 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
46199 _ACEOF
46200
46201 fi
46202 fi
46203 fi
46204
46205 if test "$wxUSE_SOCKETS" = "yes" ; then
46206 if test "$wxUSE_IPV6" = "yes"; then
46207 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
46208 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
46209 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
46210 echo $ECHO_N "(cached) $ECHO_C" >&6
46211 else
46212
46213 cat >conftest.$ac_ext <<_ACEOF
46214 /* confdefs.h. */
46215 _ACEOF
46216 cat confdefs.h >>conftest.$ac_ext
46217 cat >>conftest.$ac_ext <<_ACEOF
46218 /* end confdefs.h. */
46219
46220 #include <sys/types.h>
46221 #include <sys/socket.h>
46222 #include <netinet/in.h>
46223
46224 int
46225 main ()
46226 {
46227
46228 struct sockaddr_in6 sa6;
46229
46230 ;
46231 return 0;
46232 }
46233 _ACEOF
46234 rm -f conftest.$ac_objext
46235 if { (ac_try="$ac_compile"
46236 case "(($ac_try" in
46237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46238 *) ac_try_echo=$ac_try;;
46239 esac
46240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46241 (eval "$ac_compile") 2>conftest.er1
46242 ac_status=$?
46243 grep -v '^ *+' conftest.er1 >conftest.err
46244 rm -f conftest.er1
46245 cat conftest.err >&5
46246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46247 (exit $ac_status); } && {
46248 test -z "$ac_c_werror_flag" ||
46249 test ! -s conftest.err
46250 } && test -s conftest.$ac_objext; then
46251 wx_cv_type_sockaddr_in6=yes
46252 else
46253 echo "$as_me: failed program was:" >&5
46254 sed 's/^/| /' conftest.$ac_ext >&5
46255
46256 wx_cv_type_sockaddr_in6=no
46257
46258 fi
46259
46260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46261
46262
46263 fi
46264 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
46265 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
46266
46267 if test "$wx_cv_type_sockaddr_in6"="yes"; then
46268 cat >>confdefs.h <<\_ACEOF
46269 #define wxUSE_IPV6 1
46270 _ACEOF
46271
46272 else
46273 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
46274 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
46275 fi
46276 fi
46277
46278 cat >>confdefs.h <<\_ACEOF
46279 #define wxUSE_SOCKETS 1
46280 _ACEOF
46281
46282 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46283 fi
46284
46285 if test "$wxUSE_PROTOCOL" = "yes"; then
46286 if test "$wxUSE_SOCKETS" != "yes"; then
46287 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
46288 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
46289 wxUSE_PROTOCOL=no
46290 fi
46291 fi
46292
46293 if test "$wxUSE_PROTOCOL" = "yes"; then
46294 cat >>confdefs.h <<\_ACEOF
46295 #define wxUSE_PROTOCOL 1
46296 _ACEOF
46297
46298
46299 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
46300 cat >>confdefs.h <<\_ACEOF
46301 #define wxUSE_PROTOCOL_HTTP 1
46302 _ACEOF
46303
46304 fi
46305 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
46306 cat >>confdefs.h <<\_ACEOF
46307 #define wxUSE_PROTOCOL_FTP 1
46308 _ACEOF
46309
46310 fi
46311 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
46312 cat >>confdefs.h <<\_ACEOF
46313 #define wxUSE_PROTOCOL_FILE 1
46314 _ACEOF
46315
46316 fi
46317 else
46318 if test "$wxUSE_FS_INET" = "yes"; then
46319 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
46320 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
46321 wxUSE_FS_INET="no"
46322 fi
46323 fi
46324
46325 if test "$wxUSE_URL" = "yes"; then
46326 if test "$wxUSE_PROTOCOL" != "yes"; then
46327 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
46328 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
46329 wxUSE_URL=no
46330 fi
46331 if test "$wxUSE_URL" = "yes"; then
46332 cat >>confdefs.h <<\_ACEOF
46333 #define wxUSE_URL 1
46334 _ACEOF
46335
46336 fi
46337 fi
46338
46339 if test "$wxUSE_VARIANT" = "yes"; then
46340 cat >>confdefs.h <<\_ACEOF
46341 #define wxUSE_VARIANT 1
46342 _ACEOF
46343
46344 fi
46345
46346 if test "$wxUSE_FS_INET" = "yes"; then
46347 cat >>confdefs.h <<\_ACEOF
46348 #define wxUSE_FS_INET 1
46349 _ACEOF
46350
46351 fi
46352
46353
46354 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
46355 wxUSE_JOYSTICK=no
46356
46357 if test "$TOOLKIT" = "MSW"; then
46358 wxUSE_JOYSTICK=yes
46359
46360 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
46361 if test "$USE_DARWIN" = 1; then
46362 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
46363 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
46364 ac_ext=cpp
46365 ac_cpp='$CXXCPP $CPPFLAGS'
46366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46369
46370 cat >conftest.$ac_ext <<_ACEOF
46371 /* confdefs.h. */
46372 _ACEOF
46373 cat confdefs.h >>conftest.$ac_ext
46374 cat >>conftest.$ac_ext <<_ACEOF
46375 /* end confdefs.h. */
46376 #include <IOKit/hid/IOHIDLib.h>
46377 int
46378 main ()
46379 {
46380 IOHIDQueueInterface *qi = NULL;
46381 IOHIDCallbackFunction cb = NULL;
46382 qi->setEventCallout(NULL, cb, NULL, NULL);
46383 ;
46384 return 0;
46385 }
46386 _ACEOF
46387 rm -f conftest.$ac_objext
46388 if { (ac_try="$ac_compile"
46389 case "(($ac_try" in
46390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46391 *) ac_try_echo=$ac_try;;
46392 esac
46393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46394 (eval "$ac_compile") 2>conftest.er1
46395 ac_status=$?
46396 grep -v '^ *+' conftest.er1 >conftest.err
46397 rm -f conftest.er1
46398 cat conftest.err >&5
46399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46400 (exit $ac_status); } && {
46401 test -z "$ac_cxx_werror_flag" ||
46402 test ! -s conftest.err
46403 } && test -s conftest.$ac_objext; then
46404 wxUSE_JOYSTICK=yes
46405
46406 else
46407 echo "$as_me: failed program was:" >&5
46408 sed 's/^/| /' conftest.$ac_ext >&5
46409
46410
46411 fi
46412
46413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46414 ac_ext=c
46415 ac_cpp='$CPP $CPPFLAGS'
46416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46419
46420 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
46421 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
46422 fi
46423
46424 else
46425 if test "$wxUSE_MGL" != 1; then
46426
46427 for ac_header in linux/joystick.h
46428 do
46429 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46430 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46431 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46432 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46433 echo $ECHO_N "(cached) $ECHO_C" >&6
46434 else
46435 cat >conftest.$ac_ext <<_ACEOF
46436 /* confdefs.h. */
46437 _ACEOF
46438 cat confdefs.h >>conftest.$ac_ext
46439 cat >>conftest.$ac_ext <<_ACEOF
46440 /* end confdefs.h. */
46441 $ac_includes_default
46442
46443 #include <$ac_header>
46444 _ACEOF
46445 rm -f conftest.$ac_objext
46446 if { (ac_try="$ac_compile"
46447 case "(($ac_try" in
46448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46449 *) ac_try_echo=$ac_try;;
46450 esac
46451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46452 (eval "$ac_compile") 2>conftest.er1
46453 ac_status=$?
46454 grep -v '^ *+' conftest.er1 >conftest.err
46455 rm -f conftest.er1
46456 cat conftest.err >&5
46457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46458 (exit $ac_status); } && {
46459 test -z "$ac_c_werror_flag" ||
46460 test ! -s conftest.err
46461 } && test -s conftest.$ac_objext; then
46462 eval "$as_ac_Header=yes"
46463 else
46464 echo "$as_me: failed program was:" >&5
46465 sed 's/^/| /' conftest.$ac_ext >&5
46466
46467 eval "$as_ac_Header=no"
46468 fi
46469
46470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46471 fi
46472 ac_res=`eval echo '${'$as_ac_Header'}'`
46473 { echo "$as_me:$LINENO: result: $ac_res" >&5
46474 echo "${ECHO_T}$ac_res" >&6; }
46475 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46476 cat >>confdefs.h <<_ACEOF
46477 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46478 _ACEOF
46479 wxUSE_JOYSTICK=yes
46480 fi
46481
46482 done
46483
46484 fi
46485 fi
46486
46487 if test "$wxUSE_JOYSTICK" = "yes"; then
46488 cat >>confdefs.h <<\_ACEOF
46489 #define wxUSE_JOYSTICK 1
46490 _ACEOF
46491
46492 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
46493 else
46494 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
46495 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
46496 fi
46497 fi
46498
46499
46500
46501 if test "$wxUSE_FONTENUM" = "yes" ; then
46502 cat >>confdefs.h <<\_ACEOF
46503 #define wxUSE_FONTENUM 1
46504 _ACEOF
46505
46506 fi
46507
46508 if test "$wxUSE_FONTMAP" = "yes" ; then
46509 cat >>confdefs.h <<\_ACEOF
46510 #define wxUSE_FONTMAP 1
46511 _ACEOF
46512
46513 fi
46514
46515 if test "$wxUSE_UNICODE" = "yes" ; then
46516 cat >>confdefs.h <<\_ACEOF
46517 #define wxUSE_UNICODE 1
46518 _ACEOF
46519
46520
46521 if test "$USE_WIN32" != 1; then
46522 wxUSE_UNICODE_MSLU=no
46523 fi
46524
46525 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
46526 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
46527 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
46528 if test "${ac_cv_lib_unicows_main+set}" = set; then
46529 echo $ECHO_N "(cached) $ECHO_C" >&6
46530 else
46531 ac_check_lib_save_LIBS=$LIBS
46532 LIBS="-lunicows $LIBS"
46533 cat >conftest.$ac_ext <<_ACEOF
46534 /* confdefs.h. */
46535 _ACEOF
46536 cat confdefs.h >>conftest.$ac_ext
46537 cat >>conftest.$ac_ext <<_ACEOF
46538 /* end confdefs.h. */
46539
46540
46541 int
46542 main ()
46543 {
46544 return main ();
46545 ;
46546 return 0;
46547 }
46548 _ACEOF
46549 rm -f conftest.$ac_objext conftest$ac_exeext
46550 if { (ac_try="$ac_link"
46551 case "(($ac_try" in
46552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46553 *) ac_try_echo=$ac_try;;
46554 esac
46555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46556 (eval "$ac_link") 2>conftest.er1
46557 ac_status=$?
46558 grep -v '^ *+' conftest.er1 >conftest.err
46559 rm -f conftest.er1
46560 cat conftest.err >&5
46561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46562 (exit $ac_status); } && {
46563 test -z "$ac_c_werror_flag" ||
46564 test ! -s conftest.err
46565 } && test -s conftest$ac_exeext &&
46566 $as_test_x conftest$ac_exeext; then
46567 ac_cv_lib_unicows_main=yes
46568 else
46569 echo "$as_me: failed program was:" >&5
46570 sed 's/^/| /' conftest.$ac_ext >&5
46571
46572 ac_cv_lib_unicows_main=no
46573 fi
46574
46575 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46576 conftest$ac_exeext conftest.$ac_ext
46577 LIBS=$ac_check_lib_save_LIBS
46578 fi
46579 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
46580 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
46581 if test $ac_cv_lib_unicows_main = yes; then
46582
46583 cat >>confdefs.h <<\_ACEOF
46584 #define wxUSE_UNICODE_MSLU 1
46585 _ACEOF
46586
46587
46588 else
46589
46590 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46591 Applications will only run on Windows NT/2000/XP!" >&5
46592 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46593 Applications will only run on Windows NT/2000/XP!" >&2;}
46594 wxUSE_UNICODE_MSLU=no
46595
46596 fi
46597
46598 fi
46599 fi
46600
46601 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
46602 cat >>confdefs.h <<\_ACEOF
46603 #define wxUSE_UNICODE_UTF8 1
46604 _ACEOF
46605
46606
46607 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
46608 cat >>confdefs.h <<\_ACEOF
46609 #define wxUSE_UTF8_LOCALE_ONLY 1
46610 _ACEOF
46611
46612 fi
46613 fi
46614
46615
46616 if test "$wxUSE_CONSTRAINTS" = "yes"; then
46617 cat >>confdefs.h <<\_ACEOF
46618 #define wxUSE_CONSTRAINTS 1
46619 _ACEOF
46620
46621 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
46622 fi
46623
46624 if test "$wxUSE_MDI" = "yes"; then
46625 cat >>confdefs.h <<\_ACEOF
46626 #define wxUSE_MDI 1
46627 _ACEOF
46628
46629
46630 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
46631 cat >>confdefs.h <<\_ACEOF
46632 #define wxUSE_MDI_ARCHITECTURE 1
46633 _ACEOF
46634
46635 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
46636 fi
46637 fi
46638
46639 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
46640 cat >>confdefs.h <<\_ACEOF
46641 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
46642 _ACEOF
46643
46644 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
46645 fi
46646
46647 if test "$wxUSE_HELP" = "yes"; then
46648 cat >>confdefs.h <<\_ACEOF
46649 #define wxUSE_HELP 1
46650 _ACEOF
46651
46652 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
46653
46654 if test "$wxUSE_MSW" = 1; then
46655 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
46656 cat >>confdefs.h <<\_ACEOF
46657 #define wxUSE_MS_HTML_HELP 1
46658 _ACEOF
46659
46660 fi
46661 fi
46662
46663 if test "$wxUSE_WXHTML_HELP" = "yes"; then
46664 if test "$wxUSE_HTML" = "yes"; then
46665 cat >>confdefs.h <<\_ACEOF
46666 #define wxUSE_WXHTML_HELP 1
46667 _ACEOF
46668
46669 else
46670 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
46671 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
46672 wxUSE_WXHTML_HELP=no
46673 fi
46674 fi
46675 fi
46676
46677 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
46678 cat >>confdefs.h <<\_ACEOF
46679 #define wxUSE_PRINTING_ARCHITECTURE 1
46680 _ACEOF
46681
46682 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
46683 fi
46684
46685 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
46686 cat >>confdefs.h <<\_ACEOF
46687 #define wxUSE_POSTSCRIPT 1
46688 _ACEOF
46689
46690 fi
46691
46692 cat >>confdefs.h <<\_ACEOF
46693 #define wxUSE_AFM_FOR_POSTSCRIPT 1
46694 _ACEOF
46695
46696
46697 if test "$wxUSE_SVG" = "yes"; then
46698 cat >>confdefs.h <<\_ACEOF
46699 #define wxUSE_SVG 1
46700 _ACEOF
46701
46702 fi
46703
46704
46705 if test "$wxUSE_METAFILE" = "yes"; then
46706 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
46707 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
46708 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
46709 wxUSE_METAFILE=no
46710 fi
46711 fi
46712
46713
46714 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
46715 -o "$wxUSE_CLIPBOARD" = "yes" \
46716 -o "$wxUSE_OLE" = "yes" \
46717 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
46718 { echo "$as_me:$LINENO: checking for ole2.h" >&5
46719 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
46720 if test "${ac_cv_header_ole2_h+set}" = set; then
46721 echo $ECHO_N "(cached) $ECHO_C" >&6
46722 else
46723 cat >conftest.$ac_ext <<_ACEOF
46724 /* confdefs.h. */
46725 _ACEOF
46726 cat confdefs.h >>conftest.$ac_ext
46727 cat >>conftest.$ac_ext <<_ACEOF
46728 /* end confdefs.h. */
46729
46730
46731 #include <ole2.h>
46732 _ACEOF
46733 rm -f conftest.$ac_objext
46734 if { (ac_try="$ac_compile"
46735 case "(($ac_try" in
46736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46737 *) ac_try_echo=$ac_try;;
46738 esac
46739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46740 (eval "$ac_compile") 2>conftest.er1
46741 ac_status=$?
46742 grep -v '^ *+' conftest.er1 >conftest.err
46743 rm -f conftest.er1
46744 cat conftest.err >&5
46745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46746 (exit $ac_status); } && {
46747 test -z "$ac_c_werror_flag" ||
46748 test ! -s conftest.err
46749 } && test -s conftest.$ac_objext; then
46750 ac_cv_header_ole2_h=yes
46751 else
46752 echo "$as_me: failed program was:" >&5
46753 sed 's/^/| /' conftest.$ac_ext >&5
46754
46755 ac_cv_header_ole2_h=no
46756 fi
46757
46758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46759 fi
46760 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
46761 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
46762
46763
46764
46765 if test "$ac_cv_header_ole2_h" = "yes" ; then
46766 if test "$GCC" = yes ; then
46767 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
46768 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
46769 cat >conftest.$ac_ext <<_ACEOF
46770 /* confdefs.h. */
46771 _ACEOF
46772 cat confdefs.h >>conftest.$ac_ext
46773 cat >>conftest.$ac_ext <<_ACEOF
46774 /* end confdefs.h. */
46775 #include <windows.h>
46776 #include <ole2.h>
46777 int
46778 main ()
46779 {
46780
46781 ;
46782 return 0;
46783 }
46784 _ACEOF
46785 rm -f conftest.$ac_objext
46786 if { (ac_try="$ac_compile"
46787 case "(($ac_try" in
46788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46789 *) ac_try_echo=$ac_try;;
46790 esac
46791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46792 (eval "$ac_compile") 2>conftest.er1
46793 ac_status=$?
46794 grep -v '^ *+' conftest.er1 >conftest.err
46795 rm -f conftest.er1
46796 cat conftest.err >&5
46797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46798 (exit $ac_status); } && {
46799 test -z "$ac_c_werror_flag" ||
46800 test ! -s conftest.err
46801 } && test -s conftest.$ac_objext; then
46802 { echo "$as_me:$LINENO: result: no" >&5
46803 echo "${ECHO_T}no" >&6; }
46804 else
46805 echo "$as_me: failed program was:" >&5
46806 sed 's/^/| /' conftest.$ac_ext >&5
46807
46808 { echo "$as_me:$LINENO: result: yes" >&5
46809 echo "${ECHO_T}yes" >&6; }
46810 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
46811 fi
46812
46813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46814 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
46815 if test "$wxUSE_OLE" = "yes" ; then
46816 cat >>confdefs.h <<\_ACEOF
46817 #define wxUSE_OLE 1
46818 _ACEOF
46819
46820 cat >>confdefs.h <<\_ACEOF
46821 #define wxUSE_OLE_AUTOMATION 1
46822 _ACEOF
46823
46824 cat >>confdefs.h <<\_ACEOF
46825 #define wxUSE_ACTIVEX 1
46826 _ACEOF
46827
46828 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
46829 fi
46830 fi
46831
46832 if test "$wxUSE_DATAOBJ" = "yes" ; then
46833 cat >>confdefs.h <<\_ACEOF
46834 #define wxUSE_DATAOBJ 1
46835 _ACEOF
46836
46837 fi
46838 else
46839 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
46840 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
46841
46842 wxUSE_CLIPBOARD=no
46843 wxUSE_DRAG_AND_DROP=no
46844 wxUSE_DATAOBJ=no
46845 wxUSE_OLE=no
46846 fi
46847
46848 if test "$wxUSE_METAFILE" = "yes"; then
46849 cat >>confdefs.h <<\_ACEOF
46850 #define wxUSE_METAFILE 1
46851 _ACEOF
46852
46853
46854 cat >>confdefs.h <<\_ACEOF
46855 #define wxUSE_ENH_METAFILE 1
46856 _ACEOF
46857
46858 fi
46859 fi
46860
46861 if test "$wxUSE_IPC" = "yes"; then
46862 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
46863 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
46864 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
46865 wxUSE_IPC=no
46866 fi
46867
46868 if test "$wxUSE_IPC" = "yes"; then
46869 cat >>confdefs.h <<\_ACEOF
46870 #define wxUSE_IPC 1
46871 _ACEOF
46872
46873 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
46874 fi
46875 fi
46876
46877 if test "$wxUSE_DATAOBJ" = "yes"; then
46878 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46879 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
46880 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
46881 wxUSE_DATAOBJ=no
46882 else
46883 cat >>confdefs.h <<\_ACEOF
46884 #define wxUSE_DATAOBJ 1
46885 _ACEOF
46886
46887 fi
46888 else
46889 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
46890 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
46891 wxUSE_CLIPBOARD=no
46892 wxUSE_DRAG_AND_DROP=no
46893 fi
46894
46895 if test "$wxUSE_CLIPBOARD" = "yes"; then
46896 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46897 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
46898 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
46899 wxUSE_CLIPBOARD=no
46900 fi
46901
46902 if test "$wxUSE_CLIPBOARD" = "yes"; then
46903 cat >>confdefs.h <<\_ACEOF
46904 #define wxUSE_CLIPBOARD 1
46905 _ACEOF
46906
46907 fi
46908 fi
46909
46910 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
46911 if test "$wxUSE_GTK" = 1; then
46912 if test "$WXGTK12" != 1; then
46913 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
46914 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
46915 wxUSE_DRAG_AND_DROP=no
46916 fi
46917 fi
46918
46919 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
46920 "$wxUSE_DFB" = 1; then
46921 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
46922 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
46923 wxUSE_DRAG_AND_DROP=no
46924 fi
46925
46926 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
46927 cat >>confdefs.h <<\_ACEOF
46928 #define wxUSE_DRAG_AND_DROP 1
46929 _ACEOF
46930
46931 fi
46932
46933 fi
46934
46935 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
46936 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
46937 fi
46938
46939 if test "$wxUSE_CLIPBOARD" = "yes"; then
46940 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
46941 fi
46942
46943 if test "$wxUSE_SPLINES" = "yes" ; then
46944 cat >>confdefs.h <<\_ACEOF
46945 #define wxUSE_SPLINES 1
46946 _ACEOF
46947
46948 fi
46949
46950 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
46951 cat >>confdefs.h <<\_ACEOF
46952 #define wxUSE_MOUSEWHEEL 1
46953 _ACEOF
46954
46955 fi
46956
46957 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
46958 cat >>confdefs.h <<\_ACEOF
46959 #define wxUSE_UIACTIONSIMULATOR 1
46960 _ACEOF
46961
46962 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS uiaction"
46963 fi
46964
46965
46966 USES_CONTROLS=0
46967 if test "$wxUSE_CONTROLS" = "yes"; then
46968 USES_CONTROLS=1
46969 fi
46970
46971 if test "$wxUSE_ACCEL" = "yes"; then
46972 cat >>confdefs.h <<\_ACEOF
46973 #define wxUSE_ACCEL 1
46974 _ACEOF
46975
46976 USES_CONTROLS=1
46977 fi
46978
46979 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
46980 cat >>confdefs.h <<\_ACEOF
46981 #define wxUSE_ANIMATIONCTRL 1
46982 _ACEOF
46983
46984 USES_CONTROLS=1
46985 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
46986 fi
46987
46988 if test "$wxUSE_BUTTON" = "yes"; then
46989 cat >>confdefs.h <<\_ACEOF
46990 #define wxUSE_BUTTON 1
46991 _ACEOF
46992
46993 USES_CONTROLS=1
46994 fi
46995
46996 if test "$wxUSE_BMPBUTTON" = "yes"; then
46997 cat >>confdefs.h <<\_ACEOF
46998 #define wxUSE_BMPBUTTON 1
46999 _ACEOF
47000
47001 USES_CONTROLS=1
47002 fi
47003
47004 if test "$wxUSE_CALCTRL" = "yes"; then
47005 cat >>confdefs.h <<\_ACEOF
47006 #define wxUSE_CALENDARCTRL 1
47007 _ACEOF
47008
47009 USES_CONTROLS=1
47010 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
47011 fi
47012
47013 if test "$wxUSE_CARET" = "yes"; then
47014 cat >>confdefs.h <<\_ACEOF
47015 #define wxUSE_CARET 1
47016 _ACEOF
47017
47018 USES_CONTROLS=1
47019 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
47020 fi
47021
47022 if test "$wxUSE_COLLPANE" = "yes"; then
47023 cat >>confdefs.h <<\_ACEOF
47024 #define wxUSE_COLLPANE 1
47025 _ACEOF
47026
47027 USES_CONTROLS=1
47028 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
47029 fi
47030
47031 if test "$wxUSE_COMBOBOX" = "yes"; then
47032 cat >>confdefs.h <<\_ACEOF
47033 #define wxUSE_COMBOBOX 1
47034 _ACEOF
47035
47036 USES_CONTROLS=1
47037 fi
47038
47039 if test "$wxUSE_COMBOCTRL" = "yes"; then
47040 cat >>confdefs.h <<\_ACEOF
47041 #define wxUSE_COMBOCTRL 1
47042 _ACEOF
47043
47044 USES_CONTROLS=1
47045 fi
47046
47047 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
47048 cat >>confdefs.h <<\_ACEOF
47049 #define wxUSE_COMMANDLINKBUTTON 1
47050 _ACEOF
47051
47052 USES_CONTROLS=1
47053 fi
47054
47055 if test "$wxUSE_CHOICE" = "yes"; then
47056 cat >>confdefs.h <<\_ACEOF
47057 #define wxUSE_CHOICE 1
47058 _ACEOF
47059
47060 USES_CONTROLS=1
47061 fi
47062
47063 if test "$wxUSE_CHOICEBOOK" = "yes"; then
47064 cat >>confdefs.h <<\_ACEOF
47065 #define wxUSE_CHOICEBOOK 1
47066 _ACEOF
47067
47068 USES_CONTROLS=1
47069 fi
47070
47071 if test "$wxUSE_CHECKBOX" = "yes"; then
47072 cat >>confdefs.h <<\_ACEOF
47073 #define wxUSE_CHECKBOX 1
47074 _ACEOF
47075
47076 USES_CONTROLS=1
47077 fi
47078
47079 if test "$wxUSE_CHECKLST" = "yes"; then
47080 cat >>confdefs.h <<\_ACEOF
47081 #define wxUSE_CHECKLISTBOX 1
47082 _ACEOF
47083
47084 USES_CONTROLS=1
47085 fi
47086
47087 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
47088 cat >>confdefs.h <<\_ACEOF
47089 #define wxUSE_COLOURPICKERCTRL 1
47090 _ACEOF
47091
47092 USES_CONTROLS=1
47093 fi
47094
47095 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
47096 cat >>confdefs.h <<\_ACEOF
47097 #define wxUSE_DATEPICKCTRL 1
47098 _ACEOF
47099
47100 USES_CONTROLS=1
47101 fi
47102
47103 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
47104 cat >>confdefs.h <<\_ACEOF
47105 #define wxUSE_DIRPICKERCTRL 1
47106 _ACEOF
47107
47108 USES_CONTROLS=1
47109 fi
47110
47111 if test "$wxUSE_FILECTRL" = "yes"; then
47112 cat >>confdefs.h <<\_ACEOF
47113 #define wxUSE_FILECTRL 1
47114 _ACEOF
47115
47116 USES_CONTROLS=1
47117 fi
47118
47119 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
47120 cat >>confdefs.h <<\_ACEOF
47121 #define wxUSE_FILEPICKERCTRL 1
47122 _ACEOF
47123
47124 USES_CONTROLS=1
47125 fi
47126
47127 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
47128 cat >>confdefs.h <<\_ACEOF
47129 #define wxUSE_FONTPICKERCTRL 1
47130 _ACEOF
47131
47132 USES_CONTROLS=1
47133 fi
47134
47135 if test "$wxUSE_DISPLAY" = "yes"; then
47136 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
47137 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
47138 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
47139 wxUSE_DISPLAY=no
47140 else
47141 cat >>confdefs.h <<\_ACEOF
47142 #define wxUSE_DISPLAY 1
47143 _ACEOF
47144
47145 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
47146 fi
47147 fi
47148
47149 if test "$wxUSE_DETECT_SM" = "yes"; then
47150 cat >>confdefs.h <<\_ACEOF
47151 #define wxUSE_DETECT_SM 1
47152 _ACEOF
47153
47154 fi
47155
47156 if test "$wxUSE_GAUGE" = "yes"; then
47157 cat >>confdefs.h <<\_ACEOF
47158 #define wxUSE_GAUGE 1
47159 _ACEOF
47160
47161 USES_CONTROLS=1
47162 fi
47163
47164 if test "$wxUSE_GRID" = "yes"; then
47165 cat >>confdefs.h <<\_ACEOF
47166 #define wxUSE_GRID 1
47167 _ACEOF
47168
47169 USES_CONTROLS=1
47170 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
47171 fi
47172
47173 if test "$wxUSE_HEADERCTRL" = "yes"; then
47174 cat >>confdefs.h <<\_ACEOF
47175 #define wxUSE_HEADERCTRL 1
47176 _ACEOF
47177
47178 USES_CONTROLS=1
47179 fi
47180
47181 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47182 cat >>confdefs.h <<\_ACEOF
47183 #define wxUSE_HYPERLINKCTRL 1
47184 _ACEOF
47185
47186 USES_CONTROLS=1
47187 fi
47188
47189 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
47190 cat >>confdefs.h <<\_ACEOF
47191 #define wxUSE_BITMAPCOMBOBOX 1
47192 _ACEOF
47193
47194 USES_CONTROLS=1
47195 fi
47196
47197 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
47198 cat >>confdefs.h <<\_ACEOF
47199 #define wxUSE_DATAVIEWCTRL 1
47200 _ACEOF
47201
47202 USES_CONTROLS=1
47203 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
47204 fi
47205
47206 if test "$wxUSE_IMAGLIST" = "yes"; then
47207 cat >>confdefs.h <<\_ACEOF
47208 #define wxUSE_IMAGLIST 1
47209 _ACEOF
47210
47211 fi
47212
47213 if test "$wxUSE_INFOBAR" = "yes"; then
47214 cat >>confdefs.h <<\_ACEOF
47215 #define wxUSE_INFOBAR 1
47216 _ACEOF
47217
47218 fi
47219
47220 if test "$wxUSE_LISTBOOK" = "yes"; then
47221 cat >>confdefs.h <<\_ACEOF
47222 #define wxUSE_LISTBOOK 1
47223 _ACEOF
47224
47225 USES_CONTROLS=1
47226 fi
47227
47228 if test "$wxUSE_LISTBOX" = "yes"; then
47229 cat >>confdefs.h <<\_ACEOF
47230 #define wxUSE_LISTBOX 1
47231 _ACEOF
47232
47233 USES_CONTROLS=1
47234 fi
47235
47236 if test "$wxUSE_LISTCTRL" = "yes"; then
47237 if test "$wxUSE_IMAGLIST" = "yes"; then
47238 cat >>confdefs.h <<\_ACEOF
47239 #define wxUSE_LISTCTRL 1
47240 _ACEOF
47241
47242 USES_CONTROLS=1
47243 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
47244 else
47245 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
47246 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
47247 fi
47248 fi
47249
47250 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
47251 cat >>confdefs.h <<\_ACEOF
47252 #define wxUSE_EDITABLELISTBOX 1
47253 _ACEOF
47254
47255 USES_CONTROLS=1
47256 fi
47257
47258 if test "$wxUSE_NOTEBOOK" = "yes"; then
47259 cat >>confdefs.h <<\_ACEOF
47260 #define wxUSE_NOTEBOOK 1
47261 _ACEOF
47262
47263 USES_CONTROLS=1
47264 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
47265 fi
47266
47267 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
47268 cat >>confdefs.h <<\_ACEOF
47269 #define wxUSE_NOTIFICATION_MESSAGE 1
47270 _ACEOF
47271
47272 fi
47273
47274 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
47275 cat >>confdefs.h <<\_ACEOF
47276 #define wxUSE_ODCOMBOBOX 1
47277 _ACEOF
47278
47279 USES_CONTROLS=1
47280 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
47281 fi
47282
47283 if test "$wxUSE_RADIOBOX" = "yes"; then
47284 cat >>confdefs.h <<\_ACEOF
47285 #define wxUSE_RADIOBOX 1
47286 _ACEOF
47287
47288 USES_CONTROLS=1
47289 fi
47290
47291 if test "$wxUSE_RADIOBTN" = "yes"; then
47292 cat >>confdefs.h <<\_ACEOF
47293 #define wxUSE_RADIOBTN 1
47294 _ACEOF
47295
47296 USES_CONTROLS=1
47297 fi
47298
47299 if test "$wxUSE_REARRANGECTRL" = "yes"; then
47300 cat >>confdefs.h <<\_ACEOF
47301 #define wxUSE_REARRANGECTRL 1
47302 _ACEOF
47303
47304 fi
47305
47306 if test "$wxUSE_RICHMSGDLG" = "yes"; then
47307 cat >>confdefs.h <<\_ACEOF
47308 #define wxUSE_RICHMSGDLG 1
47309 _ACEOF
47310
47311 fi
47312
47313 if test "$wxUSE_SASH" = "yes"; then
47314 cat >>confdefs.h <<\_ACEOF
47315 #define wxUSE_SASH 1
47316 _ACEOF
47317
47318 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
47319 fi
47320
47321 if test "$wxUSE_SCROLLBAR" = "yes"; then
47322 cat >>confdefs.h <<\_ACEOF
47323 #define wxUSE_SCROLLBAR 1
47324 _ACEOF
47325
47326 USES_CONTROLS=1
47327 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
47328 fi
47329
47330 if test "$wxUSE_SEARCHCTRL" = "yes"; then
47331 cat >>confdefs.h <<\_ACEOF
47332 #define wxUSE_SEARCHCTRL 1
47333 _ACEOF
47334
47335 USES_CONTROLS=1
47336 fi
47337
47338 if test "$wxUSE_SLIDER" = "yes"; then
47339 cat >>confdefs.h <<\_ACEOF
47340 #define wxUSE_SLIDER 1
47341 _ACEOF
47342
47343 USES_CONTROLS=1
47344 fi
47345
47346 if test "$wxUSE_SPINBTN" = "yes"; then
47347 cat >>confdefs.h <<\_ACEOF
47348 #define wxUSE_SPINBTN 1
47349 _ACEOF
47350
47351 USES_CONTROLS=1
47352 fi
47353
47354 if test "$wxUSE_SPINCTRL" = "yes"; then
47355 cat >>confdefs.h <<\_ACEOF
47356 #define wxUSE_SPINCTRL 1
47357 _ACEOF
47358
47359 USES_CONTROLS=1
47360 fi
47361
47362 if test "$wxUSE_SPLITTER" = "yes"; then
47363 cat >>confdefs.h <<\_ACEOF
47364 #define wxUSE_SPLITTER 1
47365 _ACEOF
47366
47367 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
47368 fi
47369
47370 if test "$wxUSE_STATBMP" = "yes"; then
47371 cat >>confdefs.h <<\_ACEOF
47372 #define wxUSE_STATBMP 1
47373 _ACEOF
47374
47375 USES_CONTROLS=1
47376 fi
47377
47378 if test "$wxUSE_STATBOX" = "yes"; then
47379 cat >>confdefs.h <<\_ACEOF
47380 #define wxUSE_STATBOX 1
47381 _ACEOF
47382
47383 USES_CONTROLS=1
47384 fi
47385
47386 if test "$wxUSE_STATTEXT" = "yes"; then
47387 cat >>confdefs.h <<\_ACEOF
47388 #define wxUSE_STATTEXT 1
47389 _ACEOF
47390
47391 USES_CONTROLS=1
47392 fi
47393
47394 if test "$wxUSE_STATLINE" = "yes"; then
47395 cat >>confdefs.h <<\_ACEOF
47396 #define wxUSE_STATLINE 1
47397 _ACEOF
47398
47399 USES_CONTROLS=1
47400 fi
47401
47402 if test "$wxUSE_STATUSBAR" = "yes"; then
47403 cat >>confdefs.h <<\_ACEOF
47404 #define wxUSE_NATIVE_STATUSBAR 1
47405 _ACEOF
47406
47407 cat >>confdefs.h <<\_ACEOF
47408 #define wxUSE_STATUSBAR 1
47409 _ACEOF
47410
47411 USES_CONTROLS=1
47412
47413 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
47414 fi
47415
47416 if test "$wxUSE_TEXTCTRL" = "yes"; then
47417 cat >>confdefs.h <<\_ACEOF
47418 #define wxUSE_TEXTCTRL 1
47419 _ACEOF
47420
47421 USES_CONTROLS=1
47422 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
47423
47424 cat >>confdefs.h <<\_ACEOF
47425 #define wxUSE_RICHEDIT 1
47426 _ACEOF
47427
47428 cat >>confdefs.h <<\_ACEOF
47429 #define wxUSE_RICHEDIT2 1
47430 _ACEOF
47431
47432 fi
47433
47434 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47435 if test "$wxUSE_OLD_COCOA" = 1 ; then
47436 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
47437 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
47438 wxUSE_TOGGLEBTN=no
47439 fi
47440
47441 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47442 cat >>confdefs.h <<\_ACEOF
47443 #define wxUSE_TOGGLEBTN 1
47444 _ACEOF
47445
47446 USES_CONTROLS=1
47447 fi
47448 fi
47449
47450 if test "$wxUSE_TOOLBAR" = "yes"; then
47451 cat >>confdefs.h <<\_ACEOF
47452 #define wxUSE_TOOLBAR 1
47453 _ACEOF
47454
47455 USES_CONTROLS=1
47456
47457 if test "$wxUSE_UNIVERSAL" = "yes"; then
47458 wxUSE_TOOLBAR_NATIVE="no"
47459 else
47460 wxUSE_TOOLBAR_NATIVE="yes"
47461 cat >>confdefs.h <<\_ACEOF
47462 #define wxUSE_TOOLBAR_NATIVE 1
47463 _ACEOF
47464
47465 fi
47466
47467 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
47468 fi
47469
47470 if test "$wxUSE_TOOLTIPS" = "yes"; then
47471 if test "$wxUSE_MOTIF" = 1; then
47472 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
47473 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
47474 else
47475 if test "$wxUSE_UNIVERSAL" = "yes"; then
47476 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
47477 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
47478 else
47479 cat >>confdefs.h <<\_ACEOF
47480 #define wxUSE_TOOLTIPS 1
47481 _ACEOF
47482
47483 fi
47484 fi
47485 fi
47486
47487 if test "$wxUSE_TREEBOOK" = "yes"; then
47488 cat >>confdefs.h <<\_ACEOF
47489 #define wxUSE_TREEBOOK 1
47490 _ACEOF
47491
47492 USES_CONTROLS=1
47493 fi
47494
47495 if test "$wxUSE_TOOLBOOK" = "yes"; then
47496 cat >>confdefs.h <<\_ACEOF
47497 #define wxUSE_TOOLBOOK 1
47498 _ACEOF
47499
47500 USES_CONTROLS=1
47501 fi
47502
47503 if test "$wxUSE_TREECTRL" = "yes"; then
47504 if test "$wxUSE_IMAGLIST" = "yes"; then
47505 cat >>confdefs.h <<\_ACEOF
47506 #define wxUSE_TREECTRL 1
47507 _ACEOF
47508
47509 USES_CONTROLS=1
47510 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
47511 else
47512 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
47513 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
47514 fi
47515 fi
47516
47517 if test "$wxUSE_POPUPWIN" = "yes"; then
47518 if test "$wxUSE_OLD_COCOA" = 1 ; then
47519 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
47520 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
47521 else
47522 if test "$wxUSE_PM" = 1; then
47523 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
47524 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
47525 else
47526 cat >>confdefs.h <<\_ACEOF
47527 #define wxUSE_POPUPWIN 1
47528 _ACEOF
47529
47530 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
47531
47532 USES_CONTROLS=1
47533 fi
47534 fi
47535 fi
47536
47537 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
47538 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
47539 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
47540 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
47541 else
47542 cat >>confdefs.h <<\_ACEOF
47543 #define wxUSE_DIALUP_MANAGER 1
47544 _ACEOF
47545
47546 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
47547 fi
47548 fi
47549
47550 if test "$wxUSE_TIPWINDOW" = "yes"; then
47551 if test "$wxUSE_PM" = 1; then
47552 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
47553 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
47554 else
47555 cat >>confdefs.h <<\_ACEOF
47556 #define wxUSE_TIPWINDOW 1
47557 _ACEOF
47558
47559 fi
47560 fi
47561
47562 if test "$USES_CONTROLS" = 1; then
47563 cat >>confdefs.h <<\_ACEOF
47564 #define wxUSE_CONTROLS 1
47565 _ACEOF
47566
47567 fi
47568
47569
47570 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
47571 cat >>confdefs.h <<\_ACEOF
47572 #define wxUSE_ACCESSIBILITY 1
47573 _ACEOF
47574
47575 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
47576 fi
47577
47578 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
47579 if test "$wxUSE_GTK" != 1; then
47580 if test "$wxUSE_LIBPNG" != no -a \
47581 "$wxUSE_IMAGE" = yes -a \
47582 "$wxUSE_STREAMS" = yes; then
47583 wxUSE_ARTPROVIDER_TANGO="yes"
47584 fi
47585 fi
47586 fi
47587
47588 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
47589 cat >>confdefs.h <<\_ACEOF
47590 #define wxUSE_ARTPROVIDER_TANGO 1
47591 _ACEOF
47592
47593 fi
47594
47595 if test "$wxUSE_DRAGIMAGE" = "yes"; then
47596 cat >>confdefs.h <<\_ACEOF
47597 #define wxUSE_DRAGIMAGE 1
47598 _ACEOF
47599
47600 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
47601 fi
47602
47603 if test "$wxUSE_EXCEPTIONS" = "yes"; then
47604 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
47605 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
47606 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
47607 else
47608 cat >>confdefs.h <<\_ACEOF
47609 #define wxUSE_EXCEPTIONS 1
47610 _ACEOF
47611
47612 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
47613 fi
47614 fi
47615
47616 USE_HTML=0
47617 if test "$wxUSE_HTML" = "yes"; then
47618 cat >>confdefs.h <<\_ACEOF
47619 #define wxUSE_HTML 1
47620 _ACEOF
47621
47622 USE_HTML=1
47623 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
47624 fi
47625 if test "$wxUSE_WEBKIT" = "yes"; then
47626 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
47627 old_CPPFLAGS="$CPPFLAGS"
47628 CPPFLAGS="-x objective-c++ $CPPFLAGS"
47629 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
47630 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
47631 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
47632 echo $ECHO_N "(cached) $ECHO_C" >&6
47633 else
47634 cat >conftest.$ac_ext <<_ACEOF
47635 /* confdefs.h. */
47636 _ACEOF
47637 cat confdefs.h >>conftest.$ac_ext
47638 cat >>conftest.$ac_ext <<_ACEOF
47639 /* end confdefs.h. */
47640
47641 #include <Carbon/Carbon.h>
47642 #include <WebKit/WebKit.h>
47643
47644
47645 #include <WebKit/HIWebView.h>
47646 _ACEOF
47647 rm -f conftest.$ac_objext
47648 if { (ac_try="$ac_compile"
47649 case "(($ac_try" in
47650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47651 *) ac_try_echo=$ac_try;;
47652 esac
47653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47654 (eval "$ac_compile") 2>conftest.er1
47655 ac_status=$?
47656 grep -v '^ *+' conftest.er1 >conftest.err
47657 rm -f conftest.er1
47658 cat conftest.err >&5
47659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47660 (exit $ac_status); } && {
47661 test -z "$ac_c_werror_flag" ||
47662 test ! -s conftest.err
47663 } && test -s conftest.$ac_objext; then
47664 ac_cv_header_WebKit_HIWebView_h=yes
47665 else
47666 echo "$as_me: failed program was:" >&5
47667 sed 's/^/| /' conftest.$ac_ext >&5
47668
47669 ac_cv_header_WebKit_HIWebView_h=no
47670 fi
47671
47672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47673 fi
47674 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
47675 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
47676 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
47677
47678 cat >>confdefs.h <<\_ACEOF
47679 #define wxUSE_WEBKIT 1
47680 _ACEOF
47681
47682 WEBKIT_LINK="-framework WebKit"
47683
47684 else
47685
47686 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
47687 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
47688 wxUSE_WEBKIT=no
47689
47690 fi
47691
47692
47693 CPPFLAGS="$old_CPPFLAGS"
47694 elif test "$wxUSE_OLD_COCOA" = 1; then
47695 cat >>confdefs.h <<\_ACEOF
47696 #define wxUSE_WEBKIT 1
47697 _ACEOF
47698
47699 else
47700 wxUSE_WEBKIT=no
47701 fi
47702 if test "$wxUSE_WEBKIT" = "yes"; then
47703 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
47704 fi
47705 fi
47706
47707 USE_XRC=0
47708 if test "$wxUSE_XRC" = "yes"; then
47709 if test "$wxUSE_XML" != "yes"; then
47710 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
47711 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
47712 wxUSE_XRC=no
47713 else
47714 cat >>confdefs.h <<\_ACEOF
47715 #define wxUSE_XRC 1
47716 _ACEOF
47717
47718 USE_XRC=1
47719 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
47720 fi
47721 fi
47722
47723 USE_AUI=0
47724 if test "$wxUSE_AUI" = "yes"; then
47725 cat >>confdefs.h <<\_ACEOF
47726 #define wxUSE_AUI 1
47727 _ACEOF
47728
47729 USE_AUI=1
47730 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
47731 fi
47732
47733 USE_PROPGRID=0
47734 if test "$wxUSE_PROPGRID" = "yes"; then
47735 cat >>confdefs.h <<\_ACEOF
47736 #define wxUSE_PROPGRID 1
47737 _ACEOF
47738
47739 USE_PROPGRID=1
47740 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
47741 fi
47742
47743 USE_RIBBON=0
47744 if test "$wxUSE_RIBBON" = "yes"; then
47745 cat >>confdefs.h <<\_ACEOF
47746 #define wxUSE_RIBBON 1
47747 _ACEOF
47748
47749 USE_RIBBON=1
47750 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
47751 fi
47752
47753 USE_STC=0
47754 if test "$wxUSE_STC" = "yes"; then
47755 cat >>confdefs.h <<\_ACEOF
47756 #define wxUSE_STC 1
47757 _ACEOF
47758
47759 USE_STC=1
47760 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
47761
47762 # Extract the first word of "python", so it can be a program name with args.
47763 set dummy python; ac_word=$2
47764 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47766 if test "${ac_cv_path_PYTHON+set}" = set; then
47767 echo $ECHO_N "(cached) $ECHO_C" >&6
47768 else
47769 case $PYTHON in
47770 [\\/]* | ?:[\\/]*)
47771 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
47772 ;;
47773 *)
47774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47775 for as_dir in $PATH
47776 do
47777 IFS=$as_save_IFS
47778 test -z "$as_dir" && as_dir=.
47779 for ac_exec_ext in '' $ac_executable_extensions; do
47780 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47781 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
47782 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47783 break 2
47784 fi
47785 done
47786 done
47787 IFS=$as_save_IFS
47788
47789 ;;
47790 esac
47791 fi
47792 PYTHON=$ac_cv_path_PYTHON
47793 if test -n "$PYTHON"; then
47794 { echo "$as_me:$LINENO: result: $PYTHON" >&5
47795 echo "${ECHO_T}$PYTHON" >&6; }
47796 else
47797 { echo "$as_me:$LINENO: result: no" >&5
47798 echo "${ECHO_T}no" >&6; }
47799 fi
47800
47801
47802 if test "x$PYTHON" = "x"; then
47803 COND_PYTHON="#"
47804 fi
47805
47806 fi
47807
47808 if test "$wxUSE_MENUS" = "yes"; then
47809 cat >>confdefs.h <<\_ACEOF
47810 #define wxUSE_MENUS 1
47811 _ACEOF
47812
47813 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
47814 fi
47815
47816 if test "$wxUSE_METAFILE" = "yes"; then
47817 cat >>confdefs.h <<\_ACEOF
47818 #define wxUSE_METAFILE 1
47819 _ACEOF
47820
47821 fi
47822
47823 if test "$wxUSE_MIMETYPE" = "yes"; then
47824 cat >>confdefs.h <<\_ACEOF
47825 #define wxUSE_MIMETYPE 1
47826 _ACEOF
47827
47828 fi
47829
47830 if test "$wxUSE_MINIFRAME" = "yes"; then
47831 cat >>confdefs.h <<\_ACEOF
47832 #define wxUSE_MINIFRAME 1
47833 _ACEOF
47834
47835 fi
47836
47837 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
47838 cat >>confdefs.h <<\_ACEOF
47839 #define wxUSE_SYSTEM_OPTIONS 1
47840 _ACEOF
47841
47842 fi
47843
47844 if test "$wxUSE_TASKBARICON" = "yes"; then
47845 cat >>confdefs.h <<\_ACEOF
47846 #define wxUSE_TASKBARICON 1
47847 _ACEOF
47848
47849 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
47850 fi
47851
47852
47853 if test "$wxUSE_VALIDATORS" = "yes"; then
47854 cat >>confdefs.h <<\_ACEOF
47855 #define wxUSE_VALIDATORS 1
47856 _ACEOF
47857
47858 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
47859 fi
47860
47861 if test "$wxUSE_PALETTE" = "yes" ; then
47862 if test "$wxUSE_DFB" = 1; then
47863 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
47864 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
47865 wxUSE_PALETTE=no
47866 else
47867 cat >>confdefs.h <<\_ACEOF
47868 #define wxUSE_PALETTE 1
47869 _ACEOF
47870
47871 fi
47872 fi
47873
47874 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
47875 LIBS=" -lunicows $LIBS"
47876 fi
47877
47878 USE_RICHTEXT=0
47879 if test "$wxUSE_RICHTEXT" = "yes"; then
47880 cat >>confdefs.h <<\_ACEOF
47881 #define wxUSE_RICHTEXT 1
47882 _ACEOF
47883
47884 USE_RICHTEXT=1
47885 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
47886 fi
47887
47888
47889 if test "$wxUSE_IMAGE" = "yes" ; then
47890 cat >>confdefs.h <<\_ACEOF
47891 #define wxUSE_IMAGE 1
47892 _ACEOF
47893
47894
47895 if test "$wxUSE_GIF" = "yes" ; then
47896 cat >>confdefs.h <<\_ACEOF
47897 #define wxUSE_GIF 1
47898 _ACEOF
47899
47900 fi
47901
47902 if test "$wxUSE_PCX" = "yes" ; then
47903 cat >>confdefs.h <<\_ACEOF
47904 #define wxUSE_PCX 1
47905 _ACEOF
47906
47907 fi
47908
47909 if test "$wxUSE_TGA" = "yes" ; then
47910 cat >>confdefs.h <<\_ACEOF
47911 #define wxUSE_TGA 1
47912 _ACEOF
47913
47914 fi
47915
47916 if test "$wxUSE_IFF" = "yes" ; then
47917 cat >>confdefs.h <<\_ACEOF
47918 #define wxUSE_IFF 1
47919 _ACEOF
47920
47921 fi
47922
47923 if test "$wxUSE_PNM" = "yes" ; then
47924 cat >>confdefs.h <<\_ACEOF
47925 #define wxUSE_PNM 1
47926 _ACEOF
47927
47928 fi
47929
47930 if test "$wxUSE_XPM" = "yes" ; then
47931 cat >>confdefs.h <<\_ACEOF
47932 #define wxUSE_XPM 1
47933 _ACEOF
47934
47935 fi
47936
47937 if test "$wxUSE_ICO_CUR" = "yes" ; then
47938 cat >>confdefs.h <<\_ACEOF
47939 #define wxUSE_ICO_CUR 1
47940 _ACEOF
47941
47942 fi
47943 fi
47944
47945
47946 if test "$wxUSE_ABOUTDLG" = "yes"; then
47947 cat >>confdefs.h <<\_ACEOF
47948 #define wxUSE_ABOUTDLG 1
47949 _ACEOF
47950
47951 fi
47952
47953 if test "$wxUSE_CHOICEDLG" = "yes"; then
47954 cat >>confdefs.h <<\_ACEOF
47955 #define wxUSE_CHOICEDLG 1
47956 _ACEOF
47957
47958 fi
47959
47960 if test "$wxUSE_COLOURDLG" = "yes"; then
47961 cat >>confdefs.h <<\_ACEOF
47962 #define wxUSE_COLOURDLG 1
47963 _ACEOF
47964
47965 fi
47966
47967 if test "$wxUSE_FILEDLG" = "yes"; then
47968 cat >>confdefs.h <<\_ACEOF
47969 #define wxUSE_FILEDLG 1
47970 _ACEOF
47971
47972 fi
47973
47974 if test "$wxUSE_FINDREPLDLG" = "yes"; then
47975 cat >>confdefs.h <<\_ACEOF
47976 #define wxUSE_FINDREPLDLG 1
47977 _ACEOF
47978
47979 fi
47980
47981 if test "$wxUSE_FONTDLG" = "yes"; then
47982 cat >>confdefs.h <<\_ACEOF
47983 #define wxUSE_FONTDLG 1
47984 _ACEOF
47985
47986 fi
47987
47988 if test "$wxUSE_DIRDLG" = "yes"; then
47989 if test "$wxUSE_TREECTRL" != "yes"; then
47990 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
47991 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
47992 else
47993 cat >>confdefs.h <<\_ACEOF
47994 #define wxUSE_DIRDLG 1
47995 _ACEOF
47996
47997 fi
47998 fi
47999
48000 if test "$wxUSE_MSGDLG" = "yes"; then
48001 cat >>confdefs.h <<\_ACEOF
48002 #define wxUSE_MSGDLG 1
48003 _ACEOF
48004
48005 fi
48006
48007 if test "$wxUSE_NUMBERDLG" = "yes"; then
48008 cat >>confdefs.h <<\_ACEOF
48009 #define wxUSE_NUMBERDLG 1
48010 _ACEOF
48011
48012 fi
48013
48014 if test "$wxUSE_PROGRESSDLG" = "yes"; then
48015 cat >>confdefs.h <<\_ACEOF
48016 #define wxUSE_PROGRESSDLG 1
48017 _ACEOF
48018
48019 fi
48020
48021 if test "$wxUSE_SPLASH" = "yes"; then
48022 cat >>confdefs.h <<\_ACEOF
48023 #define wxUSE_SPLASH 1
48024 _ACEOF
48025
48026 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
48027 fi
48028
48029 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
48030 cat >>confdefs.h <<\_ACEOF
48031 #define wxUSE_STARTUP_TIPS 1
48032 _ACEOF
48033
48034 fi
48035
48036 if test "$wxUSE_TEXTDLG" = "yes"; then
48037 cat >>confdefs.h <<\_ACEOF
48038 #define wxUSE_TEXTDLG 1
48039 _ACEOF
48040
48041 fi
48042
48043 if test "$wxUSE_WIZARDDLG" = "yes"; then
48044 cat >>confdefs.h <<\_ACEOF
48045 #define wxUSE_WIZARDDLG 1
48046 _ACEOF
48047
48048 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
48049 fi
48050
48051
48052 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
48053 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
48054 cat >>confdefs.h <<\_ACEOF
48055 #define wxUSE_OWNER_DRAWN 1
48056 _ACEOF
48057
48058 fi
48059 fi
48060
48061
48062 if test "$wxUSE_MSW" = 1 ; then
48063
48064 if test "$wxUSE_DC_CACHEING" = "yes"; then
48065 cat >>confdefs.h <<\_ACEOF
48066 #define wxUSE_DC_CACHEING 1
48067 _ACEOF
48068
48069 fi
48070
48071 if test "$wxUSE_DIB" = "yes"; then
48072 cat >>confdefs.h <<\_ACEOF
48073 #define wxUSE_WXDIB 1
48074 _ACEOF
48075
48076 fi
48077
48078 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
48079 cat >>confdefs.h <<\_ACEOF
48080 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
48081 _ACEOF
48082
48083 fi
48084
48085 if test "$wxUSE_UXTHEME" = "yes"; then
48086 cat >>confdefs.h <<\_ACEOF
48087 #define wxUSE_UXTHEME 1
48088 _ACEOF
48089
48090 fi
48091
48092 fi
48093
48094 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
48095 cat >>confdefs.h <<\_ACEOF
48096 #define wxUSE_AUTOID_MANAGEMENT 1
48097 _ACEOF
48098
48099 fi
48100
48101 if test "$USE_WIN32" = 1 ; then
48102 if test "$wxUSE_INICONF" = "yes"; then
48103 cat >>confdefs.h <<\_ACEOF
48104 #define wxUSE_INICONF 1
48105 _ACEOF
48106
48107 fi
48108
48109 if test "$wxUSE_REGKEY" = "yes"; then
48110 cat >>confdefs.h <<\_ACEOF
48111 #define wxUSE_REGKEY 1
48112 _ACEOF
48113
48114 fi
48115 fi
48116
48117
48118 if test "$wxUSE_MAC" = 1; then
48119 wxUSE_GRAPHICS_CONTEXT="yes"
48120 fi
48121
48122 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
48123 wx_has_graphics=0
48124 if test "$wxUSE_MSW" = 1; then
48125 { echo "$as_me:$LINENO: checking if GDI+ is available" >&5
48126 echo $ECHO_N "checking if GDI+ is available... $ECHO_C" >&6; }
48127 if test "${wx_cv_lib_gdiplus+set}" = set; then
48128 echo $ECHO_N "(cached) $ECHO_C" >&6
48129 else
48130
48131 ac_ext=cpp
48132 ac_cpp='$CXXCPP $CPPFLAGS'
48133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48136
48137 cat >conftest.$ac_ext <<_ACEOF
48138 /* confdefs.h. */
48139 _ACEOF
48140 cat confdefs.h >>conftest.$ac_ext
48141 cat >>conftest.$ac_ext <<_ACEOF
48142 /* end confdefs.h. */
48143 #include <windows.h>
48144 #include <gdiplus.h>
48145 int
48146 main ()
48147 {
48148
48149 using namespace Gdiplus;
48150
48151 ;
48152 return 0;
48153 }
48154 _ACEOF
48155 rm -f conftest.$ac_objext
48156 if { (ac_try="$ac_compile"
48157 case "(($ac_try" in
48158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48159 *) ac_try_echo=$ac_try;;
48160 esac
48161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48162 (eval "$ac_compile") 2>conftest.er1
48163 ac_status=$?
48164 grep -v '^ *+' conftest.er1 >conftest.err
48165 rm -f conftest.er1
48166 cat conftest.err >&5
48167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48168 (exit $ac_status); } && {
48169 test -z "$ac_cxx_werror_flag" ||
48170 test ! -s conftest.err
48171 } && test -s conftest.$ac_objext; then
48172 wx_cv_lib_gdiplus=yes
48173 else
48174 echo "$as_me: failed program was:" >&5
48175 sed 's/^/| /' conftest.$ac_ext >&5
48176
48177 wx_cv_lib_gdiplus=no
48178
48179 fi
48180
48181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48182 ac_ext=c
48183 ac_cpp='$CPP $CPPFLAGS'
48184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48187
48188
48189
48190 fi
48191 { echo "$as_me:$LINENO: result: $wx_cv_lib_gdiplus" >&5
48192 echo "${ECHO_T}$wx_cv_lib_gdiplus" >&6; }
48193 if test "$wx_cv_lib_gdiplus" = "yes"; then
48194 wx_has_graphics=1
48195 fi
48196 elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
48197
48198 pkg_failed=no
48199 { echo "$as_me:$LINENO: checking for CAIRO" >&5
48200 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
48201
48202 if test -n "$PKG_CONFIG"; then
48203 if test -n "$CAIRO_CFLAGS"; then
48204 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
48205 else
48206 if test -n "$PKG_CONFIG" && \
48207 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48208 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48209 ac_status=$?
48210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48211 (exit $ac_status); }; then
48212 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
48213 else
48214 pkg_failed=yes
48215 fi
48216 fi
48217 else
48218 pkg_failed=untried
48219 fi
48220 if test -n "$PKG_CONFIG"; then
48221 if test -n "$CAIRO_LIBS"; then
48222 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
48223 else
48224 if test -n "$PKG_CONFIG" && \
48225 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48226 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48227 ac_status=$?
48228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48229 (exit $ac_status); }; then
48230 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
48231 else
48232 pkg_failed=yes
48233 fi
48234 fi
48235 else
48236 pkg_failed=untried
48237 fi
48238
48239
48240
48241 if test $pkg_failed = yes; then
48242
48243 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48244 _pkg_short_errors_supported=yes
48245 else
48246 _pkg_short_errors_supported=no
48247 fi
48248 if test $_pkg_short_errors_supported = yes; then
48249 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
48250 else
48251 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
48252 fi
48253 # Put the nasty error message in config.log where it belongs
48254 echo "$CAIRO_PKG_ERRORS" >&5
48255
48256 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
48257 echo "$as_me: WARNING: Cairo library not found" >&2;}
48258
48259 elif test $pkg_failed = untried; then
48260 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
48261 echo "$as_me: WARNING: Cairo library not found" >&2;}
48262
48263 else
48264 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
48265 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
48266 { echo "$as_me:$LINENO: result: yes" >&5
48267 echo "${ECHO_T}yes" >&6; }
48268 wx_has_graphics=1
48269 fi
48270 if test "$wx_has_graphics" = 1; then
48271 cat >>confdefs.h <<\_ACEOF
48272 #define wxUSE_CAIRO 1
48273 _ACEOF
48274
48275
48276 if test "$wxUSE_GTK" != 1; then
48277 CPPFLAGS="$CAIRO_CFLAGS $CPPFLAGS"
48278 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $CAIRO_LIBS"
48279 fi
48280 fi
48281 else
48282 wx_has_graphics=1
48283 fi
48284
48285 if test "$wx_has_graphics" = 1; then
48286 cat >>confdefs.h <<\_ACEOF
48287 #define wxUSE_GRAPHICS_CONTEXT 1
48288 _ACEOF
48289
48290 else
48291 { echo "$as_me:$LINENO: WARNING: wxGraphicsContext won't be available" >&5
48292 echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
48293 fi
48294 fi
48295
48296
48297 USE_MEDIA=0
48298
48299 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
48300 USE_MEDIA=1
48301
48302 if test "$wxUSE_GTK" = 1; then
48303 wxUSE_GSTREAMER="no"
48304
48305 GST_VERSION_MAJOR=0
48306 GST_VERSION_MINOR=10
48307 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48308
48309 if test "$wxUSE_GSTREAMER8" = "no"; then
48310
48311 pkg_failed=no
48312 { echo "$as_me:$LINENO: checking for GST" >&5
48313 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48314
48315 if test -n "$PKG_CONFIG"; then
48316 if test -n "$GST_CFLAGS"; then
48317 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48318 else
48319 if test -n "$PKG_CONFIG" && \
48320 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48321 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48322 ac_status=$?
48323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48324 (exit $ac_status); }; then
48325 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48326 else
48327 pkg_failed=yes
48328 fi
48329 fi
48330 else
48331 pkg_failed=untried
48332 fi
48333 if test -n "$PKG_CONFIG"; then
48334 if test -n "$GST_LIBS"; then
48335 pkg_cv_GST_LIBS="$GST_LIBS"
48336 else
48337 if test -n "$PKG_CONFIG" && \
48338 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48339 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48340 ac_status=$?
48341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48342 (exit $ac_status); }; then
48343 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48344 else
48345 pkg_failed=yes
48346 fi
48347 fi
48348 else
48349 pkg_failed=untried
48350 fi
48351
48352
48353
48354 if test $pkg_failed = yes; then
48355
48356 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48357 _pkg_short_errors_supported=yes
48358 else
48359 _pkg_short_errors_supported=no
48360 fi
48361 if test $_pkg_short_errors_supported = yes; then
48362 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48363 else
48364 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48365 fi
48366 # Put the nasty error message in config.log where it belongs
48367 echo "$GST_PKG_ERRORS" >&5
48368
48369
48370 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48371 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48372 GST_VERSION_MINOR=8
48373
48374
48375 elif test $pkg_failed = untried; then
48376
48377 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48378 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48379 GST_VERSION_MINOR=8
48380
48381
48382 else
48383 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48384 GST_LIBS=$pkg_cv_GST_LIBS
48385 { echo "$as_me:$LINENO: result: yes" >&5
48386 echo "${ECHO_T}yes" >&6; }
48387
48388 wxUSE_GSTREAMER="yes"
48389 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
48390
48391 fi
48392 else
48393 GST_VERSION_MINOR=8
48394 fi
48395
48396 if test $GST_VERSION_MINOR = "8"; then
48397 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48398
48399 pkg_failed=no
48400 { echo "$as_me:$LINENO: checking for GST" >&5
48401 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48402
48403 if test -n "$PKG_CONFIG"; then
48404 if test -n "$GST_CFLAGS"; then
48405 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48406 else
48407 if test -n "$PKG_CONFIG" && \
48408 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48409 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48410 ac_status=$?
48411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48412 (exit $ac_status); }; then
48413 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48414 else
48415 pkg_failed=yes
48416 fi
48417 fi
48418 else
48419 pkg_failed=untried
48420 fi
48421 if test -n "$PKG_CONFIG"; then
48422 if test -n "$GST_LIBS"; then
48423 pkg_cv_GST_LIBS="$GST_LIBS"
48424 else
48425 if test -n "$PKG_CONFIG" && \
48426 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48427 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48428 ac_status=$?
48429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48430 (exit $ac_status); }; then
48431 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48432 else
48433 pkg_failed=yes
48434 fi
48435 fi
48436 else
48437 pkg_failed=untried
48438 fi
48439
48440
48441
48442 if test $pkg_failed = yes; then
48443
48444 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48445 _pkg_short_errors_supported=yes
48446 else
48447 _pkg_short_errors_supported=no
48448 fi
48449 if test $_pkg_short_errors_supported = yes; then
48450 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48451 else
48452 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48453 fi
48454 # Put the nasty error message in config.log where it belongs
48455 echo "$GST_PKG_ERRORS" >&5
48456
48457
48458 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48459 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48460
48461 elif test $pkg_failed = untried; then
48462
48463 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48464 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48465
48466 else
48467 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48468 GST_LIBS=$pkg_cv_GST_LIBS
48469 { echo "$as_me:$LINENO: result: yes" >&5
48470 echo "${ECHO_T}yes" >&6; }
48471 wxUSE_GSTREAMER="yes"
48472 fi
48473 fi
48474
48475
48476 if test "$wxUSE_GSTREAMER" = "yes"; then
48477 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
48478 EXTRALIBS_MEDIA="$GST_LIBS"
48479
48480 cat >>confdefs.h <<\_ACEOF
48481 #define wxUSE_GSTREAMER 1
48482 _ACEOF
48483
48484 else
48485 USE_MEDIA=0
48486 fi
48487 fi
48488
48489 if test $USE_MEDIA = 1; then
48490 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
48491 cat >>confdefs.h <<\_ACEOF
48492 #define wxUSE_MEDIACTRL 1
48493 _ACEOF
48494
48495 else
48496 if test "$wxUSE_MEDIACTRL" = "yes"; then
48497 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
48498 echo "$as_me: error: GStreamer not available" >&2;}
48499 { (exit 1); exit 1; }; }
48500 else
48501 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
48502 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
48503 fi
48504 fi
48505 fi
48506
48507
48508 if test "$cross_compiling" != "no"; then
48509 OSINFO="\"$host\""
48510 else
48511 OSINFO=`uname -s -r -m`
48512 OSINFO="\"$OSINFO\""
48513 fi
48514
48515 cat >>confdefs.h <<_ACEOF
48516 #define WXWIN_OS_DESCRIPTION $OSINFO
48517 _ACEOF
48518
48519
48520
48521 if test "x$prefix" != "xNONE"; then
48522 wxPREFIX=$prefix
48523 else
48524 wxPREFIX=$ac_default_prefix
48525 fi
48526
48527 cat >>confdefs.h <<_ACEOF
48528 #define wxINSTALL_PREFIX "$wxPREFIX"
48529 _ACEOF
48530
48531
48532
48533
48534 STD_BASE_LIBS="base"
48535 STD_GUI_LIBS=""
48536 BUILT_WX_LIBS="base"
48537 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
48538
48539 if test "$wxUSE_SOCKETS" = "yes" ; then
48540 STD_BASE_LIBS="net $STD_BASE_LIBS"
48541 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
48542 fi
48543 if test "$wxUSE_XML" = "yes" ; then
48544 STD_BASE_LIBS="xml $STD_BASE_LIBS"
48545 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
48546 fi
48547
48548 if test "$wxUSE_GUI" = "yes"; then
48549 STD_GUI_LIBS="adv core"
48550 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
48551
48552 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48553 STD_GUI_LIBS="qa $STD_GUI_LIBS"
48554 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
48555 fi
48556 if test "$wxUSE_HTML" = "yes" ; then
48557 STD_GUI_LIBS="html $STD_GUI_LIBS"
48558 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
48559 fi
48560 if test "$wxUSE_MEDIACTRL" = "yes" ; then
48561 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
48562 fi
48563 if test "$wxUSE_OPENGL" = "yes" ; then
48564 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
48565 fi
48566 if test "$wxUSE_AUI" = "yes" ; then
48567 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
48568 fi
48569 if test "$wxUSE_PROPGRID" = "yes" ; then
48570 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
48571 fi
48572 if test "$wxUSE_RIBBON" = "yes" ; then
48573 BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
48574 fi
48575 if test "$wxUSE_RICHTEXT" = "yes" ; then
48576 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
48577 fi
48578 if test "$wxUSE_STC" = "yes" ; then
48579 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
48580 fi
48581 if test "$wxUSE_XRC" = "yes" ; then
48582 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
48583 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
48584 fi
48585 fi
48586
48587
48588
48589
48590
48591
48592
48593 EXTRA_FRAMEWORKS=
48594 if test "$wxUSE_MAC" = 1 ; then
48595 if test "$USE_DARWIN" = 1; then
48596 if test "$wxUSE_OSX_IPHONE" = 1; then
48597 EXTRA_FRAMEWORKS="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
48598 else
48599 EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime"
48600 fi
48601 fi
48602 fi
48603 if test "$wxUSE_OLD_COCOA" = 1 ; then
48604 EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
48605 if test "$wxUSE_MEDIACTRL" = "yes"; then
48606 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
48607 fi
48608 fi
48609 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
48610 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
48611 fi
48612
48613 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
48614 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
48615
48616 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
48617
48618 if test "$wxUSE_GUI" = "yes"; then
48619
48620
48621 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
48622 erase event exec font image minimal render \
48623 shaped svg taborder vscroll widgets wrapsizer"
48624
48625 if test "$wxUSE_MONOLITHIC" != "yes"; then
48626 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
48627 fi
48628 if test "$TOOLKIT" = "MSW"; then
48629 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
48630 if test "$wxUSE_UNIVERSAL" != "yes"; then
48631 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
48632 fi
48633 fi
48634 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
48635 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
48636 fi
48637 else
48638 SAMPLES_SUBDIRS="console"
48639 if test "$wxUSE_SOCKETS" = "yes" ; then
48640 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
48641 fi
48642 if test "$wxUSE_IPC" = "yes" ; then
48643 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
48644 fi
48645 fi
48646
48647
48648 if test "x$INTELCC" = "xyes" ; then
48649 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
48650 elif test "$GCC" = yes ; then
48651 CWARNINGS="-Wall -Wundef"
48652 fi
48653
48654 if test "x$INTELCXX" = "xyes" ; then
48655 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
48656 elif test "$GXX" = yes ; then
48657 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
48658 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
48659 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
48660 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
48661 echo $ECHO_N "(cached) $ECHO_C" >&6
48662 else
48663 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
48664
48665 ac_ext=cpp
48666 ac_cpp='$CXXCPP $CPPFLAGS'
48667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48670
48671 ac_save_CXXFLAGS="$CXXFLAGS"
48672 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
48673 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
48674 cat >conftest.$ac_ext <<_ACEOF
48675 /* confdefs.h. */
48676 _ACEOF
48677 cat confdefs.h >>conftest.$ac_ext
48678 cat >>conftest.$ac_ext <<_ACEOF
48679 /* end confdefs.h. */
48680
48681 int
48682 main ()
48683 {
48684 return 0;
48685 ;
48686 return 0;
48687 }
48688 _ACEOF
48689 rm -f conftest.$ac_objext
48690 if { (ac_try="$ac_compile"
48691 case "(($ac_try" in
48692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48693 *) ac_try_echo=$ac_try;;
48694 esac
48695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48696 (eval "$ac_compile") 2>conftest.er1
48697 ac_status=$?
48698 grep -v '^ *+' conftest.er1 >conftest.err
48699 rm -f conftest.er1
48700 cat conftest.err >&5
48701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48702 (exit $ac_status); } && {
48703 test -z "$ac_cxx_werror_flag" ||
48704 test ! -s conftest.err
48705 } && test -s conftest.$ac_objext; then
48706 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
48707 else
48708 echo "$as_me: failed program was:" >&5
48709 sed 's/^/| /' conftest.$ac_ext >&5
48710
48711
48712 fi
48713
48714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48715 done
48716 CXXFLAGS="$ac_save_CXXFLAGS"
48717 ac_ext=c
48718 ac_cpp='$CPP $CPPFLAGS'
48719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48722
48723
48724 fi
48725 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
48726 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
48727 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
48728 .ok|.ok,*) ;;
48729 .|.no|.no,*) ;;
48730 *)
48731 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
48732 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
48733 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
48734 ac_status=$?
48735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48736 (exit $ac_status); }
48737 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
48738 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
48739 ac_status=$?
48740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48741 (exit $ac_status); }
48742 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
48743 fi
48744 ;;
48745 esac
48746
48747
48748 if test "$wxUSE_MAC" = 1 ; then
48749 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
48750 fi
48751 fi
48752
48753
48754 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
48755 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
48756
48757
48758 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
48759 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
48760 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
48761 $CPPFLAGS `
48762
48763 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
48764 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
48765 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
48766 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
48767 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
48768
48769 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
48770
48771
48772 if test "x$MWCC" = "xyes"; then
48773
48774 CC="$CC -cwd source -I-"
48775 CXX="$CXX -cwd source -I-"
48776 fi
48777
48778
48779 LIBS=`echo $LIBS`
48780 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
48781 EXTRALIBS_XML="$EXPAT_LINK"
48782 EXTRALIBS_HTML="$MSPACK_LINK"
48783 EXTRALIBS_MEDIA="$GST_LIBS"
48784 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
48785 if test "$wxUSE_GUI" = "yes"; then
48786 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
48787 fi
48788 if test "$wxUSE_OPENGL" = "yes"; then
48789 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
48790 fi
48791
48792 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
48793
48794 WXCONFIG_LIBS="$LIBS"
48795
48796 if test "$wxUSE_REGEX" = "builtin" ; then
48797 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
48798 fi
48799 if test "$wxUSE_EXPAT" = "builtin" ; then
48800 wxconfig_3rdparty="expat $wxconfig_3rdparty"
48801 fi
48802 if test "$wxUSE_LIBTIFF" = "builtin" ; then
48803 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
48804 fi
48805 if test "$wxUSE_LIBJPEG" = "builtin" ; then
48806 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
48807 fi
48808 if test "$wxUSE_LIBPNG" = "builtin" ; then
48809 wxconfig_3rdparty="png $wxconfig_3rdparty"
48810 fi
48811 if test "$wxUSE_ZLIB" = "builtin" ; then
48812 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
48813 fi
48814
48815 for i in $wxconfig_3rdparty ; do
48816 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
48817 done
48818
48819
48820 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
48821 WXUNIV=1
48822
48823 case "$wxUNIV_THEMES" in
48824 ''|all)
48825 cat >>confdefs.h <<\_ACEOF
48826 #define wxUSE_ALL_THEMES 1
48827 _ACEOF
48828
48829 ;;
48830
48831 *)
48832 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
48833 cat >>confdefs.h <<_ACEOF
48834 #define wxUSE_THEME_$t 1
48835 _ACEOF
48836
48837 done
48838 esac
48839 else
48840 WXUNIV=0
48841 fi
48842
48843
48844
48845
48846
48847
48848
48849
48850 if test $wxUSE_MONOLITHIC = "yes" ; then
48851 MONOLITHIC=1
48852 else
48853 MONOLITHIC=0
48854 fi
48855
48856 if test $wxUSE_PLUGINS = "yes" ; then
48857 USE_PLUGINS=1
48858 else
48859 USE_PLUGINS=0
48860 fi
48861
48862 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48863 USE_QA=1
48864 else
48865 USE_QA=0
48866 fi
48867
48868 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
48869 OFFICIAL_BUILD=1
48870 else
48871 OFFICIAL_BUILD=0
48872 fi
48873
48874
48875
48876
48877
48878
48879
48880
48881
48882
48883
48884
48885
48886
48887
48888
48889
48890
48891
48892
48893
48894
48895
48896
48897
48898
48899
48900 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
48901
48902
48903
48904
48905
48906
48907
48908
48909
48910
48911 case "$TOOLKIT" in
48912 GTK)
48913 TOOLKIT_DESC="GTK+"
48914 if test "$WXGTK2" = 1; then
48915 TOOLKIT_DESC="$TOOLKIT_DESC 2"
48916 if test "$wxUSE_GTKPRINT" = "yes" ; then
48917 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
48918 fi
48919 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
48920 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
48921 fi
48922 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
48923 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
48924 fi
48925 if test "$wxUSE_LIBHILDON" = "yes"; then
48926 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
48927 fi
48928 if test "$wxUSE_LIBHILDON2" = "yes"; then
48929 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
48930 fi
48931
48932 if test "$TOOLKIT_EXTRA" != ""; then
48933 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
48934 fi
48935 fi
48936 ;;
48937
48938 ?*)
48939 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
48940 ;;
48941
48942 *)
48943 TOOLKIT_DESC="base only"
48944 ;;
48945 esac
48946
48947 if test "$wxUSE_WINE" = "yes"; then
48948 BAKEFILE_FORCE_PLATFORM=win32
48949 fi
48950
48951 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
48952 then
48953 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
48954 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
48955 if test "${wx_cv_gcc_pch_bug+set}" = set; then
48956 echo $ECHO_N "(cached) $ECHO_C" >&6
48957 else
48958
48959 echo '#include <stdio.h>
48960 const wchar_t test_var[] = L"awidetest";' > conftest.h
48961
48962 echo '#include "conftest.h"
48963 int main()
48964 {
48965 printf("%ls", test_var);
48966 return 0;
48967 }' > conftest.cpp
48968
48969 wx_cv_gcc_pch_bug="pch not supported"
48970
48971 if $CXX conftest.h >/dev/null 2>&1
48972 then
48973 wx_cv_gcc_pch_bug=
48974
48975 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
48976 then
48977 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
48978 grep awidetest >/dev/null
48979 then
48980 wx_cv_gcc_pch_bug=no
48981 else
48982 wx_cv_gcc_pch_bug=yes
48983 fi
48984 fi
48985 fi
48986
48987 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
48988
48989 fi
48990 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
48991 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
48992
48993 if test "$wx_cv_gcc_pch_bug" = yes; then
48994 bk_use_pch=no
48995 fi
48996 fi
48997
48998
48999
49000
49001
49002
49003
49004 if test "x$BAKEFILE_HOST" = "x"; then
49005 if test "x${host}" = "x" ; then
49006 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49007 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49008 { (exit 1); exit 1; }; }
49009 fi
49010
49011 BAKEFILE_HOST="${host}"
49012 fi
49013
49014 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49015
49016 if test -n "$ac_tool_prefix"; then
49017 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49018 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
49019 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49020 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49021 if test "${ac_cv_prog_RANLIB+set}" = set; then
49022 echo $ECHO_N "(cached) $ECHO_C" >&6
49023 else
49024 if test -n "$RANLIB"; then
49025 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
49026 else
49027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49028 for as_dir in $PATH
49029 do
49030 IFS=$as_save_IFS
49031 test -z "$as_dir" && as_dir=.
49032 for ac_exec_ext in '' $ac_executable_extensions; do
49033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49034 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
49035 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49036 break 2
49037 fi
49038 done
49039 done
49040 IFS=$as_save_IFS
49041
49042 fi
49043 fi
49044 RANLIB=$ac_cv_prog_RANLIB
49045 if test -n "$RANLIB"; then
49046 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49047 echo "${ECHO_T}$RANLIB" >&6; }
49048 else
49049 { echo "$as_me:$LINENO: result: no" >&5
49050 echo "${ECHO_T}no" >&6; }
49051 fi
49052
49053
49054 fi
49055 if test -z "$ac_cv_prog_RANLIB"; then
49056 ac_ct_RANLIB=$RANLIB
49057 # Extract the first word of "ranlib", so it can be a program name with args.
49058 set dummy ranlib; ac_word=$2
49059 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49060 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49061 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49062 echo $ECHO_N "(cached) $ECHO_C" >&6
49063 else
49064 if test -n "$ac_ct_RANLIB"; then
49065 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
49066 else
49067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49068 for as_dir in $PATH
49069 do
49070 IFS=$as_save_IFS
49071 test -z "$as_dir" && as_dir=.
49072 for ac_exec_ext in '' $ac_executable_extensions; do
49073 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49074 ac_cv_prog_ac_ct_RANLIB="ranlib"
49075 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49076 break 2
49077 fi
49078 done
49079 done
49080 IFS=$as_save_IFS
49081
49082 fi
49083 fi
49084 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
49085 if test -n "$ac_ct_RANLIB"; then
49086 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49087 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49088 else
49089 { echo "$as_me:$LINENO: result: no" >&5
49090 echo "${ECHO_T}no" >&6; }
49091 fi
49092
49093 if test "x$ac_ct_RANLIB" = x; then
49094 RANLIB=":"
49095 else
49096 case $cross_compiling:$ac_tool_warned in
49097 yes:)
49098 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49099 whose name does not start with the host triplet. If you think this
49100 configuration is useful to you, please write to autoconf@gnu.org." >&5
49101 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49102 whose name does not start with the host triplet. If you think this
49103 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49104 ac_tool_warned=yes ;;
49105 esac
49106 RANLIB=$ac_ct_RANLIB
49107 fi
49108 else
49109 RANLIB="$ac_cv_prog_RANLIB"
49110 fi
49111
49112 # Find a good install program. We prefer a C program (faster),
49113 # so one script is as good as another. But avoid the broken or
49114 # incompatible versions:
49115 # SysV /etc/install, /usr/sbin/install
49116 # SunOS /usr/etc/install
49117 # IRIX /sbin/install
49118 # AIX /bin/install
49119 # AmigaOS /C/install, which installs bootblocks on floppy discs
49120 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49121 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49122 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49123 # OS/2's system install, which has a completely different semantic
49124 # ./install, which can be erroneously created by make from ./install.sh.
49125 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49126 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49127 if test -z "$INSTALL"; then
49128 if test "${ac_cv_path_install+set}" = set; then
49129 echo $ECHO_N "(cached) $ECHO_C" >&6
49130 else
49131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49132 for as_dir in $PATH
49133 do
49134 IFS=$as_save_IFS
49135 test -z "$as_dir" && as_dir=.
49136 # Account for people who put trailing slashes in PATH elements.
49137 case $as_dir/ in
49138 ./ | .// | /cC/* | \
49139 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
49140 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
49141 /usr/ucb/* ) ;;
49142 *)
49143 # OSF1 and SCO ODT 3.0 have their own names for install.
49144 # Don't use installbsd from OSF since it installs stuff as root
49145 # by default.
49146 for ac_prog in ginstall scoinst install; do
49147 for ac_exec_ext in '' $ac_executable_extensions; do
49148 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49149 if test $ac_prog = install &&
49150 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49151 # AIX install. It has an incompatible calling convention.
49152 :
49153 elif test $ac_prog = install &&
49154 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49155 # program-specific install script used by HP pwplus--don't use.
49156 :
49157 else
49158 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
49159 break 3
49160 fi
49161 fi
49162 done
49163 done
49164 ;;
49165 esac
49166 done
49167 IFS=$as_save_IFS
49168
49169
49170 fi
49171 if test "${ac_cv_path_install+set}" = set; then
49172 INSTALL=$ac_cv_path_install
49173 else
49174 # As a last resort, use the slow shell script. Don't cache a
49175 # value for INSTALL within a source directory, because that will
49176 # break other packages using the cache if that directory is
49177 # removed, or if the value is a relative name.
49178 INSTALL=$ac_install_sh
49179 fi
49180 fi
49181 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49182 echo "${ECHO_T}$INSTALL" >&6; }
49183
49184 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49185 # It thinks the first close brace ends the variable substitution.
49186 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
49187
49188 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
49189
49190 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
49191
49192 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49193 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49194 LN_S=$as_ln_s
49195 if test "$LN_S" = "ln -s"; then
49196 { echo "$as_me:$LINENO: result: yes" >&5
49197 echo "${ECHO_T}yes" >&6; }
49198 else
49199 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49200 echo "${ECHO_T}no, using $LN_S" >&6; }
49201 fi
49202
49203
49204 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49205 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49206 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49207 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49208 echo $ECHO_N "(cached) $ECHO_C" >&6
49209 else
49210 cat >conftest.make <<\_ACEOF
49211 SHELL = /bin/sh
49212 all:
49213 @echo '@@@%%%=$(MAKE)=@@@%%%'
49214 _ACEOF
49215 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49216 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49217 *@@@%%%=?*=@@@%%%*)
49218 eval ac_cv_prog_make_${ac_make}_set=yes;;
49219 *)
49220 eval ac_cv_prog_make_${ac_make}_set=no;;
49221 esac
49222 rm -f conftest.make
49223 fi
49224 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49225 { echo "$as_me:$LINENO: result: yes" >&5
49226 echo "${ECHO_T}yes" >&6; }
49227 SET_MAKE=
49228 else
49229 { echo "$as_me:$LINENO: result: no" >&5
49230 echo "${ECHO_T}no" >&6; }
49231 SET_MAKE="MAKE=${MAKE-make}"
49232 fi
49233
49234
49235
49236 if test "x$SUNCXX" = "xyes"; then
49237 AR=$CXX
49238 AROPTIONS="-xar -o"
49239
49240 elif test "x$SGICC" = "xyes"; then
49241 AR=$CXX
49242 AROPTIONS="-ar -o"
49243
49244 else
49245 if test -n "$ac_tool_prefix"; then
49246 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49247 set dummy ${ac_tool_prefix}ar; ac_word=$2
49248 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49249 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49250 if test "${ac_cv_prog_AR+set}" = set; then
49251 echo $ECHO_N "(cached) $ECHO_C" >&6
49252 else
49253 if test -n "$AR"; then
49254 ac_cv_prog_AR="$AR" # Let the user override the test.
49255 else
49256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49257 for as_dir in $PATH
49258 do
49259 IFS=$as_save_IFS
49260 test -z "$as_dir" && as_dir=.
49261 for ac_exec_ext in '' $ac_executable_extensions; do
49262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49263 ac_cv_prog_AR="${ac_tool_prefix}ar"
49264 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49265 break 2
49266 fi
49267 done
49268 done
49269 IFS=$as_save_IFS
49270
49271 fi
49272 fi
49273 AR=$ac_cv_prog_AR
49274 if test -n "$AR"; then
49275 { echo "$as_me:$LINENO: result: $AR" >&5
49276 echo "${ECHO_T}$AR" >&6; }
49277 else
49278 { echo "$as_me:$LINENO: result: no" >&5
49279 echo "${ECHO_T}no" >&6; }
49280 fi
49281
49282
49283 fi
49284 if test -z "$ac_cv_prog_AR"; then
49285 ac_ct_AR=$AR
49286 # Extract the first word of "ar", so it can be a program name with args.
49287 set dummy ar; ac_word=$2
49288 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49289 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49290 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49291 echo $ECHO_N "(cached) $ECHO_C" >&6
49292 else
49293 if test -n "$ac_ct_AR"; then
49294 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
49295 else
49296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49297 for as_dir in $PATH
49298 do
49299 IFS=$as_save_IFS
49300 test -z "$as_dir" && as_dir=.
49301 for ac_exec_ext in '' $ac_executable_extensions; do
49302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49303 ac_cv_prog_ac_ct_AR="ar"
49304 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49305 break 2
49306 fi
49307 done
49308 done
49309 IFS=$as_save_IFS
49310
49311 fi
49312 fi
49313 ac_ct_AR=$ac_cv_prog_ac_ct_AR
49314 if test -n "$ac_ct_AR"; then
49315 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
49316 echo "${ECHO_T}$ac_ct_AR" >&6; }
49317 else
49318 { echo "$as_me:$LINENO: result: no" >&5
49319 echo "${ECHO_T}no" >&6; }
49320 fi
49321
49322 if test "x$ac_ct_AR" = x; then
49323 AR="ar"
49324 else
49325 case $cross_compiling:$ac_tool_warned in
49326 yes:)
49327 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49328 whose name does not start with the host triplet. If you think this
49329 configuration is useful to you, please write to autoconf@gnu.org." >&5
49330 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49331 whose name does not start with the host triplet. If you think this
49332 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49333 ac_tool_warned=yes ;;
49334 esac
49335 AR=$ac_ct_AR
49336 fi
49337 else
49338 AR="$ac_cv_prog_AR"
49339 fi
49340
49341 AROPTIONS=rcu
49342 fi
49343
49344
49345 if test -n "$ac_tool_prefix"; then
49346 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
49347 set dummy ${ac_tool_prefix}strip; ac_word=$2
49348 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49349 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49350 if test "${ac_cv_prog_STRIP+set}" = set; then
49351 echo $ECHO_N "(cached) $ECHO_C" >&6
49352 else
49353 if test -n "$STRIP"; then
49354 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
49355 else
49356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49357 for as_dir in $PATH
49358 do
49359 IFS=$as_save_IFS
49360 test -z "$as_dir" && as_dir=.
49361 for ac_exec_ext in '' $ac_executable_extensions; do
49362 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49363 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
49364 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49365 break 2
49366 fi
49367 done
49368 done
49369 IFS=$as_save_IFS
49370
49371 fi
49372 fi
49373 STRIP=$ac_cv_prog_STRIP
49374 if test -n "$STRIP"; then
49375 { echo "$as_me:$LINENO: result: $STRIP" >&5
49376 echo "${ECHO_T}$STRIP" >&6; }
49377 else
49378 { echo "$as_me:$LINENO: result: no" >&5
49379 echo "${ECHO_T}no" >&6; }
49380 fi
49381
49382
49383 fi
49384 if test -z "$ac_cv_prog_STRIP"; then
49385 ac_ct_STRIP=$STRIP
49386 # Extract the first word of "strip", so it can be a program name with args.
49387 set dummy strip; ac_word=$2
49388 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49389 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49390 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
49391 echo $ECHO_N "(cached) $ECHO_C" >&6
49392 else
49393 if test -n "$ac_ct_STRIP"; then
49394 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
49395 else
49396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49397 for as_dir in $PATH
49398 do
49399 IFS=$as_save_IFS
49400 test -z "$as_dir" && as_dir=.
49401 for ac_exec_ext in '' $ac_executable_extensions; do
49402 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49403 ac_cv_prog_ac_ct_STRIP="strip"
49404 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49405 break 2
49406 fi
49407 done
49408 done
49409 IFS=$as_save_IFS
49410
49411 fi
49412 fi
49413 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
49414 if test -n "$ac_ct_STRIP"; then
49415 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
49416 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
49417 else
49418 { echo "$as_me:$LINENO: result: no" >&5
49419 echo "${ECHO_T}no" >&6; }
49420 fi
49421
49422 if test "x$ac_ct_STRIP" = x; then
49423 STRIP=":"
49424 else
49425 case $cross_compiling:$ac_tool_warned in
49426 yes:)
49427 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49428 whose name does not start with the host triplet. If you think this
49429 configuration is useful to you, please write to autoconf@gnu.org." >&5
49430 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49431 whose name does not start with the host triplet. If you think this
49432 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49433 ac_tool_warned=yes ;;
49434 esac
49435 STRIP=$ac_ct_STRIP
49436 fi
49437 else
49438 STRIP="$ac_cv_prog_STRIP"
49439 fi
49440
49441 if test -n "$ac_tool_prefix"; then
49442 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
49443 set dummy ${ac_tool_prefix}nm; ac_word=$2
49444 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49446 if test "${ac_cv_prog_NM+set}" = set; then
49447 echo $ECHO_N "(cached) $ECHO_C" >&6
49448 else
49449 if test -n "$NM"; then
49450 ac_cv_prog_NM="$NM" # Let the user override the test.
49451 else
49452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49453 for as_dir in $PATH
49454 do
49455 IFS=$as_save_IFS
49456 test -z "$as_dir" && as_dir=.
49457 for ac_exec_ext in '' $ac_executable_extensions; do
49458 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49459 ac_cv_prog_NM="${ac_tool_prefix}nm"
49460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49461 break 2
49462 fi
49463 done
49464 done
49465 IFS=$as_save_IFS
49466
49467 fi
49468 fi
49469 NM=$ac_cv_prog_NM
49470 if test -n "$NM"; then
49471 { echo "$as_me:$LINENO: result: $NM" >&5
49472 echo "${ECHO_T}$NM" >&6; }
49473 else
49474 { echo "$as_me:$LINENO: result: no" >&5
49475 echo "${ECHO_T}no" >&6; }
49476 fi
49477
49478
49479 fi
49480 if test -z "$ac_cv_prog_NM"; then
49481 ac_ct_NM=$NM
49482 # Extract the first word of "nm", so it can be a program name with args.
49483 set dummy nm; ac_word=$2
49484 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49485 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49486 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
49487 echo $ECHO_N "(cached) $ECHO_C" >&6
49488 else
49489 if test -n "$ac_ct_NM"; then
49490 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
49491 else
49492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49493 for as_dir in $PATH
49494 do
49495 IFS=$as_save_IFS
49496 test -z "$as_dir" && as_dir=.
49497 for ac_exec_ext in '' $ac_executable_extensions; do
49498 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49499 ac_cv_prog_ac_ct_NM="nm"
49500 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49501 break 2
49502 fi
49503 done
49504 done
49505 IFS=$as_save_IFS
49506
49507 fi
49508 fi
49509 ac_ct_NM=$ac_cv_prog_ac_ct_NM
49510 if test -n "$ac_ct_NM"; then
49511 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
49512 echo "${ECHO_T}$ac_ct_NM" >&6; }
49513 else
49514 { echo "$as_me:$LINENO: result: no" >&5
49515 echo "${ECHO_T}no" >&6; }
49516 fi
49517
49518 if test "x$ac_ct_NM" = x; then
49519 NM=":"
49520 else
49521 case $cross_compiling:$ac_tool_warned in
49522 yes:)
49523 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49524 whose name does not start with the host triplet. If you think this
49525 configuration is useful to you, please write to autoconf@gnu.org." >&5
49526 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49527 whose name does not start with the host triplet. If you think this
49528 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49529 ac_tool_warned=yes ;;
49530 esac
49531 NM=$ac_ct_NM
49532 fi
49533 else
49534 NM="$ac_cv_prog_NM"
49535 fi
49536
49537
49538 { echo "$as_me:$LINENO: checking for command to install directories" >&5
49539 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
49540 INSTALL_TEST_DIR=acbftest$$
49541 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
49542 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
49543 rmdir $INSTALL_TEST_DIR
49544 INSTALL_DIR='$(INSTALL) -d'
49545 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
49546 echo "${ECHO_T}$INSTALL -d" >&6; }
49547 else
49548 INSTALL_DIR="mkdir -p"
49549 { echo "$as_me:$LINENO: result: mkdir -p" >&5
49550 echo "${ECHO_T}mkdir -p" >&6; }
49551 fi
49552
49553
49554 LDFLAGS_GUI=
49555 case ${BAKEFILE_HOST} in
49556 *-*-cygwin* | *-*-mingw32* )
49557 LDFLAGS_GUI="-mwindows"
49558 esac
49559
49560
49561 fi
49562
49563 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
49564 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
49565 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
49566 echo $ECHO_N "(cached) $ECHO_C" >&6
49567 else
49568
49569 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
49570 egrep -s GNU > /dev/null); then
49571 bakefile_cv_prog_makeisgnu="yes"
49572 else
49573 bakefile_cv_prog_makeisgnu="no"
49574 fi
49575
49576 fi
49577 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
49578 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
49579
49580 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
49581 IF_GNU_MAKE=""
49582 else
49583 IF_GNU_MAKE="#"
49584 fi
49585
49586
49587
49588 PLATFORM_UNIX=0
49589 PLATFORM_WIN32=0
49590 PLATFORM_MSDOS=0
49591 PLATFORM_MAC=0
49592 PLATFORM_MACOS=0
49593 PLATFORM_MACOSX=0
49594 PLATFORM_OS2=0
49595 PLATFORM_BEOS=0
49596
49597 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
49598 case "${BAKEFILE_HOST}" in
49599 *-*-mingw32* )
49600 PLATFORM_WIN32=1
49601 ;;
49602 *-pc-msdosdjgpp )
49603 PLATFORM_MSDOS=1
49604 ;;
49605 *-pc-os2_emx | *-pc-os2-emx )
49606 PLATFORM_OS2=1
49607 ;;
49608 *-*-darwin* )
49609 PLATFORM_MAC=1
49610 PLATFORM_MACOSX=1
49611 ;;
49612 *-*-beos* )
49613 PLATFORM_BEOS=1
49614 ;;
49615 powerpc-apple-macos* )
49616 PLATFORM_MAC=1
49617 PLATFORM_MACOS=1
49618 ;;
49619 * )
49620 PLATFORM_UNIX=1
49621 ;;
49622 esac
49623 else
49624 case "$BAKEFILE_FORCE_PLATFORM" in
49625 win32 )
49626 PLATFORM_WIN32=1
49627 ;;
49628 msdos )
49629 PLATFORM_MSDOS=1
49630 ;;
49631 os2 )
49632 PLATFORM_OS2=1
49633 ;;
49634 darwin )
49635 PLATFORM_MAC=1
49636 PLATFORM_MACOSX=1
49637 ;;
49638 unix )
49639 PLATFORM_UNIX=1
49640 ;;
49641 beos )
49642 PLATFORM_BEOS=1
49643 ;;
49644 * )
49645 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
49646 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
49647 { (exit 1); exit 1; }; }
49648 ;;
49649 esac
49650 fi
49651
49652
49653
49654
49655
49656
49657
49658
49659
49660
49661
49662 # Check whether --enable-omf was given.
49663 if test "${enable_omf+set}" = set; then
49664 enableval=$enable_omf; bk_os2_use_omf="$enableval"
49665 fi
49666
49667
49668 case "${BAKEFILE_HOST}" in
49669 *-*-darwin* )
49670 if test "x$GCC" = "xyes"; then
49671 CFLAGS="$CFLAGS -fno-common"
49672 CXXFLAGS="$CXXFLAGS -fno-common"
49673 fi
49674 if test "x$XLCC" = "xyes"; then
49675 CFLAGS="$CFLAGS -qnocommon"
49676 CXXFLAGS="$CXXFLAGS -qnocommon"
49677 fi
49678 ;;
49679
49680 *-pc-os2_emx | *-pc-os2-emx )
49681 if test "x$bk_os2_use_omf" = "xyes" ; then
49682 AR=emxomfar
49683 RANLIB=:
49684 LDFLAGS="-Zomf $LDFLAGS"
49685 CFLAGS="-Zomf $CFLAGS"
49686 CXXFLAGS="-Zomf $CXXFLAGS"
49687 OS2_LIBEXT="lib"
49688 else
49689 OS2_LIBEXT="a"
49690 fi
49691 ;;
49692
49693 i*86-*-beos* )
49694 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
49695 ;;
49696 esac
49697
49698
49699 SO_SUFFIX="so"
49700 SO_SUFFIX_MODULE="so"
49701 EXEEXT=""
49702 LIBPREFIX="lib"
49703 LIBEXT=".a"
49704 DLLPREFIX="lib"
49705 DLLPREFIX_MODULE=""
49706 DLLIMP_SUFFIX=""
49707 dlldir="$libdir"
49708
49709 case "${BAKEFILE_HOST}" in
49710 ia64-hp-hpux* )
49711 ;;
49712 *-hp-hpux* )
49713 SO_SUFFIX="sl"
49714 SO_SUFFIX_MODULE="sl"
49715 ;;
49716 *-*-aix* )
49717 SO_SUFFIX="a"
49718 SO_SUFFIX_MODULE="a"
49719 ;;
49720 *-*-cygwin* )
49721 SO_SUFFIX="dll"
49722 SO_SUFFIX_MODULE="dll"
49723 DLLIMP_SUFFIX="dll.a"
49724 EXEEXT=".exe"
49725 DLLPREFIX="cyg"
49726 dlldir="$bindir"
49727 ;;
49728 *-*-mingw32* )
49729 SO_SUFFIX="dll"
49730 SO_SUFFIX_MODULE="dll"
49731 DLLIMP_SUFFIX="dll.a"
49732 EXEEXT=".exe"
49733 DLLPREFIX=""
49734 dlldir="$bindir"
49735 ;;
49736 *-pc-msdosdjgpp )
49737 EXEEXT=".exe"
49738 DLLPREFIX=""
49739 dlldir="$bindir"
49740 ;;
49741 *-pc-os2_emx | *-pc-os2-emx )
49742 SO_SUFFIX="dll"
49743 SO_SUFFIX_MODULE="dll"
49744 DLLIMP_SUFFIX=$OS2_LIBEXT
49745 EXEEXT=".exe"
49746 DLLPREFIX=""
49747 LIBPREFIX=""
49748 LIBEXT=".$OS2_LIBEXT"
49749 dlldir="$bindir"
49750 ;;
49751 *-*-darwin* )
49752 SO_SUFFIX="dylib"
49753 SO_SUFFIX_MODULE="bundle"
49754 ;;
49755 esac
49756
49757 if test "x$DLLIMP_SUFFIX" = "x" ; then
49758 DLLIMP_SUFFIX="$SO_SUFFIX"
49759 fi
49760
49761
49762
49763
49764
49765
49766
49767
49768
49769
49770
49771
49772 PIC_FLAG=""
49773 if test "x$GCC" = "xyes"; then
49774 PIC_FLAG="-fPIC"
49775 fi
49776
49777 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
49778 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
49779 WINDOWS_IMPLIB=0
49780
49781 case "${BAKEFILE_HOST}" in
49782 *-hp-hpux* )
49783 if test "x$GCC" != "xyes"; then
49784 LDFLAGS="$LDFLAGS -L/usr/lib"
49785
49786 SHARED_LD_CC="${CC} -b -o"
49787 SHARED_LD_CXX="${CXX} -b -o"
49788 PIC_FLAG="+Z"
49789 fi
49790 ;;
49791
49792 *-*-linux* )
49793 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
49794 PIC_FLAG="-KPIC"
49795 elif test "x$SUNCXX" = "xyes"; then
49796 SHARED_LD_CC="${CC} -G -o"
49797 SHARED_LD_CXX="${CXX} -G -o"
49798 PIC_FLAG="-KPIC"
49799 fi
49800 ;;
49801
49802 *-*-solaris2* )
49803 if test "x$SUNCXX" = xyes ; then
49804 SHARED_LD_CC="${CC} -G -o"
49805 SHARED_LD_CXX="${CXX} -G -o"
49806 PIC_FLAG="-KPIC"
49807 fi
49808 ;;
49809
49810 *-*-darwin* )
49811
49812 D='$'
49813 cat <<EOF >shared-ld-sh
49814 #!/bin/sh
49815 #-----------------------------------------------------------------------------
49816 #-- Name: distrib/mac/shared-ld-sh
49817 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
49818 #-- Author: Gilles Depeyrot
49819 #-- Copyright: (c) 2002 Gilles Depeyrot
49820 #-- Licence: any use permitted
49821 #-----------------------------------------------------------------------------
49822
49823 verbose=0
49824 args=""
49825 objects=""
49826 linking_flag="-dynamiclib"
49827 ldargs="-r -keep_private_externs -nostdlib"
49828
49829 if test "x${D}CXX" = "x"; then
49830 CXX="c++"
49831 fi
49832
49833 while test ${D}# -gt 0; do
49834 case ${D}1 in
49835
49836 -v)
49837 verbose=1
49838 ;;
49839
49840 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
49841 # collect these options and values
49842 args="${D}{args} ${D}1 ${D}2"
49843 shift
49844 ;;
49845
49846 -arch|-isysroot)
49847 # collect these options and values
49848 ldargs="${D}{ldargs} ${D}1 ${D}2"
49849 shift
49850 ;;
49851
49852 -s|-Wl,*)
49853 # collect these load args
49854 ldargs="${D}{ldargs} ${D}1"
49855 ;;
49856
49857 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
49858 # collect these options
49859 args="${D}{args} ${D}1"
49860 ;;
49861
49862 -dynamiclib|-bundle)
49863 linking_flag="${D}1"
49864 ;;
49865
49866 -*)
49867 echo "shared-ld: unhandled option '${D}1'"
49868 exit 1
49869 ;;
49870
49871 *.o | *.a | *.dylib)
49872 # collect object files
49873 objects="${D}{objects} ${D}1"
49874 ;;
49875
49876 *)
49877 echo "shared-ld: unhandled argument '${D}1'"
49878 exit 1
49879 ;;
49880
49881 esac
49882 shift
49883 done
49884
49885 status=0
49886
49887 #
49888 # Link one module containing all the others
49889 #
49890 if test ${D}{verbose} = 1; then
49891 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
49892 fi
49893 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
49894 status=${D}?
49895
49896 #
49897 # Link the shared library from the single module created, but only if the
49898 # previous command didn't fail:
49899 #
49900 if test ${D}{status} = 0; then
49901 if test ${D}{verbose} = 1; then
49902 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
49903 fi
49904 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
49905 status=${D}?
49906 fi
49907
49908 #
49909 # Remove intermediate module
49910 #
49911 rm -f master.${D}${D}.o
49912
49913 exit ${D}status
49914 EOF
49915
49916 chmod +x shared-ld-sh
49917
49918 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
49919 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
49920
49921
49922 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
49923 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
49924 if test "${bakefile_cv_gcc31+set}" = set; then
49925 echo $ECHO_N "(cached) $ECHO_C" >&6
49926 else
49927
49928 cat >conftest.$ac_ext <<_ACEOF
49929 /* confdefs.h. */
49930 _ACEOF
49931 cat confdefs.h >>conftest.$ac_ext
49932 cat >>conftest.$ac_ext <<_ACEOF
49933 /* end confdefs.h. */
49934
49935 int
49936 main ()
49937 {
49938
49939 #if (__GNUC__ < 3) || \
49940 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
49941 This is old gcc
49942 #endif
49943
49944 ;
49945 return 0;
49946 }
49947 _ACEOF
49948 rm -f conftest.$ac_objext
49949 if { (ac_try="$ac_compile"
49950 case "(($ac_try" in
49951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49952 *) ac_try_echo=$ac_try;;
49953 esac
49954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49955 (eval "$ac_compile") 2>conftest.er1
49956 ac_status=$?
49957 grep -v '^ *+' conftest.er1 >conftest.err
49958 rm -f conftest.er1
49959 cat conftest.err >&5
49960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49961 (exit $ac_status); } && {
49962 test -z "$ac_c_werror_flag" ||
49963 test ! -s conftest.err
49964 } && test -s conftest.$ac_objext; then
49965
49966 bakefile_cv_gcc31=yes
49967
49968 else
49969 echo "$as_me: failed program was:" >&5
49970 sed 's/^/| /' conftest.$ac_ext >&5
49971
49972
49973 bakefile_cv_gcc31=no
49974
49975
49976 fi
49977
49978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49979
49980 fi
49981 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
49982 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
49983 if test "$bakefile_cv_gcc31" = "no"; then
49984 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
49985 SHARED_LD_CXX="$SHARED_LD_CC"
49986 else
49987 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
49988 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
49989 fi
49990
49991 if test "x$GCC" == "xyes"; then
49992 PIC_FLAG="-dynamic -fPIC"
49993 fi
49994 if test "x$XLCC" = "xyes"; then
49995 PIC_FLAG="-dynamic -DPIC"
49996 fi
49997 ;;
49998
49999 *-*-aix* )
50000 if test "x$GCC" = "xyes"; then
50001 PIC_FLAG=""
50002
50003 case "${BAKEFILE_HOST}" in
50004 *-*-aix5* )
50005 LD_EXPFULL="-Wl,-bexpfull"
50006 ;;
50007 esac
50008
50009 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
50010 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
50011 else
50012 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50013 set dummy makeC++SharedLib; ac_word=$2
50014 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50015 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50016 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50017 echo $ECHO_N "(cached) $ECHO_C" >&6
50018 else
50019 if test -n "$AIX_CXX_LD"; then
50020 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
50021 else
50022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50023 for as_dir in $PATH
50024 do
50025 IFS=$as_save_IFS
50026 test -z "$as_dir" && as_dir=.
50027 for ac_exec_ext in '' $ac_executable_extensions; do
50028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50029 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
50030 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50031 break 2
50032 fi
50033 done
50034 done
50035 IFS=$as_save_IFS
50036
50037 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
50038 fi
50039 fi
50040 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
50041 if test -n "$AIX_CXX_LD"; then
50042 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50043 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50044 else
50045 { echo "$as_me:$LINENO: result: no" >&5
50046 echo "${ECHO_T}no" >&6; }
50047 fi
50048
50049
50050 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
50051 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
50052 fi
50053 ;;
50054
50055 *-*-beos* )
50056 SHARED_LD_CC="${LD} -nostart -o"
50057 SHARED_LD_CXX="${LD} -nostart -o"
50058 ;;
50059
50060 *-*-irix* )
50061 if test "x$GCC" != "xyes"; then
50062 PIC_FLAG="-KPIC"
50063 fi
50064 ;;
50065
50066 *-*-cygwin* | *-*-mingw32* )
50067 PIC_FLAG=""
50068 SHARED_LD_CC="\$(CC) -shared -o"
50069 SHARED_LD_CXX="\$(CXX) -shared -o"
50070 WINDOWS_IMPLIB=1
50071 ;;
50072
50073 *-pc-os2_emx | *-pc-os2-emx )
50074 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50075 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50076 PIC_FLAG=""
50077
50078 D='$'
50079 cat <<EOF >dllar.sh
50080 #!/bin/sh
50081 #
50082 # dllar - a tool to build both a .dll and an .a file
50083 # from a set of object (.o) files for EMX/OS2.
50084 #
50085 # Written by Andrew Zabolotny, bit@freya.etu.ru
50086 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50087 #
50088 # This script will accept a set of files on the command line.
50089 # All the public symbols from the .o files will be exported into
50090 # a .DEF file, then linker will be run (through gcc) against them to
50091 # build a shared library consisting of all given .o files. All libraries
50092 # (.a) will be first decompressed into component .o files then act as
50093 # described above. You can optionally give a description (-d "description")
50094 # which will be put into .DLL. To see the list of accepted options (as well
50095 # as command-line format) simply run this program without options. The .DLL
50096 # is built to be imported by name (there is no guarantee that new versions
50097 # of the library you build will have same ordinals for same symbols).
50098 #
50099 # dllar is free software; you can redistribute it and/or modify
50100 # it under the terms of the GNU General Public License as published by
50101 # the Free Software Foundation; either version 2, or (at your option)
50102 # any later version.
50103 #
50104 # dllar is distributed in the hope that it will be useful,
50105 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50106 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50107 # GNU General Public License for more details.
50108 #
50109 # You should have received a copy of the GNU General Public License
50110 # along with dllar; see the file COPYING. If not, write to the Free
50111 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50112 # 02111-1307, USA.
50113
50114 # To successfuly run this program you will need:
50115 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50116 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50117 # - gcc
50118 # (used to build the .dll)
50119 # - emxexp
50120 # (used to create .def file from .o files)
50121 # - emximp
50122 # (used to create .a file from .def file)
50123 # - GNU text utilites (cat, sort, uniq)
50124 # used to process emxexp output
50125 # - GNU file utilities (mv, rm)
50126 # - GNU sed
50127 # - lxlite (optional, see flag below)
50128 # (used for general .dll cleanup)
50129 #
50130
50131 flag_USE_LXLITE=1;
50132
50133 #
50134 # helper functions
50135 # basnam, variant of basename, which does _not_ remove the path, _iff_
50136 # second argument (suffix to remove) is given
50137 basnam(){
50138 case ${D}# in
50139 1)
50140 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50141 ;;
50142 2)
50143 echo ${D}1 | sed 's/'${D}2'${D}//'
50144 ;;
50145 *)
50146 echo "error in basnam ${D}*"
50147 exit 8
50148 ;;
50149 esac
50150 }
50151
50152 # Cleanup temporary files and output
50153 CleanUp() {
50154 cd ${D}curDir
50155 for i in ${D}inputFiles ; do
50156 case ${D}i in
50157 *!)
50158 rm -rf \`basnam ${D}i !\`
50159 ;;
50160 *)
50161 ;;
50162 esac
50163 done
50164
50165 # Kill result in case of failure as there is just to many stupid make/nmake
50166 # things out there which doesn't do this.
50167 if [ ${D}# -eq 0 ]; then
50168 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50169 fi
50170 }
50171
50172 # Print usage and exit script with rc=1.
50173 PrintHelp() {
50174 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50175 echo ' [-name-mangler-script script.sh]'
50176 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50177 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50178 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50179 echo ' [*.o] [*.a]'
50180 echo '*> "output_file" should have no extension.'
50181 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50182 echo ' The import library name is derived from this and is set to "name".a,'
50183 echo ' unless overridden by -import'
50184 echo '*> "importlib_name" should have no extension.'
50185 echo ' If it has the .o, or .a extension, it is automatically removed.'
50186 echo ' This name is used as the import library name and may be longer and'
50187 echo ' more descriptive than the DLL name which has to follow the old '
50188 echo ' 8.3 convention of FAT.'
50189 echo '*> "script.sh may be given to override the output_file name by a'
50190 echo ' different name. It is mainly useful if the regular make process'
50191 echo ' of some package does not take into account OS/2 restriction of'
50192 echo ' DLL name lengths. It takes the importlib name as input and is'
50193 echo ' supposed to procude a shorter name as output. The script should'
50194 echo ' expect to get importlib_name without extension and should produce'
50195 echo ' a (max.) 8 letter name without extension.'
50196 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50197 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50198 echo ' These flags will be put at the start of GCC command line.'
50199 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50200 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50201 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50202 echo ' If the last character of a symbol is "*", all symbols beginning'
50203 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50204 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50205 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50206 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50207 echo ' C runtime DLLs.'
50208 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50209 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50210 echo ' unchanged to GCC at the end of command line.'
50211 echo '*> If you create a DLL from a library and you do not specify -o,'
50212 echo ' the basename for DLL and import library will be set to library name,'
50213 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50214 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50215 echo ' library will be renamed into gcc_s.a.'
50216 echo '--------'
50217 echo 'Example:'
50218 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50219 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50220 CleanUp
50221 exit 1
50222 }
50223
50224 # Execute a command.
50225 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50226 # @Uses Whatever CleanUp() uses.
50227 doCommand() {
50228 echo "${D}*"
50229 eval ${D}*
50230 rcCmd=${D}?
50231
50232 if [ ${D}rcCmd -ne 0 ]; then
50233 echo "command failed, exit code="${D}rcCmd
50234 CleanUp
50235 exit ${D}rcCmd
50236 fi
50237 }
50238
50239 # main routine
50240 # setup globals
50241 cmdLine=${D}*
50242 outFile=""
50243 outimpFile=""
50244 inputFiles=""
50245 renameScript=""
50246 description=""
50247 CC=gcc.exe
50248 CFLAGS="-s -Zcrtdll"
50249 EXTRA_CFLAGS=""
50250 EXPORT_BY_ORDINALS=0
50251 exclude_symbols=""
50252 library_flags=""
50253 curDir=\`pwd\`
50254 curDirS=curDir
50255 case ${D}curDirS in
50256 */)
50257 ;;
50258 *)
50259 curDirS=${D}{curDirS}"/"
50260 ;;
50261 esac
50262 # Parse commandline
50263 libsToLink=0
50264 omfLinking=0
50265 while [ ${D}1 ]; do
50266 case ${D}1 in
50267 -ord*)
50268 EXPORT_BY_ORDINALS=1;
50269 ;;
50270 -o*)
50271 shift
50272 outFile=${D}1
50273 ;;
50274 -i*)
50275 shift
50276 outimpFile=${D}1
50277 ;;
50278 -name-mangler-script)
50279 shift
50280 renameScript=${D}1
50281 ;;
50282 -d*)
50283 shift
50284 description=${D}1
50285 ;;
50286 -f*)
50287 shift
50288 CFLAGS=${D}1
50289 ;;
50290 -c*)
50291 shift
50292 CC=${D}1
50293 ;;
50294 -h*)
50295 PrintHelp
50296 ;;
50297 -ex*)
50298 shift
50299 exclude_symbols=${D}{exclude_symbols}${D}1" "
50300 ;;
50301 -libf*)
50302 shift
50303 library_flags=${D}{library_flags}${D}1" "
50304 ;;
50305 -nocrt*)
50306 CFLAGS="-s"
50307 ;;
50308 -nolxl*)
50309 flag_USE_LXLITE=0
50310 ;;
50311 -* | /*)
50312 case ${D}1 in
50313 -L* | -l*)
50314 libsToLink=1
50315 ;;
50316 -Zomf)
50317 omfLinking=1
50318 ;;
50319 *)
50320 ;;
50321 esac
50322 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50323 ;;
50324 *.dll)
50325 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
50326 if [ ${D}omfLinking -eq 1 ]; then
50327 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50328 else
50329 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
50330 fi
50331 ;;
50332 *)
50333 found=0;
50334 if [ ${D}libsToLink -ne 0 ]; then
50335 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50336 else
50337 for file in ${D}1 ; do
50338 if [ -f ${D}file ]; then
50339 inputFiles="${D}{inputFiles} ${D}file"
50340 found=1
50341 fi
50342 done
50343 if [ ${D}found -eq 0 ]; then
50344 echo "ERROR: No file(s) found: "${D}1
50345 exit 8
50346 fi
50347 fi
50348 ;;
50349 esac
50350 shift
50351 done # iterate cmdline words
50352
50353 #
50354 if [ -z "${D}inputFiles" ]; then
50355 echo "dllar: no input files"
50356 PrintHelp
50357 fi
50358
50359 # Now extract all .o files from .a files
50360 newInputFiles=""
50361 for file in ${D}inputFiles ; do
50362 case ${D}file in
50363 *.a | *.lib)
50364 case ${D}file in
50365 *.a)
50366 suffix=".a"
50367 AR="ar"
50368 ;;
50369 *.lib)
50370 suffix=".lib"
50371 AR="emxomfar"
50372 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
50373 ;;
50374 *)
50375 ;;
50376 esac
50377 dirname=\`basnam ${D}file ${D}suffix\`"_%"
50378 mkdir ${D}dirname
50379 if [ ${D}? -ne 0 ]; then
50380 echo "Failed to create subdirectory ./${D}dirname"
50381 CleanUp
50382 exit 8;
50383 fi
50384 # Append '!' to indicate archive
50385 newInputFiles="${D}newInputFiles ${D}{dirname}!"
50386 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
50387 cd ${D}curDir
50388 found=0;
50389 for subfile in ${D}dirname/*.o* ; do
50390 if [ -f ${D}subfile ]; then
50391 found=1
50392 if [ -s ${D}subfile ]; then
50393 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
50394 newInputFiles="${D}newInputFiles ${D}subfile"
50395 fi
50396 fi
50397 done
50398 if [ ${D}found -eq 0 ]; then
50399 echo "WARNING: there are no files in archive \\'${D}file\\'"
50400 fi
50401 ;;
50402 *)
50403 newInputFiles="${D}{newInputFiles} ${D}file"
50404 ;;
50405 esac
50406 done
50407 inputFiles="${D}newInputFiles"
50408
50409 # Output filename(s).
50410 do_backup=0;
50411 if [ -z ${D}outFile ]; then
50412 do_backup=1;
50413 set outFile ${D}inputFiles; outFile=${D}2
50414 fi
50415
50416 # If it is an archive, remove the '!' and the '_%' suffixes
50417 case ${D}outFile in
50418 *_%!)
50419 outFile=\`basnam ${D}outFile _%!\`
50420 ;;
50421 *)
50422 ;;
50423 esac
50424 case ${D}outFile in
50425 *.dll)
50426 outFile=\`basnam ${D}outFile .dll\`
50427 ;;
50428 *.DLL)
50429 outFile=\`basnam ${D}outFile .DLL\`
50430 ;;
50431 *.o)
50432 outFile=\`basnam ${D}outFile .o\`
50433 ;;
50434 *.obj)
50435 outFile=\`basnam ${D}outFile .obj\`
50436 ;;
50437 *.a)
50438 outFile=\`basnam ${D}outFile .a\`
50439 ;;
50440 *.lib)
50441 outFile=\`basnam ${D}outFile .lib\`
50442 ;;
50443 *)
50444 ;;
50445 esac
50446 case ${D}outimpFile in
50447 *.a)
50448 outimpFile=\`basnam ${D}outimpFile .a\`
50449 ;;
50450 *.lib)
50451 outimpFile=\`basnam ${D}outimpFile .lib\`
50452 ;;
50453 *)
50454 ;;
50455 esac
50456 if [ -z ${D}outimpFile ]; then
50457 outimpFile=${D}outFile
50458 fi
50459 defFile="${D}{outFile}.def"
50460 arcFile="${D}{outimpFile}.a"
50461 arcFile2="${D}{outimpFile}.lib"
50462
50463 #create ${D}dllFile as something matching 8.3 restrictions,
50464 if [ -z ${D}renameScript ] ; then
50465 dllFile="${D}outFile"
50466 else
50467 dllFile=\`${D}renameScript ${D}outimpFile\`
50468 fi
50469
50470 if [ ${D}do_backup -ne 0 ] ; then
50471 if [ -f ${D}arcFile ] ; then
50472 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
50473 fi
50474 if [ -f ${D}arcFile2 ] ; then
50475 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
50476 fi
50477 fi
50478
50479 # Extract public symbols from all the object files.
50480 tmpdefFile=${D}{defFile}_%
50481 rm -f ${D}tmpdefFile
50482 for file in ${D}inputFiles ; do
50483 case ${D}file in
50484 *!)
50485 ;;
50486 *)
50487 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
50488 ;;
50489 esac
50490 done
50491
50492 # Create the def file.
50493 rm -f ${D}defFile
50494 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
50495 dllFile="${D}{dllFile}.dll"
50496 if [ ! -z ${D}description ]; then
50497 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
50498 fi
50499 echo "EXPORTS" >> ${D}defFile
50500
50501 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
50502 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
50503
50504 # Checks if the export is ok or not.
50505 for word in ${D}exclude_symbols; do
50506 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
50507 mv ${D}{tmpdefFile}% ${D}tmpdefFile
50508 done
50509
50510
50511 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50512 sed "=" < ${D}tmpdefFile | \\
50513 sed '
50514 N
50515 : loop
50516 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
50517 t loop
50518 ' > ${D}{tmpdefFile}%
50519 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
50520 else
50521 rm -f ${D}{tmpdefFile}%
50522 fi
50523 cat ${D}tmpdefFile >> ${D}defFile
50524 rm -f ${D}tmpdefFile
50525
50526 # Do linking, create implib, and apply lxlite.
50527 gccCmdl="";
50528 for file in ${D}inputFiles ; do
50529 case ${D}file in
50530 *!)
50531 ;;
50532 *)
50533 gccCmdl="${D}gccCmdl ${D}file"
50534 ;;
50535 esac
50536 done
50537 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
50538 touch "${D}{outFile}.dll"
50539
50540 doCommand "emximp -o ${D}arcFile ${D}defFile"
50541 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
50542 add_flags="";
50543 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50544 add_flags="-ynd"
50545 fi
50546 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
50547 fi
50548 doCommand "emxomf -s -l ${D}arcFile"
50549
50550 # Successful exit.
50551 CleanUp 1
50552 exit 0
50553 EOF
50554
50555 chmod +x dllar.sh
50556 ;;
50557
50558 powerpc-apple-macos* | \
50559 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
50560 *-*-mirbsd* | \
50561 *-*-sunos4* | \
50562 *-*-osf* | \
50563 *-*-dgux5* | \
50564 *-*-sysv5* | \
50565 *-pc-msdosdjgpp )
50566 ;;
50567
50568 *)
50569 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
50570 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
50571 { (exit 1); exit 1; }; }
50572 esac
50573
50574 if test "x$PIC_FLAG" != "x" ; then
50575 PIC_FLAG="$PIC_FLAG -DPIC"
50576 fi
50577
50578 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
50579 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
50580 fi
50581 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
50582 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
50583 fi
50584
50585
50586
50587
50588
50589
50590
50591
50592
50593 USE_SOVERSION=0
50594 USE_SOVERLINUX=0
50595 USE_SOVERSOLARIS=0
50596 USE_SOVERCYGWIN=0
50597 USE_SOTWOSYMLINKS=0
50598 USE_MACVERSION=0
50599 SONAME_FLAG=
50600
50601 case "${BAKEFILE_HOST}" in
50602 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
50603 *-*-k*bsd*-gnu | *-*-mirbsd* )
50604 if test "x$SUNCXX" = "xyes"; then
50605 SONAME_FLAG="-h "
50606 else
50607 SONAME_FLAG="-Wl,-soname,"
50608 fi
50609 USE_SOVERSION=1
50610 USE_SOVERLINUX=1
50611 USE_SOTWOSYMLINKS=1
50612 ;;
50613
50614 *-*-solaris2* )
50615 SONAME_FLAG="-h "
50616 USE_SOVERSION=1
50617 USE_SOVERSOLARIS=1
50618 ;;
50619
50620 *-*-darwin* )
50621 USE_MACVERSION=1
50622 USE_SOVERSION=1
50623 USE_SOTWOSYMLINKS=1
50624 ;;
50625
50626 *-*-cygwin* )
50627 USE_SOVERSION=1
50628 USE_SOVERCYGWIN=1
50629 ;;
50630 esac
50631
50632
50633
50634
50635
50636
50637
50638
50639
50640
50641 # Check whether --enable-dependency-tracking was given.
50642 if test "${enable_dependency_tracking+set}" = set; then
50643 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
50644 fi
50645
50646
50647 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
50648 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
50649
50650 BK_DEPS=""
50651 if test "x$bk_use_trackdeps" = "xno" ; then
50652 DEPS_TRACKING=0
50653 { echo "$as_me:$LINENO: result: disabled" >&5
50654 echo "${ECHO_T}disabled" >&6; }
50655 else
50656 DEPS_TRACKING=1
50657
50658 if test "x$GCC" = "xyes"; then
50659 DEPSMODE=gcc
50660 case "${BAKEFILE_HOST}" in
50661 *-*-darwin* )
50662 DEPSFLAG="-no-cpp-precomp -MMD"
50663 ;;
50664 * )
50665 DEPSFLAG="-MMD"
50666 ;;
50667 esac
50668 { echo "$as_me:$LINENO: result: gcc" >&5
50669 echo "${ECHO_T}gcc" >&6; }
50670 elif test "x$MWCC" = "xyes"; then
50671 DEPSMODE=mwcc
50672 DEPSFLAG="-MM"
50673 { echo "$as_me:$LINENO: result: mwcc" >&5
50674 echo "${ECHO_T}mwcc" >&6; }
50675 elif test "x$SUNCC" = "xyes"; then
50676 DEPSMODE=unixcc
50677 DEPSFLAG="-xM1"
50678 { echo "$as_me:$LINENO: result: Sun cc" >&5
50679 echo "${ECHO_T}Sun cc" >&6; }
50680 elif test "x$SGICC" = "xyes"; then
50681 DEPSMODE=unixcc
50682 DEPSFLAG="-M"
50683 { echo "$as_me:$LINENO: result: SGI cc" >&5
50684 echo "${ECHO_T}SGI cc" >&6; }
50685 elif test "x$HPCC" = "xyes"; then
50686 DEPSMODE=unixcc
50687 DEPSFLAG="+make"
50688 { echo "$as_me:$LINENO: result: HP cc" >&5
50689 echo "${ECHO_T}HP cc" >&6; }
50690 elif test "x$COMPAQCC" = "xyes"; then
50691 DEPSMODE=gcc
50692 DEPSFLAG="-MD"
50693 { echo "$as_me:$LINENO: result: Compaq cc" >&5
50694 echo "${ECHO_T}Compaq cc" >&6; }
50695 else
50696 DEPS_TRACKING=0
50697 { echo "$as_me:$LINENO: result: none" >&5
50698 echo "${ECHO_T}none" >&6; }
50699 fi
50700
50701 if test $DEPS_TRACKING = 1 ; then
50702
50703 D='$'
50704 cat <<EOF >bk-deps
50705 #!/bin/sh
50706
50707 # This script is part of Bakefile (http://www.bakefile.org) autoconf
50708 # script. It is used to track C/C++ files dependencies in portable way.
50709 #
50710 # Permission is given to use this file in any way.
50711
50712 DEPSMODE=${DEPSMODE}
50713 DEPSFLAG="${DEPSFLAG}"
50714 DEPSDIRBASE=.deps
50715
50716 if test ${D}DEPSMODE = gcc ; then
50717 ${D}* ${D}{DEPSFLAG}
50718 status=${D}?
50719
50720 # determine location of created files:
50721 while test ${D}# -gt 0; do
50722 case "${D}1" in
50723 -o )
50724 shift
50725 objfile=${D}1
50726 ;;
50727 -* )
50728 ;;
50729 * )
50730 srcfile=${D}1
50731 ;;
50732 esac
50733 shift
50734 done
50735 objfilebase=\`basename ${D}objfile\`
50736 builddir=\`dirname ${D}objfile\`
50737 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
50738 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
50739 depsdir=${D}builddir/${D}DEPSDIRBASE
50740 mkdir -p ${D}depsdir
50741
50742 # if the compiler failed, we're done:
50743 if test ${D}{status} != 0 ; then
50744 rm -f ${D}depfile
50745 exit ${D}{status}
50746 fi
50747
50748 # move created file to the location we want it in:
50749 if test -f ${D}depfile ; then
50750 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
50751 rm -f ${D}depfile
50752 else
50753 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
50754 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
50755 if test ! -f ${D}depfile ; then
50756 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
50757 depfile="${D}objfile.d"
50758 fi
50759 if test -f ${D}depfile ; then
50760 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
50761 rm -f ${D}depfile
50762 fi
50763 fi
50764 exit 0
50765
50766 elif test ${D}DEPSMODE = mwcc ; then
50767 ${D}* || exit ${D}?
50768 # Run mwcc again with -MM and redirect into the dep file we want
50769 # NOTE: We can't use shift here because we need ${D}* to be valid
50770 prevarg=
50771 for arg in ${D}* ; do
50772 if test "${D}prevarg" = "-o"; then
50773 objfile=${D}arg
50774 else
50775 case "${D}arg" in
50776 -* )
50777 ;;
50778 * )
50779 srcfile=${D}arg
50780 ;;
50781 esac
50782 fi
50783 prevarg="${D}arg"
50784 done
50785
50786 objfilebase=\`basename ${D}objfile\`
50787 builddir=\`dirname ${D}objfile\`
50788 depsdir=${D}builddir/${D}DEPSDIRBASE
50789 mkdir -p ${D}depsdir
50790
50791 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
50792 exit 0
50793
50794 elif test ${D}DEPSMODE = unixcc; then
50795 ${D}* || exit ${D}?
50796 # Run compiler again with deps flag and redirect into the dep file.
50797 # It doesn't work if the '-o FILE' option is used, but without it the
50798 # dependency file will contain the wrong name for the object. So it is
50799 # removed from the command line, and the dep file is fixed with sed.
50800 cmd=""
50801 while test ${D}# -gt 0; do
50802 case "${D}1" in
50803 -o )
50804 shift
50805 objfile=${D}1
50806 ;;
50807 * )
50808 eval arg${D}#=\\${D}1
50809 cmd="${D}cmd \\${D}arg${D}#"
50810 ;;
50811 esac
50812 shift
50813 done
50814
50815 objfilebase=\`basename ${D}objfile\`
50816 builddir=\`dirname ${D}objfile\`
50817 depsdir=${D}builddir/${D}DEPSDIRBASE
50818 mkdir -p ${D}depsdir
50819
50820 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
50821 exit 0
50822
50823 else
50824 ${D}*
50825 exit ${D}?
50826 fi
50827 EOF
50828
50829 chmod +x bk-deps
50830 BK_DEPS="`pwd`/bk-deps"
50831 fi
50832 fi
50833
50834
50835
50836
50837
50838 case ${BAKEFILE_HOST} in
50839 *-*-cygwin* | *-*-mingw32* )
50840 if test -n "$ac_tool_prefix"; then
50841 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
50842 set dummy ${ac_tool_prefix}windres; ac_word=$2
50843 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50844 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50845 if test "${ac_cv_prog_WINDRES+set}" = set; then
50846 echo $ECHO_N "(cached) $ECHO_C" >&6
50847 else
50848 if test -n "$WINDRES"; then
50849 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
50850 else
50851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50852 for as_dir in $PATH
50853 do
50854 IFS=$as_save_IFS
50855 test -z "$as_dir" && as_dir=.
50856 for ac_exec_ext in '' $ac_executable_extensions; do
50857 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50858 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
50859 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50860 break 2
50861 fi
50862 done
50863 done
50864 IFS=$as_save_IFS
50865
50866 fi
50867 fi
50868 WINDRES=$ac_cv_prog_WINDRES
50869 if test -n "$WINDRES"; then
50870 { echo "$as_me:$LINENO: result: $WINDRES" >&5
50871 echo "${ECHO_T}$WINDRES" >&6; }
50872 else
50873 { echo "$as_me:$LINENO: result: no" >&5
50874 echo "${ECHO_T}no" >&6; }
50875 fi
50876
50877
50878 fi
50879 if test -z "$ac_cv_prog_WINDRES"; then
50880 ac_ct_WINDRES=$WINDRES
50881 # Extract the first word of "windres", so it can be a program name with args.
50882 set dummy windres; ac_word=$2
50883 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50884 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50885 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
50886 echo $ECHO_N "(cached) $ECHO_C" >&6
50887 else
50888 if test -n "$ac_ct_WINDRES"; then
50889 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
50890 else
50891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50892 for as_dir in $PATH
50893 do
50894 IFS=$as_save_IFS
50895 test -z "$as_dir" && as_dir=.
50896 for ac_exec_ext in '' $ac_executable_extensions; do
50897 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50898 ac_cv_prog_ac_ct_WINDRES="windres"
50899 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50900 break 2
50901 fi
50902 done
50903 done
50904 IFS=$as_save_IFS
50905
50906 fi
50907 fi
50908 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
50909 if test -n "$ac_ct_WINDRES"; then
50910 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
50911 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
50912 else
50913 { echo "$as_me:$LINENO: result: no" >&5
50914 echo "${ECHO_T}no" >&6; }
50915 fi
50916
50917 if test "x$ac_ct_WINDRES" = x; then
50918 WINDRES=""
50919 else
50920 case $cross_compiling:$ac_tool_warned in
50921 yes:)
50922 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50923 whose name does not start with the host triplet. If you think this
50924 configuration is useful to you, please write to autoconf@gnu.org." >&5
50925 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50926 whose name does not start with the host triplet. If you think this
50927 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50928 ac_tool_warned=yes ;;
50929 esac
50930 WINDRES=$ac_ct_WINDRES
50931 fi
50932 else
50933 WINDRES="$ac_cv_prog_WINDRES"
50934 fi
50935
50936 ;;
50937
50938 *-*-darwin* | powerpc-apple-macos* )
50939 # Extract the first word of "Rez", so it can be a program name with args.
50940 set dummy Rez; ac_word=$2
50941 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50942 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50943 if test "${ac_cv_prog_REZ+set}" = set; then
50944 echo $ECHO_N "(cached) $ECHO_C" >&6
50945 else
50946 if test -n "$REZ"; then
50947 ac_cv_prog_REZ="$REZ" # Let the user override the test.
50948 else
50949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50950 for as_dir in $PATH
50951 do
50952 IFS=$as_save_IFS
50953 test -z "$as_dir" && as_dir=.
50954 for ac_exec_ext in '' $ac_executable_extensions; do
50955 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50956 ac_cv_prog_REZ="Rez"
50957 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50958 break 2
50959 fi
50960 done
50961 done
50962 IFS=$as_save_IFS
50963
50964 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
50965 fi
50966 fi
50967 REZ=$ac_cv_prog_REZ
50968 if test -n "$REZ"; then
50969 { echo "$as_me:$LINENO: result: $REZ" >&5
50970 echo "${ECHO_T}$REZ" >&6; }
50971 else
50972 { echo "$as_me:$LINENO: result: no" >&5
50973 echo "${ECHO_T}no" >&6; }
50974 fi
50975
50976
50977 # Extract the first word of "SetFile", so it can be a program name with args.
50978 set dummy SetFile; ac_word=$2
50979 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50980 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50981 if test "${ac_cv_prog_SETFILE+set}" = set; then
50982 echo $ECHO_N "(cached) $ECHO_C" >&6
50983 else
50984 if test -n "$SETFILE"; then
50985 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
50986 else
50987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50988 for as_dir in $PATH
50989 do
50990 IFS=$as_save_IFS
50991 test -z "$as_dir" && as_dir=.
50992 for ac_exec_ext in '' $ac_executable_extensions; do
50993 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50994 ac_cv_prog_SETFILE="SetFile"
50995 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50996 break 2
50997 fi
50998 done
50999 done
51000 IFS=$as_save_IFS
51001
51002 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
51003 fi
51004 fi
51005 SETFILE=$ac_cv_prog_SETFILE
51006 if test -n "$SETFILE"; then
51007 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51008 echo "${ECHO_T}$SETFILE" >&6; }
51009 else
51010 { echo "$as_me:$LINENO: result: no" >&5
51011 echo "${ECHO_T}no" >&6; }
51012 fi
51013
51014
51015 ;;
51016 esac
51017
51018
51019
51020
51021
51022
51023
51024
51025
51026 BAKEFILE_BAKEFILE_M4_VERSION="0.2.8"
51027
51028
51029 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.8"
51030
51031
51032
51033 # Check whether --enable-precomp-headers was given.
51034 if test "${enable_precomp_headers+set}" = set; then
51035 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
51036 fi
51037
51038
51039 GCC_PCH=0
51040 ICC_PCH=0
51041 USE_PCH=0
51042 BK_MAKE_PCH=""
51043
51044 case ${BAKEFILE_HOST} in
51045 *-*-cygwin* )
51046 bk_use_pch="no"
51047 ;;
51048 esac
51049
51050 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51051 if test "x$GCC" = "xyes"; then
51052 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51053 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51054 cat >conftest.$ac_ext <<_ACEOF
51055 /* confdefs.h. */
51056 _ACEOF
51057 cat confdefs.h >>conftest.$ac_ext
51058 cat >>conftest.$ac_ext <<_ACEOF
51059 /* end confdefs.h. */
51060
51061 int
51062 main ()
51063 {
51064
51065 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51066 There is no PCH support
51067 #endif
51068 #if (__GNUC__ < 3)
51069 There is no PCH support
51070 #endif
51071 #if (__GNUC__ == 3) && \
51072 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51073 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51074 ( defined(__INTEL_COMPILER) )
51075 There is no PCH support
51076 #endif
51077
51078 ;
51079 return 0;
51080 }
51081 _ACEOF
51082 rm -f conftest.$ac_objext
51083 if { (ac_try="$ac_compile"
51084 case "(($ac_try" in
51085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51086 *) ac_try_echo=$ac_try;;
51087 esac
51088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51089 (eval "$ac_compile") 2>conftest.er1
51090 ac_status=$?
51091 grep -v '^ *+' conftest.er1 >conftest.err
51092 rm -f conftest.er1
51093 cat conftest.err >&5
51094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51095 (exit $ac_status); } && {
51096 test -z "$ac_c_werror_flag" ||
51097 test ! -s conftest.err
51098 } && test -s conftest.$ac_objext; then
51099
51100 { echo "$as_me:$LINENO: result: yes" >&5
51101 echo "${ECHO_T}yes" >&6; }
51102 GCC_PCH=1
51103
51104 else
51105 echo "$as_me: failed program was:" >&5
51106 sed 's/^/| /' conftest.$ac_ext >&5
51107
51108
51109 if test "$INTELCXX8" = "yes"; then
51110 { echo "$as_me:$LINENO: result: yes" >&5
51111 echo "${ECHO_T}yes" >&6; }
51112 ICC_PCH=1
51113 if test "$INTELCXX10" = "yes"; then
51114 ICC_PCH_CREATE_SWITCH="-pch-create"
51115 ICC_PCH_USE_SWITCH="-pch-use"
51116 else
51117 ICC_PCH_CREATE_SWITCH="-create-pch"
51118 ICC_PCH_USE_SWITCH="-use-pch"
51119 fi
51120 else
51121 { echo "$as_me:$LINENO: result: no" >&5
51122 echo "${ECHO_T}no" >&6; }
51123 fi
51124
51125 fi
51126
51127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51128 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51129 USE_PCH=1
51130
51131 D='$'
51132 cat <<EOF >bk-make-pch
51133 #!/bin/sh
51134
51135 # This script is part of Bakefile (http://www.bakefile.org) autoconf
51136 # script. It is used to generated precompiled headers.
51137 #
51138 # Permission is given to use this file in any way.
51139
51140 outfile="${D}{1}"
51141 header="${D}{2}"
51142 shift
51143 shift
51144
51145 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
51146
51147 compiler=""
51148 headerfile=""
51149
51150 while test ${D}{#} -gt 0; do
51151 add_to_cmdline=1
51152 case "${D}{1}" in
51153 -I* )
51154 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
51155 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51156 headerfile="${D}{incdir}/${D}{header}"
51157 fi
51158 ;;
51159 -use-pch|-use_pch|-pch-use )
51160 shift
51161 add_to_cmdline=0
51162 ;;
51163 esac
51164 if test ${D}add_to_cmdline = 1 ; then
51165 compiler="${D}{compiler} ${D}{1}"
51166 fi
51167 shift
51168 done
51169
51170 if test "x${D}{headerfile}" = "x" ; then
51171 echo "error: can't find header ${D}{header} in include paths" >&2
51172 else
51173 if test -f ${D}{outfile} ; then
51174 rm -f ${D}{outfile}
51175 else
51176 mkdir -p \`dirname ${D}{outfile}\`
51177 fi
51178 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
51179 mkdir -p ${D}{builddir}/.deps
51180 if test "x${GCC_PCH}" = "x1" ; then
51181 # can do this because gcc is >= 3.4:
51182 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51183 elif test "x${ICC_PCH}" = "x1" ; then
51184 filename=pch_gen-${D}${D}
51185 file=${D}{filename}.c
51186 dfile=${D}{filename}.d
51187 cat > ${D}file <<EOT
51188 #include "${D}header"
51189 EOT
51190 # using -MF icc complains about differing command lines in creation/use
51191 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
51192 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51193 rm -f ${D}file ${D}dfile ${D}{filename}.o
51194 fi
51195 exit ${D}{?}
51196 fi
51197 EOF
51198
51199 chmod +x bk-make-pch
51200 BK_MAKE_PCH="`pwd`/bk-make-pch"
51201 fi
51202 fi
51203 fi
51204
51205
51206
51207
51208
51209
51210
51211 COND_BUILD_DEBUG="#"
51212 if test "x$BUILD" = "xdebug" ; then
51213 COND_BUILD_DEBUG=""
51214 fi
51215
51216 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51217 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51218 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
51219 fi
51220
51221 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
51222 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51223 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
51224 fi
51225
51226 COND_BUILD_DEBUG_UNICODE_0="#"
51227 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51228 COND_BUILD_DEBUG_UNICODE_0=""
51229 fi
51230
51231 COND_BUILD_DEBUG_UNICODE_1="#"
51232 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51233 COND_BUILD_DEBUG_UNICODE_1=""
51234 fi
51235
51236 COND_BUILD_RELEASE="#"
51237 if test "x$BUILD" = "xrelease" ; then
51238 COND_BUILD_RELEASE=""
51239 fi
51240
51241 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
51242 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51243 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
51244 fi
51245
51246 COND_BUILD_RELEASE_UNICODE_0="#"
51247 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51248 COND_BUILD_RELEASE_UNICODE_0=""
51249 fi
51250
51251 COND_BUILD_RELEASE_UNICODE_1="#"
51252 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51253 COND_BUILD_RELEASE_UNICODE_1=""
51254 fi
51255
51256 COND_BUILD_debug="#"
51257 if test "x$BUILD" = "xdebug" ; then
51258 COND_BUILD_debug=""
51259 fi
51260
51261 COND_BUILD_debug_DEBUG_FLAG_default="#"
51262 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51263 COND_BUILD_debug_DEBUG_FLAG_default=""
51264 fi
51265
51266 COND_BUILD_debug_DEBUG_INFO_default="#"
51267 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51268 COND_BUILD_debug_DEBUG_INFO_default=""
51269 fi
51270
51271 COND_BUILD_debug_UNICODE_0="#"
51272 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51273 COND_BUILD_debug_UNICODE_0=""
51274 fi
51275
51276 COND_BUILD_debug_UNICODE_1="#"
51277 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51278 COND_BUILD_debug_UNICODE_1=""
51279 fi
51280
51281 COND_BUILD_release="#"
51282 if test "x$BUILD" = "xrelease" ; then
51283 COND_BUILD_release=""
51284 fi
51285
51286 COND_BUILD_release_DEBUG_INFO_default="#"
51287 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51288 COND_BUILD_release_DEBUG_INFO_default=""
51289 fi
51290
51291 COND_BUILD_release_UNICODE_0="#"
51292 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51293 COND_BUILD_release_UNICODE_0=""
51294 fi
51295
51296 COND_BUILD_release_UNICODE_1="#"
51297 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51298 COND_BUILD_release_UNICODE_1=""
51299 fi
51300
51301 COND_DEBUG_FLAG_0="#"
51302 if test "x$DEBUG_FLAG" = "x0" ; then
51303 COND_DEBUG_FLAG_0=""
51304 fi
51305
51306 COND_DEBUG_FLAG_1="#"
51307 if test "x$DEBUG_FLAG" = "x1" ; then
51308 COND_DEBUG_FLAG_1=""
51309 fi
51310
51311 COND_DEBUG_INFO_0="#"
51312 if test "x$DEBUG_INFO" = "x0" ; then
51313 COND_DEBUG_INFO_0=""
51314 fi
51315
51316 COND_DEBUG_INFO_1="#"
51317 if test "x$DEBUG_INFO" = "x1" ; then
51318 COND_DEBUG_INFO_1=""
51319 fi
51320
51321 COND_DEPS_TRACKING_0="#"
51322 if test "x$DEPS_TRACKING" = "x0" ; then
51323 COND_DEPS_TRACKING_0=""
51324 fi
51325
51326 COND_DEPS_TRACKING_1="#"
51327 if test "x$DEPS_TRACKING" = "x1" ; then
51328 COND_DEPS_TRACKING_1=""
51329 fi
51330
51331 COND_GCC_PCH_1="#"
51332 if test "x$GCC_PCH" = "x1" ; then
51333 COND_GCC_PCH_1=""
51334 fi
51335
51336 COND_ICC_PCH_1="#"
51337 if test "x$ICC_PCH" = "x1" ; then
51338 COND_ICC_PCH_1=""
51339 fi
51340
51341 COND_MONOLITHIC_0="#"
51342 if test "x$MONOLITHIC" = "x0" ; then
51343 COND_MONOLITHIC_0=""
51344 fi
51345
51346 COND_MONOLITHIC_0_SHARED_0="#"
51347 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51348 COND_MONOLITHIC_0_SHARED_0=""
51349 fi
51350
51351 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
51352 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51353 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
51354 fi
51355
51356 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
51357 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51358 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
51359 fi
51360
51361 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
51362 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51363 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
51364 fi
51365
51366 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
51367 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51368 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
51369 fi
51370
51371 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
51372 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51373 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
51374 fi
51375
51376 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
51377 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
51378 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
51379 fi
51380
51381 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
51382 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
51383 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
51384 fi
51385
51386 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
51387 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51388 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
51389 fi
51390
51391 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
51392 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51393 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
51394 fi
51395
51396 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
51397 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51398 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
51399 fi
51400
51401 COND_MONOLITHIC_0_SHARED_1="#"
51402 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
51403 COND_MONOLITHIC_0_SHARED_1=""
51404 fi
51405
51406 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
51407 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
51408 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
51409 fi
51410
51411 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
51412 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
51413 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
51414 fi
51415
51416 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
51417 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51418 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
51419 fi
51420
51421 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
51422 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51423 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
51424 fi
51425
51426 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
51427 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51428 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
51429 fi
51430
51431 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
51432 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
51433 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
51434 fi
51435
51436 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
51437 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
51438 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
51439 fi
51440
51441 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
51442 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
51443 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
51444 fi
51445
51446 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
51447 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
51448 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
51449 fi
51450
51451 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
51452 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51453 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
51454 fi
51455
51456 COND_MONOLITHIC_0_USE_AUI_1="#"
51457 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
51458 COND_MONOLITHIC_0_USE_AUI_1=""
51459 fi
51460
51461 COND_MONOLITHIC_0_USE_GUI_1="#"
51462 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
51463 COND_MONOLITHIC_0_USE_GUI_1=""
51464 fi
51465
51466 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
51467 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51468 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
51469 fi
51470
51471 COND_MONOLITHIC_0_USE_HTML_1="#"
51472 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
51473 COND_MONOLITHIC_0_USE_HTML_1=""
51474 fi
51475
51476 COND_MONOLITHIC_0_USE_MEDIA_1="#"
51477 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
51478 COND_MONOLITHIC_0_USE_MEDIA_1=""
51479 fi
51480
51481 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
51482 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
51483 COND_MONOLITHIC_0_USE_PROPGRID_1=""
51484 fi
51485
51486 COND_MONOLITHIC_0_USE_QA_1="#"
51487 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
51488 COND_MONOLITHIC_0_USE_QA_1=""
51489 fi
51490
51491 COND_MONOLITHIC_0_USE_RIBBON_1="#"
51492 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
51493 COND_MONOLITHIC_0_USE_RIBBON_1=""
51494 fi
51495
51496 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
51497 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51498 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
51499 fi
51500
51501 COND_MONOLITHIC_0_USE_STC_1="#"
51502 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
51503 COND_MONOLITHIC_0_USE_STC_1=""
51504 fi
51505
51506 COND_MONOLITHIC_0_USE_XRC_1="#"
51507 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
51508 COND_MONOLITHIC_0_USE_XRC_1=""
51509 fi
51510
51511 COND_MONOLITHIC_1="#"
51512 if test "x$MONOLITHIC" = "x1" ; then
51513 COND_MONOLITHIC_1=""
51514 fi
51515
51516 COND_MONOLITHIC_1_SHARED_0="#"
51517 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
51518 COND_MONOLITHIC_1_SHARED_0=""
51519 fi
51520
51521 COND_MONOLITHIC_1_SHARED_1="#"
51522 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
51523 COND_MONOLITHIC_1_SHARED_1=""
51524 fi
51525
51526 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
51527 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
51528 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
51529 fi
51530
51531 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
51532 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
51533 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
51534 fi
51535
51536 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
51537 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51538 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
51539 fi
51540
51541 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
51542 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51543 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
51544 fi
51545
51546 COND_PLATFORM_MACOSX_1="#"
51547 if test "x$PLATFORM_MACOSX" = "x1" ; then
51548 COND_PLATFORM_MACOSX_1=""
51549 fi
51550
51551 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
51552 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
51553 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
51554 fi
51555
51556 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
51557 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
51558 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
51559 fi
51560
51561 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
51562 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
51563 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
51564 fi
51565
51566 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
51567 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51568 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
51569 fi
51570
51571 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
51572 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
51573 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
51574 fi
51575
51576 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
51577 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51578 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
51579 fi
51580
51581 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
51582 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
51583 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
51584 fi
51585
51586 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
51587 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51588 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
51589 fi
51590
51591 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
51592 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
51593 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
51594 fi
51595
51596 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
51597 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51598 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
51599 fi
51600
51601 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
51602 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51603 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
51604 fi
51605
51606 COND_PLATFORM_MACOS_1="#"
51607 if test "x$PLATFORM_MACOS" = "x1" ; then
51608 COND_PLATFORM_MACOS_1=""
51609 fi
51610
51611 COND_PLATFORM_MAC_0="#"
51612 if test "x$PLATFORM_MAC" = "x0" ; then
51613 COND_PLATFORM_MAC_0=""
51614 fi
51615
51616 COND_PLATFORM_MAC_1="#"
51617 if test "x$PLATFORM_MAC" = "x1" ; then
51618 COND_PLATFORM_MAC_1=""
51619 fi
51620
51621 COND_PLATFORM_MSDOS_0="#"
51622 if test "x$PLATFORM_MSDOS" = "x0" ; then
51623 COND_PLATFORM_MSDOS_0=""
51624 fi
51625
51626 COND_PLATFORM_MSDOS_1="#"
51627 if test "x$PLATFORM_MSDOS" = "x1" ; then
51628 COND_PLATFORM_MSDOS_1=""
51629 fi
51630
51631 COND_PLATFORM_OS2_1="#"
51632 if test "x$PLATFORM_OS2" = "x1" ; then
51633 COND_PLATFORM_OS2_1=""
51634 fi
51635
51636 COND_PLATFORM_UNIX_0="#"
51637 if test "x$PLATFORM_UNIX" = "x0" ; then
51638 COND_PLATFORM_UNIX_0=""
51639 fi
51640
51641 COND_PLATFORM_UNIX_1="#"
51642 if test "x$PLATFORM_UNIX" = "x1" ; then
51643 COND_PLATFORM_UNIX_1=""
51644 fi
51645
51646 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
51647 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
51648 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
51649 fi
51650
51651 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
51652 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51653 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
51654 fi
51655
51656 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
51657 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
51658 COND_PLATFORM_UNIX_1_USE_GUI_1=""
51659 fi
51660
51661 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
51662 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
51663 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
51664 fi
51665
51666 COND_PLATFORM_WIN32_0="#"
51667 if test "x$PLATFORM_WIN32" = "x0" ; then
51668 COND_PLATFORM_WIN32_0=""
51669 fi
51670
51671 COND_PLATFORM_WIN32_1="#"
51672 if test "x$PLATFORM_WIN32" = "x1" ; then
51673 COND_PLATFORM_WIN32_1=""
51674 fi
51675
51676 COND_PLATFORM_WIN32_1_SHARED_0="#"
51677 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
51678 COND_PLATFORM_WIN32_1_SHARED_0=""
51679 fi
51680
51681 COND_SHARED_0="#"
51682 if test "x$SHARED" = "x0" ; then
51683 COND_SHARED_0=""
51684 fi
51685
51686 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
51687 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
51688 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
51689 fi
51690
51691 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
51692 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51693 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
51694 fi
51695
51696 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
51697 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
51698 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
51699 fi
51700
51701 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
51702 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51703 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
51704 fi
51705
51706 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
51707 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51708 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
51709 fi
51710
51711 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
51712 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51713 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
51714 fi
51715
51716 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
51717 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51718 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
51719 fi
51720
51721 COND_SHARED_0_USE_STC_1="#"
51722 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51723 COND_SHARED_0_USE_STC_1=""
51724 fi
51725
51726 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
51727 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
51728 COND_SHARED_0_wxUSE_EXPAT_builtin=""
51729 fi
51730
51731 COND_SHARED_0_wxUSE_REGEX_builtin="#"
51732 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
51733 COND_SHARED_0_wxUSE_REGEX_builtin=""
51734 fi
51735
51736 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
51737 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
51738 COND_SHARED_0_wxUSE_ZLIB_builtin=""
51739 fi
51740
51741 COND_SHARED_1="#"
51742 if test "x$SHARED" = "x1" ; then
51743 COND_SHARED_1=""
51744 fi
51745
51746 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
51747 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51748 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
51749 fi
51750
51751 COND_TOOLKIT_="#"
51752 if test "x$TOOLKIT" = "x" ; then
51753 COND_TOOLKIT_=""
51754 fi
51755
51756 COND_TOOLKIT_COCOA="#"
51757 if test "x$TOOLKIT" = "xCOCOA" ; then
51758 COND_TOOLKIT_COCOA=""
51759 fi
51760
51761 COND_TOOLKIT_COCOA_USE_GUI_1="#"
51762 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
51763 COND_TOOLKIT_COCOA_USE_GUI_1=""
51764 fi
51765
51766 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
51767 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51768 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
51769 fi
51770
51771 COND_TOOLKIT_DFB="#"
51772 if test "x$TOOLKIT" = "xDFB" ; then
51773 COND_TOOLKIT_DFB=""
51774 fi
51775
51776 COND_TOOLKIT_DFB_USE_GUI_1="#"
51777 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
51778 COND_TOOLKIT_DFB_USE_GUI_1=""
51779 fi
51780
51781 COND_TOOLKIT_GTK="#"
51782 if test "x$TOOLKIT" = "xGTK" ; then
51783 COND_TOOLKIT_GTK=""
51784 fi
51785
51786 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
51787 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
51788 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
51789 fi
51790
51791 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
51792 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
51793 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
51794 fi
51795
51796 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
51797 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
51798 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
51799 fi
51800
51801 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
51802 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51803 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
51804 fi
51805
51806 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
51807 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
51808 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
51809 fi
51810
51811 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
51812 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51813 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
51814 fi
51815
51816 COND_TOOLKIT_GTK_USE_GUI_1="#"
51817 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
51818 COND_TOOLKIT_GTK_USE_GUI_1=""
51819 fi
51820
51821 COND_TOOLKIT_MAC="#"
51822 if test "x$TOOLKIT" = "xMAC" ; then
51823 COND_TOOLKIT_MAC=""
51824 fi
51825
51826 COND_TOOLKIT_MGL="#"
51827 if test "x$TOOLKIT" = "xMGL" ; then
51828 COND_TOOLKIT_MGL=""
51829 fi
51830
51831 COND_TOOLKIT_MGL_USE_GUI_1="#"
51832 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51833 COND_TOOLKIT_MGL_USE_GUI_1=""
51834 fi
51835
51836 COND_TOOLKIT_MOTIF="#"
51837 if test "x$TOOLKIT" = "xMOTIF" ; then
51838 COND_TOOLKIT_MOTIF=""
51839 fi
51840
51841 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
51842 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
51843 COND_TOOLKIT_MOTIF_USE_GUI_1=""
51844 fi
51845
51846 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
51847 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51848 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
51849 fi
51850
51851 COND_TOOLKIT_MSW="#"
51852 if test "x$TOOLKIT" = "xMSW" ; then
51853 COND_TOOLKIT_MSW=""
51854 fi
51855
51856 COND_TOOLKIT_MSW_USE_GUI_1="#"
51857 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
51858 COND_TOOLKIT_MSW_USE_GUI_1=""
51859 fi
51860
51861 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
51862 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51863 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
51864 fi
51865
51866 COND_TOOLKIT_MSW_WXUNIV_0="#"
51867 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51868 COND_TOOLKIT_MSW_WXUNIV_0=""
51869 fi
51870
51871 COND_TOOLKIT_OSX_CARBON="#"
51872 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
51873 COND_TOOLKIT_OSX_CARBON=""
51874 fi
51875
51876 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
51877 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
51878 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
51879 fi
51880
51881 COND_TOOLKIT_OSX_COCOA="#"
51882 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
51883 COND_TOOLKIT_OSX_COCOA=""
51884 fi
51885
51886 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
51887 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
51888 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
51889 fi
51890
51891 COND_TOOLKIT_OSX_IPHONE="#"
51892 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
51893 COND_TOOLKIT_OSX_IPHONE=""
51894 fi
51895
51896 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
51897 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
51898 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
51899 fi
51900
51901 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
51902 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51903 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
51904 fi
51905
51906 COND_TOOLKIT_PM="#"
51907 if test "x$TOOLKIT" = "xPM" ; then
51908 COND_TOOLKIT_PM=""
51909 fi
51910
51911 COND_TOOLKIT_PM_USE_GUI_1="#"
51912 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
51913 COND_TOOLKIT_PM_USE_GUI_1=""
51914 fi
51915
51916 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
51917 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51918 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
51919 fi
51920
51921 COND_TOOLKIT_WINCE="#"
51922 if test "x$TOOLKIT" = "xWINCE" ; then
51923 COND_TOOLKIT_WINCE=""
51924 fi
51925
51926 COND_TOOLKIT_WINCE_USE_GUI_1="#"
51927 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
51928 COND_TOOLKIT_WINCE_USE_GUI_1=""
51929 fi
51930
51931 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
51932 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51933 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
51934 fi
51935
51936 COND_TOOLKIT_WINCE_WXUNIV_0="#"
51937 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
51938 COND_TOOLKIT_WINCE_WXUNIV_0=""
51939 fi
51940
51941 COND_TOOLKIT_X11="#"
51942 if test "x$TOOLKIT" = "xX11" ; then
51943 COND_TOOLKIT_X11=""
51944 fi
51945
51946 COND_TOOLKIT_X11_USE_GUI_1="#"
51947 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
51948 COND_TOOLKIT_X11_USE_GUI_1=""
51949 fi
51950
51951 COND_UNICODE_1="#"
51952 if test "x$UNICODE" = "x1" ; then
51953 COND_UNICODE_1=""
51954 fi
51955
51956 COND_USE_CAIRO_1="#"
51957 if test "x$USE_CAIRO" = "x1" ; then
51958 COND_USE_CAIRO_1=""
51959 fi
51960
51961 COND_USE_EXCEPTIONS_0="#"
51962 if test "x$USE_EXCEPTIONS" = "x0" ; then
51963 COND_USE_EXCEPTIONS_0=""
51964 fi
51965
51966 COND_USE_EXCEPTIONS_1="#"
51967 if test "x$USE_EXCEPTIONS" = "x1" ; then
51968 COND_USE_EXCEPTIONS_1=""
51969 fi
51970
51971 COND_USE_GUI_0="#"
51972 if test "x$USE_GUI" = "x0" ; then
51973 COND_USE_GUI_0=""
51974 fi
51975
51976 COND_USE_GUI_1="#"
51977 if test "x$USE_GUI" = "x1" ; then
51978 COND_USE_GUI_1=""
51979 fi
51980
51981 COND_USE_GUI_1_USE_OPENGL_1="#"
51982 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51983 COND_USE_GUI_1_USE_OPENGL_1=""
51984 fi
51985
51986 COND_USE_GUI_1_WXUNIV_0="#"
51987 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51988 COND_USE_GUI_1_WXUNIV_0=""
51989 fi
51990
51991 COND_USE_GUI_1_WXUNIV_1="#"
51992 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
51993 COND_USE_GUI_1_WXUNIV_1=""
51994 fi
51995
51996 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
51997 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51998 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
51999 fi
52000
52001 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52002 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52003 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52004 fi
52005
52006 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52007 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52008 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52009 fi
52010
52011 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
52012 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52013 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
52014 fi
52015
52016 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
52017 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52018 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
52019 fi
52020
52021 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
52022 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52023 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
52024 fi
52025
52026 COND_USE_OPENGL_1="#"
52027 if test "x$USE_OPENGL" = "x1" ; then
52028 COND_USE_OPENGL_1=""
52029 fi
52030
52031 COND_USE_PCH_1="#"
52032 if test "x$USE_PCH" = "x1" ; then
52033 COND_USE_PCH_1=""
52034 fi
52035
52036 COND_USE_PLUGINS_0="#"
52037 if test "x$USE_PLUGINS" = "x0" ; then
52038 COND_USE_PLUGINS_0=""
52039 fi
52040
52041 COND_USE_RTTI_0="#"
52042 if test "x$USE_RTTI" = "x0" ; then
52043 COND_USE_RTTI_0=""
52044 fi
52045
52046 COND_USE_RTTI_1="#"
52047 if test "x$USE_RTTI" = "x1" ; then
52048 COND_USE_RTTI_1=""
52049 fi
52050
52051 COND_USE_SOTWOSYMLINKS_1="#"
52052 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
52053 COND_USE_SOTWOSYMLINKS_1=""
52054 fi
52055
52056 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
52057 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52058 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
52059 fi
52060
52061 COND_USE_SOVERLINUX_1="#"
52062 if test "x$USE_SOVERLINUX" = "x1" ; then
52063 COND_USE_SOVERLINUX_1=""
52064 fi
52065
52066 COND_USE_SOVERSION_0="#"
52067 if test "x$USE_SOVERSION" = "x0" ; then
52068 COND_USE_SOVERSION_0=""
52069 fi
52070
52071 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
52072 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
52073 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
52074 fi
52075
52076 COND_USE_SOVERSOLARIS_1="#"
52077 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52078 COND_USE_SOVERSOLARIS_1=""
52079 fi
52080
52081 COND_USE_STC_1="#"
52082 if test "x$USE_STC" = "x1" ; then
52083 COND_USE_STC_1=""
52084 fi
52085
52086 COND_USE_THREADS_0="#"
52087 if test "x$USE_THREADS" = "x0" ; then
52088 COND_USE_THREADS_0=""
52089 fi
52090
52091 COND_USE_THREADS_1="#"
52092 if test "x$USE_THREADS" = "x1" ; then
52093 COND_USE_THREADS_1=""
52094 fi
52095
52096 COND_USE_XRC_1="#"
52097 if test "x$USE_XRC" = "x1" ; then
52098 COND_USE_XRC_1=""
52099 fi
52100
52101 COND_WINDOWS_IMPLIB_1="#"
52102 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52103 COND_WINDOWS_IMPLIB_1=""
52104 fi
52105
52106 COND_WITH_PLUGIN_SDL_1="#"
52107 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52108 COND_WITH_PLUGIN_SDL_1=""
52109 fi
52110
52111 COND_WXUNIV_0="#"
52112 if test "x$WXUNIV" = "x0" ; then
52113 COND_WXUNIV_0=""
52114 fi
52115
52116 COND_WXUNIV_1="#"
52117 if test "x$WXUNIV" = "x1" ; then
52118 COND_WXUNIV_1=""
52119 fi
52120
52121 COND_WXUSE_EXPAT_BUILTIN="#"
52122 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52123 COND_WXUSE_EXPAT_BUILTIN=""
52124 fi
52125
52126 COND_WXUSE_LIBJPEG_BUILTIN="#"
52127 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52128 COND_WXUSE_LIBJPEG_BUILTIN=""
52129 fi
52130
52131 COND_WXUSE_LIBPNG_BUILTIN="#"
52132 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52133 COND_WXUSE_LIBPNG_BUILTIN=""
52134 fi
52135
52136 COND_WXUSE_LIBTIFF_BUILTIN="#"
52137 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52138 COND_WXUSE_LIBTIFF_BUILTIN=""
52139 fi
52140
52141 COND_WXUSE_REGEX_BUILTIN="#"
52142 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52143 COND_WXUSE_REGEX_BUILTIN=""
52144 fi
52145
52146 COND_WXUSE_ZLIB_BUILTIN="#"
52147 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52148 COND_WXUSE_ZLIB_BUILTIN=""
52149 fi
52150
52151 COND_wxUSE_EXPAT_builtin="#"
52152 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52153 COND_wxUSE_EXPAT_builtin=""
52154 fi
52155
52156 COND_wxUSE_LIBJPEG_builtin="#"
52157 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52158 COND_wxUSE_LIBJPEG_builtin=""
52159 fi
52160
52161 COND_wxUSE_LIBPNG_builtin="#"
52162 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52163 COND_wxUSE_LIBPNG_builtin=""
52164 fi
52165
52166 COND_wxUSE_LIBTIFF_builtin="#"
52167 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52168 COND_wxUSE_LIBTIFF_builtin=""
52169 fi
52170
52171 COND_wxUSE_REGEX_builtin="#"
52172 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52173 COND_wxUSE_REGEX_builtin=""
52174 fi
52175
52176 COND_wxUSE_ZLIB_builtin="#"
52177 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52178 COND_wxUSE_ZLIB_builtin=""
52179 fi
52180
52181
52182
52183 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52184 { { 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
52185 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;}
52186 { (exit 1); exit 1; }; }
52187 fi
52188
52189 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52190 { { 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
52191 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;}
52192 { (exit 1); exit 1; }; }
52193 fi
52194
52195
52196 case ${INSTALL} in
52197 /* ) # Absolute
52198 ;;
52199 ?:* ) # Drive letter, considered as absolute.
52200 ;;
52201 *)
52202 INSTALL=`pwd`/${INSTALL} ;;
52203 esac
52204
52205 if test "$wxUSE_GUI" = "yes"; then
52206
52207 if test "$wxUSE_MSW" = 1 ; then
52208 if test "x$WINDRES" = "x"; then
52209 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
52210 echo "$as_me: error: Required windres program not found" >&2;}
52211 { (exit 1); exit 1; }; }
52212 fi
52213
52214 RESCOMP="$WINDRES"
52215 fi
52216
52217 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
52218 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
52219 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
52220
52221 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
52222
52223 # Extract the first word of "DeRez", so it can be a program name with args.
52224 set dummy DeRez; ac_word=$2
52225 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52226 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52227 if test "${ac_cv_prog_DEREZ+set}" = set; then
52228 echo $ECHO_N "(cached) $ECHO_C" >&6
52229 else
52230 if test -n "$DEREZ"; then
52231 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
52232 else
52233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52234 for as_dir in $PATH
52235 do
52236 IFS=$as_save_IFS
52237 test -z "$as_dir" && as_dir=.
52238 for ac_exec_ext in '' $ac_executable_extensions; do
52239 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52240 ac_cv_prog_DEREZ="DeRez"
52241 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52242 break 2
52243 fi
52244 done
52245 done
52246 IFS=$as_save_IFS
52247
52248 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
52249 fi
52250 fi
52251 DEREZ=$ac_cv_prog_DEREZ
52252 if test -n "$DEREZ"; then
52253 { echo "$as_me:$LINENO: result: $DEREZ" >&5
52254 echo "${ECHO_T}$DEREZ" >&6; }
52255 else
52256 { echo "$as_me:$LINENO: result: no" >&5
52257 echo "${ECHO_T}no" >&6; }
52258 fi
52259
52260
52261
52262 MACSETFILE="\$(SETFILE)"
52263
52264 if test "$wxUSE_OSX_CARBON" = 1; then
52265 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
52266 RESCOMP="$REZ"
52267 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
52268 else
52269 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
52270 RESCOMP="cat /dev/null \| $REZ"
52271 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
52272 fi
52273
52274 else
52275 MACSETFILE="@true"
52276
52277 if test "$wxUSE_PM" = 1; then
52278 RESCOMP="emxbind"
52279 WXCONFIG_RESFLAGS="-ep"
52280
52281 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
52282 else
52283 POSTLINK_COMMAND="@true"
52284 fi
52285 fi
52286
52287 fi
52288
52289
52290 if test $GCC_PCH = 1
52291 then
52292 if test "$wx_cv_gcc_pch_bug" = yes; then
52293 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52294 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52295 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52296 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52297 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52298 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52299 fi
52300
52301 # Our WX_PRECOMP flag does not make sense for any language except C++ because
52302 # the headers that benefit from precompilation are mostly C++ headers.
52303 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
52304 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
52305 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
52306 fi
52307
52308
52309 if test "$wxUSE_MAC" = 1 ; then
52310 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52311 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52312 mv temp bk-deps
52313 chmod +x bk-deps
52314 fi
52315 fi
52316
52317 if test "$wxUSE_SHARED" = "yes"; then
52318 case "${host}" in
52319 *-pc-os2_emx | *-pc-os2-emx )
52320 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52321 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52322 cp -p ${srcdir}/src/os2/dllnames.sh .
52323 cp -p ${srcdir}/src/os2/dllar.sh .
52324 ;;
52325 esac
52326 fi
52327 if test "$wxUSE_OMF" = "yes"; then
52328 case "${host}" in
52329 *-pc-os2_emx | *-pc-os2-emx )
52330 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52331 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52332 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52333 ;;
52334 esac
52335 fi
52336
52337 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52338
52339
52340 case "${host}" in
52341 *-*-solaris2* )
52342 if test "$GCC" = yes; then
52343 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52344 LIBS=`echo $LIBS | sed 's/-mt//'`
52345 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52346 fi
52347 ;;
52348
52349 *-*-linux* )
52350 if test "x$SUNCXX" = xyes; then
52351 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52352 LIBS=`echo $LIBS | sed 's/-pthread//'`
52353 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52354 fi
52355 ;;
52356 esac
52357
52358 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52359 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52360 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
52361 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
52362
52363 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52364
52365
52366
52367
52368
52369
52370
52371
52372
52373
52374
52375
52376
52377
52378
52379
52380
52381
52382
52383
52384
52385
52386
52387
52388
52389
52390
52391
52392
52393
52394
52395
52396
52397
52398
52399
52400
52401
52402
52403
52404
52405
52406
52407
52408
52409
52410
52411
52412
52413
52414
52415
52416
52417
52418
52419
52420
52421
52422
52423
52424 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52425 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52426 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52427 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52428 echo $ECHO_N "(cached) $ECHO_C" >&6
52429 else
52430 cat >conftest.make <<\_ACEOF
52431 SHELL = /bin/sh
52432 all:
52433 @echo '@@@%%%=$(MAKE)=@@@%%%'
52434 _ACEOF
52435 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52436 case `${MAKE-make} -f conftest.make 2>/dev/null` in
52437 *@@@%%%=?*=@@@%%%*)
52438 eval ac_cv_prog_make_${ac_make}_set=yes;;
52439 *)
52440 eval ac_cv_prog_make_${ac_make}_set=no;;
52441 esac
52442 rm -f conftest.make
52443 fi
52444 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52445 { echo "$as_me:$LINENO: result: yes" >&5
52446 echo "${ECHO_T}yes" >&6; }
52447 SET_MAKE=
52448 else
52449 { echo "$as_me:$LINENO: result: no" >&5
52450 echo "${ECHO_T}no" >&6; }
52451 SET_MAKE="MAKE=${MAKE-make}"
52452 fi
52453
52454
52455
52456 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
52457
52458
52459 if test "$USE_WIN32" = 1; then
52460 ac_config_commands="$ac_config_commands rcdefs.h"
52461
52462 fi
52463
52464 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
52465
52466
52467 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
52468
52469
52470 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
52471
52472
52473 if test "$wx_cv_version_script" = "yes"; then
52474 ac_config_files="$ac_config_files version-script"
52475
52476 fi
52477 ac_config_files="$ac_config_files Makefile"
52478
52479
52480 ac_config_commands="$ac_config_commands wx-config"
52481
52482
52483
52484 if test "$wxWITH_SUBDIRS" != "no"; then
52485 if test "$wxUSE_GUI" = "yes"; then
52486 SUBDIRS="samples demos utils"
52487 else
52488 SUBDIRS="samples utils"
52489 fi
52490
52491
52492
52493 # Check whether --with-cppunit-prefix was given.
52494 if test "${with_cppunit_prefix+set}" = set; then
52495 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
52496 else
52497 cppunit_config_prefix=""
52498 fi
52499
52500
52501 # Check whether --with-cppunit-exec-prefix was given.
52502 if test "${with_cppunit_exec_prefix+set}" = set; then
52503 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
52504 else
52505 cppunit_config_exec_prefix=""
52506 fi
52507
52508
52509 if test x$cppunit_config_exec_prefix != x ; then
52510 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
52511 if test x${CPPUNIT_CONFIG+set} != xset ; then
52512 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
52513 fi
52514 fi
52515 if test x$cppunit_config_prefix != x ; then
52516 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
52517 if test x${CPPUNIT_CONFIG+set} != xset ; then
52518 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
52519 fi
52520 fi
52521
52522 # Extract the first word of "cppunit-config", so it can be a program name with args.
52523 set dummy cppunit-config; ac_word=$2
52524 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52526 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
52527 echo $ECHO_N "(cached) $ECHO_C" >&6
52528 else
52529 case $CPPUNIT_CONFIG in
52530 [\\/]* | ?:[\\/]*)
52531 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
52532 ;;
52533 *)
52534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52535 for as_dir in $PATH
52536 do
52537 IFS=$as_save_IFS
52538 test -z "$as_dir" && as_dir=.
52539 for ac_exec_ext in '' $ac_executable_extensions; do
52540 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52541 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
52542 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52543 break 2
52544 fi
52545 done
52546 done
52547 IFS=$as_save_IFS
52548
52549 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
52550 ;;
52551 esac
52552 fi
52553 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
52554 if test -n "$CPPUNIT_CONFIG"; then
52555 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
52556 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
52557 else
52558 { echo "$as_me:$LINENO: result: no" >&5
52559 echo "${ECHO_T}no" >&6; }
52560 fi
52561
52562
52563 cppunit_version_min=1.8.0
52564
52565 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
52566 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
52567 no_cppunit=""
52568 if test "$CPPUNIT_CONFIG" = "no" ; then
52569 { echo "$as_me:$LINENO: result: no" >&5
52570 echo "${ECHO_T}no" >&6; }
52571 no_cppunit=yes
52572 else
52573 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
52574 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
52575 cppunit_version=`$CPPUNIT_CONFIG --version`
52576
52577 cppunit_major_version=`echo $cppunit_version | \
52578 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52579 cppunit_minor_version=`echo $cppunit_version | \
52580 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52581 cppunit_micro_version=`echo $cppunit_version | \
52582 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52583
52584 cppunit_major_min=`echo $cppunit_version_min | \
52585 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52586 cppunit_minor_min=`echo $cppunit_version_min | \
52587 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52588 cppunit_micro_min=`echo $cppunit_version_min | \
52589 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52590
52591 cppunit_version_proper=`expr \
52592 $cppunit_major_version \> $cppunit_major_min \| \
52593 $cppunit_major_version \= $cppunit_major_min \& \
52594 $cppunit_minor_version \> $cppunit_minor_min \| \
52595 $cppunit_major_version \= $cppunit_major_min \& \
52596 $cppunit_minor_version \= $cppunit_minor_min \& \
52597 $cppunit_micro_version \>= $cppunit_micro_min `
52598
52599 if test "$cppunit_version_proper" = "1" ; then
52600 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
52601 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
52602 else
52603 { echo "$as_me:$LINENO: result: no" >&5
52604 echo "${ECHO_T}no" >&6; }
52605 no_cppunit=yes
52606 fi
52607 fi
52608
52609 if test "x$no_cppunit" = x ; then
52610 SUBDIRS="$SUBDIRS tests"
52611 else
52612 CPPUNIT_CFLAGS=""
52613 CPPUNIT_LIBS=""
52614 :
52615 fi
52616
52617
52618
52619
52620
52621 for subdir in $SUBDIRS; do
52622 if test -d ${srcdir}/${subdir} ; then
52623 if test "$wxUSE_GUI" = "yes"; then
52624 if test ${subdir} = "samples"; then
52625 makefiles="samples/Makefile.in $makefiles"
52626 for sample in $SAMPLES_SUBDIRS; do
52627 if test -d $srcdir/samples/$sample; then
52628 makefiles="samples/$sample/Makefile.in $makefiles"
52629 fi
52630 done
52631 else
52632 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
52633 eval "disabled=\$$disabled_var"
52634 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
52635 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
52636 fi
52637 else
52638 if test ${subdir} = "samples"; then
52639 makefiles="samples/Makefile.in $makefiles"
52640 for sample in `echo $SAMPLES_SUBDIRS`; do
52641 if test -d $srcdir/samples/$sample; then
52642 makefiles="samples/$sample/Makefile.in $makefiles"
52643 fi
52644 done
52645 elif test ${subdir} = "utils"; then
52646 makefiles=""
52647 for util in ifacecheck ; do
52648 if test -d $srcdir/utils/$util ; then
52649 makefiles="utils/$util/src/Makefile.in \
52650 $makefiles"
52651 fi
52652 done
52653 else
52654 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
52655 fi
52656 fi
52657
52658 for mkin in $makefiles ; do
52659 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
52660 ac_config_files="$ac_config_files $mk"
52661
52662 done
52663 fi
52664 done
52665 fi
52666 cat >confcache <<\_ACEOF
52667 # This file is a shell script that caches the results of configure
52668 # tests run on this system so they can be shared between configure
52669 # scripts and configure runs, see configure's option --config-cache.
52670 # It is not useful on other systems. If it contains results you don't
52671 # want to keep, you may remove or edit it.
52672 #
52673 # config.status only pays attention to the cache file if you give it
52674 # the --recheck option to rerun configure.
52675 #
52676 # `ac_cv_env_foo' variables (set or unset) will be overridden when
52677 # loading this file, other *unset* `ac_cv_foo' will be assigned the
52678 # following values.
52679
52680 _ACEOF
52681
52682 # The following way of writing the cache mishandles newlines in values,
52683 # but we know of no workaround that is simple, portable, and efficient.
52684 # So, we kill variables containing newlines.
52685 # Ultrix sh set writes to stderr and can't be redirected directly,
52686 # and sets the high bit in the cache file unless we assign to the vars.
52687 (
52688 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
52689 eval ac_val=\$$ac_var
52690 case $ac_val in #(
52691 *${as_nl}*)
52692 case $ac_var in #(
52693 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
52694 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
52695 esac
52696 case $ac_var in #(
52697 _ | IFS | as_nl) ;; #(
52698 *) $as_unset $ac_var ;;
52699 esac ;;
52700 esac
52701 done
52702
52703 (set) 2>&1 |
52704 case $as_nl`(ac_space=' '; set) 2>&1` in #(
52705 *${as_nl}ac_space=\ *)
52706 # `set' does not quote correctly, so add quotes (double-quote
52707 # substitution turns \\\\ into \\, and sed turns \\ into \).
52708 sed -n \
52709 "s/'/'\\\\''/g;
52710 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
52711 ;; #(
52712 *)
52713 # `set' quotes correctly as required by POSIX, so do not add quotes.
52714 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
52715 ;;
52716 esac |
52717 sort
52718 ) |
52719 sed '
52720 /^ac_cv_env_/b end
52721 t clear
52722 :clear
52723 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
52724 t end
52725 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
52726 :end' >>confcache
52727 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
52728 if test -w "$cache_file"; then
52729 test "x$cache_file" != "x/dev/null" &&
52730 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
52731 echo "$as_me: updating cache $cache_file" >&6;}
52732 cat confcache >$cache_file
52733 else
52734 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
52735 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
52736 fi
52737 fi
52738 rm -f confcache
52739
52740 test "x$prefix" = xNONE && prefix=$ac_default_prefix
52741 # Let make expand exec_prefix.
52742 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
52743
52744 DEFS=-DHAVE_CONFIG_H
52745
52746 ac_libobjs=
52747 ac_ltlibobjs=
52748 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
52749 # 1. Remove the extension, and $U if already installed.
52750 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
52751 ac_i=`echo "$ac_i" | sed "$ac_script"`
52752 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
52753 # will be set to the directory where LIBOBJS objects are built.
52754 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
52755 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
52756 done
52757 LIBOBJS=$ac_libobjs
52758
52759 LTLIBOBJS=$ac_ltlibobjs
52760
52761
52762
52763 : ${CONFIG_STATUS=./config.status}
52764 ac_clean_files_save=$ac_clean_files
52765 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
52766 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
52767 echo "$as_me: creating $CONFIG_STATUS" >&6;}
52768 cat >$CONFIG_STATUS <<_ACEOF
52769 #! $SHELL
52770 # Generated by $as_me.
52771 # Run this file to recreate the current configuration.
52772 # Compiler output produced by configure, useful for debugging
52773 # configure, is in config.log if it exists.
52774
52775 debug=false
52776 ac_cs_recheck=false
52777 ac_cs_silent=false
52778 SHELL=\${CONFIG_SHELL-$SHELL}
52779 _ACEOF
52780
52781 cat >>$CONFIG_STATUS <<\_ACEOF
52782 ## --------------------- ##
52783 ## M4sh Initialization. ##
52784 ## --------------------- ##
52785
52786 # Be more Bourne compatible
52787 DUALCASE=1; export DUALCASE # for MKS sh
52788 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
52789 emulate sh
52790 NULLCMD=:
52791 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
52792 # is contrary to our usage. Disable this feature.
52793 alias -g '${1+"$@"}'='"$@"'
52794 setopt NO_GLOB_SUBST
52795 else
52796 case `(set -o) 2>/dev/null` in
52797 *posix*) set -o posix ;;
52798 esac
52799
52800 fi
52801
52802
52803
52804
52805 # PATH needs CR
52806 # Avoid depending upon Character Ranges.
52807 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
52808 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
52809 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
52810 as_cr_digits='0123456789'
52811 as_cr_alnum=$as_cr_Letters$as_cr_digits
52812
52813 # The user is always right.
52814 if test "${PATH_SEPARATOR+set}" != set; then
52815 echo "#! /bin/sh" >conf$$.sh
52816 echo "exit 0" >>conf$$.sh
52817 chmod +x conf$$.sh
52818 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
52819 PATH_SEPARATOR=';'
52820 else
52821 PATH_SEPARATOR=:
52822 fi
52823 rm -f conf$$.sh
52824 fi
52825
52826 # Support unset when possible.
52827 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
52828 as_unset=unset
52829 else
52830 as_unset=false
52831 fi
52832
52833
52834 # IFS
52835 # We need space, tab and new line, in precisely that order. Quoting is
52836 # there to prevent editors from complaining about space-tab.
52837 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
52838 # splitting by setting IFS to empty value.)
52839 as_nl='
52840 '
52841 IFS=" "" $as_nl"
52842
52843 # Find who we are. Look in the path if we contain no directory separator.
52844 case $0 in
52845 *[\\/]* ) as_myself=$0 ;;
52846 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52847 for as_dir in $PATH
52848 do
52849 IFS=$as_save_IFS
52850 test -z "$as_dir" && as_dir=.
52851 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
52852 done
52853 IFS=$as_save_IFS
52854
52855 ;;
52856 esac
52857 # We did not find ourselves, most probably we were run as `sh COMMAND'
52858 # in which case we are not to be found in the path.
52859 if test "x$as_myself" = x; then
52860 as_myself=$0
52861 fi
52862 if test ! -f "$as_myself"; then
52863 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
52864 { (exit 1); exit 1; }
52865 fi
52866
52867 # Work around bugs in pre-3.0 UWIN ksh.
52868 for as_var in ENV MAIL MAILPATH
52869 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
52870 done
52871 PS1='$ '
52872 PS2='> '
52873 PS4='+ '
52874
52875 # NLS nuisances.
52876 for as_var in \
52877 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
52878 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
52879 LC_TELEPHONE LC_TIME
52880 do
52881 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
52882 eval $as_var=C; export $as_var
52883 else
52884 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
52885 fi
52886 done
52887
52888 # Required to use basename.
52889 if expr a : '\(a\)' >/dev/null 2>&1 &&
52890 test "X`expr 00001 : '.*\(...\)'`" = X001; then
52891 as_expr=expr
52892 else
52893 as_expr=false
52894 fi
52895
52896 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
52897 as_basename=basename
52898 else
52899 as_basename=false
52900 fi
52901
52902
52903 # Name of the executable.
52904 as_me=`$as_basename -- "$0" ||
52905 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
52906 X"$0" : 'X\(//\)$' \| \
52907 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
52908 echo X/"$0" |
52909 sed '/^.*\/\([^/][^/]*\)\/*$/{
52910 s//\1/
52911 q
52912 }
52913 /^X\/\(\/\/\)$/{
52914 s//\1/
52915 q
52916 }
52917 /^X\/\(\/\).*/{
52918 s//\1/
52919 q
52920 }
52921 s/.*/./; q'`
52922
52923 # CDPATH.
52924 $as_unset CDPATH
52925
52926
52927
52928 as_lineno_1=$LINENO
52929 as_lineno_2=$LINENO
52930 test "x$as_lineno_1" != "x$as_lineno_2" &&
52931 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
52932
52933 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
52934 # uniformly replaced by the line number. The first 'sed' inserts a
52935 # line-number line after each line using $LINENO; the second 'sed'
52936 # does the real work. The second script uses 'N' to pair each
52937 # line-number line with the line containing $LINENO, and appends
52938 # trailing '-' during substitution so that $LINENO is not a special
52939 # case at line end.
52940 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
52941 # scripts with optimization help from Paolo Bonzini. Blame Lee
52942 # E. McMahon (1931-1989) for sed's syntax. :-)
52943 sed -n '
52944 p
52945 /[$]LINENO/=
52946 ' <$as_myself |
52947 sed '
52948 s/[$]LINENO.*/&-/
52949 t lineno
52950 b
52951 :lineno
52952 N
52953 :loop
52954 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
52955 t loop
52956 s/-\n.*//
52957 ' >$as_me.lineno &&
52958 chmod +x "$as_me.lineno" ||
52959 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
52960 { (exit 1); exit 1; }; }
52961
52962 # Don't try to exec as it changes $[0], causing all sort of problems
52963 # (the dirname of $[0] is not the place where we might find the
52964 # original and so on. Autoconf is especially sensitive to this).
52965 . "./$as_me.lineno"
52966 # Exit status is that of the last command.
52967 exit
52968 }
52969
52970
52971 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
52972 as_dirname=dirname
52973 else
52974 as_dirname=false
52975 fi
52976
52977 ECHO_C= ECHO_N= ECHO_T=
52978 case `echo -n x` in
52979 -n*)
52980 case `echo 'x\c'` in
52981 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
52982 *) ECHO_C='\c';;
52983 esac;;
52984 *)
52985 ECHO_N='-n';;
52986 esac
52987
52988 if expr a : '\(a\)' >/dev/null 2>&1 &&
52989 test "X`expr 00001 : '.*\(...\)'`" = X001; then
52990 as_expr=expr
52991 else
52992 as_expr=false
52993 fi
52994
52995 rm -f conf$$ conf$$.exe conf$$.file
52996 if test -d conf$$.dir; then
52997 rm -f conf$$.dir/conf$$.file
52998 else
52999 rm -f conf$$.dir
53000 mkdir conf$$.dir
53001 fi
53002 echo >conf$$.file
53003 if ln -s conf$$.file conf$$ 2>/dev/null; then
53004 as_ln_s='ln -s'
53005 # ... but there are two gotchas:
53006 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53007 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53008 # In both cases, we have to default to `cp -p'.
53009 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
53010 as_ln_s='cp -p'
53011 elif ln conf$$.file conf$$ 2>/dev/null; then
53012 as_ln_s=ln
53013 else
53014 as_ln_s='cp -p'
53015 fi
53016 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
53017 rmdir conf$$.dir 2>/dev/null
53018
53019 if mkdir -p . 2>/dev/null; then
53020 as_mkdir_p=:
53021 else
53022 test -d ./-p && rmdir ./-p
53023 as_mkdir_p=false
53024 fi
53025
53026 if test -x / >/dev/null 2>&1; then
53027 as_test_x='test -x'
53028 else
53029 if ls -dL / >/dev/null 2>&1; then
53030 as_ls_L_option=L
53031 else
53032 as_ls_L_option=
53033 fi
53034 as_test_x='
53035 eval sh -c '\''
53036 if test -d "$1"; then
53037 test -d "$1/.";
53038 else
53039 case $1 in
53040 -*)set "./$1";;
53041 esac;
53042 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53043 ???[sx]*):;;*)false;;esac;fi
53044 '\'' sh
53045 '
53046 fi
53047 as_executable_p=$as_test_x
53048
53049 # Sed expression to map a string onto a valid CPP name.
53050 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53051
53052 # Sed expression to map a string onto a valid variable name.
53053 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53054
53055
53056 exec 6>&1
53057
53058 # Save the log message, to keep $[0] and so on meaningful, and to
53059 # report actual input values of CONFIG_FILES etc. instead of their
53060 # values after options handling.
53061 ac_log="
53062 This file was extended by wxWidgets $as_me 2.9.2, which was
53063 generated by GNU Autoconf 2.61. Invocation command line was
53064
53065 CONFIG_FILES = $CONFIG_FILES
53066 CONFIG_HEADERS = $CONFIG_HEADERS
53067 CONFIG_LINKS = $CONFIG_LINKS
53068 CONFIG_COMMANDS = $CONFIG_COMMANDS
53069 $ $0 $@
53070
53071 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53072 "
53073
53074 _ACEOF
53075
53076 cat >>$CONFIG_STATUS <<_ACEOF
53077 # Files that config.status was made for.
53078 config_files="$ac_config_files"
53079 config_headers="$ac_config_headers"
53080 config_commands="$ac_config_commands"
53081
53082 _ACEOF
53083
53084 cat >>$CONFIG_STATUS <<\_ACEOF
53085 ac_cs_usage="\
53086 \`$as_me' instantiates files from templates according to the
53087 current configuration.
53088
53089 Usage: $0 [OPTIONS] [FILE]...
53090
53091 -h, --help print this help, then exit
53092 -V, --version print version number and configuration settings, then exit
53093 -q, --quiet do not print progress messages
53094 -d, --debug don't remove temporary files
53095 --recheck update $as_me by reconfiguring in the same conditions
53096 --file=FILE[:TEMPLATE]
53097 instantiate the configuration file FILE
53098 --header=FILE[:TEMPLATE]
53099 instantiate the configuration header FILE
53100
53101 Configuration files:
53102 $config_files
53103
53104 Configuration headers:
53105 $config_headers
53106
53107 Configuration commands:
53108 $config_commands
53109
53110 Report bugs to <bug-autoconf@gnu.org>."
53111
53112 _ACEOF
53113 cat >>$CONFIG_STATUS <<_ACEOF
53114 ac_cs_version="\\
53115 wxWidgets config.status 2.9.2
53116 configured by $0, generated by GNU Autoconf 2.61,
53117 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53118
53119 Copyright (C) 2006 Free Software Foundation, Inc.
53120 This config.status script is free software; the Free Software Foundation
53121 gives unlimited permission to copy, distribute and modify it."
53122
53123 ac_pwd='$ac_pwd'
53124 srcdir='$srcdir'
53125 INSTALL='$INSTALL'
53126 _ACEOF
53127
53128 cat >>$CONFIG_STATUS <<\_ACEOF
53129 # If no file are specified by the user, then we need to provide default
53130 # value. By we need to know if files were specified by the user.
53131 ac_need_defaults=:
53132 while test $# != 0
53133 do
53134 case $1 in
53135 --*=*)
53136 ac_option=`expr "X$1" : 'X\([^=]*\)='`
53137 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
53138 ac_shift=:
53139 ;;
53140 *)
53141 ac_option=$1
53142 ac_optarg=$2
53143 ac_shift=shift
53144 ;;
53145 esac
53146
53147 case $ac_option in
53148 # Handling of the options.
53149 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53150 ac_cs_recheck=: ;;
53151 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53152 echo "$ac_cs_version"; exit ;;
53153 --debug | --debu | --deb | --de | --d | -d )
53154 debug=: ;;
53155 --file | --fil | --fi | --f )
53156 $ac_shift
53157 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
53158 ac_need_defaults=false;;
53159 --header | --heade | --head | --hea )
53160 $ac_shift
53161 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
53162 ac_need_defaults=false;;
53163 --he | --h)
53164 # Conflict between --help and --header
53165 { echo "$as_me: error: ambiguous option: $1
53166 Try \`$0 --help' for more information." >&2
53167 { (exit 1); exit 1; }; };;
53168 --help | --hel | -h )
53169 echo "$ac_cs_usage"; exit ;;
53170 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53171 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53172 ac_cs_silent=: ;;
53173
53174 # This is an error.
53175 -*) { echo "$as_me: error: unrecognized option: $1
53176 Try \`$0 --help' for more information." >&2
53177 { (exit 1); exit 1; }; } ;;
53178
53179 *) ac_config_targets="$ac_config_targets $1"
53180 ac_need_defaults=false ;;
53181
53182 esac
53183 shift
53184 done
53185
53186 ac_configure_extra_args=
53187
53188 if $ac_cs_silent; then
53189 exec 6>/dev/null
53190 ac_configure_extra_args="$ac_configure_extra_args --silent"
53191 fi
53192
53193 _ACEOF
53194 cat >>$CONFIG_STATUS <<_ACEOF
53195 if \$ac_cs_recheck; then
53196 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53197 CONFIG_SHELL=$SHELL
53198 export CONFIG_SHELL
53199 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53200 fi
53201
53202 _ACEOF
53203 cat >>$CONFIG_STATUS <<\_ACEOF
53204 exec 5>>config.log
53205 {
53206 echo
53207 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53208 ## Running $as_me. ##
53209 _ASBOX
53210 echo "$ac_log"
53211 } >&5
53212
53213 _ACEOF
53214 cat >>$CONFIG_STATUS <<_ACEOF
53215 #
53216 # INIT-COMMANDS
53217 #
53218
53219 CPP="$CPP"
53220 infile="$srcdir/include/wx/msw/genrcdefs.h"
53221 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53222
53223
53224 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53225 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53226 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53227 LN_S="${LN_S}"
53228
53229
53230 _ACEOF
53231
53232 cat >>$CONFIG_STATUS <<\_ACEOF
53233
53234 # Handling of arguments.
53235 for ac_config_target in $ac_config_targets
53236 do
53237 case $ac_config_target in
53238 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53239 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
53240 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53241 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53242 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
53243 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
53244 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
53245 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
53246 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
53247
53248 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53249 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53250 { (exit 1); exit 1; }; };;
53251 esac
53252 done
53253
53254
53255 # If the user did not use the arguments to specify the items to instantiate,
53256 # then the envvar interface is used. Set only those that are not.
53257 # We use the long form for the default assignment because of an extremely
53258 # bizarre bug on SunOS 4.1.3.
53259 if $ac_need_defaults; then
53260 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
53261 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
53262 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
53263 fi
53264
53265 # Have a temporary directory for convenience. Make it in the build tree
53266 # simply because there is no reason against having it here, and in addition,
53267 # creating and moving files from /tmp can sometimes cause problems.
53268 # Hook for its removal unless debugging.
53269 # Note that there is a small window in which the directory will not be cleaned:
53270 # after its creation but before its name has been assigned to `$tmp'.
53271 $debug ||
53272 {
53273 tmp=
53274 trap 'exit_status=$?
53275 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53276 ' 0
53277 trap '{ (exit 1); exit 1; }' 1 2 13 15
53278 }
53279 # Create a (secure) tmp directory for tmp files.
53280
53281 {
53282 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53283 test -n "$tmp" && test -d "$tmp"
53284 } ||
53285 {
53286 tmp=./conf$$-$RANDOM
53287 (umask 077 && mkdir "$tmp")
53288 } ||
53289 {
53290 echo "$me: cannot create a temporary directory in ." >&2
53291 { (exit 1); exit 1; }
53292 }
53293
53294 #
53295 # Set up the sed scripts for CONFIG_FILES section.
53296 #
53297
53298 # No need to generate the scripts if there are no CONFIG_FILES.
53299 # This happens for instance when ./config.status config.h
53300 if test -n "$CONFIG_FILES"; then
53301
53302 _ACEOF
53303
53304
53305
53306 ac_delim='%!_!# '
53307 for ac_last_try in false false false false false :; do
53308 cat >conf$$subs.sed <<_ACEOF
53309 SHELL!$SHELL$ac_delim
53310 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53311 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53312 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53313 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53314 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53315 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53316 exec_prefix!$exec_prefix$ac_delim
53317 prefix!$prefix$ac_delim
53318 program_transform_name!$program_transform_name$ac_delim
53319 bindir!$bindir$ac_delim
53320 sbindir!$sbindir$ac_delim
53321 libexecdir!$libexecdir$ac_delim
53322 datarootdir!$datarootdir$ac_delim
53323 datadir!$datadir$ac_delim
53324 sysconfdir!$sysconfdir$ac_delim
53325 sharedstatedir!$sharedstatedir$ac_delim
53326 localstatedir!$localstatedir$ac_delim
53327 includedir!$includedir$ac_delim
53328 oldincludedir!$oldincludedir$ac_delim
53329 docdir!$docdir$ac_delim
53330 infodir!$infodir$ac_delim
53331 htmldir!$htmldir$ac_delim
53332 dvidir!$dvidir$ac_delim
53333 pdfdir!$pdfdir$ac_delim
53334 psdir!$psdir$ac_delim
53335 libdir!$libdir$ac_delim
53336 localedir!$localedir$ac_delim
53337 mandir!$mandir$ac_delim
53338 DEFS!$DEFS$ac_delim
53339 ECHO_C!$ECHO_C$ac_delim
53340 ECHO_N!$ECHO_N$ac_delim
53341 ECHO_T!$ECHO_T$ac_delim
53342 LIBS!$LIBS$ac_delim
53343 build_alias!$build_alias$ac_delim
53344 host_alias!$host_alias$ac_delim
53345 target_alias!$target_alias$ac_delim
53346 build!$build$ac_delim
53347 build_cpu!$build_cpu$ac_delim
53348 build_vendor!$build_vendor$ac_delim
53349 build_os!$build_os$ac_delim
53350 host!$host$ac_delim
53351 host_cpu!$host_cpu$ac_delim
53352 host_vendor!$host_vendor$ac_delim
53353 host_os!$host_os$ac_delim
53354 wx_top_builddir!$wx_top_builddir$ac_delim
53355 CC!$CC$ac_delim
53356 CFLAGS!$CFLAGS$ac_delim
53357 LDFLAGS!$LDFLAGS$ac_delim
53358 CPPFLAGS!$CPPFLAGS$ac_delim
53359 ac_ct_CC!$ac_ct_CC$ac_delim
53360 EXEEXT!$EXEEXT$ac_delim
53361 OBJEXT!$OBJEXT$ac_delim
53362 CPP!$CPP$ac_delim
53363 GREP!$GREP$ac_delim
53364 EGREP!$EGREP$ac_delim
53365 CXX!$CXX$ac_delim
53366 CXXFLAGS!$CXXFLAGS$ac_delim
53367 ac_ct_CXX!$ac_ct_CXX$ac_delim
53368 AR!$AR$ac_delim
53369 OSX_SW_VERS!$OSX_SW_VERS$ac_delim
53370 CXXCPP!$CXXCPP$ac_delim
53371 subdirs!$subdirs$ac_delim
53372 PKG_CONFIG!$PKG_CONFIG$ac_delim
53373 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53374 GTK_LIBS!$GTK_LIBS$ac_delim
53375 GTK_CONFIG!$GTK_CONFIG$ac_delim
53376 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53377 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53378 XMKMF!$XMKMF$ac_delim
53379 X_CFLAGS!$X_CFLAGS$ac_delim
53380 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53381 X_LIBS!$X_LIBS$ac_delim
53382 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53383 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53384 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53385 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53386 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53387 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53388 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53389 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53390 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53391 LIBICONV!$LIBICONV$ac_delim
53392 GXX_VERSION!$GXX_VERSION$ac_delim
53393 SDL_CONFIG!$SDL_CONFIG$ac_delim
53394 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53395 SDL_LIBS!$SDL_LIBS$ac_delim
53396 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
53397 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
53398 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53399 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53400 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53401 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53402 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53403 HILDON_LIBS!$HILDON_LIBS$ac_delim
53404 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
53405 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
53406 _ACEOF
53407
53408 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53409 break
53410 elif $ac_last_try; then
53411 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53412 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53413 { (exit 1); exit 1; }; }
53414 else
53415 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53416 fi
53417 done
53418
53419 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53420 if test -n "$ac_eof"; then
53421 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53422 ac_eof=`expr $ac_eof + 1`
53423 fi
53424
53425 cat >>$CONFIG_STATUS <<_ACEOF
53426 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53427 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53428 _ACEOF
53429 sed '
53430 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53431 s/^/s,@/; s/!/@,|#_!!_#|/
53432 :n
53433 t n
53434 s/'"$ac_delim"'$/,g/; t
53435 s/$/\\/; p
53436 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53437 ' >>$CONFIG_STATUS <conf$$subs.sed
53438 rm -f conf$$subs.sed
53439 cat >>$CONFIG_STATUS <<_ACEOF
53440 CEOF$ac_eof
53441 _ACEOF
53442
53443
53444 ac_delim='%!_!# '
53445 for ac_last_try in false false false false false :; do
53446 cat >conf$$subs.sed <<_ACEOF
53447 PYTHON!$PYTHON$ac_delim
53448 COND_PYTHON!$COND_PYTHON$ac_delim
53449 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53450 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53451 GST_CFLAGS!$GST_CFLAGS$ac_delim
53452 GST_LIBS!$GST_LIBS$ac_delim
53453 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
53454 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
53455 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
53456 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
53457 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
53458 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
53459 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
53460 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
53461 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
53462 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
53463 VENDOR!$VENDOR$ac_delim
53464 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
53465 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
53466 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
53467 WXUNIV!$WXUNIV$ac_delim
53468 MONOLITHIC!$MONOLITHIC$ac_delim
53469 USE_PLUGINS!$USE_PLUGINS$ac_delim
53470 CXXWARNINGS!$CXXWARNINGS$ac_delim
53471 EXTRALIBS!$EXTRALIBS$ac_delim
53472 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
53473 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
53474 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
53475 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
53476 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
53477 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
53478 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
53479 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
53480 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
53481 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
53482 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
53483 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
53484 UNICODE!$UNICODE$ac_delim
53485 DEBUG_INFO!$DEBUG_INFO$ac_delim
53486 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
53487 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
53488 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
53489 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
53490 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
53491 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
53492 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
53493 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
53494 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
53495 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
53496 RANLIB!$RANLIB$ac_delim
53497 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
53498 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
53499 INSTALL_DATA!$INSTALL_DATA$ac_delim
53500 LN_S!$LN_S$ac_delim
53501 SET_MAKE!$SET_MAKE$ac_delim
53502 MAKE_SET!$MAKE_SET$ac_delim
53503 AROPTIONS!$AROPTIONS$ac_delim
53504 STRIP!$STRIP$ac_delim
53505 NM!$NM$ac_delim
53506 INSTALL_DIR!$INSTALL_DIR$ac_delim
53507 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
53508 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
53509 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
53510 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
53511 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
53512 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
53513 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
53514 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
53515 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
53516 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
53517 SO_SUFFIX!$SO_SUFFIX$ac_delim
53518 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
53519 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
53520 LIBPREFIX!$LIBPREFIX$ac_delim
53521 LIBEXT!$LIBEXT$ac_delim
53522 DLLPREFIX!$DLLPREFIX$ac_delim
53523 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
53524 dlldir!$dlldir$ac_delim
53525 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
53526 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
53527 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
53528 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
53529 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
53530 PIC_FLAG!$PIC_FLAG$ac_delim
53531 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
53532 USE_SOVERSION!$USE_SOVERSION$ac_delim
53533 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
53534 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
53535 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
53536 USE_MACVERSION!$USE_MACVERSION$ac_delim
53537 USE_SOTWOSYMLINKS!$USE_SOTWOSYMLINKS$ac_delim
53538 SONAME_FLAG!$SONAME_FLAG$ac_delim
53539 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
53540 BK_DEPS!$BK_DEPS$ac_delim
53541 WINDRES!$WINDRES$ac_delim
53542 REZ!$REZ$ac_delim
53543 SETFILE!$SETFILE$ac_delim
53544 _ACEOF
53545
53546 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53547 break
53548 elif $ac_last_try; then
53549 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53550 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53551 { (exit 1); exit 1; }; }
53552 else
53553 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53554 fi
53555 done
53556
53557 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53558 if test -n "$ac_eof"; then
53559 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53560 ac_eof=`expr $ac_eof + 1`
53561 fi
53562
53563 cat >>$CONFIG_STATUS <<_ACEOF
53564 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
53565 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53566 _ACEOF
53567 sed '
53568 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53569 s/^/s,@/; s/!/@,|#_!!_#|/
53570 :n
53571 t n
53572 s/'"$ac_delim"'$/,g/; t
53573 s/$/\\/; p
53574 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53575 ' >>$CONFIG_STATUS <conf$$subs.sed
53576 rm -f conf$$subs.sed
53577 cat >>$CONFIG_STATUS <<_ACEOF
53578 CEOF$ac_eof
53579 _ACEOF
53580
53581
53582 ac_delim='%!_!# '
53583 for ac_last_try in false false false false false :; do
53584 cat >conf$$subs.sed <<_ACEOF
53585 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
53586 GCC_PCH!$GCC_PCH$ac_delim
53587 ICC_PCH!$ICC_PCH$ac_delim
53588 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
53589 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
53590 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
53591 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
53592 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
53593 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
53594 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
53595 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
53596 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
53597 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
53598 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
53599 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
53600 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
53601 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
53602 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
53603 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
53604 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
53605 COND_BUILD_release!$COND_BUILD_release$ac_delim
53606 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
53607 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
53608 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
53609 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
53610 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
53611 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
53612 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
53613 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
53614 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
53615 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
53616 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
53617 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
53618 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
53619 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
53620 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
53621 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
53622 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53623 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
53624 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
53625 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
53626 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
53627 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
53628 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
53629 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
53630 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
53631 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
53632 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
53633 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
53634 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
53635 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
53636 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
53637 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
53638 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
53639 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
53640 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
53641 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
53642 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53643 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
53644 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
53645 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
53646 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
53647 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
53648 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
53649 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
53650 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
53651 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
53652 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
53653 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
53654 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
53655 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
53656 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
53657 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
53658 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
53659 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
53660 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0$ac_delim
53661 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
53662 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
53663 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
53664 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
53665 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
53666 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0$ac_delim
53667 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
53668 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
53669 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
53670 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
53671 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
53672 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
53673 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
53674 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
53675 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
53676 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
53677 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
53678 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
53679 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
53680 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
53681 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
53682 _ACEOF
53683
53684 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53685 break
53686 elif $ac_last_try; then
53687 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53688 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53689 { (exit 1); exit 1; }; }
53690 else
53691 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53692 fi
53693 done
53694
53695 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53696 if test -n "$ac_eof"; then
53697 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53698 ac_eof=`expr $ac_eof + 1`
53699 fi
53700
53701 cat >>$CONFIG_STATUS <<_ACEOF
53702 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
53703 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53704 _ACEOF
53705 sed '
53706 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53707 s/^/s,@/; s/!/@,|#_!!_#|/
53708 :n
53709 t n
53710 s/'"$ac_delim"'$/,g/; t
53711 s/$/\\/; p
53712 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53713 ' >>$CONFIG_STATUS <conf$$subs.sed
53714 rm -f conf$$subs.sed
53715 cat >>$CONFIG_STATUS <<_ACEOF
53716 CEOF$ac_eof
53717 _ACEOF
53718
53719
53720 ac_delim='%!_!# '
53721 for ac_last_try in false false false false false :; do
53722 cat >conf$$subs.sed <<_ACEOF
53723 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
53724 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
53725 COND_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_WIN32_1_SHARED_0$ac_delim
53726 COND_SHARED_0!$COND_SHARED_0$ac_delim
53727 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
53728 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
53729 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
53730 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
53731 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
53732 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
53733 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
53734 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
53735 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
53736 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
53737 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
53738 COND_SHARED_1!$COND_SHARED_1$ac_delim
53739 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
53740 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
53741 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
53742 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
53743 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
53744 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
53745 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
53746 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
53747 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
53748 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
53749 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
53750 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
53751 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
53752 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
53753 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
53754 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
53755 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
53756 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
53757 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
53758 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
53759 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
53760 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
53761 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
53762 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
53763 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
53764 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
53765 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
53766 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
53767 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
53768 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
53769 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
53770 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0$ac_delim
53771 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
53772 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
53773 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
53774 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
53775 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
53776 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
53777 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
53778 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
53779 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
53780 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
53781 COND_USE_CAIRO_1!$COND_USE_CAIRO_1$ac_delim
53782 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
53783 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
53784 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
53785 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
53786 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
53787 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
53788 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
53789 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53790 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53791 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53792 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
53793 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
53794 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
53795 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
53796 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
53797 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
53798 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
53799 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
53800 COND_USE_SOTWOSYMLINKS_1!$COND_USE_SOTWOSYMLINKS_1$ac_delim
53801 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
53802 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
53803 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
53804 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1!$COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1$ac_delim
53805 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
53806 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
53807 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
53808 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
53809 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
53810 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
53811 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
53812 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
53813 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
53814 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
53815 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
53816 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
53817 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
53818 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
53819 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
53820 _ACEOF
53821
53822 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53823 break
53824 elif $ac_last_try; then
53825 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53826 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53827 { (exit 1); exit 1; }; }
53828 else
53829 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53830 fi
53831 done
53832
53833 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53834 if test -n "$ac_eof"; then
53835 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53836 ac_eof=`expr $ac_eof + 1`
53837 fi
53838
53839 cat >>$CONFIG_STATUS <<_ACEOF
53840 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
53841 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53842 _ACEOF
53843 sed '
53844 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53845 s/^/s,@/; s/!/@,|#_!!_#|/
53846 :n
53847 t n
53848 s/'"$ac_delim"'$/,g/; t
53849 s/$/\\/; p
53850 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53851 ' >>$CONFIG_STATUS <conf$$subs.sed
53852 rm -f conf$$subs.sed
53853 cat >>$CONFIG_STATUS <<_ACEOF
53854 CEOF$ac_eof
53855 _ACEOF
53856
53857
53858 ac_delim='%!_!# '
53859 for ac_last_try in false false false false false :; do
53860 cat >conf$$subs.sed <<_ACEOF
53861 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
53862 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
53863 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
53864 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
53865 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
53866 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
53867 DEREZ!$DEREZ$ac_delim
53868 SHARED!$SHARED$ac_delim
53869 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
53870 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
53871 USE_GUI!$USE_GUI$ac_delim
53872 AFMINSTALL!$AFMINSTALL$ac_delim
53873 WIN32INSTALL!$WIN32INSTALL$ac_delim
53874 TOOLKIT!$TOOLKIT$ac_delim
53875 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
53876 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
53877 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
53878 cross_compiling!$cross_compiling$ac_delim
53879 WIDGET_SET!$WIDGET_SET$ac_delim
53880 WX_RELEASE!$WX_RELEASE$ac_delim
53881 WX_VERSION!$WX_VERSION$ac_delim
53882 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
53883 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
53884 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
53885 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
53886 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
53887 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
53888 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
53889 WXCONFIG_LDFLAGS!$WXCONFIG_LDFLAGS$ac_delim
53890 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
53891 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
53892 GUIDIST!$GUIDIST$ac_delim
53893 DISTDIR!$DISTDIR$ac_delim
53894 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
53895 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
53896 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
53897 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
53898 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
53899 RESCOMP!$RESCOMP$ac_delim
53900 RESFLAGS!$RESFLAGS$ac_delim
53901 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
53902 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
53903 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
53904 LIBWXMACRES!$LIBWXMACRES$ac_delim
53905 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
53906 MACSETFILE!$MACSETFILE$ac_delim
53907 GCC!$GCC$ac_delim
53908 DLLTOOL!$DLLTOOL$ac_delim
53909 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
53910 LIBOBJS!$LIBOBJS$ac_delim
53911 LTLIBOBJS!$LTLIBOBJS$ac_delim
53912 _ACEOF
53913
53914 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 51; then
53915 break
53916 elif $ac_last_try; then
53917 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53918 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53919 { (exit 1); exit 1; }; }
53920 else
53921 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53922 fi
53923 done
53924
53925 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53926 if test -n "$ac_eof"; then
53927 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53928 ac_eof=`expr $ac_eof + 1`
53929 fi
53930
53931 cat >>$CONFIG_STATUS <<_ACEOF
53932 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
53933 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
53934 _ACEOF
53935 sed '
53936 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53937 s/^/s,@/; s/!/@,|#_!!_#|/
53938 :n
53939 t n
53940 s/'"$ac_delim"'$/,g/; t
53941 s/$/\\/; p
53942 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53943 ' >>$CONFIG_STATUS <conf$$subs.sed
53944 rm -f conf$$subs.sed
53945 cat >>$CONFIG_STATUS <<_ACEOF
53946 :end
53947 s/|#_!!_#|//g
53948 CEOF$ac_eof
53949 _ACEOF
53950
53951
53952 # VPATH may cause trouble with some makes, so we remove $(srcdir),
53953 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
53954 # trailing colons and then remove the whole line if VPATH becomes empty
53955 # (actually we leave an empty line to preserve line numbers).
53956 if test "x$srcdir" = x.; then
53957 ac_vpsub='/^[ ]*VPATH[ ]*=/{
53958 s/:*\$(srcdir):*/:/
53959 s/:*\${srcdir}:*/:/
53960 s/:*@srcdir@:*/:/
53961 s/^\([^=]*=[ ]*\):*/\1/
53962 s/:*$//
53963 s/^[^=]*=[ ]*$//
53964 }'
53965 fi
53966
53967 cat >>$CONFIG_STATUS <<\_ACEOF
53968 fi # test -n "$CONFIG_FILES"
53969
53970
53971 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
53972 do
53973 case $ac_tag in
53974 :[FHLC]) ac_mode=$ac_tag; continue;;
53975 esac
53976 case $ac_mode$ac_tag in
53977 :[FHL]*:*);;
53978 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
53979 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
53980 { (exit 1); exit 1; }; };;
53981 :[FH]-) ac_tag=-:-;;
53982 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
53983 esac
53984 ac_save_IFS=$IFS
53985 IFS=:
53986 set x $ac_tag
53987 IFS=$ac_save_IFS
53988 shift
53989 ac_file=$1
53990 shift
53991
53992 case $ac_mode in
53993 :L) ac_source=$1;;
53994 :[FH])
53995 ac_file_inputs=
53996 for ac_f
53997 do
53998 case $ac_f in
53999 -) ac_f="$tmp/stdin";;
54000 *) # Look for the file first in the build tree, then in the source tree
54001 # (if the path is not absolute). The absolute path cannot be DOS-style,
54002 # because $ac_f cannot contain `:'.
54003 test -f "$ac_f" ||
54004 case $ac_f in
54005 [\\/$]*) false;;
54006 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
54007 esac ||
54008 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54009 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54010 { (exit 1); exit 1; }; };;
54011 esac
54012 ac_file_inputs="$ac_file_inputs $ac_f"
54013 done
54014
54015 # Let's still pretend it is `configure' which instantiates (i.e., don't
54016 # use $as_me), people would be surprised to read:
54017 # /* config.h. Generated by config.status. */
54018 configure_input="Generated from "`IFS=:
54019 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
54020 if test x"$ac_file" != x-; then
54021 configure_input="$ac_file. $configure_input"
54022 { echo "$as_me:$LINENO: creating $ac_file" >&5
54023 echo "$as_me: creating $ac_file" >&6;}
54024 fi
54025
54026 case $ac_tag in
54027 *:-:* | *:-) cat >"$tmp/stdin";;
54028 esac
54029 ;;
54030 esac
54031
54032 ac_dir=`$as_dirname -- "$ac_file" ||
54033 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54034 X"$ac_file" : 'X\(//\)[^/]' \| \
54035 X"$ac_file" : 'X\(//\)$' \| \
54036 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54037 echo X"$ac_file" |
54038 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54039 s//\1/
54040 q
54041 }
54042 /^X\(\/\/\)[^/].*/{
54043 s//\1/
54044 q
54045 }
54046 /^X\(\/\/\)$/{
54047 s//\1/
54048 q
54049 }
54050 /^X\(\/\).*/{
54051 s//\1/
54052 q
54053 }
54054 s/.*/./; q'`
54055 { as_dir="$ac_dir"
54056 case $as_dir in #(
54057 -*) as_dir=./$as_dir;;
54058 esac
54059 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54060 as_dirs=
54061 while :; do
54062 case $as_dir in #(
54063 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54064 *) as_qdir=$as_dir;;
54065 esac
54066 as_dirs="'$as_qdir' $as_dirs"
54067 as_dir=`$as_dirname -- "$as_dir" ||
54068 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54069 X"$as_dir" : 'X\(//\)[^/]' \| \
54070 X"$as_dir" : 'X\(//\)$' \| \
54071 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54072 echo X"$as_dir" |
54073 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54074 s//\1/
54075 q
54076 }
54077 /^X\(\/\/\)[^/].*/{
54078 s//\1/
54079 q
54080 }
54081 /^X\(\/\/\)$/{
54082 s//\1/
54083 q
54084 }
54085 /^X\(\/\).*/{
54086 s//\1/
54087 q
54088 }
54089 s/.*/./; q'`
54090 test -d "$as_dir" && break
54091 done
54092 test -z "$as_dirs" || eval "mkdir $as_dirs"
54093 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54094 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54095 { (exit 1); exit 1; }; }; }
54096 ac_builddir=.
54097
54098 case "$ac_dir" in
54099 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54100 *)
54101 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54102 # A ".." for each directory in $ac_dir_suffix.
54103 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54104 case $ac_top_builddir_sub in
54105 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54106 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54107 esac ;;
54108 esac
54109 ac_abs_top_builddir=$ac_pwd
54110 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54111 # for backward compatibility:
54112 ac_top_builddir=$ac_top_build_prefix
54113
54114 case $srcdir in
54115 .) # We are building in place.
54116 ac_srcdir=.
54117 ac_top_srcdir=$ac_top_builddir_sub
54118 ac_abs_top_srcdir=$ac_pwd ;;
54119 [\\/]* | ?:[\\/]* ) # Absolute name.
54120 ac_srcdir=$srcdir$ac_dir_suffix;
54121 ac_top_srcdir=$srcdir
54122 ac_abs_top_srcdir=$srcdir ;;
54123 *) # Relative name.
54124 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54125 ac_top_srcdir=$ac_top_build_prefix$srcdir
54126 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54127 esac
54128 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54129
54130
54131 case $ac_mode in
54132 :F)
54133 #
54134 # CONFIG_FILE
54135 #
54136
54137 case $INSTALL in
54138 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
54139 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
54140 esac
54141 _ACEOF
54142
54143 cat >>$CONFIG_STATUS <<\_ACEOF
54144 # If the template does not know about datarootdir, expand it.
54145 # FIXME: This hack should be removed a few years after 2.60.
54146 ac_datarootdir_hack=; ac_datarootdir_seen=
54147
54148 case `sed -n '/datarootdir/ {
54149 p
54150 q
54151 }
54152 /@datadir@/p
54153 /@docdir@/p
54154 /@infodir@/p
54155 /@localedir@/p
54156 /@mandir@/p
54157 ' $ac_file_inputs` in
54158 *datarootdir*) ac_datarootdir_seen=yes;;
54159 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
54160 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54161 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54162 _ACEOF
54163 cat >>$CONFIG_STATUS <<_ACEOF
54164 ac_datarootdir_hack='
54165 s&@datadir@&$datadir&g
54166 s&@docdir@&$docdir&g
54167 s&@infodir@&$infodir&g
54168 s&@localedir@&$localedir&g
54169 s&@mandir@&$mandir&g
54170 s&\\\${datarootdir}&$datarootdir&g' ;;
54171 esac
54172 _ACEOF
54173
54174 # Neutralize VPATH when `$srcdir' = `.'.
54175 # Shell code in configure.ac might set extrasub.
54176 # FIXME: do we really want to maintain this feature?
54177 cat >>$CONFIG_STATUS <<_ACEOF
54178 sed "$ac_vpsub
54179 $extrasub
54180 _ACEOF
54181 cat >>$CONFIG_STATUS <<\_ACEOF
54182 :t
54183 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54184 s&@configure_input@&$configure_input&;t t
54185 s&@top_builddir@&$ac_top_builddir_sub&;t t
54186 s&@srcdir@&$ac_srcdir&;t t
54187 s&@abs_srcdir@&$ac_abs_srcdir&;t t
54188 s&@top_srcdir@&$ac_top_srcdir&;t t
54189 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
54190 s&@builddir@&$ac_builddir&;t t
54191 s&@abs_builddir@&$ac_abs_builddir&;t t
54192 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
54193 s&@INSTALL@&$ac_INSTALL&;t t
54194 $ac_datarootdir_hack
54195 " $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
54196
54197 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54198 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
54199 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
54200 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54201 which seems to be undefined. Please make sure it is defined." >&5
54202 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54203 which seems to be undefined. Please make sure it is defined." >&2;}
54204
54205 rm -f "$tmp/stdin"
54206 case $ac_file in
54207 -) cat "$tmp/out"; rm -f "$tmp/out";;
54208 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54209 esac
54210 ;;
54211 :H)
54212 #
54213 # CONFIG_HEADER
54214 #
54215 _ACEOF
54216
54217 # Transform confdefs.h into a sed script `conftest.defines', that
54218 # substitutes the proper values into config.h.in to produce config.h.
54219 rm -f conftest.defines conftest.tail
54220 # First, append a space to every undef/define line, to ease matching.
54221 echo 's/$/ /' >conftest.defines
54222 # Then, protect against being on the right side of a sed subst, or in
54223 # an unquoted here document, in config.status. If some macros were
54224 # called several times there might be several #defines for the same
54225 # symbol, which is useless. But do not sort them, since the last
54226 # AC_DEFINE must be honored.
54227 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
54228 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54229 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54230 # PARAMS is the parameter list in the macro definition--in most cases, it's
54231 # just an empty string.
54232 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54233 ac_dB='\\)[ (].*,\\1define\\2'
54234 ac_dC=' '
54235 ac_dD=' ,'
54236
54237 uniq confdefs.h |
54238 sed -n '
54239 t rset
54240 :rset
54241 s/^[ ]*#[ ]*define[ ][ ]*//
54242 t ok
54243 d
54244 :ok
54245 s/[\\&,]/\\&/g
54246 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54247 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54248 ' >>conftest.defines
54249
54250 # Remove the space that was appended to ease matching.
54251 # Then replace #undef with comments. This is necessary, for
54252 # example, in the case of _POSIX_SOURCE, which is predefined and required
54253 # on some systems where configure will not decide to define it.
54254 # (The regexp can be short, since the line contains either #define or #undef.)
54255 echo 's/ $//
54256 s,^[ #]*u.*,/* & */,' >>conftest.defines
54257
54258 # Break up conftest.defines:
54259 ac_max_sed_lines=50
54260
54261 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54262 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54263 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54264 # et cetera.
54265 ac_in='$ac_file_inputs'
54266 ac_out='"$tmp/out1"'
54267 ac_nxt='"$tmp/out2"'
54268
54269 while :
54270 do
54271 # Write a here document:
54272 cat >>$CONFIG_STATUS <<_ACEOF
54273 # First, check the format of the line:
54274 cat >"\$tmp/defines.sed" <<\\CEOF
54275 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54276 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54277 b
54278 :def
54279 _ACEOF
54280 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
54281 echo 'CEOF
54282 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54283 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
54284 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
54285 grep . conftest.tail >/dev/null || break
54286 rm -f conftest.defines
54287 mv conftest.tail conftest.defines
54288 done
54289 rm -f conftest.defines conftest.tail
54290
54291 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54292 cat >>$CONFIG_STATUS <<\_ACEOF
54293 if test x"$ac_file" != x-; then
54294 echo "/* $configure_input */" >"$tmp/config.h"
54295 cat "$ac_result" >>"$tmp/config.h"
54296 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
54297 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54298 echo "$as_me: $ac_file is unchanged" >&6;}
54299 else
54300 rm -f $ac_file
54301 mv "$tmp/config.h" $ac_file
54302 fi
54303 else
54304 echo "/* $configure_input */"
54305 cat "$ac_result"
54306 fi
54307 rm -f "$tmp/out12"
54308 ;;
54309
54310 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54311 echo "$as_me: executing $ac_file commands" >&6;}
54312 ;;
54313 esac
54314
54315
54316 case $ac_file$ac_mode in
54317 "rcdefs.h":C)
54318 mkdir -p $outdir &&
54319 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54320 ;;
54321 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
54322 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
54323 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
54324 "wx-config":C) rm -f wx-config
54325 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
54326 ;;
54327
54328 esac
54329 done # for ac_tag
54330
54331
54332 { (exit 0); exit 0; }
54333 _ACEOF
54334 chmod +x $CONFIG_STATUS
54335 ac_clean_files=$ac_clean_files_save
54336
54337
54338 # configure is writing to config.log, and then calls config.status.
54339 # config.status does its own redirection, appending to config.log.
54340 # Unfortunately, on DOS this fails, as config.log is still kept open
54341 # by configure, so config.status won't be able to write to it; its
54342 # output is simply discarded. So we exec the FD to /dev/null,
54343 # effectively closing config.log, so it can be properly (re)opened and
54344 # appended to by config.status. When coming back to configure, we
54345 # need to make the FD available again.
54346 if test "$no_create" != yes; then
54347 ac_cs_success=:
54348 ac_config_status_args=
54349 test "$silent" = yes &&
54350 ac_config_status_args="$ac_config_status_args --quiet"
54351 exec 5>/dev/null
54352 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
54353 exec 5>>config.log
54354 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54355 # would make configure fail if this is the last instruction.
54356 $ac_cs_success || { (exit 1); exit 1; }
54357 fi
54358
54359 #
54360 # CONFIG_SUBDIRS section.
54361 #
54362 if test "$no_recursion" != yes; then
54363
54364 # Remove --cache-file and --srcdir arguments so they do not pile up.
54365 ac_sub_configure_args=
54366 ac_prev=
54367 eval "set x $ac_configure_args"
54368 shift
54369 for ac_arg
54370 do
54371 if test -n "$ac_prev"; then
54372 ac_prev=
54373 continue
54374 fi
54375 case $ac_arg in
54376 -cache-file | --cache-file | --cache-fil | --cache-fi \
54377 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54378 ac_prev=cache_file ;;
54379 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54380 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54381 | --c=*)
54382 ;;
54383 --config-cache | -C)
54384 ;;
54385 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54386 ac_prev=srcdir ;;
54387 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54388 ;;
54389 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54390 ac_prev=prefix ;;
54391 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54392 ;;
54393 *)
54394 case $ac_arg in
54395 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54396 esac
54397 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
54398 esac
54399 done
54400
54401 # Always prepend --prefix to ensure using the same prefix
54402 # in subdir configurations.
54403 ac_arg="--prefix=$prefix"
54404 case $ac_arg in
54405 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54406 esac
54407 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
54408
54409 # Pass --silent
54410 if test "$silent" = yes; then
54411 ac_sub_configure_args="--silent $ac_sub_configure_args"
54412 fi
54413
54414 ac_popdir=`pwd`
54415 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
54416
54417 # Do not complain, so a configure script can configure whichever
54418 # parts of a large source tree are present.
54419 test -d "$srcdir/$ac_dir" || continue
54420
54421 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54422 echo "$as_me:$LINENO: $ac_msg" >&5
54423 echo "$ac_msg" >&6
54424 { as_dir="$ac_dir"
54425 case $as_dir in #(
54426 -*) as_dir=./$as_dir;;
54427 esac
54428 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54429 as_dirs=
54430 while :; do
54431 case $as_dir in #(
54432 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54433 *) as_qdir=$as_dir;;
54434 esac
54435 as_dirs="'$as_qdir' $as_dirs"
54436 as_dir=`$as_dirname -- "$as_dir" ||
54437 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54438 X"$as_dir" : 'X\(//\)[^/]' \| \
54439 X"$as_dir" : 'X\(//\)$' \| \
54440 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54441 echo X"$as_dir" |
54442 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54443 s//\1/
54444 q
54445 }
54446 /^X\(\/\/\)[^/].*/{
54447 s//\1/
54448 q
54449 }
54450 /^X\(\/\/\)$/{
54451 s//\1/
54452 q
54453 }
54454 /^X\(\/\).*/{
54455 s//\1/
54456 q
54457 }
54458 s/.*/./; q'`
54459 test -d "$as_dir" && break
54460 done
54461 test -z "$as_dirs" || eval "mkdir $as_dirs"
54462 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54463 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54464 { (exit 1); exit 1; }; }; }
54465 ac_builddir=.
54466
54467 case "$ac_dir" in
54468 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54469 *)
54470 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54471 # A ".." for each directory in $ac_dir_suffix.
54472 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54473 case $ac_top_builddir_sub in
54474 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54475 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54476 esac ;;
54477 esac
54478 ac_abs_top_builddir=$ac_pwd
54479 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54480 # for backward compatibility:
54481 ac_top_builddir=$ac_top_build_prefix
54482
54483 case $srcdir in
54484 .) # We are building in place.
54485 ac_srcdir=.
54486 ac_top_srcdir=$ac_top_builddir_sub
54487 ac_abs_top_srcdir=$ac_pwd ;;
54488 [\\/]* | ?:[\\/]* ) # Absolute name.
54489 ac_srcdir=$srcdir$ac_dir_suffix;
54490 ac_top_srcdir=$srcdir
54491 ac_abs_top_srcdir=$srcdir ;;
54492 *) # Relative name.
54493 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54494 ac_top_srcdir=$ac_top_build_prefix$srcdir
54495 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54496 esac
54497 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54498
54499
54500 cd "$ac_dir"
54501
54502 # Check for guested configure; otherwise get Cygnus style configure.
54503 if test -f "$ac_srcdir/configure.gnu"; then
54504 ac_sub_configure=$ac_srcdir/configure.gnu
54505 elif test -f "$ac_srcdir/configure"; then
54506 ac_sub_configure=$ac_srcdir/configure
54507 elif test -f "$ac_srcdir/configure.in"; then
54508 # This should be Cygnus configure.
54509 ac_sub_configure=$ac_aux_dir/configure
54510 else
54511 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
54512 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
54513 ac_sub_configure=
54514 fi
54515
54516 # The recursion is here.
54517 if test -n "$ac_sub_configure"; then
54518 # Make the cache file name correct relative to the subdirectory.
54519 case $cache_file in
54520 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
54521 *) # Relative name.
54522 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
54523 esac
54524
54525 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
54526 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
54527 # The eval makes quoting arguments work.
54528 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
54529 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
54530 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
54531 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
54532 { (exit 1); exit 1; }; }
54533 fi
54534
54535 cd "$ac_popdir"
54536 done
54537 fi
54538
54539
54540 echo
54541 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
54542 echo ""
54543 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
54544 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
54545 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
54546 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
54547 if test "$wxUSE_UNICODE" = "yes"; then
54548 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
54549 echo " (using UTF-8)"
54550 else
54551 echo " (using wchar_t)"
54552 fi
54553 else
54554 echo
54555 fi
54556
54557 echo " What level of wxWidgets compatibility should be enabled?"
54558 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
54559 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
54560
54561 echo " Which libraries should wxWidgets use?"
54562 echo " STL ${wxUSE_STL}"
54563 echo " jpeg ${wxUSE_LIBJPEG-none}"
54564 echo " png ${wxUSE_LIBPNG-none}"
54565 echo " regex ${wxUSE_REGEX}"
54566 echo " tiff ${wxUSE_LIBTIFF-none}"
54567 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
54568 echo " xpm ${wxUSE_LIBXPM-none}"
54569 fi
54570 echo " zlib ${wxUSE_ZLIB}"
54571 echo " expat ${wxUSE_EXPAT}"
54572 echo " libmspack ${wxUSE_LIBMSPACK}"
54573 echo " sdl ${wxUSE_LIBSDL}"
54574
54575 echo ""
54576