]> git.saurik.com Git - wxWidgets.git/blob - configure
Add more tests for wxRendererNative::DrawHeaderButton().
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.1.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
15
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19 emulate sh
20 NULLCMD=:
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
24 setopt NO_GLOB_SUBST
25 else
26 case `(set -o) 2>/dev/null` in
27 *posix*) set -o posix ;;
28 esac
29
30 fi
31
32
33
34
35 # PATH needs CR
36 # Avoid depending upon Character Ranges.
37 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits='0123456789'
41 as_cr_alnum=$as_cr_Letters$as_cr_digits
42
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
47 chmod +x conf$$.sh
48 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49 PATH_SEPARATOR=';'
50 else
51 PATH_SEPARATOR=:
52 fi
53 rm -f conf$$.sh
54 fi
55
56 # Support unset when possible.
57 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
58 as_unset=unset
59 else
60 as_unset=false
61 fi
62
63
64 # IFS
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
69 as_nl='
70 '
71 IFS=" "" $as_nl"
72
73 # Find who we are. Look in the path if we contain no directory separator.
74 case $0 in
75 *[\\/]* ) as_myself=$0 ;;
76 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77 for as_dir in $PATH
78 do
79 IFS=$as_save_IFS
80 test -z "$as_dir" && as_dir=.
81 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
82 done
83 IFS=$as_save_IFS
84
85 ;;
86 esac
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x; then
90 as_myself=$0
91 fi
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 { (exit 1); exit 1; }
95 fi
96
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
100 done
101 PS1='$ '
102 PS2='> '
103 PS4='+ '
104
105 # NLS nuisances.
106 for as_var in \
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
109 LC_TELEPHONE LC_TIME
110 do
111 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C; export $as_var
113 else
114 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 fi
116 done
117
118 # Required to use basename.
119 if expr a : '\(a\)' >/dev/null 2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001; then
121 as_expr=expr
122 else
123 as_expr=false
124 fi
125
126 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
127 as_basename=basename
128 else
129 as_basename=false
130 fi
131
132
133 # Name of the executable.
134 as_me=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 echo X/"$0" |
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
140 s//\1/
141 q
142 }
143 /^X\/\(\/\/\)$/{
144 s//\1/
145 q
146 }
147 /^X\/\(\/\).*/{
148 s//\1/
149 q
150 }
151 s/.*/./; q'`
152
153 # CDPATH.
154 $as_unset CDPATH
155
156
157 if test "x$CONFIG_SHELL" = x; then
158 if (eval ":") 2>/dev/null; then
159 as_have_required=yes
160 else
161 as_have_required=no
162 fi
163
164 if test $as_have_required = yes && (eval ":
165 (as_func_return () {
166 (exit \$1)
167 }
168 as_func_success () {
169 as_func_return 0
170 }
171 as_func_failure () {
172 as_func_return 1
173 }
174 as_func_ret_success () {
175 return 0
176 }
177 as_func_ret_failure () {
178 return 1
179 }
180
181 exitcode=0
182 if as_func_success; then
183 :
184 else
185 exitcode=1
186 echo as_func_success failed.
187 fi
188
189 if as_func_failure; then
190 exitcode=1
191 echo as_func_failure succeeded.
192 fi
193
194 if as_func_ret_success; then
195 :
196 else
197 exitcode=1
198 echo as_func_ret_success failed.
199 fi
200
201 if as_func_ret_failure; then
202 exitcode=1
203 echo as_func_ret_failure succeeded.
204 fi
205
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 :
208 else
209 exitcode=1
210 echo positional parameters were not saved.
211 fi
212
213 test \$exitcode = 0) || { (exit 1); exit 1; }
214
215 (
216 as_lineno_1=\$LINENO
217 as_lineno_2=\$LINENO
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev/null; then
221 :
222 else
223 as_candidate_shells=
224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
225 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
226 do
227 IFS=$as_save_IFS
228 test -z "$as_dir" && as_dir=.
229 case $as_dir in
230 /*)
231 for as_base in sh bash ksh sh5; do
232 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
233 done;;
234 esac
235 done
236 IFS=$as_save_IFS
237
238
239 for as_shell in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev/null <<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
244 emulate sh
245 NULLCMD=:
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
249 setopt NO_GLOB_SUBST
250 else
251 case `(set -o) 2>/dev/null` in
252 *posix*) set -o posix ;;
253 esac
254
255 fi
256
257
258 :
259 _ASEOF
260 }; then
261 CONFIG_SHELL=$as_shell
262 as_have_required=yes
263 if { "$as_shell" 2> /dev/null <<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
265 emulate sh
266 NULLCMD=:
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
270 setopt NO_GLOB_SUBST
271 else
272 case `(set -o) 2>/dev/null` in
273 *posix*) set -o posix ;;
274 esac
275
276 fi
277
278
279 :
280 (as_func_return () {
281 (exit $1)
282 }
283 as_func_success () {
284 as_func_return 0
285 }
286 as_func_failure () {
287 as_func_return 1
288 }
289 as_func_ret_success () {
290 return 0
291 }
292 as_func_ret_failure () {
293 return 1
294 }
295
296 exitcode=0
297 if as_func_success; then
298 :
299 else
300 exitcode=1
301 echo as_func_success failed.
302 fi
303
304 if as_func_failure; then
305 exitcode=1
306 echo as_func_failure succeeded.
307 fi
308
309 if as_func_ret_success; then
310 :
311 else
312 exitcode=1
313 echo as_func_ret_success failed.
314 fi
315
316 if as_func_ret_failure; then
317 exitcode=1
318 echo as_func_ret_failure succeeded.
319 fi
320
321 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 :
323 else
324 exitcode=1
325 echo positional parameters were not saved.
326 fi
327
328 test $exitcode = 0) || { (exit 1); exit 1; }
329
330 (
331 as_lineno_1=$LINENO
332 as_lineno_2=$LINENO
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
335
336 _ASEOF
337 }; then
338 break
339 fi
340
341 fi
342
343 done
344
345 if test "x$CONFIG_SHELL" != x; then
346 for as_var in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
348 done
349 export CONFIG_SHELL
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 fi
352
353
354 if test $as_have_required = no; then
355 echo This script requires a shell more modern than all the
356 echo shells that I found on your system. Please install a
357 echo modern shell, or manually run the script under such a
358 echo shell if you do have one.
359 { (exit 1); exit 1; }
360 fi
361
362
363 fi
364
365 fi
366
367
368
369 (eval "as_func_return () {
370 (exit \$1)
371 }
372 as_func_success () {
373 as_func_return 0
374 }
375 as_func_failure () {
376 as_func_return 1
377 }
378 as_func_ret_success () {
379 return 0
380 }
381 as_func_ret_failure () {
382 return 1
383 }
384
385 exitcode=0
386 if as_func_success; then
387 :
388 else
389 exitcode=1
390 echo as_func_success failed.
391 fi
392
393 if as_func_failure; then
394 exitcode=1
395 echo as_func_failure succeeded.
396 fi
397
398 if as_func_ret_success; then
399 :
400 else
401 exitcode=1
402 echo as_func_ret_success failed.
403 fi
404
405 if as_func_ret_failure; then
406 exitcode=1
407 echo as_func_ret_failure succeeded.
408 fi
409
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 :
412 else
413 exitcode=1
414 echo positional parameters were not saved.
415 fi
416
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system,
420 echo including any error possibly output before this
421 echo message
422 }
423
424
425
426 as_lineno_1=$LINENO
427 as_lineno_2=$LINENO
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
437 # case at line end.
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
441 sed -n '
442 p
443 /[$]LINENO/=
444 ' <$as_myself |
445 sed '
446 s/[$]LINENO.*/&-/
447 t lineno
448 b
449 :lineno
450 N
451 :loop
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 t loop
454 s/-\n.*//
455 ' >$as_me.lineno &&
456 chmod +x "$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
459
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
463 . "./$as_me.lineno"
464 # Exit status is that of the last command.
465 exit
466 }
467
468
469 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
470 as_dirname=dirname
471 else
472 as_dirname=false
473 fi
474
475 ECHO_C= ECHO_N= ECHO_T=
476 case `echo -n x` in
477 -n*)
478 case `echo 'x\c'` in
479 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
480 *) ECHO_C='\c';;
481 esac;;
482 *)
483 ECHO_N='-n';;
484 esac
485
486 if expr a : '\(a\)' >/dev/null 2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001; then
488 as_expr=expr
489 else
490 as_expr=false
491 fi
492
493 rm -f conf$$ conf$$.exe conf$$.file
494 if test -d conf$$.dir; then
495 rm -f conf$$.dir/conf$$.file
496 else
497 rm -f conf$$.dir
498 mkdir conf$$.dir
499 fi
500 echo >conf$$.file
501 if ln -s conf$$.file conf$$ 2>/dev/null; then
502 as_ln_s='ln -s'
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508 as_ln_s='cp -p'
509 elif ln conf$$.file conf$$ 2>/dev/null; then
510 as_ln_s=ln
511 else
512 as_ln_s='cp -p'
513 fi
514 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
515 rmdir conf$$.dir 2>/dev/null
516
517 if mkdir -p . 2>/dev/null; then
518 as_mkdir_p=:
519 else
520 test -d ./-p && rmdir ./-p
521 as_mkdir_p=false
522 fi
523
524 if test -x / >/dev/null 2>&1; then
525 as_test_x='test -x'
526 else
527 if ls -dL / >/dev/null 2>&1; then
528 as_ls_L_option=L
529 else
530 as_ls_L_option=
531 fi
532 as_test_x='
533 eval sh -c '\''
534 if test -d "$1"; then
535 test -d "$1/.";
536 else
537 case $1 in
538 -*)set "./$1";;
539 esac;
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
542 '\'' sh
543 '
544 fi
545 as_executable_p=$as_test_x
546
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552
553
554
555 exec 7<&0 </dev/null 6>&1
556
557 # Name of the host.
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
561
562 #
563 # Initializations.
564 #
565 ac_default_prefix=/usr/local
566 ac_clean_files=
567 ac_config_libobj_dir=.
568 LIBOBJS=
569 cross_compiling=no
570 subdirs=
571 MFLAGS=
572 MAKEFLAGS=
573 SHELL=${CONFIG_SHELL-/bin/sh}
574
575 # Identity of this package.
576 PACKAGE_NAME='wxWidgets'
577 PACKAGE_TARNAME='wxwidgets'
578 PACKAGE_VERSION='2.9.1'
579 PACKAGE_STRING='wxWidgets 2.9.1'
580 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
581
582 ac_unique_file="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default="\
585 #include <stdio.h>
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
588 #endif
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
591 #endif
592 #ifdef STDC_HEADERS
593 # include <stdlib.h>
594 # include <stddef.h>
595 #else
596 # ifdef HAVE_STDLIB_H
597 # include <stdlib.h>
598 # endif
599 #endif
600 #ifdef HAVE_STRING_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 # include <memory.h>
603 # endif
604 # include <string.h>
605 #endif
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
608 #endif
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
611 #endif
612 #ifdef HAVE_STDINT_H
613 # include <stdint.h>
614 #endif
615 #ifdef HAVE_UNISTD_H
616 # include <unistd.h>
617 #endif"
618
619 ac_subst_vars='SHELL
620 PATH_SEPARATOR
621 PACKAGE_NAME
622 PACKAGE_TARNAME
623 PACKAGE_VERSION
624 PACKAGE_STRING
625 PACKAGE_BUGREPORT
626 exec_prefix
627 prefix
628 program_transform_name
629 bindir
630 sbindir
631 libexecdir
632 datarootdir
633 datadir
634 sysconfdir
635 sharedstatedir
636 localstatedir
637 includedir
638 oldincludedir
639 docdir
640 infodir
641 htmldir
642 dvidir
643 pdfdir
644 psdir
645 libdir
646 localedir
647 mandir
648 DEFS
649 ECHO_C
650 ECHO_N
651 ECHO_T
652 LIBS
653 build_alias
654 host_alias
655 target_alias
656 build
657 build_cpu
658 build_vendor
659 build_os
660 host
661 host_cpu
662 host_vendor
663 host_os
664 wx_top_builddir
665 CC
666 CFLAGS
667 LDFLAGS
668 CPPFLAGS
669 ac_ct_CC
670 EXEEXT
671 OBJEXT
672 CPP
673 GREP
674 EGREP
675 CXX
676 CXXFLAGS
677 ac_ct_CXX
678 AR
679 OSX_SW_VERS
680 subdirs
681 PKG_CONFIG
682 GTK_CFLAGS
683 GTK_LIBS
684 GTK_CONFIG
685 DIRECTFB_CFLAGS
686 DIRECTFB_LIBS
687 XMKMF
688 X_CFLAGS
689 X_PRE_LIBS
690 X_LIBS
691 X_EXTRA_LIBS
692 PANGOX_CFLAGS
693 PANGOX_LIBS
694 PANGOFT2_CFLAGS
695 PANGOFT2_LIBS
696 PANGOXFT_CFLAGS
697 PANGOXFT_LIBS
698 CFLAGS_VISIBILITY
699 CXXFLAGS_VISIBILITY
700 LIBICONV
701 GXX_VERSION
702 SDL_CONFIG
703 SDL_CFLAGS
704 SDL_LIBS
705 GTKPRINT_CFLAGS
706 GTKPRINT_LIBS
707 LIBGNOMEPRINTUI_CFLAGS
708 LIBGNOMEPRINTUI_LIBS
709 GNOMEVFS_CFLAGS
710 GNOMEVFS_LIBS
711 HILDON_CFLAGS
712 HILDON_LIBS
713 HILDON2_CFLAGS
714 HILDON2_LIBS
715 PYTHON
716 COND_PYTHON
717 CAIRO_CFLAGS
718 CAIRO_LIBS
719 GST_CFLAGS
720 GST_LIBS
721 ALL_WX_LIBS
722 BUILT_WX_LIBS
723 STD_BASE_LIBS
724 STD_GUI_LIBS
725 wxUSE_ZLIB
726 wxUSE_REGEX
727 wxUSE_EXPAT
728 wxUSE_LIBJPEG
729 wxUSE_LIBPNG
730 wxUSE_LIBTIFF
731 VENDOR
732 OFFICIAL_BUILD
733 WX_FLAVOUR
734 WX_LIB_FLAVOUR
735 WXUNIV
736 MONOLITHIC
737 USE_PLUGINS
738 CXXWARNINGS
739 EXTRALIBS
740 EXTRALIBS_XML
741 EXTRALIBS_HTML
742 EXTRALIBS_MEDIA
743 EXTRALIBS_GUI
744 EXTRALIBS_OPENGL
745 EXTRALIBS_SDL
746 EXTRALIBS_STC
747 WITH_PLUGIN_SDL
748 EXTRALIBS_GTKPRINT
749 EXTRALIBS_GNOMEPRINT
750 EXTRALIBS_GNOMEVFS
751 EXTRALIBS_HILDON
752 UNICODE
753 DEBUG_INFO
754 DEBUG_FLAG
755 TOOLKIT_LOWERCASE
756 TOOLKIT_VERSION
757 DYLIB_RPATH_INSTALL
758 DYLIB_RPATH_POSTLINK
759 SAMPLES_RPATH_FLAG
760 HEADER_PAD_OPTION
761 HOST_SUFFIX
762 CPPUNIT_CFLAGS
763 CPPUNIT_LIBS
764 RANLIB
765 INSTALL_PROGRAM
766 INSTALL_SCRIPT
767 INSTALL_DATA
768 LN_S
769 SET_MAKE
770 MAKE_SET
771 AROPTIONS
772 STRIP
773 NM
774 INSTALL_DIR
775 LDFLAGS_GUI
776 IF_GNU_MAKE
777 PLATFORM_UNIX
778 PLATFORM_WIN32
779 PLATFORM_MSDOS
780 PLATFORM_MAC
781 PLATFORM_MACOS
782 PLATFORM_MACOSX
783 PLATFORM_OS2
784 PLATFORM_BEOS
785 SO_SUFFIX
786 SO_SUFFIX_MODULE
787 DLLIMP_SUFFIX
788 LIBPREFIX
789 LIBEXT
790 DLLPREFIX
791 DLLPREFIX_MODULE
792 dlldir
793 AIX_CXX_LD
794 SHARED_LD_CC
795 SHARED_LD_CXX
796 SHARED_LD_MODULE_CC
797 SHARED_LD_MODULE_CXX
798 PIC_FLAG
799 WINDOWS_IMPLIB
800 USE_SOVERSION
801 USE_SOVERLINUX
802 USE_SOVERSOLARIS
803 USE_SOVERCYGWIN
804 USE_MACVERSION
805 USE_SOTWOSYMLINKS
806 SONAME_FLAG
807 DEPS_TRACKING
808 BK_DEPS
809 WINDRES
810 REZ
811 SETFILE
812 OBJCXXFLAGS
813 GCC_PCH
814 ICC_PCH
815 ICC_PCH_CREATE_SWITCH
816 ICC_PCH_USE_SWITCH
817 BK_MAKE_PCH
818 COND_BUILD_DEBUG
819 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
820 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
821 COND_BUILD_DEBUG_UNICODE_0
822 COND_BUILD_DEBUG_UNICODE_1
823 COND_BUILD_RELEASE
824 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
825 COND_BUILD_RELEASE_UNICODE_0
826 COND_BUILD_RELEASE_UNICODE_1
827 COND_BUILD_debug
828 COND_BUILD_debug_DEBUG_FLAG_default
829 COND_BUILD_debug_DEBUG_INFO_default
830 COND_BUILD_debug_UNICODE_0
831 COND_BUILD_debug_UNICODE_1
832 COND_BUILD_release
833 COND_BUILD_release_DEBUG_INFO_default
834 COND_BUILD_release_UNICODE_0
835 COND_BUILD_release_UNICODE_1
836 COND_DEBUG_FLAG_0
837 COND_DEBUG_FLAG_1
838 COND_DEBUG_INFO_0
839 COND_DEBUG_INFO_1
840 COND_DEPS_TRACKING_0
841 COND_DEPS_TRACKING_1
842 COND_GCC_PCH_1
843 COND_ICC_PCH_1
844 COND_MONOLITHIC_0
845 COND_MONOLITHIC_0_SHARED_0
846 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
847 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
848 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
849 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
850 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
851 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
852 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
853 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
854 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
855 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
856 COND_MONOLITHIC_0_SHARED_1
857 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
858 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
859 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
860 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
861 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
862 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
863 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
864 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
865 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
866 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
867 COND_MONOLITHIC_0_USE_AUI_1
868 COND_MONOLITHIC_0_USE_GUI_1
869 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
870 COND_MONOLITHIC_0_USE_HTML_1
871 COND_MONOLITHIC_0_USE_MEDIA_1
872 COND_MONOLITHIC_0_USE_PROPGRID_1
873 COND_MONOLITHIC_0_USE_QA_1
874 COND_MONOLITHIC_0_USE_RIBBON_1
875 COND_MONOLITHIC_0_USE_RICHTEXT_1
876 COND_MONOLITHIC_0_USE_STC_1
877 COND_MONOLITHIC_0_USE_XRC_1
878 COND_MONOLITHIC_1
879 COND_MONOLITHIC_1_SHARED_0
880 COND_MONOLITHIC_1_SHARED_1
881 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
882 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
883 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
884 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
885 COND_PLATFORM_MACOSX_1
886 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
887 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
888 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
889 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
890 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
891 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
892 COND_PLATFORM_MACOSX_1_USE_GUI_1
893 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
894 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
895 COND_PLATFORM_MACOS_1
896 COND_PLATFORM_MAC_0
897 COND_PLATFORM_MAC_1
898 COND_PLATFORM_MSDOS_0
899 COND_PLATFORM_MSDOS_1
900 COND_PLATFORM_OS2_1
901 COND_PLATFORM_UNIX_0
902 COND_PLATFORM_UNIX_1
903 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
904 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
905 COND_PLATFORM_UNIX_1_USE_GUI_1
906 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
907 COND_PLATFORM_WIN32_0
908 COND_PLATFORM_WIN32_1
909 COND_PLATFORM_WIN32_1_SHARED_0
910 COND_SHARED_0
911 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
912 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
913 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
914 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
915 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
916 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
917 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
918 COND_SHARED_0_USE_STC_1
919 COND_SHARED_0_wxUSE_EXPAT_builtin
920 COND_SHARED_0_wxUSE_REGEX_builtin
921 COND_SHARED_0_wxUSE_ZLIB_builtin
922 COND_SHARED_1
923 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
924 COND_TOOLKIT_
925 COND_TOOLKIT_COCOA
926 COND_TOOLKIT_COCOA_USE_GUI_1
927 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
928 COND_TOOLKIT_DFB
929 COND_TOOLKIT_DFB_USE_GUI_1
930 COND_TOOLKIT_GTK
931 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
932 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
933 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
934 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
935 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
936 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
937 COND_TOOLKIT_GTK_USE_GUI_1
938 COND_TOOLKIT_MAC
939 COND_TOOLKIT_MGL
940 COND_TOOLKIT_MGL_USE_GUI_1
941 COND_TOOLKIT_MOTIF
942 COND_TOOLKIT_MOTIF_USE_GUI_1
943 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
944 COND_TOOLKIT_MSW
945 COND_TOOLKIT_MSW_USE_GUI_1
946 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
947 COND_TOOLKIT_MSW_WXUNIV_0
948 COND_TOOLKIT_OSX_CARBON
949 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
950 COND_TOOLKIT_OSX_COCOA
951 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
952 COND_TOOLKIT_OSX_IPHONE
953 COND_TOOLKIT_PM
954 COND_TOOLKIT_PM_USE_GUI_1
955 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
956 COND_TOOLKIT_WINCE
957 COND_TOOLKIT_WINCE_USE_GUI_1
958 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
959 COND_TOOLKIT_WINCE_WXUNIV_0
960 COND_TOOLKIT_X11
961 COND_TOOLKIT_X11_USE_GUI_1
962 COND_UNICODE_1
963 COND_USE_CAIRO_1
964 COND_USE_EXCEPTIONS_0
965 COND_USE_EXCEPTIONS_1
966 COND_USE_GUI_0
967 COND_USE_GUI_1
968 COND_USE_GUI_1_USE_OPENGL_1
969 COND_USE_GUI_1_WXUNIV_0
970 COND_USE_GUI_1_WXUNIV_1
971 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
972 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
973 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
974 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
975 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
976 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
977 COND_USE_OPENGL_1
978 COND_USE_PCH_1
979 COND_USE_PLUGINS_0
980 COND_USE_RTTI_0
981 COND_USE_RTTI_1
982 COND_USE_SOTWOSYMLINKS_1
983 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
984 COND_USE_SOVERLINUX_1
985 COND_USE_SOVERSION_0
986 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
987 COND_USE_SOVERSOLARIS_1
988 COND_USE_STC_1
989 COND_USE_THREADS_0
990 COND_USE_THREADS_1
991 COND_USE_XRC_1
992 COND_WINDOWS_IMPLIB_1
993 COND_WITH_PLUGIN_SDL_1
994 COND_WXUNIV_0
995 COND_WXUNIV_1
996 COND_WXUSE_EXPAT_BUILTIN
997 COND_WXUSE_LIBJPEG_BUILTIN
998 COND_WXUSE_LIBPNG_BUILTIN
999 COND_WXUSE_LIBTIFF_BUILTIN
1000 COND_WXUSE_REGEX_BUILTIN
1001 COND_WXUSE_ZLIB_BUILTIN
1002 COND_wxUSE_EXPAT_builtin
1003 COND_wxUSE_LIBJPEG_builtin
1004 COND_wxUSE_LIBPNG_builtin
1005 COND_wxUSE_LIBTIFF_builtin
1006 COND_wxUSE_REGEX_builtin
1007 COND_wxUSE_ZLIB_builtin
1008 DEREZ
1009 SHARED
1010 WX_LIBRARY_BASENAME_NOGUI
1011 WX_LIBRARY_BASENAME_GUI
1012 USE_GUI
1013 AFMINSTALL
1014 WIN32INSTALL
1015 TOOLKIT
1016 TOOLKIT_DIR
1017 TOOLCHAIN_NAME
1018 TOOLCHAIN_FULLNAME
1019 cross_compiling
1020 WIDGET_SET
1021 WX_RELEASE
1022 WX_VERSION
1023 WX_SUBVERSION
1024 WX_CHARTYPE
1025 WXCONFIG_CPPFLAGS
1026 WXCONFIG_CFLAGS
1027 WXCONFIG_CXXFLAGS
1028 WXCONFIG_LIBS
1029 WXCONFIG_RPATH
1030 WXCONFIG_LDFLAGS
1031 WXCONFIG_LDFLAGS_GUI
1032 WXCONFIG_RESFLAGS
1033 GUIDIST
1034 DISTDIR
1035 SAMPLES_SUBDIRS
1036 LDFLAGS_GL
1037 OPENGL_LIBS
1038 DMALLOC_LIBS
1039 WX_VERSION_TAG
1040 RESCOMP
1041 RESFLAGS
1042 RESPROGRAMOBJ
1043 WX_RESOURCES_MACOSX_ASCII
1044 WX_RESOURCES_MACOSX_DATA
1045 LIBWXMACRES
1046 POSTLINK_COMMAND
1047 MACSETFILE
1048 GCC
1049 DLLTOOL
1050 CPPUNIT_CONFIG
1051 LIBOBJS
1052 LTLIBOBJS'
1053 ac_subst_files=''
1054 ac_precious_vars='build_alias
1055 host_alias
1056 target_alias
1057 CC
1058 CFLAGS
1059 LDFLAGS
1060 LIBS
1061 CPPFLAGS
1062 CPP
1063 CXX
1064 CXXFLAGS
1065 CCC
1066 PKG_CONFIG
1067 DIRECTFB_CFLAGS
1068 DIRECTFB_LIBS
1069 XMKMF
1070 PANGOX_CFLAGS
1071 PANGOX_LIBS
1072 PANGOFT2_CFLAGS
1073 PANGOFT2_LIBS
1074 PANGOXFT_CFLAGS
1075 PANGOXFT_LIBS
1076 GTKPRINT_CFLAGS
1077 GTKPRINT_LIBS
1078 LIBGNOMEPRINTUI_CFLAGS
1079 LIBGNOMEPRINTUI_LIBS
1080 GNOMEVFS_CFLAGS
1081 GNOMEVFS_LIBS
1082 HILDON_CFLAGS
1083 HILDON_LIBS
1084 HILDON2_CFLAGS
1085 HILDON2_LIBS
1086 CAIRO_CFLAGS
1087 CAIRO_LIBS
1088 GST_CFLAGS
1089 GST_LIBS'
1090 ac_subdirs_all='src/tiff
1091 src/expat'
1092
1093 # Initialize some variables set by options.
1094 ac_init_help=
1095 ac_init_version=false
1096 # The variables have the same names as the options, with
1097 # dashes changed to underlines.
1098 cache_file=/dev/null
1099 exec_prefix=NONE
1100 no_create=
1101 no_recursion=
1102 prefix=NONE
1103 program_prefix=NONE
1104 program_suffix=NONE
1105 program_transform_name=s,x,x,
1106 silent=
1107 site=
1108 srcdir=
1109 verbose=
1110 x_includes=NONE
1111 x_libraries=NONE
1112
1113 # Installation directory options.
1114 # These are left unexpanded so users can "make install exec_prefix=/foo"
1115 # and all the variables that are supposed to be based on exec_prefix
1116 # by default will actually change.
1117 # Use braces instead of parens because sh, perl, etc. also accept them.
1118 # (The list follows the same order as the GNU Coding Standards.)
1119 bindir='${exec_prefix}/bin'
1120 sbindir='${exec_prefix}/sbin'
1121 libexecdir='${exec_prefix}/libexec'
1122 datarootdir='${prefix}/share'
1123 datadir='${datarootdir}'
1124 sysconfdir='${prefix}/etc'
1125 sharedstatedir='${prefix}/com'
1126 localstatedir='${prefix}/var'
1127 includedir='${prefix}/include'
1128 oldincludedir='/usr/include'
1129 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1130 infodir='${datarootdir}/info'
1131 htmldir='${docdir}'
1132 dvidir='${docdir}'
1133 pdfdir='${docdir}'
1134 psdir='${docdir}'
1135 libdir='${exec_prefix}/lib'
1136 localedir='${datarootdir}/locale'
1137 mandir='${datarootdir}/man'
1138
1139 ac_prev=
1140 ac_dashdash=
1141 for ac_option
1142 do
1143 # If the previous option needs an argument, assign it.
1144 if test -n "$ac_prev"; then
1145 eval $ac_prev=\$ac_option
1146 ac_prev=
1147 continue
1148 fi
1149
1150 case $ac_option in
1151 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1152 *) ac_optarg=yes ;;
1153 esac
1154
1155 # Accept the important Cygnus configure options, so we can diagnose typos.
1156
1157 case $ac_dashdash$ac_option in
1158 --)
1159 ac_dashdash=yes ;;
1160
1161 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1162 ac_prev=bindir ;;
1163 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1164 bindir=$ac_optarg ;;
1165
1166 -build | --build | --buil | --bui | --bu)
1167 ac_prev=build_alias ;;
1168 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1169 build_alias=$ac_optarg ;;
1170
1171 -cache-file | --cache-file | --cache-fil | --cache-fi \
1172 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1173 ac_prev=cache_file ;;
1174 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1175 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1176 cache_file=$ac_optarg ;;
1177
1178 --config-cache | -C)
1179 cache_file=config.cache ;;
1180
1181 -datadir | --datadir | --datadi | --datad)
1182 ac_prev=datadir ;;
1183 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1184 datadir=$ac_optarg ;;
1185
1186 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1187 | --dataroo | --dataro | --datar)
1188 ac_prev=datarootdir ;;
1189 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1190 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1191 datarootdir=$ac_optarg ;;
1192
1193 -disable-* | --disable-*)
1194 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1195 # Reject names that are not valid shell variable names.
1196 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1197 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1198 { (exit 1); exit 1; }; }
1199 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1200 eval enable_$ac_feature=no ;;
1201
1202 -docdir | --docdir | --docdi | --doc | --do)
1203 ac_prev=docdir ;;
1204 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1205 docdir=$ac_optarg ;;
1206
1207 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1208 ac_prev=dvidir ;;
1209 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1210 dvidir=$ac_optarg ;;
1211
1212 -enable-* | --enable-*)
1213 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1214 # Reject names that are not valid shell variable names.
1215 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1216 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1217 { (exit 1); exit 1; }; }
1218 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1219 eval enable_$ac_feature=\$ac_optarg ;;
1220
1221 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1222 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1223 | --exec | --exe | --ex)
1224 ac_prev=exec_prefix ;;
1225 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1226 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1227 | --exec=* | --exe=* | --ex=*)
1228 exec_prefix=$ac_optarg ;;
1229
1230 -gas | --gas | --ga | --g)
1231 # Obsolete; use --with-gas.
1232 with_gas=yes ;;
1233
1234 -help | --help | --hel | --he | -h)
1235 ac_init_help=long ;;
1236 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1237 ac_init_help=recursive ;;
1238 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1239 ac_init_help=short ;;
1240
1241 -host | --host | --hos | --ho)
1242 ac_prev=host_alias ;;
1243 -host=* | --host=* | --hos=* | --ho=*)
1244 host_alias=$ac_optarg ;;
1245
1246 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1247 ac_prev=htmldir ;;
1248 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1249 | --ht=*)
1250 htmldir=$ac_optarg ;;
1251
1252 -includedir | --includedir | --includedi | --included | --include \
1253 | --includ | --inclu | --incl | --inc)
1254 ac_prev=includedir ;;
1255 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1256 | --includ=* | --inclu=* | --incl=* | --inc=*)
1257 includedir=$ac_optarg ;;
1258
1259 -infodir | --infodir | --infodi | --infod | --info | --inf)
1260 ac_prev=infodir ;;
1261 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1262 infodir=$ac_optarg ;;
1263
1264 -libdir | --libdir | --libdi | --libd)
1265 ac_prev=libdir ;;
1266 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1267 libdir=$ac_optarg ;;
1268
1269 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1270 | --libexe | --libex | --libe)
1271 ac_prev=libexecdir ;;
1272 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1273 | --libexe=* | --libex=* | --libe=*)
1274 libexecdir=$ac_optarg ;;
1275
1276 -localedir | --localedir | --localedi | --localed | --locale)
1277 ac_prev=localedir ;;
1278 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1279 localedir=$ac_optarg ;;
1280
1281 -localstatedir | --localstatedir | --localstatedi | --localstated \
1282 | --localstate | --localstat | --localsta | --localst | --locals)
1283 ac_prev=localstatedir ;;
1284 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1285 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1286 localstatedir=$ac_optarg ;;
1287
1288 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1289 ac_prev=mandir ;;
1290 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1291 mandir=$ac_optarg ;;
1292
1293 -nfp | --nfp | --nf)
1294 # Obsolete; use --without-fp.
1295 with_fp=no ;;
1296
1297 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1298 | --no-cr | --no-c | -n)
1299 no_create=yes ;;
1300
1301 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1302 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1303 no_recursion=yes ;;
1304
1305 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1306 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1307 | --oldin | --oldi | --old | --ol | --o)
1308 ac_prev=oldincludedir ;;
1309 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1310 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1311 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1312 oldincludedir=$ac_optarg ;;
1313
1314 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1315 ac_prev=prefix ;;
1316 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1317 prefix=$ac_optarg ;;
1318
1319 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1320 | --program-pre | --program-pr | --program-p)
1321 ac_prev=program_prefix ;;
1322 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1323 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1324 program_prefix=$ac_optarg ;;
1325
1326 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1327 | --program-suf | --program-su | --program-s)
1328 ac_prev=program_suffix ;;
1329 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1330 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1331 program_suffix=$ac_optarg ;;
1332
1333 -program-transform-name | --program-transform-name \
1334 | --program-transform-nam | --program-transform-na \
1335 | --program-transform-n | --program-transform- \
1336 | --program-transform | --program-transfor \
1337 | --program-transfo | --program-transf \
1338 | --program-trans | --program-tran \
1339 | --progr-tra | --program-tr | --program-t)
1340 ac_prev=program_transform_name ;;
1341 -program-transform-name=* | --program-transform-name=* \
1342 | --program-transform-nam=* | --program-transform-na=* \
1343 | --program-transform-n=* | --program-transform-=* \
1344 | --program-transform=* | --program-transfor=* \
1345 | --program-transfo=* | --program-transf=* \
1346 | --program-trans=* | --program-tran=* \
1347 | --progr-tra=* | --program-tr=* | --program-t=*)
1348 program_transform_name=$ac_optarg ;;
1349
1350 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1351 ac_prev=pdfdir ;;
1352 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1353 pdfdir=$ac_optarg ;;
1354
1355 -psdir | --psdir | --psdi | --psd | --ps)
1356 ac_prev=psdir ;;
1357 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1358 psdir=$ac_optarg ;;
1359
1360 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1361 | -silent | --silent | --silen | --sile | --sil)
1362 silent=yes ;;
1363
1364 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1365 ac_prev=sbindir ;;
1366 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1367 | --sbi=* | --sb=*)
1368 sbindir=$ac_optarg ;;
1369
1370 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1371 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1372 | --sharedst | --shareds | --shared | --share | --shar \
1373 | --sha | --sh)
1374 ac_prev=sharedstatedir ;;
1375 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1376 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1377 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1378 | --sha=* | --sh=*)
1379 sharedstatedir=$ac_optarg ;;
1380
1381 -site | --site | --sit)
1382 ac_prev=site ;;
1383 -site=* | --site=* | --sit=*)
1384 site=$ac_optarg ;;
1385
1386 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1387 ac_prev=srcdir ;;
1388 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1389 srcdir=$ac_optarg ;;
1390
1391 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1392 | --syscon | --sysco | --sysc | --sys | --sy)
1393 ac_prev=sysconfdir ;;
1394 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1395 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1396 sysconfdir=$ac_optarg ;;
1397
1398 -target | --target | --targe | --targ | --tar | --ta | --t)
1399 ac_prev=target_alias ;;
1400 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1401 target_alias=$ac_optarg ;;
1402
1403 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1404 verbose=yes ;;
1405
1406 -version | --version | --versio | --versi | --vers | -V)
1407 ac_init_version=: ;;
1408
1409 -with-* | --with-*)
1410 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1411 # Reject names that are not valid shell variable names.
1412 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1413 { echo "$as_me: error: invalid package name: $ac_package" >&2
1414 { (exit 1); exit 1; }; }
1415 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1416 eval with_$ac_package=\$ac_optarg ;;
1417
1418 -without-* | --without-*)
1419 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1420 # Reject names that are not valid shell variable names.
1421 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1422 { echo "$as_me: error: invalid package name: $ac_package" >&2
1423 { (exit 1); exit 1; }; }
1424 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1425 eval with_$ac_package=no ;;
1426
1427 --x)
1428 # Obsolete; use --with-x.
1429 with_x=yes ;;
1430
1431 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1432 | --x-incl | --x-inc | --x-in | --x-i)
1433 ac_prev=x_includes ;;
1434 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1435 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1436 x_includes=$ac_optarg ;;
1437
1438 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1439 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1440 ac_prev=x_libraries ;;
1441 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1442 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1443 x_libraries=$ac_optarg ;;
1444
1445 -*) { echo "$as_me: error: unrecognized option: $ac_option
1446 Try \`$0 --help' for more information." >&2
1447 { (exit 1); exit 1; }; }
1448 ;;
1449
1450 *=*)
1451 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1452 # Reject names that are not valid shell variable names.
1453 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1454 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1455 { (exit 1); exit 1; }; }
1456 eval $ac_envvar=\$ac_optarg
1457 export $ac_envvar ;;
1458
1459 *)
1460 # FIXME: should be removed in autoconf 3.0.
1461 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1462 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1463 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1464 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1465 ;;
1466
1467 esac
1468 done
1469
1470 if test -n "$ac_prev"; then
1471 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1472 { echo "$as_me: error: missing argument to $ac_option" >&2
1473 { (exit 1); exit 1; }; }
1474 fi
1475
1476 # Be sure to have absolute directory names.
1477 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1478 datadir sysconfdir sharedstatedir localstatedir includedir \
1479 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1480 libdir localedir mandir
1481 do
1482 eval ac_val=\$$ac_var
1483 case $ac_val in
1484 [\\/$]* | ?:[\\/]* ) continue;;
1485 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1486 esac
1487 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1488 { (exit 1); exit 1; }; }
1489 done
1490
1491 # There might be people who depend on the old broken behavior: `$host'
1492 # used to hold the argument of --host etc.
1493 # FIXME: To remove some day.
1494 build=$build_alias
1495 host=$host_alias
1496 target=$target_alias
1497
1498 # FIXME: To remove some day.
1499 if test "x$host_alias" != x; then
1500 if test "x$build_alias" = x; then
1501 cross_compiling=maybe
1502 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1503 If a cross compiler is detected then cross compile mode will be used." >&2
1504 elif test "x$build_alias" != "x$host_alias"; then
1505 cross_compiling=yes
1506 fi
1507 fi
1508
1509 ac_tool_prefix=
1510 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1511
1512 test "$silent" = yes && exec 6>/dev/null
1513
1514
1515 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1516 ac_ls_di=`ls -di .` &&
1517 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1518 { echo "$as_me: error: Working directory cannot be determined" >&2
1519 { (exit 1); exit 1; }; }
1520 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1521 { echo "$as_me: error: pwd does not report name of working directory" >&2
1522 { (exit 1); exit 1; }; }
1523
1524
1525 # Find the source files, if location was not specified.
1526 if test -z "$srcdir"; then
1527 ac_srcdir_defaulted=yes
1528 # Try the directory containing this script, then the parent directory.
1529 ac_confdir=`$as_dirname -- "$0" ||
1530 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1531 X"$0" : 'X\(//\)[^/]' \| \
1532 X"$0" : 'X\(//\)$' \| \
1533 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1534 echo X"$0" |
1535 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1536 s//\1/
1537 q
1538 }
1539 /^X\(\/\/\)[^/].*/{
1540 s//\1/
1541 q
1542 }
1543 /^X\(\/\/\)$/{
1544 s//\1/
1545 q
1546 }
1547 /^X\(\/\).*/{
1548 s//\1/
1549 q
1550 }
1551 s/.*/./; q'`
1552 srcdir=$ac_confdir
1553 if test ! -r "$srcdir/$ac_unique_file"; then
1554 srcdir=..
1555 fi
1556 else
1557 ac_srcdir_defaulted=no
1558 fi
1559 if test ! -r "$srcdir/$ac_unique_file"; then
1560 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1561 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1562 { (exit 1); exit 1; }; }
1563 fi
1564 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1565 ac_abs_confdir=`(
1566 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1567 { (exit 1); exit 1; }; }
1568 pwd)`
1569 # When building in place, set srcdir=.
1570 if test "$ac_abs_confdir" = "$ac_pwd"; then
1571 srcdir=.
1572 fi
1573 # Remove unnecessary trailing slashes from srcdir.
1574 # Double slashes in file names in object file debugging info
1575 # mess up M-x gdb in Emacs.
1576 case $srcdir in
1577 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1578 esac
1579 for ac_var in $ac_precious_vars; do
1580 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1581 eval ac_env_${ac_var}_value=\$${ac_var}
1582 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1583 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1584 done
1585
1586 #
1587 # Report the --help message.
1588 #
1589 if test "$ac_init_help" = "long"; then
1590 # Omit some internal or obsolete options to make the list less imposing.
1591 # This message is too long to be a string in the A/UX 3.1 sh.
1592 cat <<_ACEOF
1593 \`configure' configures wxWidgets 2.9.1 to adapt to many kinds of systems.
1594
1595 Usage: $0 [OPTION]... [VAR=VALUE]...
1596
1597 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1598 VAR=VALUE. See below for descriptions of some of the useful variables.
1599
1600 Defaults for the options are specified in brackets.
1601
1602 Configuration:
1603 -h, --help display this help and exit
1604 --help=short display options specific to this package
1605 --help=recursive display the short help of all the included packages
1606 -V, --version display version information and exit
1607 -q, --quiet, --silent do not print \`checking...' messages
1608 --cache-file=FILE cache test results in FILE [disabled]
1609 -C, --config-cache alias for \`--cache-file=config.cache'
1610 -n, --no-create do not create output files
1611 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1612
1613 Installation directories:
1614 --prefix=PREFIX install architecture-independent files in PREFIX
1615 [$ac_default_prefix]
1616 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1617 [PREFIX]
1618
1619 By default, \`make install' will install all the files in
1620 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1621 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1622 for instance \`--prefix=\$HOME'.
1623
1624 For better control, use the options below.
1625
1626 Fine tuning of the installation directories:
1627 --bindir=DIR user executables [EPREFIX/bin]
1628 --sbindir=DIR system admin executables [EPREFIX/sbin]
1629 --libexecdir=DIR program executables [EPREFIX/libexec]
1630 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1631 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1632 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1633 --libdir=DIR object code libraries [EPREFIX/lib]
1634 --includedir=DIR C header files [PREFIX/include]
1635 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1636 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1637 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1638 --infodir=DIR info documentation [DATAROOTDIR/info]
1639 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1640 --mandir=DIR man documentation [DATAROOTDIR/man]
1641 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1642 --htmldir=DIR html documentation [DOCDIR]
1643 --dvidir=DIR dvi documentation [DOCDIR]
1644 --pdfdir=DIR pdf documentation [DOCDIR]
1645 --psdir=DIR ps documentation [DOCDIR]
1646 _ACEOF
1647
1648 cat <<\_ACEOF
1649
1650 X features:
1651 --x-includes=DIR X include files are in DIR
1652 --x-libraries=DIR X library files are in DIR
1653
1654 System types:
1655 --build=BUILD configure for building on BUILD [guessed]
1656 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1657 _ACEOF
1658 fi
1659
1660 if test -n "$ac_init_help"; then
1661 case $ac_init_help in
1662 short | recursive ) echo "Configuration of wxWidgets 2.9.1:";;
1663 esac
1664 cat <<\_ACEOF
1665
1666 Optional Features:
1667 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1668 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1669 --disable-gui don't build GUI parts of the library
1670 --enable-monolithic build wxWidgets as single library
1671 --enable-plugins build parts of wxWidgets as loadable components
1672 --enable-official_build official build of wxWidgets (win32 DLL only)
1673 --enable-vendor=VENDOR vendor name (win32 DLL only)
1674 --disable-all-features disable all optional features to build minimal library
1675 --enable-universal use wxWidgets GUI controls instead of native ones
1676 --enable-nanox use NanoX
1677 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1678 --enable-gpe use GNOME PDA Environment features if possible
1679 --enable-debug build library for debugging
1680 --disable-debug_flag disable all debugging support
1681 --enable-debug_info generate debug information
1682 --enable-debug_gdb create code with extra GDB debugging information
1683 --enable-debug_cntxt obsolete, don't use: use wxDebugContext
1684 --enable-mem_tracing obsolete, don't use: create code with memory tracing
1685 --disable-shared create static library instead of shared
1686 --enable-stl use STL for containers
1687 --enable-std_iostreams use standard C++ stream classes
1688 --enable-std_string use standard C++ string classes
1689 --disable-unicode compile without Unicode support
1690 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1691 --enable-utf8 use UTF-8 representation for strings (Unix only)
1692 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1693 --enable-extended_rtti use extended RTTI (XTI)
1694 --enable-omf use OMF object format
1695 --disable-optimise compile without optimisations
1696 --enable-profile create code with profiling information
1697 --enable-no_rtti create code without RTTI information
1698 --enable-no_exceptions create code without C++ exceptions handling
1699 --enable-permissive compile code disregarding strict ANSI
1700 --enable-no_deps create code without dependency information
1701 --disable-vararg_macros don't use vararg macros, even if they are supported
1702 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1703 --enable-compat26 enable wxWidgets 2.6 compatibility
1704 --disable-compat28 disable wxWidgets 2.8 compatibility
1705 --disable-rpath disable use of rpath for uninstalled builds
1706 --enable-objc_uniquifying enable Objective-C class name uniquifying
1707 --disable-visibility disable use of ELF symbols visibility even if supported
1708 --disable-tls disable use of compiler TLS support
1709 --enable-intl use internationalization system
1710 --enable-xlocale use x-locale support (requires wxLocale)
1711 --enable-config use wxConfig (and derived) classes
1712 --enable-protocols use wxProtocol and derived classes
1713 --enable-ftp use wxFTP (requires wxProtocol
1714 --enable-http use wxHTTP (requires wxProtocol
1715 --enable-fileproto use wxFileProto class (requires wxProtocol
1716 --enable-sockets use socket/network classes
1717 --enable-ipv6 enable IPv6 support in wxSocket
1718 --enable-ole use OLE classes (Win32 only)
1719 --enable-dataobj use data object classes
1720 --enable-ipc use interprocess communication (wxSocket etc.)
1721 --enable-baseevtloop use event loop in console programs too
1722 --enable-epollloop use wxEpollDispatcher class (Linux only)
1723 --enable-selectloop use wxSelectDispatcher class
1724 --enable-any use wxAny class
1725 --enable-apple_ieee use the Apple IEEE codec
1726 --enable-arcstream use wxArchive streams
1727 --enable-base64 use base64 encoding/decoding functions
1728 --enable-backtrace use wxStackWalker class for getting backtraces
1729 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1730 --enable-cmdline use wxCmdLineParser class
1731 --enable-datetime use wxDateTime class
1732 --enable-debugreport use wxDebugReport class
1733 --enable-dialupman use dialup network classes
1734 --enable-dynlib use wxLibrary class for DLL loading
1735 --enable-dynamicloader use (new) wxDynamicLibrary class
1736 --enable-exceptions build exception-safe library
1737 --enable-ffile use wxFFile class
1738 --enable-file use wxFile class
1739 --enable-filehistory use wxFileHistory class
1740 --enable-filesystem use virtual file systems classes
1741 --enable-fontenum use wxFontEnumerator class
1742 --enable-fontmap use font encodings conversion classes
1743 --enable-fs_archive use virtual archive filesystems
1744 --enable-fs_inet use virtual HTTP/FTP filesystems
1745 --enable-fs_zip now replaced by fs_archive
1746 --enable-fswatcher use wxFileSystemWatcher class
1747 --enable-geometry use geometry class
1748 --enable-log use logging system
1749 --enable-longlong use wxLongLong class
1750 --enable-mimetype use wxMimeTypesManager
1751 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1752 --enable-snglinst use wxSingleInstanceChecker class
1753 --enable-sound use wxSound class
1754 --enable-stdpaths use wxStandardPaths class
1755 --enable-stopwatch use wxStopWatch class
1756 --enable-streams use wxStream etc classes
1757 --enable-sysoptions use wxSystemOptions
1758 --enable-tarstream use wxTar streams
1759 --enable-textbuf use wxTextBuffer class
1760 --enable-textfile use wxTextFile class
1761 --enable-timer use wxTimer class
1762 --enable-variant use wxVariant class
1763 --enable-zipstream use wxZip streams
1764 --enable-url use wxURL class
1765 --enable-protocol use wxProtocol class
1766 --enable-protocol-http HTTP support in wxProtocol
1767 --enable-protocol-ftp FTP support in wxProtocol
1768 --enable-protocol-file FILE support in wxProtocol
1769 --enable-threads use threads
1770 --enable-iniconf use wxIniConfig (Win32 only)
1771 --enable-regkey use wxRegKey class (Win32 only)
1772 --enable-docview use document view architecture
1773 --enable-help use help subsystem
1774 --enable-mshtmlhelp use MS HTML Help (win32)
1775 --enable-html use wxHTML sub-library
1776 --enable-htmlhelp use wxHTML-based help
1777 --enable-xrc use XRC resources sub-library
1778 --enable-aui use AUI docking library
1779 --enable-propgrid use wxPropertyGrid library
1780 --enable-ribbon use wxRibbon library
1781 --enable-stc use wxStyledTextCtrl library
1782 --enable-constraints use layout-constraints system
1783 --enable-loggui use standard GUI logger
1784 --enable-logwin use wxLogWindow
1785 --enable-logdialog use wxLogDialog
1786 --enable-mdi use multiple document interface architecture
1787 --enable-mdidoc use docview architecture with MDI
1788 --enable-mediactrl use wxMediaCtrl class
1789 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1790 --enable-webkit use wxWebKitCtrl (Mac)
1791 --enable-richtext use wxRichTextCtrl
1792 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1793 --enable-printarch use printing architecture
1794 --enable-svg use wxSVGFileDC device context
1795 --enable-graphics_ctx use graphics context 2D drawing API
1796 --enable-clipboard use wxClipboard class
1797 --enable-dnd use Drag'n'Drop classes
1798 --enable-metafile use win32 metafiles
1799 --disable-controls disable compilation of all standard controls
1800 --enable-accel use accelerators
1801 --enable-animatectrl use wxAnimationCtrl class
1802 --enable-bmpbutton use wxBitmapButton class
1803 --enable-bmpcombobox use wxBitmapComboBox class
1804 --enable-button use wxButton class
1805 --enable-calendar use wxCalendarCtrl class
1806 --enable-caret use wxCaret class
1807 --enable-checkbox use wxCheckBox class
1808 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1809 --enable-choice use wxChoice class
1810 --enable-choicebook use wxChoicebook class
1811 --enable-collpane use wxCollapsiblePane class
1812 --enable-colourpicker use wxColourPickerCtrl class
1813 --enable-combobox use wxComboBox class
1814 --enable-comboctrl use wxComboCtrl class
1815 --enable-dataviewctrl use wxDataViewCtrl class
1816 --enable-datepick use wxDatePickerCtrl class
1817 --enable-detect_sm use code to detect X11 session manager
1818 --enable-dirpicker use wxDirPickerCtrl class
1819 --enable-display use wxDisplay class
1820 --enable-editablebox use wxEditableListBox class
1821 --enable-filectrl use wxFileCtrl class
1822 --enable-filepicker use wxFilePickerCtrl class
1823 --enable-fontpicker use wxFontPickerCtrl class
1824 --enable-gauge use wxGauge class
1825 --enable-grid use wxGrid class
1826 --enable-headerctrl use wxHeaderCtrl class
1827 --enable-hyperlink use wxHyperlinkCtrl class
1828 --enable-imaglist use wxImageList class
1829 --enable-infobar use wxInfoBar class
1830 --enable-listbook use wxListbook class
1831 --enable-listbox use wxListBox class
1832 --enable-listctrl use wxListCtrl class
1833 --enable-notebook use wxNotebook class
1834 --enable-notifmsg use wxNotificationMessage class
1835 --enable-odcombobox use wxOwnerDrawnComboBox class
1836 --enable-popupwin use wxPopUpWindow class
1837 --enable-radiobox use wxRadioBox class
1838 --enable-radiobtn use wxRadioButton class
1839 --enable-rearrangectrl use wxRearrangeList/Ctrl/Dialog
1840 --enable-sash use wxSashWindow class
1841 --enable-scrollbar use wxScrollBar class and scrollable windows
1842 --enable-searchctrl use wxSearchCtrl class
1843 --enable-slider use wxSlider class
1844 --enable-spinbtn use wxSpinButton class
1845 --enable-spinctrl use wxSpinCtrl class
1846 --enable-splitter use wxSplitterWindow class
1847 --enable-statbmp use wxStaticBitmap class
1848 --enable-statbox use wxStaticBox class
1849 --enable-statline use wxStaticLine class
1850 --enable-stattext use wxStaticText class
1851 --enable-statusbar use wxStatusBar class
1852 --enable-taskbaricon use wxTaskBarIcon class
1853 --enable-tbarnative use native wxToolBar class
1854 --enable-textctrl use wxTextCtrl class
1855 --enable-tipwindow use wxTipWindow class
1856 --enable-togglebtn use wxToggleButton class
1857 --enable-toolbar use wxToolBar class
1858 --enable-toolbook use wxToolbook class
1859 --enable-treebook use wxTreebook class
1860 --enable-treectrl use wxTreeCtrl class
1861 --enable-commondlg use all common dialogs
1862 --enable-aboutdlg use wxAboutBox
1863 --enable-choicedlg use wxChoiceDialog
1864 --enable-coldlg use wxColourDialog
1865 --enable-filedlg use wxFileDialog
1866 --enable-finddlg use wxFindReplaceDialog
1867 --enable-fontdlg use wxFontDialog
1868 --enable-dirdlg use wxDirDialog
1869 --enable-msgdlg use wxMessageDialog
1870 --enable-numberdlg use wxNumberEntryDialog
1871 --enable-splash use wxSplashScreen
1872 --enable-textdlg use wxTextDialog
1873 --enable-tipdlg use startup tips
1874 --enable-progressdlg use wxProgressDialog
1875 --enable-wizarddlg use wxWizard
1876 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1877 --enable-miniframe use wxMiniFrame class
1878 --enable-tooltips use wxToolTip class
1879 --enable-splines use spline drawing code
1880 --enable-mousewheel use mousewheel
1881 --enable-validators use wxValidator and derived classes
1882 --enable-busyinfo use wxBusyInfo
1883 --enable-joystick use wxJoystick
1884 --enable-metafiles use wxMetaFile (Win32 only)
1885 --enable-dragimage use wxDragImage
1886 --enable-accessibility enable accessibility support
1887 --enable-uiactionsim use wxUIActionSimulator (experimental)
1888 --enable-palette use wxPalette class
1889 --enable-image use wxImage class
1890 --enable-gif use gif images (GIF file format)
1891 --enable-pcx use pcx images (PCX file format)
1892 --enable-tga use tga images (TGA file format)
1893 --enable-iff use iff images (IFF file format)
1894 --enable-pnm use pnm images (PNM file format)
1895 --enable-xpm use xpm images (XPM file format)
1896 --enable-ico_cur use Windows ICO and CUR formats
1897 --enable-dccache cache temporary wxDC objects (Win32 only)
1898 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1899 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1900 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1901 --enable-wxdib use wxDIB class (Win32 only)
1902 --enable-autoidman use automatic ids management
1903 --disable-largefile omit support for large files
1904 --disable-gtktest do not try to compile and run a test GTK+ program
1905 --disable-gtktest Do not try to compile and run a test GTK program
1906 --disable-sdltest Do not try to compile and run a test SDL program
1907 --enable-omf use OMF object format (OS/2)
1908 --disable-dependency-tracking
1909 don't use dependency tracking even if the compiler
1910 can
1911 --disable-precomp-headers
1912 don't use precompiled headers even if compiler can
1913
1914 Optional Packages:
1915 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1916 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1917 --without-subdirs don't generate makefiles for samples/demos/...
1918 --with-flavour=NAME specify a name to identify this build
1919 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1920 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1921 --with-motif use Motif/Lesstif
1922 --with-osx_carbon use Mac OS X (Carbon)
1923 --with-osx_cocoa use Mac OS X (Cocoa)
1924 --with-osx_iphone use iPhone OS X port
1925 --with-osx use Mac OS X (default port, currently Carbon)
1926 --with-carbon same as --with-osx_carbon
1927 --with-cocoa same as --with-osx_cocoa
1928 --with-iphone same as --with-osx_iphone
1929 --with-mac same as --with-osx
1930 --with-old_cocoa use old, deprecated, Cocoa port
1931 --with-wine use Wine
1932 --with-msw use MS-Windows
1933 --with-pm use OS/2 Presentation Manager
1934 --with-mgl use SciTech MGL
1935 --with-directfb use DirectFB
1936 --with-microwin use MicroWindows
1937 --with-x11 use X11
1938 --with-libpng use libpng (PNG image format)
1939 --with-libjpeg use libjpeg (JPEG file format)
1940 --with-libtiff use libtiff (TIFF file format)
1941 --with-libxpm use libxpm (XPM file format)
1942 --with-libiconv use libiconv (character conversion)
1943 --with-libmspack use libmspack (CHM help files loading)
1944 --without-gtkprint don't use GTK printing support
1945 --without-gnomeprint don't use GNOME printing libraries
1946 --with-gnomevfs use GNOME VFS for associating MIME types
1947 --with-hildon use Hildon framework for Nokia 770/800/810
1948 --with-opengl use OpenGL (or Mesa)
1949 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1950 --with-sdl use SDL for audio on Unix
1951 --with-regex enable support for wxRegEx class
1952 --with-zlib use zlib for LZW compression
1953 --with-expat enable XML support using expat parser
1954 --with-macosx-sdk=PATH use an OS X SDK at PATH
1955 --with-macosx-version-min=VER build binaries which require at least this OS X version
1956 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1957 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1958 --with-x use the X Window System
1959 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1960 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1961 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1962 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1963 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1964
1965 Some influential environment variables:
1966 CC C compiler command
1967 CFLAGS C compiler flags
1968 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1969 nonstandard directory <lib dir>
1970 LIBS libraries to pass to the linker, e.g. -l<library>
1971 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1972 you have headers in a nonstandard directory <include dir>
1973 CPP C preprocessor
1974 CXX C++ compiler command
1975 CXXFLAGS C++ compiler flags
1976 PKG_CONFIG path to pkg-config utility
1977 DIRECTFB_CFLAGS
1978 C compiler flags for DIRECTFB, overriding pkg-config
1979 DIRECTFB_LIBS
1980 linker flags for DIRECTFB, overriding pkg-config
1981 XMKMF Path to xmkmf, Makefile generator for X Window System
1982 PANGOX_CFLAGS
1983 C compiler flags for PANGOX, overriding pkg-config
1984 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1985 PANGOFT2_CFLAGS
1986 C compiler flags for PANGOFT2, overriding pkg-config
1987 PANGOFT2_LIBS
1988 linker flags for PANGOFT2, overriding pkg-config
1989 PANGOXFT_CFLAGS
1990 C compiler flags for PANGOXFT, overriding pkg-config
1991 PANGOXFT_LIBS
1992 linker flags for PANGOXFT, overriding pkg-config
1993 GTKPRINT_CFLAGS
1994 C compiler flags for GTKPRINT, overriding pkg-config
1995 GTKPRINT_LIBS
1996 linker flags for GTKPRINT, overriding pkg-config
1997 LIBGNOMEPRINTUI_CFLAGS
1998 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1999 LIBGNOMEPRINTUI_LIBS
2000 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2001 GNOMEVFS_CFLAGS
2002 C compiler flags for GNOMEVFS, overriding pkg-config
2003 GNOMEVFS_LIBS
2004 linker flags for GNOMEVFS, overriding pkg-config
2005 HILDON_CFLAGS
2006 C compiler flags for HILDON, overriding pkg-config
2007 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2008 HILDON2_CFLAGS
2009 C compiler flags for HILDON2, overriding pkg-config
2010 HILDON2_LIBS
2011 linker flags for HILDON2, overriding pkg-config
2012 CAIRO_CFLAGS
2013 C compiler flags for CAIRO, overriding pkg-config
2014 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2015 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2016 GST_LIBS linker flags for GST, overriding pkg-config
2017
2018 Use these variables to override the choices made by `configure' or to help
2019 it to find libraries and programs with nonstandard names/locations.
2020
2021 Report bugs to <wx-dev@lists.wxwidgets.org>.
2022 _ACEOF
2023 ac_status=$?
2024 fi
2025
2026 if test "$ac_init_help" = "recursive"; then
2027 # If there are subdirs, report their specific --help.
2028 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2029 test -d "$ac_dir" || continue
2030 ac_builddir=.
2031
2032 case "$ac_dir" in
2033 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2034 *)
2035 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2036 # A ".." for each directory in $ac_dir_suffix.
2037 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2038 case $ac_top_builddir_sub in
2039 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2040 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2041 esac ;;
2042 esac
2043 ac_abs_top_builddir=$ac_pwd
2044 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2045 # for backward compatibility:
2046 ac_top_builddir=$ac_top_build_prefix
2047
2048 case $srcdir in
2049 .) # We are building in place.
2050 ac_srcdir=.
2051 ac_top_srcdir=$ac_top_builddir_sub
2052 ac_abs_top_srcdir=$ac_pwd ;;
2053 [\\/]* | ?:[\\/]* ) # Absolute name.
2054 ac_srcdir=$srcdir$ac_dir_suffix;
2055 ac_top_srcdir=$srcdir
2056 ac_abs_top_srcdir=$srcdir ;;
2057 *) # Relative name.
2058 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2059 ac_top_srcdir=$ac_top_build_prefix$srcdir
2060 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2061 esac
2062 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2063
2064 cd "$ac_dir" || { ac_status=$?; continue; }
2065 # Check for guested configure.
2066 if test -f "$ac_srcdir/configure.gnu"; then
2067 echo &&
2068 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2069 elif test -f "$ac_srcdir/configure"; then
2070 echo &&
2071 $SHELL "$ac_srcdir/configure" --help=recursive
2072 else
2073 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2074 fi || ac_status=$?
2075 cd "$ac_pwd" || { ac_status=$?; break; }
2076 done
2077 fi
2078
2079 test -n "$ac_init_help" && exit $ac_status
2080 if $ac_init_version; then
2081 cat <<\_ACEOF
2082 wxWidgets configure 2.9.1
2083 generated by GNU Autoconf 2.61
2084
2085 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2086 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2087 This configure script is free software; the Free Software Foundation
2088 gives unlimited permission to copy, distribute and modify it.
2089 _ACEOF
2090 exit
2091 fi
2092 cat >config.log <<_ACEOF
2093 This file contains any messages produced by compilers while
2094 running configure, to aid debugging if configure makes a mistake.
2095
2096 It was created by wxWidgets $as_me 2.9.1, which was
2097 generated by GNU Autoconf 2.61. Invocation command line was
2098
2099 $ $0 $@
2100
2101 _ACEOF
2102 exec 5>>config.log
2103 {
2104 cat <<_ASUNAME
2105 ## --------- ##
2106 ## Platform. ##
2107 ## --------- ##
2108
2109 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2110 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2111 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2112 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2113 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2114
2115 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2116 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2117
2118 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2119 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2120 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2121 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2122 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2123 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2124 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2125
2126 _ASUNAME
2127
2128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2129 for as_dir in $PATH
2130 do
2131 IFS=$as_save_IFS
2132 test -z "$as_dir" && as_dir=.
2133 echo "PATH: $as_dir"
2134 done
2135 IFS=$as_save_IFS
2136
2137 } >&5
2138
2139 cat >&5 <<_ACEOF
2140
2141
2142 ## ----------- ##
2143 ## Core tests. ##
2144 ## ----------- ##
2145
2146 _ACEOF
2147
2148
2149 # Keep a trace of the command line.
2150 # Strip out --no-create and --no-recursion so they do not pile up.
2151 # Strip out --silent because we don't want to record it for future runs.
2152 # Also quote any args containing shell meta-characters.
2153 # Make two passes to allow for proper duplicate-argument suppression.
2154 ac_configure_args=
2155 ac_configure_args0=
2156 ac_configure_args1=
2157 ac_must_keep_next=false
2158 for ac_pass in 1 2
2159 do
2160 for ac_arg
2161 do
2162 case $ac_arg in
2163 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2164 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2165 | -silent | --silent | --silen | --sile | --sil)
2166 continue ;;
2167 *\'*)
2168 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2169 esac
2170 case $ac_pass in
2171 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2172 2)
2173 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2174 if test $ac_must_keep_next = true; then
2175 ac_must_keep_next=false # Got value, back to normal.
2176 else
2177 case $ac_arg in
2178 *=* | --config-cache | -C | -disable-* | --disable-* \
2179 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2180 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2181 | -with-* | --with-* | -without-* | --without-* | --x)
2182 case "$ac_configure_args0 " in
2183 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2184 esac
2185 ;;
2186 -* ) ac_must_keep_next=true ;;
2187 esac
2188 fi
2189 ac_configure_args="$ac_configure_args '$ac_arg'"
2190 ;;
2191 esac
2192 done
2193 done
2194 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2195 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2196
2197 # When interrupted or exit'd, cleanup temporary files, and complete
2198 # config.log. We remove comments because anyway the quotes in there
2199 # would cause problems or look ugly.
2200 # WARNING: Use '\'' to represent an apostrophe within the trap.
2201 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2202 trap 'exit_status=$?
2203 # Save into config.log some information that might help in debugging.
2204 {
2205 echo
2206
2207 cat <<\_ASBOX
2208 ## ---------------- ##
2209 ## Cache variables. ##
2210 ## ---------------- ##
2211 _ASBOX
2212 echo
2213 # The following way of writing the cache mishandles newlines in values,
2214 (
2215 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2216 eval ac_val=\$$ac_var
2217 case $ac_val in #(
2218 *${as_nl}*)
2219 case $ac_var in #(
2220 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2221 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2222 esac
2223 case $ac_var in #(
2224 _ | IFS | as_nl) ;; #(
2225 *) $as_unset $ac_var ;;
2226 esac ;;
2227 esac
2228 done
2229 (set) 2>&1 |
2230 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2231 *${as_nl}ac_space=\ *)
2232 sed -n \
2233 "s/'\''/'\''\\\\'\'''\''/g;
2234 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2235 ;; #(
2236 *)
2237 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2238 ;;
2239 esac |
2240 sort
2241 )
2242 echo
2243
2244 cat <<\_ASBOX
2245 ## ----------------- ##
2246 ## Output variables. ##
2247 ## ----------------- ##
2248 _ASBOX
2249 echo
2250 for ac_var in $ac_subst_vars
2251 do
2252 eval ac_val=\$$ac_var
2253 case $ac_val in
2254 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2255 esac
2256 echo "$ac_var='\''$ac_val'\''"
2257 done | sort
2258 echo
2259
2260 if test -n "$ac_subst_files"; then
2261 cat <<\_ASBOX
2262 ## ------------------- ##
2263 ## File substitutions. ##
2264 ## ------------------- ##
2265 _ASBOX
2266 echo
2267 for ac_var in $ac_subst_files
2268 do
2269 eval ac_val=\$$ac_var
2270 case $ac_val in
2271 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2272 esac
2273 echo "$ac_var='\''$ac_val'\''"
2274 done | sort
2275 echo
2276 fi
2277
2278 if test -s confdefs.h; then
2279 cat <<\_ASBOX
2280 ## ----------- ##
2281 ## confdefs.h. ##
2282 ## ----------- ##
2283 _ASBOX
2284 echo
2285 cat confdefs.h
2286 echo
2287 fi
2288 test "$ac_signal" != 0 &&
2289 echo "$as_me: caught signal $ac_signal"
2290 echo "$as_me: exit $exit_status"
2291 } >&5
2292 rm -f core *.core core.conftest.* &&
2293 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2294 exit $exit_status
2295 ' 0
2296 for ac_signal in 1 2 13 15; do
2297 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2298 done
2299 ac_signal=0
2300
2301 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2302 rm -f -r conftest* confdefs.h
2303
2304 # Predefined preprocessor variables.
2305
2306 cat >>confdefs.h <<_ACEOF
2307 #define PACKAGE_NAME "$PACKAGE_NAME"
2308 _ACEOF
2309
2310
2311 cat >>confdefs.h <<_ACEOF
2312 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2313 _ACEOF
2314
2315
2316 cat >>confdefs.h <<_ACEOF
2317 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2318 _ACEOF
2319
2320
2321 cat >>confdefs.h <<_ACEOF
2322 #define PACKAGE_STRING "$PACKAGE_STRING"
2323 _ACEOF
2324
2325
2326 cat >>confdefs.h <<_ACEOF
2327 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2328 _ACEOF
2329
2330
2331 # Let the site file select an alternate cache file if it wants to.
2332 # Prefer explicitly selected file to automatically selected ones.
2333 if test -n "$CONFIG_SITE"; then
2334 set x "$CONFIG_SITE"
2335 elif test "x$prefix" != xNONE; then
2336 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2337 else
2338 set x "$ac_default_prefix/share/config.site" \
2339 "$ac_default_prefix/etc/config.site"
2340 fi
2341 shift
2342 for ac_site_file
2343 do
2344 if test -r "$ac_site_file"; then
2345 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2346 echo "$as_me: loading site script $ac_site_file" >&6;}
2347 sed 's/^/| /' "$ac_site_file" >&5
2348 . "$ac_site_file"
2349 fi
2350 done
2351
2352 if test -r "$cache_file"; then
2353 # Some versions of bash will fail to source /dev/null (special
2354 # files actually), so we avoid doing that.
2355 if test -f "$cache_file"; then
2356 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2357 echo "$as_me: loading cache $cache_file" >&6;}
2358 case $cache_file in
2359 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2360 *) . "./$cache_file";;
2361 esac
2362 fi
2363 else
2364 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2365 echo "$as_me: creating cache $cache_file" >&6;}
2366 >$cache_file
2367 fi
2368
2369 # Check that the precious variables saved in the cache have kept the same
2370 # value.
2371 ac_cache_corrupted=false
2372 for ac_var in $ac_precious_vars; do
2373 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2374 eval ac_new_set=\$ac_env_${ac_var}_set
2375 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2376 eval ac_new_val=\$ac_env_${ac_var}_value
2377 case $ac_old_set,$ac_new_set in
2378 set,)
2379 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2380 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2381 ac_cache_corrupted=: ;;
2382 ,set)
2383 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2384 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2385 ac_cache_corrupted=: ;;
2386 ,);;
2387 *)
2388 if test "x$ac_old_val" != "x$ac_new_val"; then
2389 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2390 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2391 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2392 echo "$as_me: former value: $ac_old_val" >&2;}
2393 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2394 echo "$as_me: current value: $ac_new_val" >&2;}
2395 ac_cache_corrupted=:
2396 fi;;
2397 esac
2398 # Pass precious variables to config.status.
2399 if test "$ac_new_set" = set; then
2400 case $ac_new_val in
2401 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2402 *) ac_arg=$ac_var=$ac_new_val ;;
2403 esac
2404 case " $ac_configure_args " in
2405 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2406 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2407 esac
2408 fi
2409 done
2410 if $ac_cache_corrupted; then
2411 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2412 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2413 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2414 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2415 { (exit 1); exit 1; }; }
2416 fi
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442 ac_ext=c
2443 ac_cpp='$CPP $CPPFLAGS'
2444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2447
2448
2449
2450
2451
2452 ac_aux_dir=
2453 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2454 if test -f "$ac_dir/install-sh"; then
2455 ac_aux_dir=$ac_dir
2456 ac_install_sh="$ac_aux_dir/install-sh -c"
2457 break
2458 elif test -f "$ac_dir/install.sh"; then
2459 ac_aux_dir=$ac_dir
2460 ac_install_sh="$ac_aux_dir/install.sh -c"
2461 break
2462 elif test -f "$ac_dir/shtool"; then
2463 ac_aux_dir=$ac_dir
2464 ac_install_sh="$ac_aux_dir/shtool install -c"
2465 break
2466 fi
2467 done
2468 if test -z "$ac_aux_dir"; then
2469 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2470 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2471 { (exit 1); exit 1; }; }
2472 fi
2473
2474 # These three variables are undocumented and unsupported,
2475 # and are intended to be withdrawn in a future Autoconf release.
2476 # They can cause serious problems if a builder's source tree is in a directory
2477 # whose full name contains unusual characters.
2478 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2479 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2480 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2481
2482
2483 # Make sure we can run config.sub.
2484 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2485 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2486 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2487 { (exit 1); exit 1; }; }
2488
2489 { echo "$as_me:$LINENO: checking build system type" >&5
2490 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2491 if test "${ac_cv_build+set}" = set; then
2492 echo $ECHO_N "(cached) $ECHO_C" >&6
2493 else
2494 ac_build_alias=$build_alias
2495 test "x$ac_build_alias" = x &&
2496 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2497 test "x$ac_build_alias" = x &&
2498 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2499 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2500 { (exit 1); exit 1; }; }
2501 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2502 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2503 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2504 { (exit 1); exit 1; }; }
2505
2506 fi
2507 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2508 echo "${ECHO_T}$ac_cv_build" >&6; }
2509 case $ac_cv_build in
2510 *-*-*) ;;
2511 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2512 echo "$as_me: error: invalid value of canonical build" >&2;}
2513 { (exit 1); exit 1; }; };;
2514 esac
2515 build=$ac_cv_build
2516 ac_save_IFS=$IFS; IFS='-'
2517 set x $ac_cv_build
2518 shift
2519 build_cpu=$1
2520 build_vendor=$2
2521 shift; shift
2522 # Remember, the first character of IFS is used to create $*,
2523 # except with old shells:
2524 build_os=$*
2525 IFS=$ac_save_IFS
2526 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2527
2528
2529 { echo "$as_me:$LINENO: checking host system type" >&5
2530 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2531 if test "${ac_cv_host+set}" = set; then
2532 echo $ECHO_N "(cached) $ECHO_C" >&6
2533 else
2534 if test "x$host_alias" = x; then
2535 ac_cv_host=$ac_cv_build
2536 else
2537 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2538 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2539 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2540 { (exit 1); exit 1; }; }
2541 fi
2542
2543 fi
2544 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2545 echo "${ECHO_T}$ac_cv_host" >&6; }
2546 case $ac_cv_host in
2547 *-*-*) ;;
2548 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2549 echo "$as_me: error: invalid value of canonical host" >&2;}
2550 { (exit 1); exit 1; }; };;
2551 esac
2552 host=$ac_cv_host
2553 ac_save_IFS=$IFS; IFS='-'
2554 set x $ac_cv_host
2555 shift
2556 host_cpu=$1
2557 host_vendor=$2
2558 shift; shift
2559 # Remember, the first character of IFS is used to create $*,
2560 # except with old shells:
2561 host_os=$*
2562 IFS=$ac_save_IFS
2563 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2564
2565
2566
2567 if test "$cross_compiling" != "no"; then
2568 HOST_PREFIX="${host_alias}-"
2569 HOST_SUFFIX="-$host_alias"
2570 else
2571 HOST_PREFIX=
2572 HOST_SUFFIX=
2573 fi
2574
2575
2576 wx_major_version_number=2
2577 wx_minor_version_number=9
2578 wx_release_number=1
2579 wx_subrelease_number=0
2580
2581 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2582 WX_VERSION=$WX_RELEASE.$wx_release_number
2583 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2584
2585 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2586
2587
2588 wx_top_builddir="`pwd`"
2589
2590
2591
2592
2593 USE_UNIX=1
2594 USE_OS2=0
2595 USE_WIN32=0
2596 USE_DOS=0
2597 USE_BEOS=0
2598 USE_MAC=0
2599
2600 USE_AIX=
2601 USE_BSD= USE_DARWIN= USE_FREEBSD=
2602 USE_GNU= USE_HPUX=
2603 USE_LINUX=
2604 USE_NETBSD=
2605 USE_OPENBSD=
2606 USE_OSF= USE_SGI=
2607 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2608 USE_ULTRIX=
2609 USE_UNIXWARE=
2610
2611 USE_ALPHA=
2612
2613 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2614
2615 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MGL MICROWIN MOTIF MSW PM X11 DFB"
2616
2617 DEFAULT_wxUSE_OLD_COCOA=0
2618 DEFAULT_wxUSE_GTK=0
2619 DEFAULT_wxUSE_OSX_CARBON=0
2620 DEFAULT_wxUSE_OSX_COCOA=0
2621 DEFAULT_wxUSE_OSX_IPHONE=0
2622 DEFAULT_wxUSE_MGL=0
2623 DEFAULT_wxUSE_MICROWIN=0
2624 DEFAULT_wxUSE_MOTIF=0
2625 DEFAULT_wxUSE_MSW=0
2626 DEFAULT_wxUSE_PM=0
2627 DEFAULT_wxUSE_X11=0
2628 DEFAULT_wxUSE_DFB=0
2629
2630 DEFAULT_DEFAULT_wxUSE_OLD_COCOA=0
2631 DEFAULT_DEFAULT_wxUSE_GTK=0
2632 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
2633 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
2634 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=0
2635 DEFAULT_DEFAULT_wxUSE_MGL=0
2636 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2637 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2638 DEFAULT_DEFAULT_wxUSE_MSW=0
2639 DEFAULT_DEFAULT_wxUSE_PM=0
2640 DEFAULT_DEFAULT_wxUSE_X11=0
2641 DEFAULT_DEFAULT_wxUSE_DFB=0
2642
2643 PROGRAM_EXT=
2644 SAMPLES_RPATH_FLAG=
2645 DYLIB_RPATH_INSTALL=
2646 DYLIB_RPATH_POSTLINK=
2647
2648 DEFAULT_STD_FLAG=yes
2649
2650 case "${host}" in
2651 *-hp-hpux* )
2652 USE_HPUX=1
2653 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2654 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2655 cat >>confdefs.h <<\_ACEOF
2656 #define __HPUX__ 1
2657 _ACEOF
2658
2659
2660 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2661 ;;
2662 *-*-linux* )
2663 USE_LINUX=1
2664 cat >>confdefs.h <<\_ACEOF
2665 #define __LINUX__ 1
2666 _ACEOF
2667
2668 TMP=`uname -m`
2669 if test "x$TMP" = "xalpha"; then
2670 USE_ALPHA=1
2671 cat >>confdefs.h <<\_ACEOF
2672 #define __ALPHA__ 1
2673 _ACEOF
2674
2675 fi
2676 DEFAULT_DEFAULT_wxUSE_GTK=1
2677 ;;
2678 *-*-gnu* | *-*-k*bsd*-gnu )
2679 USE_GNU=1
2680 TMP=`uname -m`
2681 if test "x$TMP" = "xalpha"; then
2682 USE_ALPHA=1
2683 cat >>confdefs.h <<\_ACEOF
2684 #define __ALPHA__ 1
2685 _ACEOF
2686
2687 fi
2688 DEFAULT_DEFAULT_wxUSE_GTK=1
2689 ;;
2690 *-*-irix5* | *-*-irix6* )
2691 USE_SGI=1
2692 USE_SVR4=1
2693 cat >>confdefs.h <<\_ACEOF
2694 #define __SGI__ 1
2695 _ACEOF
2696
2697 cat >>confdefs.h <<\_ACEOF
2698 #define __SVR4__ 1
2699 _ACEOF
2700
2701 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2702 ;;
2703 *-*-qnx*)
2704 USE_QNX=1
2705 cat >>confdefs.h <<\_ACEOF
2706 #define __QNX__ 1
2707 _ACEOF
2708
2709 DEFAULT_DEFAULT_wxUSE_X11=1
2710 ;;
2711 *-*-solaris2* )
2712 USE_SUN=1
2713 USE_SOLARIS=1
2714 USE_SVR4=1
2715 cat >>confdefs.h <<\_ACEOF
2716 #define __SUN__ 1
2717 _ACEOF
2718
2719 cat >>confdefs.h <<\_ACEOF
2720 #define __SOLARIS__ 1
2721 _ACEOF
2722
2723 cat >>confdefs.h <<\_ACEOF
2724 #define __SVR4__ 1
2725 _ACEOF
2726
2727 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2728 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2729 ;;
2730 *-*-sunos4* )
2731 USE_SUN=1
2732 USE_SUNOS=1
2733 USE_BSD=1
2734 cat >>confdefs.h <<\_ACEOF
2735 #define __SUN__ 1
2736 _ACEOF
2737
2738 cat >>confdefs.h <<\_ACEOF
2739 #define __SUNOS__ 1
2740 _ACEOF
2741
2742 cat >>confdefs.h <<\_ACEOF
2743 #define __BSD__ 1
2744 _ACEOF
2745
2746 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2747 ;;
2748 *-*-freebsd*)
2749 USE_BSD=1
2750 USE_FREEBSD=1
2751 cat >>confdefs.h <<\_ACEOF
2752 #define __FREEBSD__ 1
2753 _ACEOF
2754
2755 cat >>confdefs.h <<\_ACEOF
2756 #define __BSD__ 1
2757 _ACEOF
2758
2759 DEFAULT_DEFAULT_wxUSE_GTK=1
2760 ;;
2761 *-*-openbsd*|*-*-mirbsd*)
2762 USE_BSD=1
2763 USE_OPENBSD=1
2764 cat >>confdefs.h <<\_ACEOF
2765 #define __OPENBSD__ 1
2766 _ACEOF
2767
2768 cat >>confdefs.h <<\_ACEOF
2769 #define __BSD__ 1
2770 _ACEOF
2771
2772 DEFAULT_DEFAULT_wxUSE_GTK=1
2773 ;;
2774 *-*-netbsd*)
2775 USE_BSD=1
2776 USE_NETBSD=1
2777 cat >>confdefs.h <<\_ACEOF
2778 #define __NETBSD__ 1
2779 _ACEOF
2780
2781 cat >>confdefs.h <<\_ACEOF
2782 #define __BSD__ 1
2783 _ACEOF
2784
2785 DEFAULT_DEFAULT_wxUSE_GTK=1
2786 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2787
2788 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2789 ;;
2790 *-*-osf* )
2791 USE_ALPHA=1
2792 USE_OSF=1
2793 cat >>confdefs.h <<\_ACEOF
2794 #define __ALPHA__ 1
2795 _ACEOF
2796
2797 cat >>confdefs.h <<\_ACEOF
2798 #define __OSF__ 1
2799 _ACEOF
2800
2801 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2802 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2803 ;;
2804 *-*-dgux5* )
2805 USE_ALPHA=1
2806 USE_SVR4=1
2807 cat >>confdefs.h <<\_ACEOF
2808 #define __ALPHA__ 1
2809 _ACEOF
2810
2811 cat >>confdefs.h <<\_ACEOF
2812 #define __SVR4__ 1
2813 _ACEOF
2814
2815 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2816 ;;
2817 *-*-sysv5* )
2818 USE_SYSV=1
2819 USE_SVR4=1
2820 cat >>confdefs.h <<\_ACEOF
2821 #define __SYSV__ 1
2822 _ACEOF
2823
2824 cat >>confdefs.h <<\_ACEOF
2825 #define __SVR4__ 1
2826 _ACEOF
2827
2828 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2829 ;;
2830 *-*-aix* )
2831 USE_AIX=1
2832 USE_SYSV=1
2833 USE_SVR4=1
2834 cat >>confdefs.h <<\_ACEOF
2835 #define __AIX__ 1
2836 _ACEOF
2837
2838 cat >>confdefs.h <<\_ACEOF
2839 #define __SYSV__ 1
2840 _ACEOF
2841
2842 cat >>confdefs.h <<\_ACEOF
2843 #define __SVR4__ 1
2844 _ACEOF
2845
2846 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2847 ;;
2848
2849 *-*-*UnixWare*)
2850 USE_SYSV=1
2851 USE_SVR4=1
2852 USE_UNIXWARE=1
2853 cat >>confdefs.h <<\_ACEOF
2854 #define __UNIXWARE__ 1
2855 _ACEOF
2856
2857 ;;
2858
2859 *-*-cygwin* | *-*-mingw32* )
2860 PROGRAM_EXT=".exe"
2861 DEFAULT_DEFAULT_wxUSE_MSW=1
2862 ;;
2863
2864 *-pc-msdosdjgpp )
2865 USE_UNIX=0
2866 USE_DOS=1
2867 cat >>confdefs.h <<\_ACEOF
2868 #define __DOS__ 1
2869 _ACEOF
2870
2871 PROGRAM_EXT=".exe"
2872 DEFAULT_DEFAULT_wxUSE_MGL=1
2873 ;;
2874
2875 *-pc-os2_emx | *-pc-os2-emx )
2876 cat >>confdefs.h <<\_ACEOF
2877 #define __EMX__ 1
2878 _ACEOF
2879
2880 USE_OS2=1
2881 cat >>confdefs.h <<\_ACEOF
2882 #define __OS2__ 1
2883 _ACEOF
2884
2885 PROGRAM_EXT=".exe"
2886 DEFAULT_DEFAULT_wxUSE_PM=1
2887 CXX=gcc
2888 LDFLAGS="$LDFLAGS -Zcrtdll"
2889 ac_executable_extensions=".exe"
2890 export ac_executable_extensions
2891 ac_save_IFS="$IFS"
2892 IFS='\\'
2893 ac_TEMP_PATH=
2894 for ac_dir in $PATH; do
2895 IFS=$ac_save_IFS
2896 if test -z "$ac_TEMP_PATH"; then
2897 ac_TEMP_PATH="$ac_dir"
2898 else
2899 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2900 fi
2901 done
2902 export PATH="$ac_TEMP_PATH"
2903 unset ac_TEMP_PATH
2904 DEFAULT_STD_FLAG=no
2905 ;;
2906
2907 arm-apple-darwin*)
2908 USE_BSD=1
2909 USE_DARWIN=1
2910 cat >>confdefs.h <<\_ACEOF
2911 #define __BSD__ 1
2912 _ACEOF
2913
2914 cat >>confdefs.h <<\_ACEOF
2915 #define __DARWIN__ 1
2916 _ACEOF
2917
2918 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=1
2919 ;;
2920
2921 *-*-darwin* )
2922 USE_BSD=1
2923 USE_DARWIN=1
2924 cat >>confdefs.h <<\_ACEOF
2925 #define __BSD__ 1
2926 _ACEOF
2927
2928 cat >>confdefs.h <<\_ACEOF
2929 #define __DARWIN__ 1
2930 _ACEOF
2931
2932 cat >>confdefs.h <<\_ACEOF
2933 #define TARGET_CARBON 1
2934 _ACEOF
2935
2936 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2937 ;;
2938
2939 *-*-beos* )
2940 USE_BEOS=1
2941 cat >>confdefs.h <<\_ACEOF
2942 #define __BEOS__ 1
2943 _ACEOF
2944
2945 ;;
2946
2947 *)
2948 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2949 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2950 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2951 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2952
2953 DEFAULT_DEFAULT_wxUSE_X11=1
2954 DEFAULT_wxUSE_SHARED=no
2955 esac
2956
2957
2958
2959 DEFAULT_wxUSE_ALL_FEATURES=yes
2960
2961 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2962 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2963
2964 DEFAULT_wxUSE_DMALLOC=no
2965 DEFAULT_wxUSE_LIBGNOMEVFS=no
2966 DEFAULT_wxUSE_LIBHILDON=no
2967 DEFAULT_wxUSE_LIBHILDON2=no
2968 DEFAULT_wxUSE_LIBMSPACK=no
2969 DEFAULT_wxUSE_LIBSDL=no
2970
2971 DEFAULT_wxUSE_ACCESSIBILITY=no
2972 DEFAULT_wxUSE_IPV6=no
2973 DEFAULT_wxUSE_GSTREAMER8=no
2974 DEFAULT_wxUSE_UIACTIONSIMULATOR=no
2975
2976 DEFAULT_wxUSE_UNICODE_UTF8=auto
2977 DEFAULT_wxUSE_OPENGL=auto
2978 DEFAULT_wxUSE_MEDIACTRL=auto
2979 DEFAULT_wxUSE_COMPILER_TLS=auto
2980
2981 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2982
2983 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2984
2985 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2986
2987 DEFAULT_wxUSE_GTK2=yes
2988
2989 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2990
2991
2992
2993
2994
2995 enablestring=disable
2996 defaultval=
2997 if test -z "$defaultval"; then
2998 if test x"$enablestring" = xdisable; then
2999 defaultval=yes
3000 else
3001 defaultval=no
3002 fi
3003 fi
3004
3005 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3006 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3007 # Check whether --enable-gui was given.
3008 if test "${enable_gui+set}" = set; then
3009 enableval=$enable_gui;
3010 if test "$enableval" = yes; then
3011 wx_cv_use_gui='wxUSE_GUI=yes'
3012 else
3013 wx_cv_use_gui='wxUSE_GUI=no'
3014 fi
3015
3016 else
3017
3018 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3019
3020 fi
3021
3022
3023 eval "$wx_cv_use_gui"
3024
3025 if test x"$enablestring" = xdisable; then
3026 if test $wxUSE_GUI = no; then
3027 result=yes
3028 else
3029 result=no
3030 fi
3031 else
3032 result=$wxUSE_GUI
3033 fi
3034
3035 { echo "$as_me:$LINENO: result: $result" >&5
3036 echo "${ECHO_T}$result" >&6; }
3037
3038
3039 enablestring=
3040 defaultval=
3041 if test -z "$defaultval"; then
3042 if test x"$enablestring" = xdisable; then
3043 defaultval=yes
3044 else
3045 defaultval=no
3046 fi
3047 fi
3048
3049 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3050 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3051 # Check whether --enable-monolithic was given.
3052 if test "${enable_monolithic+set}" = set; then
3053 enableval=$enable_monolithic;
3054 if test "$enableval" = yes; then
3055 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3056 else
3057 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3058 fi
3059
3060 else
3061
3062 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3063
3064 fi
3065
3066
3067 eval "$wx_cv_use_monolithic"
3068
3069 if test x"$enablestring" = xdisable; then
3070 if test $wxUSE_MONOLITHIC = no; then
3071 result=yes
3072 else
3073 result=no
3074 fi
3075 else
3076 result=$wxUSE_MONOLITHIC
3077 fi
3078
3079 { echo "$as_me:$LINENO: result: $result" >&5
3080 echo "${ECHO_T}$result" >&6; }
3081
3082
3083 enablestring=
3084 defaultval=
3085 if test -z "$defaultval"; then
3086 if test x"$enablestring" = xdisable; then
3087 defaultval=yes
3088 else
3089 defaultval=no
3090 fi
3091 fi
3092
3093 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3094 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3095 # Check whether --enable-plugins was given.
3096 if test "${enable_plugins+set}" = set; then
3097 enableval=$enable_plugins;
3098 if test "$enableval" = yes; then
3099 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3100 else
3101 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3102 fi
3103
3104 else
3105
3106 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3107
3108 fi
3109
3110
3111 eval "$wx_cv_use_plugins"
3112
3113 if test x"$enablestring" = xdisable; then
3114 if test $wxUSE_PLUGINS = no; then
3115 result=yes
3116 else
3117 result=no
3118 fi
3119 else
3120 result=$wxUSE_PLUGINS
3121 fi
3122
3123 { echo "$as_me:$LINENO: result: $result" >&5
3124 echo "${ECHO_T}$result" >&6; }
3125
3126
3127 withstring=without
3128 defaultval=$wxUSE_ALL_FEATURES
3129 if test -z "$defaultval"; then
3130 if test x"$withstring" = xwithout; then
3131 defaultval=yes
3132 else
3133 defaultval=no
3134 fi
3135 fi
3136 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3137 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3138
3139 # Check whether --with-subdirs was given.
3140 if test "${with_subdirs+set}" = set; then
3141 withval=$with_subdirs;
3142 if test "$withval" = yes; then
3143 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3144 else
3145 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3146 fi
3147
3148 else
3149
3150 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3151
3152 fi
3153
3154
3155 eval "$wx_cv_use_subdirs"
3156
3157 if test x"$withstring" = xwithout; then
3158 if test $wxWITH_SUBDIRS = yes; then
3159 result=no
3160 else
3161 result=yes
3162 fi
3163 else
3164 result=$wxWITH_SUBDIRS
3165 fi
3166
3167 { echo "$as_me:$LINENO: result: $result" >&5
3168 echo "${ECHO_T}$result" >&6; }
3169
3170
3171 # Check whether --with-flavour was given.
3172 if test "${with_flavour+set}" = set; then
3173 withval=$with_flavour; WX_FLAVOUR="$withval"
3174 fi
3175
3176
3177 enablestring=
3178 defaultval=
3179 if test -z "$defaultval"; then
3180 if test x"$enablestring" = xdisable; then
3181 defaultval=yes
3182 else
3183 defaultval=no
3184 fi
3185 fi
3186
3187 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3188 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3189 # Check whether --enable-official_build was given.
3190 if test "${enable_official_build+set}" = set; then
3191 enableval=$enable_official_build;
3192 if test "$enableval" = yes; then
3193 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3194 else
3195 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3196 fi
3197
3198 else
3199
3200 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3201
3202 fi
3203
3204
3205 eval "$wx_cv_use_official_build"
3206
3207 if test x"$enablestring" = xdisable; then
3208 if test $wxUSE_OFFICIAL_BUILD = no; then
3209 result=yes
3210 else
3211 result=no
3212 fi
3213 else
3214 result=$wxUSE_OFFICIAL_BUILD
3215 fi
3216
3217 { echo "$as_me:$LINENO: result: $result" >&5
3218 echo "${ECHO_T}$result" >&6; }
3219
3220 # Check whether --enable-vendor was given.
3221 if test "${enable_vendor+set}" = set; then
3222 enableval=$enable_vendor; VENDOR="$enableval"
3223 fi
3224
3225 if test "x$VENDOR" = "x"; then
3226 VENDOR="custom"
3227 fi
3228
3229
3230 enablestring=disable
3231 defaultval=
3232 if test -z "$defaultval"; then
3233 if test x"$enablestring" = xdisable; then
3234 defaultval=yes
3235 else
3236 defaultval=no
3237 fi
3238 fi
3239
3240 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3241 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3242 # Check whether --enable-all-features was given.
3243 if test "${enable_all_features+set}" = set; then
3244 enableval=$enable_all_features;
3245 if test "$enableval" = yes; then
3246 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3247 else
3248 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3249 fi
3250
3251 else
3252
3253 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3254
3255 fi
3256
3257
3258 eval "$wx_cv_use_all_features"
3259
3260 if test x"$enablestring" = xdisable; then
3261 if test $wxUSE_ALL_FEATURES = no; then
3262 result=yes
3263 else
3264 result=no
3265 fi
3266 else
3267 result=$wxUSE_ALL_FEATURES
3268 fi
3269
3270 { echo "$as_me:$LINENO: result: $result" >&5
3271 echo "${ECHO_T}$result" >&6; }
3272
3273
3274 if test "$wxUSE_ALL_FEATURES" = "no"; then
3275 DEFAULT_wxUSE_MEDIACTRL=no
3276 fi
3277
3278
3279 if test "$wxUSE_GUI" = "yes"; then
3280
3281
3282 enablestring=
3283 defaultval=
3284 if test -z "$defaultval"; then
3285 if test x"$enablestring" = xdisable; then
3286 defaultval=yes
3287 else
3288 defaultval=no
3289 fi
3290 fi
3291
3292 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3293 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3294 # Check whether --enable-universal was given.
3295 if test "${enable_universal+set}" = set; then
3296 enableval=$enable_universal;
3297 if test "$enableval" = yes; then
3298 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3299 else
3300 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3301 fi
3302
3303 else
3304
3305 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3306
3307 fi
3308
3309
3310 eval "$wx_cv_use_universal"
3311
3312 if test x"$enablestring" = xdisable; then
3313 if test $wxUSE_UNIVERSAL = no; then
3314 result=yes
3315 else
3316 result=no
3317 fi
3318 else
3319 result=$wxUSE_UNIVERSAL
3320 fi
3321
3322 { echo "$as_me:$LINENO: result: $result" >&5
3323 echo "${ECHO_T}$result" >&6; }
3324
3325 if test "$wxUSE_UNIVERSAL" = "yes"; then
3326
3327 # Check whether --with-themes was given.
3328 if test "${with_themes+set}" = set; then
3329 withval=$with_themes; wxUNIV_THEMES="$withval"
3330 fi
3331
3332 fi
3333
3334
3335 # Check whether --with-gtk was given.
3336 if test "${with_gtk+set}" = set; then
3337 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3338 fi
3339
3340
3341 # Check whether --with-motif was given.
3342 if test "${with_motif+set}" = set; then
3343 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3344 fi
3345
3346
3347 # Check whether --with-osx_carbon was given.
3348 if test "${with_osx_carbon+set}" = set; then
3349 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3350 fi
3351
3352
3353 # Check whether --with-osx_cocoa was given.
3354 if test "${with_osx_cocoa+set}" = set; then
3355 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3356 fi
3357
3358
3359 # Check whether --with-osx_iphone was given.
3360 if test "${with_osx_iphone+set}" = set; then
3361 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3362 fi
3363
3364
3365 # Check whether --with-osx was given.
3366 if test "${with_osx+set}" = set; then
3367 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3368 fi
3369
3370
3371 # Check whether --with-carbon was given.
3372 if test "${with_carbon+set}" = set; then
3373 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3374 fi
3375
3376
3377 # Check whether --with-cocoa was given.
3378 if test "${with_cocoa+set}" = set; then
3379 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3380 fi
3381
3382
3383 # Check whether --with-iphone was given.
3384 if test "${with_iphone+set}" = set; then
3385 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3386 fi
3387
3388
3389 # Check whether --with-mac was given.
3390 if test "${with_mac+set}" = set; then
3391 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3392 fi
3393
3394
3395 # Check whether --with-old_cocoa was given.
3396 if test "${with_old_cocoa+set}" = set; then
3397 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
3398 fi
3399
3400
3401 # Check whether --with-wine was given.
3402 if test "${with_wine+set}" = set; then
3403 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3404 fi
3405
3406
3407 # Check whether --with-msw was given.
3408 if test "${with_msw+set}" = set; then
3409 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3410 fi
3411
3412
3413 # Check whether --with-pm was given.
3414 if test "${with_pm+set}" = set; then
3415 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3416 fi
3417
3418
3419 # Check whether --with-mgl was given.
3420 if test "${with_mgl+set}" = set; then
3421 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3422 fi
3423
3424
3425 # Check whether --with-directfb was given.
3426 if test "${with_directfb+set}" = set; then
3427 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3428 fi
3429
3430
3431 # Check whether --with-microwin was given.
3432 if test "${with_microwin+set}" = set; then
3433 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3434 fi
3435
3436
3437 # Check whether --with-x11 was given.
3438 if test "${with_x11+set}" = set; then
3439 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3440 fi
3441
3442
3443 enablestring=
3444 defaultval=
3445 if test -z "$defaultval"; then
3446 if test x"$enablestring" = xdisable; then
3447 defaultval=yes
3448 else
3449 defaultval=no
3450 fi
3451 fi
3452
3453 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3454 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3455 # Check whether --enable-nanox was given.
3456 if test "${enable_nanox+set}" = set; then
3457 enableval=$enable_nanox;
3458 if test "$enableval" = yes; then
3459 wx_cv_use_nanox='wxUSE_NANOX=yes'
3460 else
3461 wx_cv_use_nanox='wxUSE_NANOX=no'
3462 fi
3463
3464 else
3465
3466 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3467
3468 fi
3469
3470
3471 eval "$wx_cv_use_nanox"
3472
3473 if test x"$enablestring" = xdisable; then
3474 if test $wxUSE_NANOX = no; then
3475 result=yes
3476 else
3477 result=no
3478 fi
3479 else
3480 result=$wxUSE_NANOX
3481 fi
3482
3483 { echo "$as_me:$LINENO: result: $result" >&5
3484 echo "${ECHO_T}$result" >&6; }
3485
3486
3487 # Check whether --enable-gtk2 was given.
3488 if test "${enable_gtk2+set}" = set; then
3489 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3490 fi
3491
3492
3493 enablestring=
3494 defaultval=
3495 if test -z "$defaultval"; then
3496 if test x"$enablestring" = xdisable; then
3497 defaultval=yes
3498 else
3499 defaultval=no
3500 fi
3501 fi
3502
3503 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3504 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3505 # Check whether --enable-gpe was given.
3506 if test "${enable_gpe+set}" = set; then
3507 enableval=$enable_gpe;
3508 if test "$enableval" = yes; then
3509 wx_cv_use_gpe='wxUSE_GPE=yes'
3510 else
3511 wx_cv_use_gpe='wxUSE_GPE=no'
3512 fi
3513
3514 else
3515
3516 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3517
3518 fi
3519
3520
3521 eval "$wx_cv_use_gpe"
3522
3523 if test x"$enablestring" = xdisable; then
3524 if test $wxUSE_GPE = no; then
3525 result=yes
3526 else
3527 result=no
3528 fi
3529 else
3530 result=$wxUSE_GPE
3531 fi
3532
3533 { echo "$as_me:$LINENO: result: $result" >&5
3534 echo "${ECHO_T}$result" >&6; }
3535
3536
3537
3538 { echo "$as_me:$LINENO: checking for toolkit" >&5
3539 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3540
3541
3542
3543 # In Wine, we need to default to MSW, not GTK or MOTIF
3544 if test "$wxUSE_WINE" = "yes"; then
3545 DEFAULT_DEFAULT_wxUSE_GTK=0
3546 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3547 DEFAULT_DEFAULT_wxUSE_MSW=1
3548 wxUSE_SHARED=no
3549 CC=${CC:-winegcc}
3550 CXX=${CXX:-wineg++}
3551 fi
3552
3553
3554 if test "$wxUSE_GUI" = "yes"; then
3555
3556 if test "$USE_BEOS" = 1; then
3557 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3558 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3559 { (exit 1); exit 1; }; }
3560 fi
3561
3562 if test "$TOOLKIT_GIVEN" = 1; then
3563 for toolkit in $ALL_TOOLKITS; do
3564 var=wxUSE_$toolkit
3565 eval "value=\$${var}"
3566 if test "x$value" = "xno"; then
3567 eval "$var=0"
3568 elif test "x$value" != "x"; then
3569 eval "$var=1"
3570 fi
3571
3572 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3573 eval "wx${toolkit}_VERSION=$value"
3574 fi
3575 done
3576 else
3577 for toolkit in $ALL_TOOLKITS; do
3578 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3579 eval "wxUSE_$toolkit=\$${var}"
3580 done
3581 fi
3582
3583 NUM_TOOLKITS=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3584 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3585 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3586
3587 case "${host}" in
3588 *-pc-os2_emx | *-pc-os2-emx )
3589 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3590 esac
3591
3592 case "$NUM_TOOLKITS" in
3593 1)
3594 ;;
3595 0)
3596 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3597 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3598 { (exit 1); exit 1; }; }
3599 ;;
3600 *)
3601 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3602 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3603 { (exit 1); exit 1; }; }
3604 esac
3605
3606 # to be removed when --disable-gtk2 isn't needed
3607 if test "x$wxUSE_GTK2" = "xyes"; then
3608 wxGTK_VERSION=2
3609 elif test "x$wxUSE_GTK2" = "xno"; then
3610 wxGTK_VERSION=1
3611 fi
3612
3613 for toolkit in $ALL_TOOLKITS; do
3614 var=wxUSE_$toolkit
3615 eval "value=\$${var}"
3616 if test "$value" = 1; then
3617 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3618 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3619 echo "${ECHO_T}$toolkit_echo" >&6; }
3620 fi
3621 done
3622 else
3623 if test "x$host_alias" != "x"; then
3624 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3625 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3626 else
3627 { echo "$as_me:$LINENO: result: base only" >&5
3628 echo "${ECHO_T}base only" >&6; }
3629 fi
3630 fi
3631
3632 wxUSE_MAC=0
3633 if test "$wxUSE_OSX_CARBON" = 1 \
3634 -o "$wxUSE_OSX_COCOA" = 1 \
3635 -o "$wxUSE_OSX_IPHONE" = 1; then
3636 wxUSE_MAC=1
3637 fi
3638
3639
3640
3641 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3642 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3643
3644 # Check whether --with-libpng was given.
3645 if test "${with_libpng+set}" = set; then
3646 withval=$with_libpng;
3647 if test "$withval" = yes; then
3648 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3649 elif test "$withval" = no; then
3650 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3651 elif test "$withval" = sys; then
3652 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3653 elif test "$withval" = builtin; then
3654 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3655 else
3656 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3657 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3658 { (exit 1); exit 1; }; }
3659 fi
3660
3661 else
3662
3663 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3664
3665 fi
3666
3667
3668 eval "$wx_cv_use_libpng"
3669
3670 if test "$wxUSE_LIBPNG" = yes; then
3671 { echo "$as_me:$LINENO: result: yes" >&5
3672 echo "${ECHO_T}yes" >&6; }
3673 elif test "$wxUSE_LIBPNG" = no; then
3674 { echo "$as_me:$LINENO: result: no" >&5
3675 echo "${ECHO_T}no" >&6; }
3676 elif test "$wxUSE_LIBPNG" = sys; then
3677 { echo "$as_me:$LINENO: result: system version" >&5
3678 echo "${ECHO_T}system version" >&6; }
3679 elif test "$wxUSE_LIBPNG" = builtin; then
3680 { echo "$as_me:$LINENO: result: builtin version" >&5
3681 echo "${ECHO_T}builtin version" >&6; }
3682 else
3683 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3684 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3685 { (exit 1); exit 1; }; }
3686 fi
3687
3688
3689 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3690 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3691
3692 # Check whether --with-libjpeg was given.
3693 if test "${with_libjpeg+set}" = set; then
3694 withval=$with_libjpeg;
3695 if test "$withval" = yes; then
3696 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3697 elif test "$withval" = no; then
3698 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3699 elif test "$withval" = sys; then
3700 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3701 elif test "$withval" = builtin; then
3702 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3703 else
3704 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3705 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3706 { (exit 1); exit 1; }; }
3707 fi
3708
3709 else
3710
3711 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3712
3713 fi
3714
3715
3716 eval "$wx_cv_use_libjpeg"
3717
3718 if test "$wxUSE_LIBJPEG" = yes; then
3719 { echo "$as_me:$LINENO: result: yes" >&5
3720 echo "${ECHO_T}yes" >&6; }
3721 elif test "$wxUSE_LIBJPEG" = no; then
3722 { echo "$as_me:$LINENO: result: no" >&5
3723 echo "${ECHO_T}no" >&6; }
3724 elif test "$wxUSE_LIBJPEG" = sys; then
3725 { echo "$as_me:$LINENO: result: system version" >&5
3726 echo "${ECHO_T}system version" >&6; }
3727 elif test "$wxUSE_LIBJPEG" = builtin; then
3728 { echo "$as_me:$LINENO: result: builtin version" >&5
3729 echo "${ECHO_T}builtin version" >&6; }
3730 else
3731 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3732 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3733 { (exit 1); exit 1; }; }
3734 fi
3735
3736
3737 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3738 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3739
3740 # Check whether --with-libtiff was given.
3741 if test "${with_libtiff+set}" = set; then
3742 withval=$with_libtiff;
3743 if test "$withval" = yes; then
3744 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3745 elif test "$withval" = no; then
3746 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3747 elif test "$withval" = sys; then
3748 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3749 elif test "$withval" = builtin; then
3750 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3751 else
3752 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3753 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3754 { (exit 1); exit 1; }; }
3755 fi
3756
3757 else
3758
3759 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3760
3761 fi
3762
3763
3764 eval "$wx_cv_use_libtiff"
3765
3766 if test "$wxUSE_LIBTIFF" = yes; then
3767 { echo "$as_me:$LINENO: result: yes" >&5
3768 echo "${ECHO_T}yes" >&6; }
3769 elif test "$wxUSE_LIBTIFF" = no; then
3770 { echo "$as_me:$LINENO: result: no" >&5
3771 echo "${ECHO_T}no" >&6; }
3772 elif test "$wxUSE_LIBTIFF" = sys; then
3773 { echo "$as_me:$LINENO: result: system version" >&5
3774 echo "${ECHO_T}system version" >&6; }
3775 elif test "$wxUSE_LIBTIFF" = builtin; then
3776 { echo "$as_me:$LINENO: result: builtin version" >&5
3777 echo "${ECHO_T}builtin version" >&6; }
3778 else
3779 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3780 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3781 { (exit 1); exit 1; }; }
3782 fi
3783
3784
3785 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3786 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3787
3788 # Check whether --with-libxpm was given.
3789 if test "${with_libxpm+set}" = set; then
3790 withval=$with_libxpm;
3791 if test "$withval" = yes; then
3792 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3793 elif test "$withval" = no; then
3794 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3795 elif test "$withval" = sys; then
3796 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3797 elif test "$withval" = builtin; then
3798 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3799 else
3800 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3801 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3802 { (exit 1); exit 1; }; }
3803 fi
3804
3805 else
3806
3807 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3808
3809 fi
3810
3811
3812 eval "$wx_cv_use_libxpm"
3813
3814 if test "$wxUSE_LIBXPM" = yes; then
3815 { echo "$as_me:$LINENO: result: yes" >&5
3816 echo "${ECHO_T}yes" >&6; }
3817 elif test "$wxUSE_LIBXPM" = no; then
3818 { echo "$as_me:$LINENO: result: no" >&5
3819 echo "${ECHO_T}no" >&6; }
3820 elif test "$wxUSE_LIBXPM" = sys; then
3821 { echo "$as_me:$LINENO: result: system version" >&5
3822 echo "${ECHO_T}system version" >&6; }
3823 elif test "$wxUSE_LIBXPM" = builtin; then
3824 { echo "$as_me:$LINENO: result: builtin version" >&5
3825 echo "${ECHO_T}builtin version" >&6; }
3826 else
3827 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3828 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3829 { (exit 1); exit 1; }; }
3830 fi
3831
3832
3833 withstring=
3834 defaultval=$wxUSE_ALL_FEATURES
3835 if test -z "$defaultval"; then
3836 if test x"$withstring" = xwithout; then
3837 defaultval=yes
3838 else
3839 defaultval=no
3840 fi
3841 fi
3842 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3843 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3844
3845 # Check whether --with-libiconv was given.
3846 if test "${with_libiconv+set}" = set; then
3847 withval=$with_libiconv;
3848 if test "$withval" = yes; then
3849 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3850 else
3851 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3852 fi
3853
3854 else
3855
3856 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3857
3858 fi
3859
3860
3861 eval "$wx_cv_use_libiconv"
3862
3863 if test x"$withstring" = xwithout; then
3864 if test $wxUSE_LIBICONV = yes; then
3865 result=no
3866 else
3867 result=yes
3868 fi
3869 else
3870 result=$wxUSE_LIBICONV
3871 fi
3872
3873 { echo "$as_me:$LINENO: result: $result" >&5
3874 echo "${ECHO_T}$result" >&6; }
3875
3876
3877 withstring=
3878 defaultval=$wxUSE_ALL_FEATURES
3879 if test -z "$defaultval"; then
3880 if test x"$withstring" = xwithout; then
3881 defaultval=yes
3882 else
3883 defaultval=no
3884 fi
3885 fi
3886 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3887 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3888
3889 # Check whether --with-libmspack was given.
3890 if test "${with_libmspack+set}" = set; then
3891 withval=$with_libmspack;
3892 if test "$withval" = yes; then
3893 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3894 else
3895 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3896 fi
3897
3898 else
3899
3900 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3901
3902 fi
3903
3904
3905 eval "$wx_cv_use_libmspack"
3906
3907 if test x"$withstring" = xwithout; then
3908 if test $wxUSE_LIBMSPACK = yes; then
3909 result=no
3910 else
3911 result=yes
3912 fi
3913 else
3914 result=$wxUSE_LIBMSPACK
3915 fi
3916
3917 { echo "$as_me:$LINENO: result: $result" >&5
3918 echo "${ECHO_T}$result" >&6; }
3919
3920
3921 withstring=without
3922 defaultval=$wxUSE_ALL_FEATURES
3923 if test -z "$defaultval"; then
3924 if test x"$withstring" = xwithout; then
3925 defaultval=yes
3926 else
3927 defaultval=no
3928 fi
3929 fi
3930 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3931 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3932
3933 # Check whether --with-gtkprint was given.
3934 if test "${with_gtkprint+set}" = set; then
3935 withval=$with_gtkprint;
3936 if test "$withval" = yes; then
3937 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3938 else
3939 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3940 fi
3941
3942 else
3943
3944 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3945
3946 fi
3947
3948
3949 eval "$wx_cv_use_gtkprint"
3950
3951 if test x"$withstring" = xwithout; then
3952 if test $wxUSE_GTKPRINT = yes; then
3953 result=no
3954 else
3955 result=yes
3956 fi
3957 else
3958 result=$wxUSE_GTKPRINT
3959 fi
3960
3961 { echo "$as_me:$LINENO: result: $result" >&5
3962 echo "${ECHO_T}$result" >&6; }
3963
3964
3965 withstring=without
3966 defaultval=$wxUSE_ALL_FEATURES
3967 if test -z "$defaultval"; then
3968 if test x"$withstring" = xwithout; then
3969 defaultval=yes
3970 else
3971 defaultval=no
3972 fi
3973 fi
3974 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3975 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3976
3977 # Check whether --with-gnomeprint was given.
3978 if test "${with_gnomeprint+set}" = set; then
3979 withval=$with_gnomeprint;
3980 if test "$withval" = yes; then
3981 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3982 else
3983 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3984 fi
3985
3986 else
3987
3988 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3989
3990 fi
3991
3992
3993 eval "$wx_cv_use_gnomeprint"
3994
3995 if test x"$withstring" = xwithout; then
3996 if test $wxUSE_LIBGNOMEPRINT = yes; then
3997 result=no
3998 else
3999 result=yes
4000 fi
4001 else
4002 result=$wxUSE_LIBGNOMEPRINT
4003 fi
4004
4005 { echo "$as_me:$LINENO: result: $result" >&5
4006 echo "${ECHO_T}$result" >&6; }
4007
4008
4009 withstring=
4010 defaultval=$wxUSE_ALL_FEATURES
4011 if test -z "$defaultval"; then
4012 if test x"$withstring" = xwithout; then
4013 defaultval=yes
4014 else
4015 defaultval=no
4016 fi
4017 fi
4018 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4019 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4020
4021 # Check whether --with-gnomevfs was given.
4022 if test "${with_gnomevfs+set}" = set; then
4023 withval=$with_gnomevfs;
4024 if test "$withval" = yes; then
4025 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4026 else
4027 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4028 fi
4029
4030 else
4031
4032 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4033
4034 fi
4035
4036
4037 eval "$wx_cv_use_gnomevfs"
4038
4039 if test x"$withstring" = xwithout; then
4040 if test $wxUSE_LIBGNOMEVFS = yes; then
4041 result=no
4042 else
4043 result=yes
4044 fi
4045 else
4046 result=$wxUSE_LIBGNOMEVFS
4047 fi
4048
4049 { echo "$as_me:$LINENO: result: $result" >&5
4050 echo "${ECHO_T}$result" >&6; }
4051
4052
4053 withstring=
4054 defaultval=$wxUSE_ALL_FEATURES
4055 if test -z "$defaultval"; then
4056 if test x"$withstring" = xwithout; then
4057 defaultval=yes
4058 else
4059 defaultval=no
4060 fi
4061 fi
4062 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4063 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4064
4065 # Check whether --with-hildon was given.
4066 if test "${with_hildon+set}" = set; then
4067 withval=$with_hildon;
4068 if test "$withval" = yes; then
4069 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4070 else
4071 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4072 fi
4073
4074 else
4075
4076 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4077
4078 fi
4079
4080
4081 eval "$wx_cv_use_hildon"
4082
4083 if test x"$withstring" = xwithout; then
4084 if test $wxUSE_LIBHILDON = yes; then
4085 result=no
4086 else
4087 result=yes
4088 fi
4089 else
4090 result=$wxUSE_LIBHILDON
4091 fi
4092
4093 { echo "$as_me:$LINENO: result: $result" >&5
4094 echo "${ECHO_T}$result" >&6; }
4095
4096
4097 withstring=
4098 defaultval=$wxUSE_ALL_FEATURES
4099 if test -z "$defaultval"; then
4100 if test x"$withstring" = xwithout; then
4101 defaultval=yes
4102 else
4103 defaultval=no
4104 fi
4105 fi
4106 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4107 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4108
4109 # Check whether --with-opengl was given.
4110 if test "${with_opengl+set}" = set; then
4111 withval=$with_opengl;
4112 if test "$withval" = yes; then
4113 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4114 else
4115 wx_cv_use_opengl='wxUSE_OPENGL=no'
4116 fi
4117
4118 else
4119
4120 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4121
4122 fi
4123
4124
4125 eval "$wx_cv_use_opengl"
4126
4127 if test x"$withstring" = xwithout; then
4128 if test $wxUSE_OPENGL = yes; then
4129 result=no
4130 else
4131 result=yes
4132 fi
4133 else
4134 result=$wxUSE_OPENGL
4135 fi
4136
4137 { echo "$as_me:$LINENO: result: $result" >&5
4138 echo "${ECHO_T}$result" >&6; }
4139
4140
4141 fi
4142
4143
4144 withstring=
4145 defaultval=$wxUSE_ALL_FEATURES
4146 if test -z "$defaultval"; then
4147 if test x"$withstring" = xwithout; then
4148 defaultval=yes
4149 else
4150 defaultval=no
4151 fi
4152 fi
4153 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4154 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4155
4156 # Check whether --with-dmalloc was given.
4157 if test "${with_dmalloc+set}" = set; then
4158 withval=$with_dmalloc;
4159 if test "$withval" = yes; then
4160 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4161 else
4162 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4163 fi
4164
4165 else
4166
4167 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4168
4169 fi
4170
4171
4172 eval "$wx_cv_use_dmalloc"
4173
4174 if test x"$withstring" = xwithout; then
4175 if test $wxUSE_DMALLOC = yes; then
4176 result=no
4177 else
4178 result=yes
4179 fi
4180 else
4181 result=$wxUSE_DMALLOC
4182 fi
4183
4184 { echo "$as_me:$LINENO: result: $result" >&5
4185 echo "${ECHO_T}$result" >&6; }
4186
4187
4188 withstring=
4189 defaultval=$wxUSE_ALL_FEATURES
4190 if test -z "$defaultval"; then
4191 if test x"$withstring" = xwithout; then
4192 defaultval=yes
4193 else
4194 defaultval=no
4195 fi
4196 fi
4197 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4198 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4199
4200 # Check whether --with-sdl was given.
4201 if test "${with_sdl+set}" = set; then
4202 withval=$with_sdl;
4203 if test "$withval" = yes; then
4204 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4205 else
4206 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4207 fi
4208
4209 else
4210
4211 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4212
4213 fi
4214
4215
4216 eval "$wx_cv_use_sdl"
4217
4218 if test x"$withstring" = xwithout; then
4219 if test $wxUSE_LIBSDL = yes; then
4220 result=no
4221 else
4222 result=yes
4223 fi
4224 else
4225 result=$wxUSE_LIBSDL
4226 fi
4227
4228 { echo "$as_me:$LINENO: result: $result" >&5
4229 echo "${ECHO_T}$result" >&6; }
4230
4231
4232 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4233 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4234
4235 # Check whether --with-regex was given.
4236 if test "${with_regex+set}" = set; then
4237 withval=$with_regex;
4238 if test "$withval" = yes; then
4239 wx_cv_use_regex='wxUSE_REGEX=yes'
4240 elif test "$withval" = no; then
4241 wx_cv_use_regex='wxUSE_REGEX=no'
4242 elif test "$withval" = sys; then
4243 wx_cv_use_regex='wxUSE_REGEX=sys'
4244 elif test "$withval" = builtin; then
4245 wx_cv_use_regex='wxUSE_REGEX=builtin'
4246 else
4247 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4248 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4249 { (exit 1); exit 1; }; }
4250 fi
4251
4252 else
4253
4254 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4255
4256 fi
4257
4258
4259 eval "$wx_cv_use_regex"
4260
4261 if test "$wxUSE_REGEX" = yes; then
4262 { echo "$as_me:$LINENO: result: yes" >&5
4263 echo "${ECHO_T}yes" >&6; }
4264 elif test "$wxUSE_REGEX" = no; then
4265 { echo "$as_me:$LINENO: result: no" >&5
4266 echo "${ECHO_T}no" >&6; }
4267 elif test "$wxUSE_REGEX" = sys; then
4268 { echo "$as_me:$LINENO: result: system version" >&5
4269 echo "${ECHO_T}system version" >&6; }
4270 elif test "$wxUSE_REGEX" = builtin; then
4271 { echo "$as_me:$LINENO: result: builtin version" >&5
4272 echo "${ECHO_T}builtin version" >&6; }
4273 else
4274 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4275 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4276 { (exit 1); exit 1; }; }
4277 fi
4278
4279
4280 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4281 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4282
4283 # Check whether --with-zlib was given.
4284 if test "${with_zlib+set}" = set; then
4285 withval=$with_zlib;
4286 if test "$withval" = yes; then
4287 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4288 elif test "$withval" = no; then
4289 wx_cv_use_zlib='wxUSE_ZLIB=no'
4290 elif test "$withval" = sys; then
4291 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4292 elif test "$withval" = builtin; then
4293 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4294 else
4295 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4296 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4297 { (exit 1); exit 1; }; }
4298 fi
4299
4300 else
4301
4302 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4303
4304 fi
4305
4306
4307 eval "$wx_cv_use_zlib"
4308
4309 if test "$wxUSE_ZLIB" = yes; then
4310 { echo "$as_me:$LINENO: result: yes" >&5
4311 echo "${ECHO_T}yes" >&6; }
4312 elif test "$wxUSE_ZLIB" = no; then
4313 { echo "$as_me:$LINENO: result: no" >&5
4314 echo "${ECHO_T}no" >&6; }
4315 elif test "$wxUSE_ZLIB" = sys; then
4316 { echo "$as_me:$LINENO: result: system version" >&5
4317 echo "${ECHO_T}system version" >&6; }
4318 elif test "$wxUSE_ZLIB" = builtin; then
4319 { echo "$as_me:$LINENO: result: builtin version" >&5
4320 echo "${ECHO_T}builtin version" >&6; }
4321 else
4322 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4323 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4324 { (exit 1); exit 1; }; }
4325 fi
4326
4327
4328 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4329 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4330
4331 # Check whether --with-expat was given.
4332 if test "${with_expat+set}" = set; then
4333 withval=$with_expat;
4334 if test "$withval" = yes; then
4335 wx_cv_use_expat='wxUSE_EXPAT=yes'
4336 elif test "$withval" = no; then
4337 wx_cv_use_expat='wxUSE_EXPAT=no'
4338 elif test "$withval" = sys; then
4339 wx_cv_use_expat='wxUSE_EXPAT=sys'
4340 elif test "$withval" = builtin; then
4341 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4342 else
4343 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4344 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4345 { (exit 1); exit 1; }; }
4346 fi
4347
4348 else
4349
4350 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4351
4352 fi
4353
4354
4355 eval "$wx_cv_use_expat"
4356
4357 if test "$wxUSE_EXPAT" = yes; then
4358 { echo "$as_me:$LINENO: result: yes" >&5
4359 echo "${ECHO_T}yes" >&6; }
4360 elif test "$wxUSE_EXPAT" = no; then
4361 { echo "$as_me:$LINENO: result: no" >&5
4362 echo "${ECHO_T}no" >&6; }
4363 elif test "$wxUSE_EXPAT" = sys; then
4364 { echo "$as_me:$LINENO: result: system version" >&5
4365 echo "${ECHO_T}system version" >&6; }
4366 elif test "$wxUSE_EXPAT" = builtin; then
4367 { echo "$as_me:$LINENO: result: builtin version" >&5
4368 echo "${ECHO_T}builtin version" >&6; }
4369 else
4370 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4371 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4372 { (exit 1); exit 1; }; }
4373 fi
4374
4375
4376 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4377 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4378
4379 # Check whether --with-macosx-sdk was given.
4380 if test "${with_macosx_sdk+set}" = set; then
4381 withval=$with_macosx_sdk;
4382 wxUSE_MACOSX_SDK=$withval
4383 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4384
4385 fi
4386
4387 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4388 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4389
4390 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4391 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4392
4393 # Check whether --with-macosx-version-min was given.
4394 if test "${with_macosx_version_min+set}" = set; then
4395 withval=$with_macosx_version_min;
4396 wxUSE_MACOSX_VERSION_MIN=$withval
4397 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4398
4399 fi
4400
4401 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4402 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4403
4404
4405 { echo "$as_me:$LINENO: checking for --enable-debug" >&5
4406 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6; }
4407 # Check whether --enable-debug was given.
4408 if test "${enable_debug+set}" = set; then
4409 enableval=$enable_debug;
4410 if test "$enableval" = yes; then
4411 wxUSE_DEBUG=yes
4412 elif test "$enableval" = no; then
4413 wxUSE_DEBUG=no
4414 elif test "$enableval" = max; then
4415 wxUSE_DEBUG=yes
4416 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
4417 else
4418 { { echo "$as_me:$LINENO: error: Invalid --enable-debug value, must be yes, no or max" >&5
4419 echo "$as_me: error: Invalid --enable-debug value, must be yes, no or max" >&2;}
4420 { (exit 1); exit 1; }; }
4421 fi
4422
4423 else
4424 wxUSE_DEBUG=default
4425
4426 fi
4427
4428
4429 case "$wxUSE_DEBUG" in
4430 yes)
4431 DEFAULT_wxUSE_DEBUG_FLAG=yes
4432 DEFAULT_wxUSE_DEBUG_INFO=yes
4433
4434 DEFAULT_wxUSE_OPTIMISE=no
4435 ;;
4436
4437 no)
4438 DEFAULT_wxUSE_DEBUG_FLAG=no
4439 DEFAULT_wxUSE_DEBUG_INFO=no
4440 ;;
4441
4442 default)
4443 DEFAULT_wxUSE_DEBUG_FLAG=yes
4444 DEFAULT_wxUSE_DEBUG_INFO=no
4445 ;;
4446 esac
4447
4448
4449 enablestring=disable
4450 defaultval=
4451 if test -z "$defaultval"; then
4452 if test x"$enablestring" = xdisable; then
4453 defaultval=yes
4454 else
4455 defaultval=no
4456 fi
4457 fi
4458
4459 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4460 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4461 # Check whether --enable-debug_flag was given.
4462 if test "${enable_debug_flag+set}" = set; then
4463 enableval=$enable_debug_flag;
4464 if test "$enableval" = yes; then
4465 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4466 else
4467 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4468 fi
4469
4470 else
4471
4472 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4473
4474 fi
4475
4476
4477 eval "$wx_cv_use_debug_flag"
4478
4479 if test x"$enablestring" = xdisable; then
4480 if test $wxUSE_DEBUG_FLAG = no; then
4481 result=yes
4482 else
4483 result=no
4484 fi
4485 else
4486 result=$wxUSE_DEBUG_FLAG
4487 fi
4488
4489 { echo "$as_me:$LINENO: result: $result" >&5
4490 echo "${ECHO_T}$result" >&6; }
4491
4492
4493 enablestring=
4494 defaultval=
4495 if test -z "$defaultval"; then
4496 if test x"$enablestring" = xdisable; then
4497 defaultval=yes
4498 else
4499 defaultval=no
4500 fi
4501 fi
4502
4503 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4504 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4505 # Check whether --enable-debug_info was given.
4506 if test "${enable_debug_info+set}" = set; then
4507 enableval=$enable_debug_info;
4508 if test "$enableval" = yes; then
4509 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4510 else
4511 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4512 fi
4513
4514 else
4515
4516 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4517
4518 fi
4519
4520
4521 eval "$wx_cv_use_debug_info"
4522
4523 if test x"$enablestring" = xdisable; then
4524 if test $wxUSE_DEBUG_INFO = no; then
4525 result=yes
4526 else
4527 result=no
4528 fi
4529 else
4530 result=$wxUSE_DEBUG_INFO
4531 fi
4532
4533 { echo "$as_me:$LINENO: result: $result" >&5
4534 echo "${ECHO_T}$result" >&6; }
4535
4536
4537
4538
4539 enablestring=
4540 defaultval=
4541 if test -z "$defaultval"; then
4542 if test x"$enablestring" = xdisable; then
4543 defaultval=yes
4544 else
4545 defaultval=no
4546 fi
4547 fi
4548
4549 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4550 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4551 # Check whether --enable-debug_gdb was given.
4552 if test "${enable_debug_gdb+set}" = set; then
4553 enableval=$enable_debug_gdb;
4554 if test "$enableval" = yes; then
4555 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4556 else
4557 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4558 fi
4559
4560 else
4561
4562 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4563
4564 fi
4565
4566
4567 eval "$wx_cv_use_debug_gdb"
4568
4569 if test x"$enablestring" = xdisable; then
4570 if test $wxUSE_DEBUG_GDB = no; then
4571 result=yes
4572 else
4573 result=no
4574 fi
4575 else
4576 result=$wxUSE_DEBUG_GDB
4577 fi
4578
4579 { echo "$as_me:$LINENO: result: $result" >&5
4580 echo "${ECHO_T}$result" >&6; }
4581
4582
4583 enablestring=
4584 defaultval=
4585 if test -z "$defaultval"; then
4586 if test x"$enablestring" = xdisable; then
4587 defaultval=yes
4588 else
4589 defaultval=no
4590 fi
4591 fi
4592
4593 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4594 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4595 # Check whether --enable-debug_cntxt was given.
4596 if test "${enable_debug_cntxt+set}" = set; then
4597 enableval=$enable_debug_cntxt;
4598 if test "$enableval" = yes; then
4599 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4600 else
4601 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4602 fi
4603
4604 else
4605
4606 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4607
4608 fi
4609
4610
4611 eval "$wx_cv_use_debug_cntxt"
4612
4613 if test x"$enablestring" = xdisable; then
4614 if test $wxUSE_DEBUG_CONTEXT = no; then
4615 result=yes
4616 else
4617 result=no
4618 fi
4619 else
4620 result=$wxUSE_DEBUG_CONTEXT
4621 fi
4622
4623 { echo "$as_me:$LINENO: result: $result" >&5
4624 echo "${ECHO_T}$result" >&6; }
4625
4626
4627 enablestring=
4628 defaultval=
4629 if test -z "$defaultval"; then
4630 if test x"$enablestring" = xdisable; then
4631 defaultval=yes
4632 else
4633 defaultval=no
4634 fi
4635 fi
4636
4637 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4638 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4639 # Check whether --enable-mem_tracing was given.
4640 if test "${enable_mem_tracing+set}" = set; then
4641 enableval=$enable_mem_tracing;
4642 if test "$enableval" = yes; then
4643 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4644 else
4645 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4646 fi
4647
4648 else
4649
4650 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4651
4652 fi
4653
4654
4655 eval "$wx_cv_use_mem_tracing"
4656
4657 if test x"$enablestring" = xdisable; then
4658 if test $wxUSE_MEM_TRACING = no; then
4659 result=yes
4660 else
4661 result=no
4662 fi
4663 else
4664 result=$wxUSE_MEM_TRACING
4665 fi
4666
4667 { echo "$as_me:$LINENO: result: $result" >&5
4668 echo "${ECHO_T}$result" >&6; }
4669
4670
4671
4672
4673 enablestring=disable
4674 defaultval=
4675 if test -z "$defaultval"; then
4676 if test x"$enablestring" = xdisable; then
4677 defaultval=yes
4678 else
4679 defaultval=no
4680 fi
4681 fi
4682
4683 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4684 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4685 # Check whether --enable-shared was given.
4686 if test "${enable_shared+set}" = set; then
4687 enableval=$enable_shared;
4688 if test "$enableval" = yes; then
4689 wx_cv_use_shared='wxUSE_SHARED=yes'
4690 else
4691 wx_cv_use_shared='wxUSE_SHARED=no'
4692 fi
4693
4694 else
4695
4696 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4697
4698 fi
4699
4700
4701 eval "$wx_cv_use_shared"
4702
4703 if test x"$enablestring" = xdisable; then
4704 if test $wxUSE_SHARED = no; then
4705 result=yes
4706 else
4707 result=no
4708 fi
4709 else
4710 result=$wxUSE_SHARED
4711 fi
4712
4713 { echo "$as_me:$LINENO: result: $result" >&5
4714 echo "${ECHO_T}$result" >&6; }
4715
4716
4717 enablestring=
4718 defaultval=
4719 if test -z "$defaultval"; then
4720 if test x"$enablestring" = xdisable; then
4721 defaultval=yes
4722 else
4723 defaultval=no
4724 fi
4725 fi
4726
4727 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4728 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4729 # Check whether --enable-stl was given.
4730 if test "${enable_stl+set}" = set; then
4731 enableval=$enable_stl;
4732 if test "$enableval" = yes; then
4733 wx_cv_use_stl='wxUSE_STL=yes'
4734 else
4735 wx_cv_use_stl='wxUSE_STL=no'
4736 fi
4737
4738 else
4739
4740 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4741
4742 fi
4743
4744
4745 eval "$wx_cv_use_stl"
4746
4747 if test x"$enablestring" = xdisable; then
4748 if test $wxUSE_STL = no; then
4749 result=yes
4750 else
4751 result=no
4752 fi
4753 else
4754 result=$wxUSE_STL
4755 fi
4756
4757 { echo "$as_me:$LINENO: result: $result" >&5
4758 echo "${ECHO_T}$result" >&6; }
4759
4760
4761 enablestring=
4762 defaultval=
4763 if test -z "$defaultval"; then
4764 if test x"$enablestring" = xdisable; then
4765 defaultval=yes
4766 else
4767 defaultval=no
4768 fi
4769 fi
4770
4771 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4772 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4773 # Check whether --enable-std_iostreams was given.
4774 if test "${enable_std_iostreams+set}" = set; then
4775 enableval=$enable_std_iostreams;
4776 if test "$enableval" = yes; then
4777 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4778 else
4779 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4780 fi
4781
4782 else
4783
4784 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4785
4786 fi
4787
4788
4789 eval "$wx_cv_use_std_iostreams"
4790
4791 if test x"$enablestring" = xdisable; then
4792 if test $wxUSE_STD_IOSTREAM = no; then
4793 result=yes
4794 else
4795 result=no
4796 fi
4797 else
4798 result=$wxUSE_STD_IOSTREAM
4799 fi
4800
4801 { echo "$as_me:$LINENO: result: $result" >&5
4802 echo "${ECHO_T}$result" >&6; }
4803
4804
4805 enablestring=
4806 defaultval=
4807 if test -z "$defaultval"; then
4808 if test x"$enablestring" = xdisable; then
4809 defaultval=yes
4810 else
4811 defaultval=no
4812 fi
4813 fi
4814
4815 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4816 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4817 # Check whether --enable-std_string was given.
4818 if test "${enable_std_string+set}" = set; then
4819 enableval=$enable_std_string;
4820 if test "$enableval" = yes; then
4821 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4822 else
4823 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4824 fi
4825
4826 else
4827
4828 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4829
4830 fi
4831
4832
4833 eval "$wx_cv_use_std_string"
4834
4835 if test x"$enablestring" = xdisable; then
4836 if test $wxUSE_STD_STRING = no; then
4837 result=yes
4838 else
4839 result=no
4840 fi
4841 else
4842 result=$wxUSE_STD_STRING
4843 fi
4844
4845 { echo "$as_me:$LINENO: result: $result" >&5
4846 echo "${ECHO_T}$result" >&6; }
4847
4848
4849 enablestring=disable
4850 defaultval=
4851 if test -z "$defaultval"; then
4852 if test x"$enablestring" = xdisable; then
4853 defaultval=yes
4854 else
4855 defaultval=no
4856 fi
4857 fi
4858
4859 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4860 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4861 # Check whether --enable-unicode was given.
4862 if test "${enable_unicode+set}" = set; then
4863 enableval=$enable_unicode;
4864 if test "$enableval" = yes; then
4865 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4866 else
4867 wx_cv_use_unicode='wxUSE_UNICODE=no'
4868 fi
4869
4870 else
4871
4872 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4873
4874 fi
4875
4876
4877 eval "$wx_cv_use_unicode"
4878
4879 if test x"$enablestring" = xdisable; then
4880 if test $wxUSE_UNICODE = no; then
4881 result=yes
4882 else
4883 result=no
4884 fi
4885 else
4886 result=$wxUSE_UNICODE
4887 fi
4888
4889 { echo "$as_me:$LINENO: result: $result" >&5
4890 echo "${ECHO_T}$result" >&6; }
4891
4892
4893 enablestring=
4894 defaultval=
4895 if test -z "$defaultval"; then
4896 if test x"$enablestring" = xdisable; then
4897 defaultval=yes
4898 else
4899 defaultval=no
4900 fi
4901 fi
4902
4903 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4904 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4905 # Check whether --enable-mslu was given.
4906 if test "${enable_mslu+set}" = set; then
4907 enableval=$enable_mslu;
4908 if test "$enableval" = yes; then
4909 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4910 else
4911 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4912 fi
4913
4914 else
4915
4916 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4917
4918 fi
4919
4920
4921 eval "$wx_cv_use_mslu"
4922
4923 if test x"$enablestring" = xdisable; then
4924 if test $wxUSE_UNICODE_MSLU = no; then
4925 result=yes
4926 else
4927 result=no
4928 fi
4929 else
4930 result=$wxUSE_UNICODE_MSLU
4931 fi
4932
4933 { echo "$as_me:$LINENO: result: $result" >&5
4934 echo "${ECHO_T}$result" >&6; }
4935
4936
4937 enablestring=
4938 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4939 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4940 # Check whether --enable-utf8 was given.
4941 if test "${enable_utf8+set}" = set; then
4942 enableval=$enable_utf8;
4943 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4944
4945 else
4946
4947 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4948
4949 fi
4950
4951
4952 eval "$wx_cv_use_utf8"
4953
4954 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4955 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4956
4957
4958 enablestring=
4959 defaultval=
4960 if test -z "$defaultval"; then
4961 if test x"$enablestring" = xdisable; then
4962 defaultval=yes
4963 else
4964 defaultval=no
4965 fi
4966 fi
4967
4968 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4969 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4970 # Check whether --enable-utf8only was given.
4971 if test "${enable_utf8only+set}" = set; then
4972 enableval=$enable_utf8only;
4973 if test "$enableval" = yes; then
4974 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4975 else
4976 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4977 fi
4978
4979 else
4980
4981 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4982
4983 fi
4984
4985
4986 eval "$wx_cv_use_utf8only"
4987
4988 if test x"$enablestring" = xdisable; then
4989 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
4990 result=yes
4991 else
4992 result=no
4993 fi
4994 else
4995 result=$wxUSE_UNICODE_UTF8_LOCALE
4996 fi
4997
4998 { echo "$as_me:$LINENO: result: $result" >&5
4999 echo "${ECHO_T}$result" >&6; }
5000
5001
5002 enablestring=
5003 defaultval=
5004 if test -z "$defaultval"; then
5005 if test x"$enablestring" = xdisable; then
5006 defaultval=yes
5007 else
5008 defaultval=no
5009 fi
5010 fi
5011
5012 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5013 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5014 # Check whether --enable-extended_rtti was given.
5015 if test "${enable_extended_rtti+set}" = set; then
5016 enableval=$enable_extended_rtti;
5017 if test "$enableval" = yes; then
5018 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
5019 else
5020 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
5021 fi
5022
5023 else
5024
5025 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5026
5027 fi
5028
5029
5030 eval "$wx_cv_use_extended_rtti"
5031
5032 if test x"$enablestring" = xdisable; then
5033 if test $wxUSE_EXTENDED_RTTI = no; then
5034 result=yes
5035 else
5036 result=no
5037 fi
5038 else
5039 result=$wxUSE_EXTENDED_RTTI
5040 fi
5041
5042 { echo "$as_me:$LINENO: result: $result" >&5
5043 echo "${ECHO_T}$result" >&6; }
5044
5045 if test "$USE_OS2" = 1; then
5046 DEFAULT_wxUSE_OMF=no
5047
5048 enablestring=
5049 defaultval=
5050 if test -z "$defaultval"; then
5051 if test x"$enablestring" = xdisable; then
5052 defaultval=yes
5053 else
5054 defaultval=no
5055 fi
5056 fi
5057
5058 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5059 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5060 # Check whether --enable-omf was given.
5061 if test "${enable_omf+set}" = set; then
5062 enableval=$enable_omf;
5063 if test "$enableval" = yes; then
5064 wx_cv_use_omf='wxUSE_OMF=yes'
5065 else
5066 wx_cv_use_omf='wxUSE_OMF=no'
5067 fi
5068
5069 else
5070
5071 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5072
5073 fi
5074
5075
5076 eval "$wx_cv_use_omf"
5077
5078 if test x"$enablestring" = xdisable; then
5079 if test $wxUSE_OMF = no; then
5080 result=yes
5081 else
5082 result=no
5083 fi
5084 else
5085 result=$wxUSE_OMF
5086 fi
5087
5088 { echo "$as_me:$LINENO: result: $result" >&5
5089 echo "${ECHO_T}$result" >&6; }
5090
5091 fi
5092
5093
5094 enablestring=disable
5095 defaultval=
5096 if test -z "$defaultval"; then
5097 if test x"$enablestring" = xdisable; then
5098 defaultval=yes
5099 else
5100 defaultval=no
5101 fi
5102 fi
5103
5104 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
5105 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
5106 # Check whether --enable-optimise was given.
5107 if test "${enable_optimise+set}" = set; then
5108 enableval=$enable_optimise;
5109 if test "$enableval" = yes; then
5110 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
5111 else
5112 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
5113 fi
5114
5115 else
5116
5117 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5118
5119 fi
5120
5121
5122 eval "$wx_cv_use_optimise"
5123
5124 if test x"$enablestring" = xdisable; then
5125 if test $wxUSE_OPTIMISE = no; then
5126 result=yes
5127 else
5128 result=no
5129 fi
5130 else
5131 result=$wxUSE_OPTIMISE
5132 fi
5133
5134 { echo "$as_me:$LINENO: result: $result" >&5
5135 echo "${ECHO_T}$result" >&6; }
5136
5137
5138
5139 enablestring=
5140 defaultval=
5141 if test -z "$defaultval"; then
5142 if test x"$enablestring" = xdisable; then
5143 defaultval=yes
5144 else
5145 defaultval=no
5146 fi
5147 fi
5148
5149 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5150 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5151 # Check whether --enable-profile was given.
5152 if test "${enable_profile+set}" = set; then
5153 enableval=$enable_profile;
5154 if test "$enableval" = yes; then
5155 wx_cv_use_profile='wxUSE_PROFILE=yes'
5156 else
5157 wx_cv_use_profile='wxUSE_PROFILE=no'
5158 fi
5159
5160 else
5161
5162 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5163
5164 fi
5165
5166
5167 eval "$wx_cv_use_profile"
5168
5169 if test x"$enablestring" = xdisable; then
5170 if test $wxUSE_PROFILE = no; then
5171 result=yes
5172 else
5173 result=no
5174 fi
5175 else
5176 result=$wxUSE_PROFILE
5177 fi
5178
5179 { echo "$as_me:$LINENO: result: $result" >&5
5180 echo "${ECHO_T}$result" >&6; }
5181
5182
5183 enablestring=
5184 defaultval=
5185 if test -z "$defaultval"; then
5186 if test x"$enablestring" = xdisable; then
5187 defaultval=yes
5188 else
5189 defaultval=no
5190 fi
5191 fi
5192
5193 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5194 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5195 # Check whether --enable-no_rtti was given.
5196 if test "${enable_no_rtti+set}" = set; then
5197 enableval=$enable_no_rtti;
5198 if test "$enableval" = yes; then
5199 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5200 else
5201 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5202 fi
5203
5204 else
5205
5206 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5207
5208 fi
5209
5210
5211 eval "$wx_cv_use_no_rtti"
5212
5213 if test x"$enablestring" = xdisable; then
5214 if test $wxUSE_NO_RTTI = no; then
5215 result=yes
5216 else
5217 result=no
5218 fi
5219 else
5220 result=$wxUSE_NO_RTTI
5221 fi
5222
5223 { echo "$as_me:$LINENO: result: $result" >&5
5224 echo "${ECHO_T}$result" >&6; }
5225
5226
5227 enablestring=
5228 defaultval=
5229 if test -z "$defaultval"; then
5230 if test x"$enablestring" = xdisable; then
5231 defaultval=yes
5232 else
5233 defaultval=no
5234 fi
5235 fi
5236
5237 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5238 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5239 # Check whether --enable-no_exceptions was given.
5240 if test "${enable_no_exceptions+set}" = set; then
5241 enableval=$enable_no_exceptions;
5242 if test "$enableval" = yes; then
5243 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5244 else
5245 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5246 fi
5247
5248 else
5249
5250 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5251
5252 fi
5253
5254
5255 eval "$wx_cv_use_no_exceptions"
5256
5257 if test x"$enablestring" = xdisable; then
5258 if test $wxUSE_NO_EXCEPTIONS = no; then
5259 result=yes
5260 else
5261 result=no
5262 fi
5263 else
5264 result=$wxUSE_NO_EXCEPTIONS
5265 fi
5266
5267 { echo "$as_me:$LINENO: result: $result" >&5
5268 echo "${ECHO_T}$result" >&6; }
5269
5270
5271 enablestring=
5272 defaultval=
5273 if test -z "$defaultval"; then
5274 if test x"$enablestring" = xdisable; then
5275 defaultval=yes
5276 else
5277 defaultval=no
5278 fi
5279 fi
5280
5281 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5282 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5283 # Check whether --enable-permissive was given.
5284 if test "${enable_permissive+set}" = set; then
5285 enableval=$enable_permissive;
5286 if test "$enableval" = yes; then
5287 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5288 else
5289 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5290 fi
5291
5292 else
5293
5294 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5295
5296 fi
5297
5298
5299 eval "$wx_cv_use_permissive"
5300
5301 if test x"$enablestring" = xdisable; then
5302 if test $wxUSE_PERMISSIVE = no; then
5303 result=yes
5304 else
5305 result=no
5306 fi
5307 else
5308 result=$wxUSE_PERMISSIVE
5309 fi
5310
5311 { echo "$as_me:$LINENO: result: $result" >&5
5312 echo "${ECHO_T}$result" >&6; }
5313
5314
5315 enablestring=
5316 defaultval=
5317 if test -z "$defaultval"; then
5318 if test x"$enablestring" = xdisable; then
5319 defaultval=yes
5320 else
5321 defaultval=no
5322 fi
5323 fi
5324
5325 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5326 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5327 # Check whether --enable-no_deps was given.
5328 if test "${enable_no_deps+set}" = set; then
5329 enableval=$enable_no_deps;
5330 if test "$enableval" = yes; then
5331 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5332 else
5333 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5334 fi
5335
5336 else
5337
5338 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5339
5340 fi
5341
5342
5343 eval "$wx_cv_use_no_deps"
5344
5345 if test x"$enablestring" = xdisable; then
5346 if test $wxUSE_NO_DEPS = no; then
5347 result=yes
5348 else
5349 result=no
5350 fi
5351 else
5352 result=$wxUSE_NO_DEPS
5353 fi
5354
5355 { echo "$as_me:$LINENO: result: $result" >&5
5356 echo "${ECHO_T}$result" >&6; }
5357
5358
5359 enablestring=disable
5360 defaultval=
5361 if test -z "$defaultval"; then
5362 if test x"$enablestring" = xdisable; then
5363 defaultval=yes
5364 else
5365 defaultval=no
5366 fi
5367 fi
5368
5369 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5370 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5371 # Check whether --enable-vararg_macros was given.
5372 if test "${enable_vararg_macros+set}" = set; then
5373 enableval=$enable_vararg_macros;
5374 if test "$enableval" = yes; then
5375 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5376 else
5377 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5378 fi
5379
5380 else
5381
5382 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5383
5384 fi
5385
5386
5387 eval "$wx_cv_use_vararg_macros"
5388
5389 if test x"$enablestring" = xdisable; then
5390 if test $wxUSE_VARARG_MACROS = no; then
5391 result=yes
5392 else
5393 result=no
5394 fi
5395 else
5396 result=$wxUSE_VARARG_MACROS
5397 fi
5398
5399 { echo "$as_me:$LINENO: result: $result" >&5
5400 echo "${ECHO_T}$result" >&6; }
5401
5402
5403 enablestring=
5404 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5405 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5406 # Check whether --enable-universal_binary was given.
5407 if test "${enable_universal_binary+set}" = set; then
5408 enableval=$enable_universal_binary;
5409 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5410
5411 else
5412
5413 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5414
5415 fi
5416
5417
5418 eval "$wx_cv_use_universal_binary"
5419
5420 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5421 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5422
5423
5424
5425 enablestring=
5426 defaultval=
5427 if test -z "$defaultval"; then
5428 if test x"$enablestring" = xdisable; then
5429 defaultval=yes
5430 else
5431 defaultval=no
5432 fi
5433 fi
5434
5435 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5436 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5437 # Check whether --enable-compat26 was given.
5438 if test "${enable_compat26+set}" = set; then
5439 enableval=$enable_compat26;
5440 if test "$enableval" = yes; then
5441 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5442 else
5443 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5444 fi
5445
5446 else
5447
5448 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5449
5450 fi
5451
5452
5453 eval "$wx_cv_use_compat26"
5454
5455 if test x"$enablestring" = xdisable; then
5456 if test $WXWIN_COMPATIBILITY_2_6 = no; then
5457 result=yes
5458 else
5459 result=no
5460 fi
5461 else
5462 result=$WXWIN_COMPATIBILITY_2_6
5463 fi
5464
5465 { echo "$as_me:$LINENO: result: $result" >&5
5466 echo "${ECHO_T}$result" >&6; }
5467
5468
5469 enablestring=disable
5470 defaultval=
5471 if test -z "$defaultval"; then
5472 if test x"$enablestring" = xdisable; then
5473 defaultval=yes
5474 else
5475 defaultval=no
5476 fi
5477 fi
5478
5479 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5480 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5481 # Check whether --enable-compat28 was given.
5482 if test "${enable_compat28+set}" = set; then
5483 enableval=$enable_compat28;
5484 if test "$enableval" = yes; then
5485 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5486 else
5487 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5488 fi
5489
5490 else
5491
5492 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5493
5494 fi
5495
5496
5497 eval "$wx_cv_use_compat28"
5498
5499 if test x"$enablestring" = xdisable; then
5500 if test $WXWIN_COMPATIBILITY_2_8 = no; then
5501 result=yes
5502 else
5503 result=no
5504 fi
5505 else
5506 result=$WXWIN_COMPATIBILITY_2_8
5507 fi
5508
5509 { echo "$as_me:$LINENO: result: $result" >&5
5510 echo "${ECHO_T}$result" >&6; }
5511
5512
5513
5514 enablestring=disable
5515 defaultval=
5516 if test -z "$defaultval"; then
5517 if test x"$enablestring" = xdisable; then
5518 defaultval=yes
5519 else
5520 defaultval=no
5521 fi
5522 fi
5523
5524 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5525 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5526 # Check whether --enable-rpath was given.
5527 if test "${enable_rpath+set}" = set; then
5528 enableval=$enable_rpath;
5529 if test "$enableval" = yes; then
5530 wx_cv_use_rpath='wxUSE_RPATH=yes'
5531 else
5532 wx_cv_use_rpath='wxUSE_RPATH=no'
5533 fi
5534
5535 else
5536
5537 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5538
5539 fi
5540
5541
5542 eval "$wx_cv_use_rpath"
5543
5544 if test x"$enablestring" = xdisable; then
5545 if test $wxUSE_RPATH = no; then
5546 result=yes
5547 else
5548 result=no
5549 fi
5550 else
5551 result=$wxUSE_RPATH
5552 fi
5553
5554 { echo "$as_me:$LINENO: result: $result" >&5
5555 echo "${ECHO_T}$result" >&6; }
5556
5557
5558
5559 enablestring=
5560 defaultval=
5561 if test -z "$defaultval"; then
5562 if test x"$enablestring" = xdisable; then
5563 defaultval=yes
5564 else
5565 defaultval=no
5566 fi
5567 fi
5568
5569 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5570 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5571 # Check whether --enable-objc_uniquifying was given.
5572 if test "${enable_objc_uniquifying+set}" = set; then
5573 enableval=$enable_objc_uniquifying;
5574 if test "$enableval" = yes; then
5575 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5576 else
5577 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5578 fi
5579
5580 else
5581
5582 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5583
5584 fi
5585
5586
5587 eval "$wx_cv_use_objc_uniquifying"
5588
5589 if test x"$enablestring" = xdisable; then
5590 if test $wxUSE_OBJC_UNIQUIFYING = no; then
5591 result=yes
5592 else
5593 result=no
5594 fi
5595 else
5596 result=$wxUSE_OBJC_UNIQUIFYING
5597 fi
5598
5599 { echo "$as_me:$LINENO: result: $result" >&5
5600 echo "${ECHO_T}$result" >&6; }
5601
5602
5603
5604 enablestring=disable
5605 defaultval=
5606 if test -z "$defaultval"; then
5607 if test x"$enablestring" = xdisable; then
5608 defaultval=yes
5609 else
5610 defaultval=no
5611 fi
5612 fi
5613
5614 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5615 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5616 # Check whether --enable-visibility was given.
5617 if test "${enable_visibility+set}" = set; then
5618 enableval=$enable_visibility;
5619 if test "$enableval" = yes; then
5620 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5621 else
5622 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5623 fi
5624
5625 else
5626
5627 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5628
5629 fi
5630
5631
5632 eval "$wx_cv_use_visibility"
5633
5634 if test x"$enablestring" = xdisable; then
5635 if test $wxUSE_VISIBILITY = no; then
5636 result=yes
5637 else
5638 result=no
5639 fi
5640 else
5641 result=$wxUSE_VISIBILITY
5642 fi
5643
5644 { echo "$as_me:$LINENO: result: $result" >&5
5645 echo "${ECHO_T}$result" >&6; }
5646
5647
5648 enablestring=disable
5649 defaultval=
5650 if test -z "$defaultval"; then
5651 if test x"$enablestring" = xdisable; then
5652 defaultval=yes
5653 else
5654 defaultval=no
5655 fi
5656 fi
5657
5658 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tls" >&5
5659 echo $ECHO_N "checking for --${enablestring:-enable}-tls... $ECHO_C" >&6; }
5660 # Check whether --enable-tls was given.
5661 if test "${enable_tls+set}" = set; then
5662 enableval=$enable_tls;
5663 if test "$enableval" = yes; then
5664 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
5665 else
5666 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
5667 fi
5668
5669 else
5670
5671 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5672
5673 fi
5674
5675
5676 eval "$wx_cv_use_tls"
5677
5678 if test x"$enablestring" = xdisable; then
5679 if test $wxUSE_COMPILER_TLS = no; then
5680 result=yes
5681 else
5682 result=no
5683 fi
5684 else
5685 result=$wxUSE_COMPILER_TLS
5686 fi
5687
5688 { echo "$as_me:$LINENO: result: $result" >&5
5689 echo "${ECHO_T}$result" >&6; }
5690
5691
5692
5693
5694 enablestring=
5695 defaultval=$wxUSE_ALL_FEATURES
5696 if test -z "$defaultval"; then
5697 if test x"$enablestring" = xdisable; then
5698 defaultval=yes
5699 else
5700 defaultval=no
5701 fi
5702 fi
5703
5704 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5705 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5706 # Check whether --enable-intl was given.
5707 if test "${enable_intl+set}" = set; then
5708 enableval=$enable_intl;
5709 if test "$enableval" = yes; then
5710 wx_cv_use_intl='wxUSE_INTL=yes'
5711 else
5712 wx_cv_use_intl='wxUSE_INTL=no'
5713 fi
5714
5715 else
5716
5717 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5718
5719 fi
5720
5721
5722 eval "$wx_cv_use_intl"
5723
5724 if test x"$enablestring" = xdisable; then
5725 if test $wxUSE_INTL = no; then
5726 result=yes
5727 else
5728 result=no
5729 fi
5730 else
5731 result=$wxUSE_INTL
5732 fi
5733
5734 { echo "$as_me:$LINENO: result: $result" >&5
5735 echo "${ECHO_T}$result" >&6; }
5736
5737
5738 enablestring=
5739 defaultval=$wxUSE_ALL_FEATURES
5740 if test -z "$defaultval"; then
5741 if test x"$enablestring" = xdisable; then
5742 defaultval=yes
5743 else
5744 defaultval=no
5745 fi
5746 fi
5747
5748 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5749 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5750 # Check whether --enable-xlocale was given.
5751 if test "${enable_xlocale+set}" = set; then
5752 enableval=$enable_xlocale;
5753 if test "$enableval" = yes; then
5754 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5755 else
5756 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5757 fi
5758
5759 else
5760
5761 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5762
5763 fi
5764
5765
5766 eval "$wx_cv_use_xlocale"
5767
5768 if test x"$enablestring" = xdisable; then
5769 if test $wxUSE_XLOCALE = no; then
5770 result=yes
5771 else
5772 result=no
5773 fi
5774 else
5775 result=$wxUSE_XLOCALE
5776 fi
5777
5778 { echo "$as_me:$LINENO: result: $result" >&5
5779 echo "${ECHO_T}$result" >&6; }
5780
5781
5782 enablestring=
5783 defaultval=$wxUSE_ALL_FEATURES
5784 if test -z "$defaultval"; then
5785 if test x"$enablestring" = xdisable; then
5786 defaultval=yes
5787 else
5788 defaultval=no
5789 fi
5790 fi
5791
5792 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5793 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5794 # Check whether --enable-config was given.
5795 if test "${enable_config+set}" = set; then
5796 enableval=$enable_config;
5797 if test "$enableval" = yes; then
5798 wx_cv_use_config='wxUSE_CONFIG=yes'
5799 else
5800 wx_cv_use_config='wxUSE_CONFIG=no'
5801 fi
5802
5803 else
5804
5805 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5806
5807 fi
5808
5809
5810 eval "$wx_cv_use_config"
5811
5812 if test x"$enablestring" = xdisable; then
5813 if test $wxUSE_CONFIG = no; then
5814 result=yes
5815 else
5816 result=no
5817 fi
5818 else
5819 result=$wxUSE_CONFIG
5820 fi
5821
5822 { echo "$as_me:$LINENO: result: $result" >&5
5823 echo "${ECHO_T}$result" >&6; }
5824
5825
5826
5827 enablestring=
5828 defaultval=$wxUSE_ALL_FEATURES
5829 if test -z "$defaultval"; then
5830 if test x"$enablestring" = xdisable; then
5831 defaultval=yes
5832 else
5833 defaultval=no
5834 fi
5835 fi
5836
5837 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5838 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5839 # Check whether --enable-protocols was given.
5840 if test "${enable_protocols+set}" = set; then
5841 enableval=$enable_protocols;
5842 if test "$enableval" = yes; then
5843 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5844 else
5845 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5846 fi
5847
5848 else
5849
5850 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5851
5852 fi
5853
5854
5855 eval "$wx_cv_use_protocols"
5856
5857 if test x"$enablestring" = xdisable; then
5858 if test $wxUSE_PROTOCOL = no; then
5859 result=yes
5860 else
5861 result=no
5862 fi
5863 else
5864 result=$wxUSE_PROTOCOL
5865 fi
5866
5867 { echo "$as_me:$LINENO: result: $result" >&5
5868 echo "${ECHO_T}$result" >&6; }
5869
5870
5871 enablestring=
5872 defaultval=$wxUSE_ALL_FEATURES
5873 if test -z "$defaultval"; then
5874 if test x"$enablestring" = xdisable; then
5875 defaultval=yes
5876 else
5877 defaultval=no
5878 fi
5879 fi
5880
5881 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5882 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5883 # Check whether --enable-ftp was given.
5884 if test "${enable_ftp+set}" = set; then
5885 enableval=$enable_ftp;
5886 if test "$enableval" = yes; then
5887 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5888 else
5889 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5890 fi
5891
5892 else
5893
5894 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5895
5896 fi
5897
5898
5899 eval "$wx_cv_use_ftp"
5900
5901 if test x"$enablestring" = xdisable; then
5902 if test $wxUSE_PROTOCOL_FTP = no; then
5903 result=yes
5904 else
5905 result=no
5906 fi
5907 else
5908 result=$wxUSE_PROTOCOL_FTP
5909 fi
5910
5911 { echo "$as_me:$LINENO: result: $result" >&5
5912 echo "${ECHO_T}$result" >&6; }
5913
5914
5915 enablestring=
5916 defaultval=$wxUSE_ALL_FEATURES
5917 if test -z "$defaultval"; then
5918 if test x"$enablestring" = xdisable; then
5919 defaultval=yes
5920 else
5921 defaultval=no
5922 fi
5923 fi
5924
5925 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5926 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5927 # Check whether --enable-http was given.
5928 if test "${enable_http+set}" = set; then
5929 enableval=$enable_http;
5930 if test "$enableval" = yes; then
5931 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5932 else
5933 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5934 fi
5935
5936 else
5937
5938 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5939
5940 fi
5941
5942
5943 eval "$wx_cv_use_http"
5944
5945 if test x"$enablestring" = xdisable; then
5946 if test $wxUSE_PROTOCOL_HTTP = no; then
5947 result=yes
5948 else
5949 result=no
5950 fi
5951 else
5952 result=$wxUSE_PROTOCOL_HTTP
5953 fi
5954
5955 { echo "$as_me:$LINENO: result: $result" >&5
5956 echo "${ECHO_T}$result" >&6; }
5957
5958
5959 enablestring=
5960 defaultval=$wxUSE_ALL_FEATURES
5961 if test -z "$defaultval"; then
5962 if test x"$enablestring" = xdisable; then
5963 defaultval=yes
5964 else
5965 defaultval=no
5966 fi
5967 fi
5968
5969 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5970 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5971 # Check whether --enable-fileproto was given.
5972 if test "${enable_fileproto+set}" = set; then
5973 enableval=$enable_fileproto;
5974 if test "$enableval" = yes; then
5975 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5976 else
5977 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5978 fi
5979
5980 else
5981
5982 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5983
5984 fi
5985
5986
5987 eval "$wx_cv_use_fileproto"
5988
5989 if test x"$enablestring" = xdisable; then
5990 if test $wxUSE_PROTOCOL_FILE = no; then
5991 result=yes
5992 else
5993 result=no
5994 fi
5995 else
5996 result=$wxUSE_PROTOCOL_FILE
5997 fi
5998
5999 { echo "$as_me:$LINENO: result: $result" >&5
6000 echo "${ECHO_T}$result" >&6; }
6001
6002
6003 enablestring=
6004 defaultval=$wxUSE_ALL_FEATURES
6005 if test -z "$defaultval"; then
6006 if test x"$enablestring" = xdisable; then
6007 defaultval=yes
6008 else
6009 defaultval=no
6010 fi
6011 fi
6012
6013 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6014 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6015 # Check whether --enable-sockets was given.
6016 if test "${enable_sockets+set}" = set; then
6017 enableval=$enable_sockets;
6018 if test "$enableval" = yes; then
6019 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6020 else
6021 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6022 fi
6023
6024 else
6025
6026 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6027
6028 fi
6029
6030
6031 eval "$wx_cv_use_sockets"
6032
6033 if test x"$enablestring" = xdisable; then
6034 if test $wxUSE_SOCKETS = no; then
6035 result=yes
6036 else
6037 result=no
6038 fi
6039 else
6040 result=$wxUSE_SOCKETS
6041 fi
6042
6043 { echo "$as_me:$LINENO: result: $result" >&5
6044 echo "${ECHO_T}$result" >&6; }
6045
6046
6047 enablestring=
6048 defaultval=$wxUSE_ALL_FEATURES
6049 if test -z "$defaultval"; then
6050 if test x"$enablestring" = xdisable; then
6051 defaultval=yes
6052 else
6053 defaultval=no
6054 fi
6055 fi
6056
6057 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
6058 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
6059 # Check whether --enable-ipv6 was given.
6060 if test "${enable_ipv6+set}" = set; then
6061 enableval=$enable_ipv6;
6062 if test "$enableval" = yes; then
6063 wx_cv_use_ipv6='wxUSE_IPV6=yes'
6064 else
6065 wx_cv_use_ipv6='wxUSE_IPV6=no'
6066 fi
6067
6068 else
6069
6070 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6071
6072 fi
6073
6074
6075 eval "$wx_cv_use_ipv6"
6076
6077 if test x"$enablestring" = xdisable; then
6078 if test $wxUSE_IPV6 = no; then
6079 result=yes
6080 else
6081 result=no
6082 fi
6083 else
6084 result=$wxUSE_IPV6
6085 fi
6086
6087 { echo "$as_me:$LINENO: result: $result" >&5
6088 echo "${ECHO_T}$result" >&6; }
6089
6090
6091 enablestring=
6092 defaultval=$wxUSE_ALL_FEATURES
6093 if test -z "$defaultval"; then
6094 if test x"$enablestring" = xdisable; then
6095 defaultval=yes
6096 else
6097 defaultval=no
6098 fi
6099 fi
6100
6101 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6102 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6103 # Check whether --enable-ole was given.
6104 if test "${enable_ole+set}" = set; then
6105 enableval=$enable_ole;
6106 if test "$enableval" = yes; then
6107 wx_cv_use_ole='wxUSE_OLE=yes'
6108 else
6109 wx_cv_use_ole='wxUSE_OLE=no'
6110 fi
6111
6112 else
6113
6114 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6115
6116 fi
6117
6118
6119 eval "$wx_cv_use_ole"
6120
6121 if test x"$enablestring" = xdisable; then
6122 if test $wxUSE_OLE = no; then
6123 result=yes
6124 else
6125 result=no
6126 fi
6127 else
6128 result=$wxUSE_OLE
6129 fi
6130
6131 { echo "$as_me:$LINENO: result: $result" >&5
6132 echo "${ECHO_T}$result" >&6; }
6133
6134
6135 enablestring=
6136 defaultval=$wxUSE_ALL_FEATURES
6137 if test -z "$defaultval"; then
6138 if test x"$enablestring" = xdisable; then
6139 defaultval=yes
6140 else
6141 defaultval=no
6142 fi
6143 fi
6144
6145 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6146 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6147 # Check whether --enable-dataobj was given.
6148 if test "${enable_dataobj+set}" = set; then
6149 enableval=$enable_dataobj;
6150 if test "$enableval" = yes; then
6151 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6152 else
6153 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6154 fi
6155
6156 else
6157
6158 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6159
6160 fi
6161
6162
6163 eval "$wx_cv_use_dataobj"
6164
6165 if test x"$enablestring" = xdisable; then
6166 if test $wxUSE_DATAOBJ = no; then
6167 result=yes
6168 else
6169 result=no
6170 fi
6171 else
6172 result=$wxUSE_DATAOBJ
6173 fi
6174
6175 { echo "$as_me:$LINENO: result: $result" >&5
6176 echo "${ECHO_T}$result" >&6; }
6177
6178
6179
6180 enablestring=
6181 defaultval=$wxUSE_ALL_FEATURES
6182 if test -z "$defaultval"; then
6183 if test x"$enablestring" = xdisable; then
6184 defaultval=yes
6185 else
6186 defaultval=no
6187 fi
6188 fi
6189
6190 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6191 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6192 # Check whether --enable-ipc was given.
6193 if test "${enable_ipc+set}" = set; then
6194 enableval=$enable_ipc;
6195 if test "$enableval" = yes; then
6196 wx_cv_use_ipc='wxUSE_IPC=yes'
6197 else
6198 wx_cv_use_ipc='wxUSE_IPC=no'
6199 fi
6200
6201 else
6202
6203 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6204
6205 fi
6206
6207
6208 eval "$wx_cv_use_ipc"
6209
6210 if test x"$enablestring" = xdisable; then
6211 if test $wxUSE_IPC = no; then
6212 result=yes
6213 else
6214 result=no
6215 fi
6216 else
6217 result=$wxUSE_IPC
6218 fi
6219
6220 { echo "$as_me:$LINENO: result: $result" >&5
6221 echo "${ECHO_T}$result" >&6; }
6222
6223
6224
6225 enablestring=
6226 defaultval=$wxUSE_ALL_FEATURES
6227 if test -z "$defaultval"; then
6228 if test x"$enablestring" = xdisable; then
6229 defaultval=yes
6230 else
6231 defaultval=no
6232 fi
6233 fi
6234
6235 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6236 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6237 # Check whether --enable-baseevtloop was given.
6238 if test "${enable_baseevtloop+set}" = set; then
6239 enableval=$enable_baseevtloop;
6240 if test "$enableval" = yes; then
6241 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6242 else
6243 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6244 fi
6245
6246 else
6247
6248 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6249
6250 fi
6251
6252
6253 eval "$wx_cv_use_baseevtloop"
6254
6255 if test x"$enablestring" = xdisable; then
6256 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
6257 result=yes
6258 else
6259 result=no
6260 fi
6261 else
6262 result=$wxUSE_CONSOLE_EVENTLOOP
6263 fi
6264
6265 { echo "$as_me:$LINENO: result: $result" >&5
6266 echo "${ECHO_T}$result" >&6; }
6267
6268
6269 enablestring=
6270 defaultval=$wxUSE_ALL_FEATURES
6271 if test -z "$defaultval"; then
6272 if test x"$enablestring" = xdisable; then
6273 defaultval=yes
6274 else
6275 defaultval=no
6276 fi
6277 fi
6278
6279 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6280 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6281 # Check whether --enable-epollloop was given.
6282 if test "${enable_epollloop+set}" = set; then
6283 enableval=$enable_epollloop;
6284 if test "$enableval" = yes; then
6285 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6286 else
6287 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6288 fi
6289
6290 else
6291
6292 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6293
6294 fi
6295
6296
6297 eval "$wx_cv_use_epollloop"
6298
6299 if test x"$enablestring" = xdisable; then
6300 if test $wxUSE_EPOLL_DISPATCHER = no; then
6301 result=yes
6302 else
6303 result=no
6304 fi
6305 else
6306 result=$wxUSE_EPOLL_DISPATCHER
6307 fi
6308
6309 { echo "$as_me:$LINENO: result: $result" >&5
6310 echo "${ECHO_T}$result" >&6; }
6311
6312
6313 enablestring=
6314 defaultval=$wxUSE_ALL_FEATURES
6315 if test -z "$defaultval"; then
6316 if test x"$enablestring" = xdisable; then
6317 defaultval=yes
6318 else
6319 defaultval=no
6320 fi
6321 fi
6322
6323 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6324 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6325 # Check whether --enable-selectloop was given.
6326 if test "${enable_selectloop+set}" = set; then
6327 enableval=$enable_selectloop;
6328 if test "$enableval" = yes; then
6329 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6330 else
6331 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6332 fi
6333
6334 else
6335
6336 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6337
6338 fi
6339
6340
6341 eval "$wx_cv_use_selectloop"
6342
6343 if test x"$enablestring" = xdisable; then
6344 if test $wxUSE_SELECT_DISPATCHER = no; then
6345 result=yes
6346 else
6347 result=no
6348 fi
6349 else
6350 result=$wxUSE_SELECT_DISPATCHER
6351 fi
6352
6353 { echo "$as_me:$LINENO: result: $result" >&5
6354 echo "${ECHO_T}$result" >&6; }
6355
6356
6357
6358 enablestring=
6359 defaultval=$wxUSE_ALL_FEATURES
6360 if test -z "$defaultval"; then
6361 if test x"$enablestring" = xdisable; then
6362 defaultval=yes
6363 else
6364 defaultval=no
6365 fi
6366 fi
6367
6368 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-any" >&5
6369 echo $ECHO_N "checking for --${enablestring:-enable}-any... $ECHO_C" >&6; }
6370 # Check whether --enable-any was given.
6371 if test "${enable_any+set}" = set; then
6372 enableval=$enable_any;
6373 if test "$enableval" = yes; then
6374 wx_cv_use_any='wxUSE_ANY=yes'
6375 else
6376 wx_cv_use_any='wxUSE_ANY=no'
6377 fi
6378
6379 else
6380
6381 wx_cv_use_any='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
6382
6383 fi
6384
6385
6386 eval "$wx_cv_use_any"
6387
6388 if test x"$enablestring" = xdisable; then
6389 if test $wxUSE_ANY = no; then
6390 result=yes
6391 else
6392 result=no
6393 fi
6394 else
6395 result=$wxUSE_ANY
6396 fi
6397
6398 { echo "$as_me:$LINENO: result: $result" >&5
6399 echo "${ECHO_T}$result" >&6; }
6400
6401
6402 enablestring=
6403 defaultval=$wxUSE_ALL_FEATURES
6404 if test -z "$defaultval"; then
6405 if test x"$enablestring" = xdisable; then
6406 defaultval=yes
6407 else
6408 defaultval=no
6409 fi
6410 fi
6411
6412 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6413 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6414 # Check whether --enable-apple_ieee was given.
6415 if test "${enable_apple_ieee+set}" = set; then
6416 enableval=$enable_apple_ieee;
6417 if test "$enableval" = yes; then
6418 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6419 else
6420 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6421 fi
6422
6423 else
6424
6425 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6426
6427 fi
6428
6429
6430 eval "$wx_cv_use_apple_ieee"
6431
6432 if test x"$enablestring" = xdisable; then
6433 if test $wxUSE_APPLE_IEEE = no; then
6434 result=yes
6435 else
6436 result=no
6437 fi
6438 else
6439 result=$wxUSE_APPLE_IEEE
6440 fi
6441
6442 { echo "$as_me:$LINENO: result: $result" >&5
6443 echo "${ECHO_T}$result" >&6; }
6444
6445
6446 enablestring=
6447 defaultval=$wxUSE_ALL_FEATURES
6448 if test -z "$defaultval"; then
6449 if test x"$enablestring" = xdisable; then
6450 defaultval=yes
6451 else
6452 defaultval=no
6453 fi
6454 fi
6455
6456 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6457 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6458 # Check whether --enable-arcstream was given.
6459 if test "${enable_arcstream+set}" = set; then
6460 enableval=$enable_arcstream;
6461 if test "$enableval" = yes; then
6462 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6463 else
6464 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6465 fi
6466
6467 else
6468
6469 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6470
6471 fi
6472
6473
6474 eval "$wx_cv_use_arcstream"
6475
6476 if test x"$enablestring" = xdisable; then
6477 if test $wxUSE_ARCHIVE_STREAMS = no; then
6478 result=yes
6479 else
6480 result=no
6481 fi
6482 else
6483 result=$wxUSE_ARCHIVE_STREAMS
6484 fi
6485
6486 { echo "$as_me:$LINENO: result: $result" >&5
6487 echo "${ECHO_T}$result" >&6; }
6488
6489
6490 enablestring=
6491 defaultval=$wxUSE_ALL_FEATURES
6492 if test -z "$defaultval"; then
6493 if test x"$enablestring" = xdisable; then
6494 defaultval=yes
6495 else
6496 defaultval=no
6497 fi
6498 fi
6499
6500 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6501 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6502 # Check whether --enable-base64 was given.
6503 if test "${enable_base64+set}" = set; then
6504 enableval=$enable_base64;
6505 if test "$enableval" = yes; then
6506 wx_cv_use_base64='wxUSE_BASE64=yes'
6507 else
6508 wx_cv_use_base64='wxUSE_BASE64=no'
6509 fi
6510
6511 else
6512
6513 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6514
6515 fi
6516
6517
6518 eval "$wx_cv_use_base64"
6519
6520 if test x"$enablestring" = xdisable; then
6521 if test $wxUSE_BASE64 = no; then
6522 result=yes
6523 else
6524 result=no
6525 fi
6526 else
6527 result=$wxUSE_BASE64
6528 fi
6529
6530 { echo "$as_me:$LINENO: result: $result" >&5
6531 echo "${ECHO_T}$result" >&6; }
6532
6533
6534 enablestring=
6535 defaultval=$wxUSE_ALL_FEATURES
6536 if test -z "$defaultval"; then
6537 if test x"$enablestring" = xdisable; then
6538 defaultval=yes
6539 else
6540 defaultval=no
6541 fi
6542 fi
6543
6544 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6545 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6546 # Check whether --enable-backtrace was given.
6547 if test "${enable_backtrace+set}" = set; then
6548 enableval=$enable_backtrace;
6549 if test "$enableval" = yes; then
6550 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6551 else
6552 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6553 fi
6554
6555 else
6556
6557 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6558
6559 fi
6560
6561
6562 eval "$wx_cv_use_backtrace"
6563
6564 if test x"$enablestring" = xdisable; then
6565 if test $wxUSE_STACKWALKER = no; then
6566 result=yes
6567 else
6568 result=no
6569 fi
6570 else
6571 result=$wxUSE_STACKWALKER
6572 fi
6573
6574 { echo "$as_me:$LINENO: result: $result" >&5
6575 echo "${ECHO_T}$result" >&6; }
6576
6577
6578 enablestring=
6579 defaultval=$wxUSE_ALL_FEATURES
6580 if test -z "$defaultval"; then
6581 if test x"$enablestring" = xdisable; then
6582 defaultval=yes
6583 else
6584 defaultval=no
6585 fi
6586 fi
6587
6588 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6589 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6590 # Check whether --enable-catch_segvs was given.
6591 if test "${enable_catch_segvs+set}" = set; then
6592 enableval=$enable_catch_segvs;
6593 if test "$enableval" = yes; then
6594 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6595 else
6596 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6597 fi
6598
6599 else
6600
6601 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6602
6603 fi
6604
6605
6606 eval "$wx_cv_use_catch_segvs"
6607
6608 if test x"$enablestring" = xdisable; then
6609 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
6610 result=yes
6611 else
6612 result=no
6613 fi
6614 else
6615 result=$wxUSE_ON_FATAL_EXCEPTION
6616 fi
6617
6618 { echo "$as_me:$LINENO: result: $result" >&5
6619 echo "${ECHO_T}$result" >&6; }
6620
6621
6622 enablestring=
6623 defaultval=$wxUSE_ALL_FEATURES
6624 if test -z "$defaultval"; then
6625 if test x"$enablestring" = xdisable; then
6626 defaultval=yes
6627 else
6628 defaultval=no
6629 fi
6630 fi
6631
6632 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6633 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6634 # Check whether --enable-cmdline was given.
6635 if test "${enable_cmdline+set}" = set; then
6636 enableval=$enable_cmdline;
6637 if test "$enableval" = yes; then
6638 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6639 else
6640 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6641 fi
6642
6643 else
6644
6645 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6646
6647 fi
6648
6649
6650 eval "$wx_cv_use_cmdline"
6651
6652 if test x"$enablestring" = xdisable; then
6653 if test $wxUSE_CMDLINE_PARSER = no; then
6654 result=yes
6655 else
6656 result=no
6657 fi
6658 else
6659 result=$wxUSE_CMDLINE_PARSER
6660 fi
6661
6662 { echo "$as_me:$LINENO: result: $result" >&5
6663 echo "${ECHO_T}$result" >&6; }
6664
6665
6666 enablestring=
6667 defaultval=$wxUSE_ALL_FEATURES
6668 if test -z "$defaultval"; then
6669 if test x"$enablestring" = xdisable; then
6670 defaultval=yes
6671 else
6672 defaultval=no
6673 fi
6674 fi
6675
6676 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6677 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6678 # Check whether --enable-datetime was given.
6679 if test "${enable_datetime+set}" = set; then
6680 enableval=$enable_datetime;
6681 if test "$enableval" = yes; then
6682 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6683 else
6684 wx_cv_use_datetime='wxUSE_DATETIME=no'
6685 fi
6686
6687 else
6688
6689 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6690
6691 fi
6692
6693
6694 eval "$wx_cv_use_datetime"
6695
6696 if test x"$enablestring" = xdisable; then
6697 if test $wxUSE_DATETIME = no; then
6698 result=yes
6699 else
6700 result=no
6701 fi
6702 else
6703 result=$wxUSE_DATETIME
6704 fi
6705
6706 { echo "$as_me:$LINENO: result: $result" >&5
6707 echo "${ECHO_T}$result" >&6; }
6708
6709
6710 enablestring=
6711 defaultval=$wxUSE_ALL_FEATURES
6712 if test -z "$defaultval"; then
6713 if test x"$enablestring" = xdisable; then
6714 defaultval=yes
6715 else
6716 defaultval=no
6717 fi
6718 fi
6719
6720 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6721 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6722 # Check whether --enable-debugreport was given.
6723 if test "${enable_debugreport+set}" = set; then
6724 enableval=$enable_debugreport;
6725 if test "$enableval" = yes; then
6726 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6727 else
6728 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6729 fi
6730
6731 else
6732
6733 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6734
6735 fi
6736
6737
6738 eval "$wx_cv_use_debugreport"
6739
6740 if test x"$enablestring" = xdisable; then
6741 if test $wxUSE_DEBUGREPORT = no; then
6742 result=yes
6743 else
6744 result=no
6745 fi
6746 else
6747 result=$wxUSE_DEBUGREPORT
6748 fi
6749
6750 { echo "$as_me:$LINENO: result: $result" >&5
6751 echo "${ECHO_T}$result" >&6; }
6752
6753
6754 enablestring=
6755 defaultval=$wxUSE_ALL_FEATURES
6756 if test -z "$defaultval"; then
6757 if test x"$enablestring" = xdisable; then
6758 defaultval=yes
6759 else
6760 defaultval=no
6761 fi
6762 fi
6763
6764 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6765 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6766 # Check whether --enable-dialupman was given.
6767 if test "${enable_dialupman+set}" = set; then
6768 enableval=$enable_dialupman;
6769 if test "$enableval" = yes; then
6770 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6771 else
6772 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6773 fi
6774
6775 else
6776
6777 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6778
6779 fi
6780
6781
6782 eval "$wx_cv_use_dialupman"
6783
6784 if test x"$enablestring" = xdisable; then
6785 if test $wxUSE_DIALUP_MANAGER = no; then
6786 result=yes
6787 else
6788 result=no
6789 fi
6790 else
6791 result=$wxUSE_DIALUP_MANAGER
6792 fi
6793
6794 { echo "$as_me:$LINENO: result: $result" >&5
6795 echo "${ECHO_T}$result" >&6; }
6796
6797
6798 enablestring=
6799 defaultval=$wxUSE_ALL_FEATURES
6800 if test -z "$defaultval"; then
6801 if test x"$enablestring" = xdisable; then
6802 defaultval=yes
6803 else
6804 defaultval=no
6805 fi
6806 fi
6807
6808 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6809 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6810 # Check whether --enable-dynlib was given.
6811 if test "${enable_dynlib+set}" = set; then
6812 enableval=$enable_dynlib;
6813 if test "$enableval" = yes; then
6814 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6815 else
6816 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6817 fi
6818
6819 else
6820
6821 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6822
6823 fi
6824
6825
6826 eval "$wx_cv_use_dynlib"
6827
6828 if test x"$enablestring" = xdisable; then
6829 if test $wxUSE_DYNLIB_CLASS = no; then
6830 result=yes
6831 else
6832 result=no
6833 fi
6834 else
6835 result=$wxUSE_DYNLIB_CLASS
6836 fi
6837
6838 { echo "$as_me:$LINENO: result: $result" >&5
6839 echo "${ECHO_T}$result" >&6; }
6840
6841
6842 enablestring=
6843 defaultval=$wxUSE_ALL_FEATURES
6844 if test -z "$defaultval"; then
6845 if test x"$enablestring" = xdisable; then
6846 defaultval=yes
6847 else
6848 defaultval=no
6849 fi
6850 fi
6851
6852 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6853 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6854 # Check whether --enable-dynamicloader was given.
6855 if test "${enable_dynamicloader+set}" = set; then
6856 enableval=$enable_dynamicloader;
6857 if test "$enableval" = yes; then
6858 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6859 else
6860 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6861 fi
6862
6863 else
6864
6865 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6866
6867 fi
6868
6869
6870 eval "$wx_cv_use_dynamicloader"
6871
6872 if test x"$enablestring" = xdisable; then
6873 if test $wxUSE_DYNAMIC_LOADER = no; then
6874 result=yes
6875 else
6876 result=no
6877 fi
6878 else
6879 result=$wxUSE_DYNAMIC_LOADER
6880 fi
6881
6882 { echo "$as_me:$LINENO: result: $result" >&5
6883 echo "${ECHO_T}$result" >&6; }
6884
6885
6886 enablestring=
6887 defaultval=$wxUSE_ALL_FEATURES
6888 if test -z "$defaultval"; then
6889 if test x"$enablestring" = xdisable; then
6890 defaultval=yes
6891 else
6892 defaultval=no
6893 fi
6894 fi
6895
6896 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6897 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6898 # Check whether --enable-exceptions was given.
6899 if test "${enable_exceptions+set}" = set; then
6900 enableval=$enable_exceptions;
6901 if test "$enableval" = yes; then
6902 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6903 else
6904 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6905 fi
6906
6907 else
6908
6909 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6910
6911 fi
6912
6913
6914 eval "$wx_cv_use_exceptions"
6915
6916 if test x"$enablestring" = xdisable; then
6917 if test $wxUSE_EXCEPTIONS = no; then
6918 result=yes
6919 else
6920 result=no
6921 fi
6922 else
6923 result=$wxUSE_EXCEPTIONS
6924 fi
6925
6926 { echo "$as_me:$LINENO: result: $result" >&5
6927 echo "${ECHO_T}$result" >&6; }
6928
6929
6930 enablestring=
6931 defaultval=$wxUSE_ALL_FEATURES
6932 if test -z "$defaultval"; then
6933 if test x"$enablestring" = xdisable; then
6934 defaultval=yes
6935 else
6936 defaultval=no
6937 fi
6938 fi
6939
6940 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6941 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6942 # Check whether --enable-ffile was given.
6943 if test "${enable_ffile+set}" = set; then
6944 enableval=$enable_ffile;
6945 if test "$enableval" = yes; then
6946 wx_cv_use_ffile='wxUSE_FFILE=yes'
6947 else
6948 wx_cv_use_ffile='wxUSE_FFILE=no'
6949 fi
6950
6951 else
6952
6953 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6954
6955 fi
6956
6957
6958 eval "$wx_cv_use_ffile"
6959
6960 if test x"$enablestring" = xdisable; then
6961 if test $wxUSE_FFILE = no; then
6962 result=yes
6963 else
6964 result=no
6965 fi
6966 else
6967 result=$wxUSE_FFILE
6968 fi
6969
6970 { echo "$as_me:$LINENO: result: $result" >&5
6971 echo "${ECHO_T}$result" >&6; }
6972
6973
6974 enablestring=
6975 defaultval=$wxUSE_ALL_FEATURES
6976 if test -z "$defaultval"; then
6977 if test x"$enablestring" = xdisable; then
6978 defaultval=yes
6979 else
6980 defaultval=no
6981 fi
6982 fi
6983
6984 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6985 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6986 # Check whether --enable-file was given.
6987 if test "${enable_file+set}" = set; then
6988 enableval=$enable_file;
6989 if test "$enableval" = yes; then
6990 wx_cv_use_file='wxUSE_FILE=yes'
6991 else
6992 wx_cv_use_file='wxUSE_FILE=no'
6993 fi
6994
6995 else
6996
6997 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6998
6999 fi
7000
7001
7002 eval "$wx_cv_use_file"
7003
7004 if test x"$enablestring" = xdisable; then
7005 if test $wxUSE_FILE = no; then
7006 result=yes
7007 else
7008 result=no
7009 fi
7010 else
7011 result=$wxUSE_FILE
7012 fi
7013
7014 { echo "$as_me:$LINENO: result: $result" >&5
7015 echo "${ECHO_T}$result" >&6; }
7016
7017
7018 enablestring=
7019 defaultval=$wxUSE_ALL_FEATURES
7020 if test -z "$defaultval"; then
7021 if test x"$enablestring" = xdisable; then
7022 defaultval=yes
7023 else
7024 defaultval=no
7025 fi
7026 fi
7027
7028 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filehistory" >&5
7029 echo $ECHO_N "checking for --${enablestring:-enable}-filehistory... $ECHO_C" >&6; }
7030 # Check whether --enable-filehistory was given.
7031 if test "${enable_filehistory+set}" = set; then
7032 enableval=$enable_filehistory;
7033 if test "$enableval" = yes; then
7034 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=yes'
7035 else
7036 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=no'
7037 fi
7038
7039 else
7040
7041 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
7042
7043 fi
7044
7045
7046 eval "$wx_cv_use_filehistory"
7047
7048 if test x"$enablestring" = xdisable; then
7049 if test $wxUSE_FILE_HISTORY = no; then
7050 result=yes
7051 else
7052 result=no
7053 fi
7054 else
7055 result=$wxUSE_FILE_HISTORY
7056 fi
7057
7058 { echo "$as_me:$LINENO: result: $result" >&5
7059 echo "${ECHO_T}$result" >&6; }
7060
7061
7062 enablestring=
7063 defaultval=$wxUSE_ALL_FEATURES
7064 if test -z "$defaultval"; then
7065 if test x"$enablestring" = xdisable; then
7066 defaultval=yes
7067 else
7068 defaultval=no
7069 fi
7070 fi
7071
7072 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7073 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7074 # Check whether --enable-filesystem was given.
7075 if test "${enable_filesystem+set}" = set; then
7076 enableval=$enable_filesystem;
7077 if test "$enableval" = yes; then
7078 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7079 else
7080 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7081 fi
7082
7083 else
7084
7085 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7086
7087 fi
7088
7089
7090 eval "$wx_cv_use_filesystem"
7091
7092 if test x"$enablestring" = xdisable; then
7093 if test $wxUSE_FILESYSTEM = no; then
7094 result=yes
7095 else
7096 result=no
7097 fi
7098 else
7099 result=$wxUSE_FILESYSTEM
7100 fi
7101
7102 { echo "$as_me:$LINENO: result: $result" >&5
7103 echo "${ECHO_T}$result" >&6; }
7104
7105
7106 enablestring=
7107 defaultval=$wxUSE_ALL_FEATURES
7108 if test -z "$defaultval"; then
7109 if test x"$enablestring" = xdisable; then
7110 defaultval=yes
7111 else
7112 defaultval=no
7113 fi
7114 fi
7115
7116 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7117 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7118 # Check whether --enable-fontenum was given.
7119 if test "${enable_fontenum+set}" = set; then
7120 enableval=$enable_fontenum;
7121 if test "$enableval" = yes; then
7122 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7123 else
7124 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7125 fi
7126
7127 else
7128
7129 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7130
7131 fi
7132
7133
7134 eval "$wx_cv_use_fontenum"
7135
7136 if test x"$enablestring" = xdisable; then
7137 if test $wxUSE_FONTENUM = no; then
7138 result=yes
7139 else
7140 result=no
7141 fi
7142 else
7143 result=$wxUSE_FONTENUM
7144 fi
7145
7146 { echo "$as_me:$LINENO: result: $result" >&5
7147 echo "${ECHO_T}$result" >&6; }
7148
7149
7150 enablestring=
7151 defaultval=$wxUSE_ALL_FEATURES
7152 if test -z "$defaultval"; then
7153 if test x"$enablestring" = xdisable; then
7154 defaultval=yes
7155 else
7156 defaultval=no
7157 fi
7158 fi
7159
7160 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7161 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7162 # Check whether --enable-fontmap was given.
7163 if test "${enable_fontmap+set}" = set; then
7164 enableval=$enable_fontmap;
7165 if test "$enableval" = yes; then
7166 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7167 else
7168 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7169 fi
7170
7171 else
7172
7173 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7174
7175 fi
7176
7177
7178 eval "$wx_cv_use_fontmap"
7179
7180 if test x"$enablestring" = xdisable; then
7181 if test $wxUSE_FONTMAP = no; then
7182 result=yes
7183 else
7184 result=no
7185 fi
7186 else
7187 result=$wxUSE_FONTMAP
7188 fi
7189
7190 { echo "$as_me:$LINENO: result: $result" >&5
7191 echo "${ECHO_T}$result" >&6; }
7192
7193
7194 enablestring=
7195 defaultval=$wxUSE_ALL_FEATURES
7196 if test -z "$defaultval"; then
7197 if test x"$enablestring" = xdisable; then
7198 defaultval=yes
7199 else
7200 defaultval=no
7201 fi
7202 fi
7203
7204 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7205 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7206 # Check whether --enable-fs_archive was given.
7207 if test "${enable_fs_archive+set}" = set; then
7208 enableval=$enable_fs_archive;
7209 if test "$enableval" = yes; then
7210 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7211 else
7212 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7213 fi
7214
7215 else
7216
7217 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7218
7219 fi
7220
7221
7222 eval "$wx_cv_use_fs_archive"
7223
7224 if test x"$enablestring" = xdisable; then
7225 if test $wxUSE_FS_ARCHIVE = no; then
7226 result=yes
7227 else
7228 result=no
7229 fi
7230 else
7231 result=$wxUSE_FS_ARCHIVE
7232 fi
7233
7234 { echo "$as_me:$LINENO: result: $result" >&5
7235 echo "${ECHO_T}$result" >&6; }
7236
7237
7238 enablestring=
7239 defaultval=$wxUSE_ALL_FEATURES
7240 if test -z "$defaultval"; then
7241 if test x"$enablestring" = xdisable; then
7242 defaultval=yes
7243 else
7244 defaultval=no
7245 fi
7246 fi
7247
7248 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7249 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7250 # Check whether --enable-fs_inet was given.
7251 if test "${enable_fs_inet+set}" = set; then
7252 enableval=$enable_fs_inet;
7253 if test "$enableval" = yes; then
7254 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7255 else
7256 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7257 fi
7258
7259 else
7260
7261 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7262
7263 fi
7264
7265
7266 eval "$wx_cv_use_fs_inet"
7267
7268 if test x"$enablestring" = xdisable; then
7269 if test $wxUSE_FS_INET = no; then
7270 result=yes
7271 else
7272 result=no
7273 fi
7274 else
7275 result=$wxUSE_FS_INET
7276 fi
7277
7278 { echo "$as_me:$LINENO: result: $result" >&5
7279 echo "${ECHO_T}$result" >&6; }
7280
7281
7282 enablestring=
7283 defaultval=$wxUSE_ALL_FEATURES
7284 if test -z "$defaultval"; then
7285 if test x"$enablestring" = xdisable; then
7286 defaultval=yes
7287 else
7288 defaultval=no
7289 fi
7290 fi
7291
7292 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7293 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7294 # Check whether --enable-fs_zip was given.
7295 if test "${enable_fs_zip+set}" = set; then
7296 enableval=$enable_fs_zip;
7297 if test "$enableval" = yes; then
7298 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7299 else
7300 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7301 fi
7302
7303 else
7304
7305 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7306
7307 fi
7308
7309
7310 eval "$wx_cv_use_fs_zip"
7311
7312 if test x"$enablestring" = xdisable; then
7313 if test $wxUSE_FS_ZIP = no; then
7314 result=yes
7315 else
7316 result=no
7317 fi
7318 else
7319 result=$wxUSE_FS_ZIP
7320 fi
7321
7322 { echo "$as_me:$LINENO: result: $result" >&5
7323 echo "${ECHO_T}$result" >&6; }
7324
7325
7326 enablestring=
7327 defaultval=$wxUSE_ALL_FEATURES
7328 if test -z "$defaultval"; then
7329 if test x"$enablestring" = xdisable; then
7330 defaultval=yes
7331 else
7332 defaultval=no
7333 fi
7334 fi
7335
7336 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fswatcher" >&5
7337 echo $ECHO_N "checking for --${enablestring:-enable}-fswatcher... $ECHO_C" >&6; }
7338 # Check whether --enable-fswatcher was given.
7339 if test "${enable_fswatcher+set}" = set; then
7340 enableval=$enable_fswatcher;
7341 if test "$enableval" = yes; then
7342 wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
7343 else
7344 wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
7345 fi
7346
7347 else
7348
7349 wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
7350
7351 fi
7352
7353
7354 eval "$wx_cv_use_fswatcher"
7355
7356 if test x"$enablestring" = xdisable; then
7357 if test $wxUSE_FSWATCHER = no; then
7358 result=yes
7359 else
7360 result=no
7361 fi
7362 else
7363 result=$wxUSE_FSWATCHER
7364 fi
7365
7366 { echo "$as_me:$LINENO: result: $result" >&5
7367 echo "${ECHO_T}$result" >&6; }
7368
7369
7370 enablestring=
7371 defaultval=$wxUSE_ALL_FEATURES
7372 if test -z "$defaultval"; then
7373 if test x"$enablestring" = xdisable; then
7374 defaultval=yes
7375 else
7376 defaultval=no
7377 fi
7378 fi
7379
7380 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7381 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7382 # Check whether --enable-geometry was given.
7383 if test "${enable_geometry+set}" = set; then
7384 enableval=$enable_geometry;
7385 if test "$enableval" = yes; then
7386 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7387 else
7388 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7389 fi
7390
7391 else
7392
7393 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7394
7395 fi
7396
7397
7398 eval "$wx_cv_use_geometry"
7399
7400 if test x"$enablestring" = xdisable; then
7401 if test $wxUSE_GEOMETRY = no; then
7402 result=yes
7403 else
7404 result=no
7405 fi
7406 else
7407 result=$wxUSE_GEOMETRY
7408 fi
7409
7410 { echo "$as_me:$LINENO: result: $result" >&5
7411 echo "${ECHO_T}$result" >&6; }
7412
7413
7414 enablestring=
7415 defaultval=$wxUSE_ALL_FEATURES
7416 if test -z "$defaultval"; then
7417 if test x"$enablestring" = xdisable; then
7418 defaultval=yes
7419 else
7420 defaultval=no
7421 fi
7422 fi
7423
7424 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7425 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7426 # Check whether --enable-log was given.
7427 if test "${enable_log+set}" = set; then
7428 enableval=$enable_log;
7429 if test "$enableval" = yes; then
7430 wx_cv_use_log='wxUSE_LOG=yes'
7431 else
7432 wx_cv_use_log='wxUSE_LOG=no'
7433 fi
7434
7435 else
7436
7437 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7438
7439 fi
7440
7441
7442 eval "$wx_cv_use_log"
7443
7444 if test x"$enablestring" = xdisable; then
7445 if test $wxUSE_LOG = no; then
7446 result=yes
7447 else
7448 result=no
7449 fi
7450 else
7451 result=$wxUSE_LOG
7452 fi
7453
7454 { echo "$as_me:$LINENO: result: $result" >&5
7455 echo "${ECHO_T}$result" >&6; }
7456
7457
7458 enablestring=
7459 defaultval=$wxUSE_ALL_FEATURES
7460 if test -z "$defaultval"; then
7461 if test x"$enablestring" = xdisable; then
7462 defaultval=yes
7463 else
7464 defaultval=no
7465 fi
7466 fi
7467
7468 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7469 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7470 # Check whether --enable-longlong was given.
7471 if test "${enable_longlong+set}" = set; then
7472 enableval=$enable_longlong;
7473 if test "$enableval" = yes; then
7474 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7475 else
7476 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7477 fi
7478
7479 else
7480
7481 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7482
7483 fi
7484
7485
7486 eval "$wx_cv_use_longlong"
7487
7488 if test x"$enablestring" = xdisable; then
7489 if test $wxUSE_LONGLONG = no; then
7490 result=yes
7491 else
7492 result=no
7493 fi
7494 else
7495 result=$wxUSE_LONGLONG
7496 fi
7497
7498 { echo "$as_me:$LINENO: result: $result" >&5
7499 echo "${ECHO_T}$result" >&6; }
7500
7501
7502 enablestring=
7503 defaultval=$wxUSE_ALL_FEATURES
7504 if test -z "$defaultval"; then
7505 if test x"$enablestring" = xdisable; then
7506 defaultval=yes
7507 else
7508 defaultval=no
7509 fi
7510 fi
7511
7512 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7513 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7514 # Check whether --enable-mimetype was given.
7515 if test "${enable_mimetype+set}" = set; then
7516 enableval=$enable_mimetype;
7517 if test "$enableval" = yes; then
7518 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7519 else
7520 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7521 fi
7522
7523 else
7524
7525 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7526
7527 fi
7528
7529
7530 eval "$wx_cv_use_mimetype"
7531
7532 if test x"$enablestring" = xdisable; then
7533 if test $wxUSE_MIMETYPE = no; then
7534 result=yes
7535 else
7536 result=no
7537 fi
7538 else
7539 result=$wxUSE_MIMETYPE
7540 fi
7541
7542 { echo "$as_me:$LINENO: result: $result" >&5
7543 echo "${ECHO_T}$result" >&6; }
7544
7545
7546 enablestring=
7547 defaultval=$wxUSE_ALL_FEATURES
7548 if test -z "$defaultval"; then
7549 if test x"$enablestring" = xdisable; then
7550 defaultval=yes
7551 else
7552 defaultval=no
7553 fi
7554 fi
7555
7556 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7557 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7558 # Check whether --enable-printfposparam was given.
7559 if test "${enable_printfposparam+set}" = set; then
7560 enableval=$enable_printfposparam;
7561 if test "$enableval" = yes; then
7562 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7563 else
7564 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7565 fi
7566
7567 else
7568
7569 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7570
7571 fi
7572
7573
7574 eval "$wx_cv_use_printfposparam"
7575
7576 if test x"$enablestring" = xdisable; then
7577 if test $wxUSE_PRINTF_POS_PARAMS = no; then
7578 result=yes
7579 else
7580 result=no
7581 fi
7582 else
7583 result=$wxUSE_PRINTF_POS_PARAMS
7584 fi
7585
7586 { echo "$as_me:$LINENO: result: $result" >&5
7587 echo "${ECHO_T}$result" >&6; }
7588
7589
7590 enablestring=
7591 defaultval=$wxUSE_ALL_FEATURES
7592 if test -z "$defaultval"; then
7593 if test x"$enablestring" = xdisable; then
7594 defaultval=yes
7595 else
7596 defaultval=no
7597 fi
7598 fi
7599
7600 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7601 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7602 # Check whether --enable-snglinst was given.
7603 if test "${enable_snglinst+set}" = set; then
7604 enableval=$enable_snglinst;
7605 if test "$enableval" = yes; then
7606 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7607 else
7608 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7609 fi
7610
7611 else
7612
7613 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7614
7615 fi
7616
7617
7618 eval "$wx_cv_use_snglinst"
7619
7620 if test x"$enablestring" = xdisable; then
7621 if test $wxUSE_SNGLINST_CHECKER = no; then
7622 result=yes
7623 else
7624 result=no
7625 fi
7626 else
7627 result=$wxUSE_SNGLINST_CHECKER
7628 fi
7629
7630 { echo "$as_me:$LINENO: result: $result" >&5
7631 echo "${ECHO_T}$result" >&6; }
7632
7633
7634 enablestring=
7635 defaultval=$wxUSE_ALL_FEATURES
7636 if test -z "$defaultval"; then
7637 if test x"$enablestring" = xdisable; then
7638 defaultval=yes
7639 else
7640 defaultval=no
7641 fi
7642 fi
7643
7644 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7645 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7646 # Check whether --enable-sound was given.
7647 if test "${enable_sound+set}" = set; then
7648 enableval=$enable_sound;
7649 if test "$enableval" = yes; then
7650 wx_cv_use_sound='wxUSE_SOUND=yes'
7651 else
7652 wx_cv_use_sound='wxUSE_SOUND=no'
7653 fi
7654
7655 else
7656
7657 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7658
7659 fi
7660
7661
7662 eval "$wx_cv_use_sound"
7663
7664 if test x"$enablestring" = xdisable; then
7665 if test $wxUSE_SOUND = no; then
7666 result=yes
7667 else
7668 result=no
7669 fi
7670 else
7671 result=$wxUSE_SOUND
7672 fi
7673
7674 { echo "$as_me:$LINENO: result: $result" >&5
7675 echo "${ECHO_T}$result" >&6; }
7676
7677
7678 enablestring=
7679 defaultval=$wxUSE_ALL_FEATURES
7680 if test -z "$defaultval"; then
7681 if test x"$enablestring" = xdisable; then
7682 defaultval=yes
7683 else
7684 defaultval=no
7685 fi
7686 fi
7687
7688 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7689 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7690 # Check whether --enable-stdpaths was given.
7691 if test "${enable_stdpaths+set}" = set; then
7692 enableval=$enable_stdpaths;
7693 if test "$enableval" = yes; then
7694 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7695 else
7696 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7697 fi
7698
7699 else
7700
7701 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7702
7703 fi
7704
7705
7706 eval "$wx_cv_use_stdpaths"
7707
7708 if test x"$enablestring" = xdisable; then
7709 if test $wxUSE_STDPATHS = no; then
7710 result=yes
7711 else
7712 result=no
7713 fi
7714 else
7715 result=$wxUSE_STDPATHS
7716 fi
7717
7718 { echo "$as_me:$LINENO: result: $result" >&5
7719 echo "${ECHO_T}$result" >&6; }
7720
7721
7722 enablestring=
7723 defaultval=$wxUSE_ALL_FEATURES
7724 if test -z "$defaultval"; then
7725 if test x"$enablestring" = xdisable; then
7726 defaultval=yes
7727 else
7728 defaultval=no
7729 fi
7730 fi
7731
7732 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7733 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7734 # Check whether --enable-stopwatch was given.
7735 if test "${enable_stopwatch+set}" = set; then
7736 enableval=$enable_stopwatch;
7737 if test "$enableval" = yes; then
7738 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7739 else
7740 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7741 fi
7742
7743 else
7744
7745 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7746
7747 fi
7748
7749
7750 eval "$wx_cv_use_stopwatch"
7751
7752 if test x"$enablestring" = xdisable; then
7753 if test $wxUSE_STOPWATCH = no; then
7754 result=yes
7755 else
7756 result=no
7757 fi
7758 else
7759 result=$wxUSE_STOPWATCH
7760 fi
7761
7762 { echo "$as_me:$LINENO: result: $result" >&5
7763 echo "${ECHO_T}$result" >&6; }
7764
7765
7766 enablestring=
7767 defaultval=$wxUSE_ALL_FEATURES
7768 if test -z "$defaultval"; then
7769 if test x"$enablestring" = xdisable; then
7770 defaultval=yes
7771 else
7772 defaultval=no
7773 fi
7774 fi
7775
7776 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7777 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7778 # Check whether --enable-streams was given.
7779 if test "${enable_streams+set}" = set; then
7780 enableval=$enable_streams;
7781 if test "$enableval" = yes; then
7782 wx_cv_use_streams='wxUSE_STREAMS=yes'
7783 else
7784 wx_cv_use_streams='wxUSE_STREAMS=no'
7785 fi
7786
7787 else
7788
7789 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7790
7791 fi
7792
7793
7794 eval "$wx_cv_use_streams"
7795
7796 if test x"$enablestring" = xdisable; then
7797 if test $wxUSE_STREAMS = no; then
7798 result=yes
7799 else
7800 result=no
7801 fi
7802 else
7803 result=$wxUSE_STREAMS
7804 fi
7805
7806 { echo "$as_me:$LINENO: result: $result" >&5
7807 echo "${ECHO_T}$result" >&6; }
7808
7809
7810 enablestring=
7811 defaultval=$wxUSE_ALL_FEATURES
7812 if test -z "$defaultval"; then
7813 if test x"$enablestring" = xdisable; then
7814 defaultval=yes
7815 else
7816 defaultval=no
7817 fi
7818 fi
7819
7820 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sysoptions" >&5
7821 echo $ECHO_N "checking for --${enablestring:-enable}-sysoptions... $ECHO_C" >&6; }
7822 # Check whether --enable-sysoptions was given.
7823 if test "${enable_sysoptions+set}" = set; then
7824 enableval=$enable_sysoptions;
7825 if test "$enableval" = yes; then
7826 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=yes'
7827 else
7828 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=no'
7829 fi
7830
7831 else
7832
7833 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7834
7835 fi
7836
7837
7838 eval "$wx_cv_use_sysoptions"
7839
7840 if test x"$enablestring" = xdisable; then
7841 if test $wxUSE_SYSTEM_OPTIONS = no; then
7842 result=yes
7843 else
7844 result=no
7845 fi
7846 else
7847 result=$wxUSE_SYSTEM_OPTIONS
7848 fi
7849
7850 { echo "$as_me:$LINENO: result: $result" >&5
7851 echo "${ECHO_T}$result" >&6; }
7852
7853
7854 enablestring=
7855 defaultval=$wxUSE_ALL_FEATURES
7856 if test -z "$defaultval"; then
7857 if test x"$enablestring" = xdisable; then
7858 defaultval=yes
7859 else
7860 defaultval=no
7861 fi
7862 fi
7863
7864 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7865 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7866 # Check whether --enable-tarstream was given.
7867 if test "${enable_tarstream+set}" = set; then
7868 enableval=$enable_tarstream;
7869 if test "$enableval" = yes; then
7870 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7871 else
7872 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7873 fi
7874
7875 else
7876
7877 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7878
7879 fi
7880
7881
7882 eval "$wx_cv_use_tarstream"
7883
7884 if test x"$enablestring" = xdisable; then
7885 if test $wxUSE_TARSTREAM = no; then
7886 result=yes
7887 else
7888 result=no
7889 fi
7890 else
7891 result=$wxUSE_TARSTREAM
7892 fi
7893
7894 { echo "$as_me:$LINENO: result: $result" >&5
7895 echo "${ECHO_T}$result" >&6; }
7896
7897
7898 enablestring=
7899 defaultval=$wxUSE_ALL_FEATURES
7900 if test -z "$defaultval"; then
7901 if test x"$enablestring" = xdisable; then
7902 defaultval=yes
7903 else
7904 defaultval=no
7905 fi
7906 fi
7907
7908 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7909 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7910 # Check whether --enable-textbuf was given.
7911 if test "${enable_textbuf+set}" = set; then
7912 enableval=$enable_textbuf;
7913 if test "$enableval" = yes; then
7914 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7915 else
7916 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7917 fi
7918
7919 else
7920
7921 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7922
7923 fi
7924
7925
7926 eval "$wx_cv_use_textbuf"
7927
7928 if test x"$enablestring" = xdisable; then
7929 if test $wxUSE_TEXTBUFFER = no; then
7930 result=yes
7931 else
7932 result=no
7933 fi
7934 else
7935 result=$wxUSE_TEXTBUFFER
7936 fi
7937
7938 { echo "$as_me:$LINENO: result: $result" >&5
7939 echo "${ECHO_T}$result" >&6; }
7940
7941
7942 enablestring=
7943 defaultval=$wxUSE_ALL_FEATURES
7944 if test -z "$defaultval"; then
7945 if test x"$enablestring" = xdisable; then
7946 defaultval=yes
7947 else
7948 defaultval=no
7949 fi
7950 fi
7951
7952 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7953 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7954 # Check whether --enable-textfile was given.
7955 if test "${enable_textfile+set}" = set; then
7956 enableval=$enable_textfile;
7957 if test "$enableval" = yes; then
7958 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7959 else
7960 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
7961 fi
7962
7963 else
7964
7965 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7966
7967 fi
7968
7969
7970 eval "$wx_cv_use_textfile"
7971
7972 if test x"$enablestring" = xdisable; then
7973 if test $wxUSE_TEXTFILE = no; then
7974 result=yes
7975 else
7976 result=no
7977 fi
7978 else
7979 result=$wxUSE_TEXTFILE
7980 fi
7981
7982 { echo "$as_me:$LINENO: result: $result" >&5
7983 echo "${ECHO_T}$result" >&6; }
7984
7985
7986 enablestring=
7987 defaultval=$wxUSE_ALL_FEATURES
7988 if test -z "$defaultval"; then
7989 if test x"$enablestring" = xdisable; then
7990 defaultval=yes
7991 else
7992 defaultval=no
7993 fi
7994 fi
7995
7996 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7997 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7998 # Check whether --enable-timer was given.
7999 if test "${enable_timer+set}" = set; then
8000 enableval=$enable_timer;
8001 if test "$enableval" = yes; then
8002 wx_cv_use_timer='wxUSE_TIMER=yes'
8003 else
8004 wx_cv_use_timer='wxUSE_TIMER=no'
8005 fi
8006
8007 else
8008
8009 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8010
8011 fi
8012
8013
8014 eval "$wx_cv_use_timer"
8015
8016 if test x"$enablestring" = xdisable; then
8017 if test $wxUSE_TIMER = no; then
8018 result=yes
8019 else
8020 result=no
8021 fi
8022 else
8023 result=$wxUSE_TIMER
8024 fi
8025
8026 { echo "$as_me:$LINENO: result: $result" >&5
8027 echo "${ECHO_T}$result" >&6; }
8028
8029
8030 enablestring=
8031 defaultval=$wxUSE_ALL_FEATURES
8032 if test -z "$defaultval"; then
8033 if test x"$enablestring" = xdisable; then
8034 defaultval=yes
8035 else
8036 defaultval=no
8037 fi
8038 fi
8039
8040 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
8041 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
8042 # Check whether --enable-variant was given.
8043 if test "${enable_variant+set}" = set; then
8044 enableval=$enable_variant;
8045 if test "$enableval" = yes; then
8046 wx_cv_use_variant='wxUSE_VARIANT=yes'
8047 else
8048 wx_cv_use_variant='wxUSE_VARIANT=no'
8049 fi
8050
8051 else
8052
8053 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8054
8055 fi
8056
8057
8058 eval "$wx_cv_use_variant"
8059
8060 if test x"$enablestring" = xdisable; then
8061 if test $wxUSE_VARIANT = no; then
8062 result=yes
8063 else
8064 result=no
8065 fi
8066 else
8067 result=$wxUSE_VARIANT
8068 fi
8069
8070 { echo "$as_me:$LINENO: result: $result" >&5
8071 echo "${ECHO_T}$result" >&6; }
8072
8073
8074 enablestring=
8075 defaultval=$wxUSE_ALL_FEATURES
8076 if test -z "$defaultval"; then
8077 if test x"$enablestring" = xdisable; then
8078 defaultval=yes
8079 else
8080 defaultval=no
8081 fi
8082 fi
8083
8084 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8085 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8086 # Check whether --enable-zipstream was given.
8087 if test "${enable_zipstream+set}" = set; then
8088 enableval=$enable_zipstream;
8089 if test "$enableval" = yes; then
8090 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8091 else
8092 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8093 fi
8094
8095 else
8096
8097 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8098
8099 fi
8100
8101
8102 eval "$wx_cv_use_zipstream"
8103
8104 if test x"$enablestring" = xdisable; then
8105 if test $wxUSE_ZIPSTREAM = no; then
8106 result=yes
8107 else
8108 result=no
8109 fi
8110 else
8111 result=$wxUSE_ZIPSTREAM
8112 fi
8113
8114 { echo "$as_me:$LINENO: result: $result" >&5
8115 echo "${ECHO_T}$result" >&6; }
8116
8117
8118
8119 enablestring=
8120 defaultval=$wxUSE_ALL_FEATURES
8121 if test -z "$defaultval"; then
8122 if test x"$enablestring" = xdisable; then
8123 defaultval=yes
8124 else
8125 defaultval=no
8126 fi
8127 fi
8128
8129 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8130 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8131 # Check whether --enable-url was given.
8132 if test "${enable_url+set}" = set; then
8133 enableval=$enable_url;
8134 if test "$enableval" = yes; then
8135 wx_cv_use_url='wxUSE_URL=yes'
8136 else
8137 wx_cv_use_url='wxUSE_URL=no'
8138 fi
8139
8140 else
8141
8142 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8143
8144 fi
8145
8146
8147 eval "$wx_cv_use_url"
8148
8149 if test x"$enablestring" = xdisable; then
8150 if test $wxUSE_URL = no; then
8151 result=yes
8152 else
8153 result=no
8154 fi
8155 else
8156 result=$wxUSE_URL
8157 fi
8158
8159 { echo "$as_me:$LINENO: result: $result" >&5
8160 echo "${ECHO_T}$result" >&6; }
8161
8162
8163 enablestring=
8164 defaultval=$wxUSE_ALL_FEATURES
8165 if test -z "$defaultval"; then
8166 if test x"$enablestring" = xdisable; then
8167 defaultval=yes
8168 else
8169 defaultval=no
8170 fi
8171 fi
8172
8173 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8174 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8175 # Check whether --enable-protocol was given.
8176 if test "${enable_protocol+set}" = set; then
8177 enableval=$enable_protocol;
8178 if test "$enableval" = yes; then
8179 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8180 else
8181 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8182 fi
8183
8184 else
8185
8186 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8187
8188 fi
8189
8190
8191 eval "$wx_cv_use_protocol"
8192
8193 if test x"$enablestring" = xdisable; then
8194 if test $wxUSE_PROTOCOL = no; then
8195 result=yes
8196 else
8197 result=no
8198 fi
8199 else
8200 result=$wxUSE_PROTOCOL
8201 fi
8202
8203 { echo "$as_me:$LINENO: result: $result" >&5
8204 echo "${ECHO_T}$result" >&6; }
8205
8206
8207 enablestring=
8208 defaultval=$wxUSE_ALL_FEATURES
8209 if test -z "$defaultval"; then
8210 if test x"$enablestring" = xdisable; then
8211 defaultval=yes
8212 else
8213 defaultval=no
8214 fi
8215 fi
8216
8217 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8218 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8219 # Check whether --enable-protocol_http was given.
8220 if test "${enable_protocol_http+set}" = set; then
8221 enableval=$enable_protocol_http;
8222 if test "$enableval" = yes; then
8223 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8224 else
8225 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8226 fi
8227
8228 else
8229
8230 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8231
8232 fi
8233
8234
8235 eval "$wx_cv_use_protocol_http"
8236
8237 if test x"$enablestring" = xdisable; then
8238 if test $wxUSE_PROTOCOL_HTTP = no; then
8239 result=yes
8240 else
8241 result=no
8242 fi
8243 else
8244 result=$wxUSE_PROTOCOL_HTTP
8245 fi
8246
8247 { echo "$as_me:$LINENO: result: $result" >&5
8248 echo "${ECHO_T}$result" >&6; }
8249
8250
8251 enablestring=
8252 defaultval=$wxUSE_ALL_FEATURES
8253 if test -z "$defaultval"; then
8254 if test x"$enablestring" = xdisable; then
8255 defaultval=yes
8256 else
8257 defaultval=no
8258 fi
8259 fi
8260
8261 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8262 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8263 # Check whether --enable-protocol_ftp was given.
8264 if test "${enable_protocol_ftp+set}" = set; then
8265 enableval=$enable_protocol_ftp;
8266 if test "$enableval" = yes; then
8267 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8268 else
8269 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8270 fi
8271
8272 else
8273
8274 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8275
8276 fi
8277
8278
8279 eval "$wx_cv_use_protocol_ftp"
8280
8281 if test x"$enablestring" = xdisable; then
8282 if test $wxUSE_PROTOCOL_FTP = no; then
8283 result=yes
8284 else
8285 result=no
8286 fi
8287 else
8288 result=$wxUSE_PROTOCOL_FTP
8289 fi
8290
8291 { echo "$as_me:$LINENO: result: $result" >&5
8292 echo "${ECHO_T}$result" >&6; }
8293
8294
8295 enablestring=
8296 defaultval=$wxUSE_ALL_FEATURES
8297 if test -z "$defaultval"; then
8298 if test x"$enablestring" = xdisable; then
8299 defaultval=yes
8300 else
8301 defaultval=no
8302 fi
8303 fi
8304
8305 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8306 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8307 # Check whether --enable-protocol_file was given.
8308 if test "${enable_protocol_file+set}" = set; then
8309 enableval=$enable_protocol_file;
8310 if test "$enableval" = yes; then
8311 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8312 else
8313 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8314 fi
8315
8316 else
8317
8318 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8319
8320 fi
8321
8322
8323 eval "$wx_cv_use_protocol_file"
8324
8325 if test x"$enablestring" = xdisable; then
8326 if test $wxUSE_PROTOCOL_FILE = no; then
8327 result=yes
8328 else
8329 result=no
8330 fi
8331 else
8332 result=$wxUSE_PROTOCOL_FILE
8333 fi
8334
8335 { echo "$as_me:$LINENO: result: $result" >&5
8336 echo "${ECHO_T}$result" >&6; }
8337
8338
8339
8340 enablestring=
8341 defaultval=$wxUSE_ALL_FEATURES
8342 if test -z "$defaultval"; then
8343 if test x"$enablestring" = xdisable; then
8344 defaultval=yes
8345 else
8346 defaultval=no
8347 fi
8348 fi
8349
8350 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8351 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8352 # Check whether --enable-threads was given.
8353 if test "${enable_threads+set}" = set; then
8354 enableval=$enable_threads;
8355 if test "$enableval" = yes; then
8356 wx_cv_use_threads='wxUSE_THREADS=yes'
8357 else
8358 wx_cv_use_threads='wxUSE_THREADS=no'
8359 fi
8360
8361 else
8362
8363 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8364
8365 fi
8366
8367
8368 eval "$wx_cv_use_threads"
8369
8370 if test x"$enablestring" = xdisable; then
8371 if test $wxUSE_THREADS = no; then
8372 result=yes
8373 else
8374 result=no
8375 fi
8376 else
8377 result=$wxUSE_THREADS
8378 fi
8379
8380 { echo "$as_me:$LINENO: result: $result" >&5
8381 echo "${ECHO_T}$result" >&6; }
8382
8383
8384
8385 enablestring=
8386 defaultval=
8387 if test -z "$defaultval"; then
8388 if test x"$enablestring" = xdisable; then
8389 defaultval=yes
8390 else
8391 defaultval=no
8392 fi
8393 fi
8394
8395 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8396 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8397 # Check whether --enable-iniconf was given.
8398 if test "${enable_iniconf+set}" = set; then
8399 enableval=$enable_iniconf;
8400 if test "$enableval" = yes; then
8401 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8402 else
8403 wx_cv_use_iniconf='wxUSE_INICONF=no'
8404 fi
8405
8406 else
8407
8408 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8409
8410 fi
8411
8412
8413 eval "$wx_cv_use_iniconf"
8414
8415 if test x"$enablestring" = xdisable; then
8416 if test $wxUSE_INICONF = no; then
8417 result=yes
8418 else
8419 result=no
8420 fi
8421 else
8422 result=$wxUSE_INICONF
8423 fi
8424
8425 { echo "$as_me:$LINENO: result: $result" >&5
8426 echo "${ECHO_T}$result" >&6; }
8427
8428
8429 enablestring=
8430 defaultval=$wxUSE_ALL_FEATURES
8431 if test -z "$defaultval"; then
8432 if test x"$enablestring" = xdisable; then
8433 defaultval=yes
8434 else
8435 defaultval=no
8436 fi
8437 fi
8438
8439 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8440 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8441 # Check whether --enable-regkey was given.
8442 if test "${enable_regkey+set}" = set; then
8443 enableval=$enable_regkey;
8444 if test "$enableval" = yes; then
8445 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8446 else
8447 wx_cv_use_regkey='wxUSE_REGKEY=no'
8448 fi
8449
8450 else
8451
8452 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8453
8454 fi
8455
8456
8457 eval "$wx_cv_use_regkey"
8458
8459 if test x"$enablestring" = xdisable; then
8460 if test $wxUSE_REGKEY = no; then
8461 result=yes
8462 else
8463 result=no
8464 fi
8465 else
8466 result=$wxUSE_REGKEY
8467 fi
8468
8469 { echo "$as_me:$LINENO: result: $result" >&5
8470 echo "${ECHO_T}$result" >&6; }
8471
8472
8473 if test "$wxUSE_GUI" = "yes"; then
8474
8475
8476
8477 enablestring=
8478 defaultval=$wxUSE_ALL_FEATURES
8479 if test -z "$defaultval"; then
8480 if test x"$enablestring" = xdisable; then
8481 defaultval=yes
8482 else
8483 defaultval=no
8484 fi
8485 fi
8486
8487 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8488 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8489 # Check whether --enable-docview was given.
8490 if test "${enable_docview+set}" = set; then
8491 enableval=$enable_docview;
8492 if test "$enableval" = yes; then
8493 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8494 else
8495 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8496 fi
8497
8498 else
8499
8500 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8501
8502 fi
8503
8504
8505 eval "$wx_cv_use_docview"
8506
8507 if test x"$enablestring" = xdisable; then
8508 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
8509 result=yes
8510 else
8511 result=no
8512 fi
8513 else
8514 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8515 fi
8516
8517 { echo "$as_me:$LINENO: result: $result" >&5
8518 echo "${ECHO_T}$result" >&6; }
8519
8520
8521 enablestring=
8522 defaultval=$wxUSE_ALL_FEATURES
8523 if test -z "$defaultval"; then
8524 if test x"$enablestring" = xdisable; then
8525 defaultval=yes
8526 else
8527 defaultval=no
8528 fi
8529 fi
8530
8531 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8532 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8533 # Check whether --enable-help was given.
8534 if test "${enable_help+set}" = set; then
8535 enableval=$enable_help;
8536 if test "$enableval" = yes; then
8537 wx_cv_use_help='wxUSE_HELP=yes'
8538 else
8539 wx_cv_use_help='wxUSE_HELP=no'
8540 fi
8541
8542 else
8543
8544 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8545
8546 fi
8547
8548
8549 eval "$wx_cv_use_help"
8550
8551 if test x"$enablestring" = xdisable; then
8552 if test $wxUSE_HELP = no; then
8553 result=yes
8554 else
8555 result=no
8556 fi
8557 else
8558 result=$wxUSE_HELP
8559 fi
8560
8561 { echo "$as_me:$LINENO: result: $result" >&5
8562 echo "${ECHO_T}$result" >&6; }
8563
8564
8565 enablestring=
8566 defaultval=$wxUSE_ALL_FEATURES
8567 if test -z "$defaultval"; then
8568 if test x"$enablestring" = xdisable; then
8569 defaultval=yes
8570 else
8571 defaultval=no
8572 fi
8573 fi
8574
8575 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8576 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8577 # Check whether --enable-mshtmlhelp was given.
8578 if test "${enable_mshtmlhelp+set}" = set; then
8579 enableval=$enable_mshtmlhelp;
8580 if test "$enableval" = yes; then
8581 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8582 else
8583 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8584 fi
8585
8586 else
8587
8588 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8589
8590 fi
8591
8592
8593 eval "$wx_cv_use_mshtmlhelp"
8594
8595 if test x"$enablestring" = xdisable; then
8596 if test $wxUSE_MS_HTML_HELP = no; then
8597 result=yes
8598 else
8599 result=no
8600 fi
8601 else
8602 result=$wxUSE_MS_HTML_HELP
8603 fi
8604
8605 { echo "$as_me:$LINENO: result: $result" >&5
8606 echo "${ECHO_T}$result" >&6; }
8607
8608
8609 enablestring=
8610 defaultval=$wxUSE_ALL_FEATURES
8611 if test -z "$defaultval"; then
8612 if test x"$enablestring" = xdisable; then
8613 defaultval=yes
8614 else
8615 defaultval=no
8616 fi
8617 fi
8618
8619 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8620 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8621 # Check whether --enable-html was given.
8622 if test "${enable_html+set}" = set; then
8623 enableval=$enable_html;
8624 if test "$enableval" = yes; then
8625 wx_cv_use_html='wxUSE_HTML=yes'
8626 else
8627 wx_cv_use_html='wxUSE_HTML=no'
8628 fi
8629
8630 else
8631
8632 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8633
8634 fi
8635
8636
8637 eval "$wx_cv_use_html"
8638
8639 if test x"$enablestring" = xdisable; then
8640 if test $wxUSE_HTML = no; then
8641 result=yes
8642 else
8643 result=no
8644 fi
8645 else
8646 result=$wxUSE_HTML
8647 fi
8648
8649 { echo "$as_me:$LINENO: result: $result" >&5
8650 echo "${ECHO_T}$result" >&6; }
8651
8652
8653 enablestring=
8654 defaultval=$wxUSE_ALL_FEATURES
8655 if test -z "$defaultval"; then
8656 if test x"$enablestring" = xdisable; then
8657 defaultval=yes
8658 else
8659 defaultval=no
8660 fi
8661 fi
8662
8663 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8664 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8665 # Check whether --enable-htmlhelp was given.
8666 if test "${enable_htmlhelp+set}" = set; then
8667 enableval=$enable_htmlhelp;
8668 if test "$enableval" = yes; then
8669 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8670 else
8671 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8672 fi
8673
8674 else
8675
8676 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8677
8678 fi
8679
8680
8681 eval "$wx_cv_use_htmlhelp"
8682
8683 if test x"$enablestring" = xdisable; then
8684 if test $wxUSE_WXHTML_HELP = no; then
8685 result=yes
8686 else
8687 result=no
8688 fi
8689 else
8690 result=$wxUSE_WXHTML_HELP
8691 fi
8692
8693 { echo "$as_me:$LINENO: result: $result" >&5
8694 echo "${ECHO_T}$result" >&6; }
8695
8696
8697 enablestring=
8698 defaultval=$wxUSE_ALL_FEATURES
8699 if test -z "$defaultval"; then
8700 if test x"$enablestring" = xdisable; then
8701 defaultval=yes
8702 else
8703 defaultval=no
8704 fi
8705 fi
8706
8707 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8708 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8709 # Check whether --enable-xrc was given.
8710 if test "${enable_xrc+set}" = set; then
8711 enableval=$enable_xrc;
8712 if test "$enableval" = yes; then
8713 wx_cv_use_xrc='wxUSE_XRC=yes'
8714 else
8715 wx_cv_use_xrc='wxUSE_XRC=no'
8716 fi
8717
8718 else
8719
8720 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8721
8722 fi
8723
8724
8725 eval "$wx_cv_use_xrc"
8726
8727 if test x"$enablestring" = xdisable; then
8728 if test $wxUSE_XRC = no; then
8729 result=yes
8730 else
8731 result=no
8732 fi
8733 else
8734 result=$wxUSE_XRC
8735 fi
8736
8737 { echo "$as_me:$LINENO: result: $result" >&5
8738 echo "${ECHO_T}$result" >&6; }
8739
8740
8741 enablestring=
8742 defaultval=$wxUSE_ALL_FEATURES
8743 if test -z "$defaultval"; then
8744 if test x"$enablestring" = xdisable; then
8745 defaultval=yes
8746 else
8747 defaultval=no
8748 fi
8749 fi
8750
8751 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8752 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8753 # Check whether --enable-aui was given.
8754 if test "${enable_aui+set}" = set; then
8755 enableval=$enable_aui;
8756 if test "$enableval" = yes; then
8757 wx_cv_use_aui='wxUSE_AUI=yes'
8758 else
8759 wx_cv_use_aui='wxUSE_AUI=no'
8760 fi
8761
8762 else
8763
8764 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8765
8766 fi
8767
8768
8769 eval "$wx_cv_use_aui"
8770
8771 if test x"$enablestring" = xdisable; then
8772 if test $wxUSE_AUI = no; then
8773 result=yes
8774 else
8775 result=no
8776 fi
8777 else
8778 result=$wxUSE_AUI
8779 fi
8780
8781 { echo "$as_me:$LINENO: result: $result" >&5
8782 echo "${ECHO_T}$result" >&6; }
8783
8784
8785 enablestring=
8786 defaultval=$wxUSE_ALL_FEATURES
8787 if test -z "$defaultval"; then
8788 if test x"$enablestring" = xdisable; then
8789 defaultval=yes
8790 else
8791 defaultval=no
8792 fi
8793 fi
8794
8795 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8796 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8797 # Check whether --enable-propgrid was given.
8798 if test "${enable_propgrid+set}" = set; then
8799 enableval=$enable_propgrid;
8800 if test "$enableval" = yes; then
8801 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8802 else
8803 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8804 fi
8805
8806 else
8807
8808 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8809
8810 fi
8811
8812
8813 eval "$wx_cv_use_propgrid"
8814
8815 if test x"$enablestring" = xdisable; then
8816 if test $wxUSE_PROPGRID = no; then
8817 result=yes
8818 else
8819 result=no
8820 fi
8821 else
8822 result=$wxUSE_PROPGRID
8823 fi
8824
8825 { echo "$as_me:$LINENO: result: $result" >&5
8826 echo "${ECHO_T}$result" >&6; }
8827
8828
8829 enablestring=
8830 defaultval=$wxUSE_ALL_FEATURES
8831 if test -z "$defaultval"; then
8832 if test x"$enablestring" = xdisable; then
8833 defaultval=yes
8834 else
8835 defaultval=no
8836 fi
8837 fi
8838
8839 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ribbon" >&5
8840 echo $ECHO_N "checking for --${enablestring:-enable}-ribbon... $ECHO_C" >&6; }
8841 # Check whether --enable-ribbon was given.
8842 if test "${enable_ribbon+set}" = set; then
8843 enableval=$enable_ribbon;
8844 if test "$enableval" = yes; then
8845 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
8846 else
8847 wx_cv_use_ribbon='wxUSE_RIBBON=no'
8848 fi
8849
8850 else
8851
8852 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
8853
8854 fi
8855
8856
8857 eval "$wx_cv_use_ribbon"
8858
8859 if test x"$enablestring" = xdisable; then
8860 if test $wxUSE_RIBBON = no; then
8861 result=yes
8862 else
8863 result=no
8864 fi
8865 else
8866 result=$wxUSE_RIBBON
8867 fi
8868
8869 { echo "$as_me:$LINENO: result: $result" >&5
8870 echo "${ECHO_T}$result" >&6; }
8871
8872
8873 enablestring=
8874 defaultval=$wxUSE_ALL_FEATURES
8875 if test -z "$defaultval"; then
8876 if test x"$enablestring" = xdisable; then
8877 defaultval=yes
8878 else
8879 defaultval=no
8880 fi
8881 fi
8882
8883 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8884 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8885 # Check whether --enable-stc was given.
8886 if test "${enable_stc+set}" = set; then
8887 enableval=$enable_stc;
8888 if test "$enableval" = yes; then
8889 wx_cv_use_stc='wxUSE_STC=yes'
8890 else
8891 wx_cv_use_stc='wxUSE_STC=no'
8892 fi
8893
8894 else
8895
8896 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8897
8898 fi
8899
8900
8901 eval "$wx_cv_use_stc"
8902
8903 if test x"$enablestring" = xdisable; then
8904 if test $wxUSE_STC = no; then
8905 result=yes
8906 else
8907 result=no
8908 fi
8909 else
8910 result=$wxUSE_STC
8911 fi
8912
8913 { echo "$as_me:$LINENO: result: $result" >&5
8914 echo "${ECHO_T}$result" >&6; }
8915
8916
8917 enablestring=
8918 defaultval=$wxUSE_ALL_FEATURES
8919 if test -z "$defaultval"; then
8920 if test x"$enablestring" = xdisable; then
8921 defaultval=yes
8922 else
8923 defaultval=no
8924 fi
8925 fi
8926
8927 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8928 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8929 # Check whether --enable-constraints was given.
8930 if test "${enable_constraints+set}" = set; then
8931 enableval=$enable_constraints;
8932 if test "$enableval" = yes; then
8933 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8934 else
8935 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8936 fi
8937
8938 else
8939
8940 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8941
8942 fi
8943
8944
8945 eval "$wx_cv_use_constraints"
8946
8947 if test x"$enablestring" = xdisable; then
8948 if test $wxUSE_CONSTRAINTS = no; then
8949 result=yes
8950 else
8951 result=no
8952 fi
8953 else
8954 result=$wxUSE_CONSTRAINTS
8955 fi
8956
8957 { echo "$as_me:$LINENO: result: $result" >&5
8958 echo "${ECHO_T}$result" >&6; }
8959
8960
8961 enablestring=
8962 defaultval=$wxUSE_ALL_FEATURES
8963 if test -z "$defaultval"; then
8964 if test x"$enablestring" = xdisable; then
8965 defaultval=yes
8966 else
8967 defaultval=no
8968 fi
8969 fi
8970
8971 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8972 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8973 # Check whether --enable-loggui was given.
8974 if test "${enable_loggui+set}" = set; then
8975 enableval=$enable_loggui;
8976 if test "$enableval" = yes; then
8977 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8978 else
8979 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8980 fi
8981
8982 else
8983
8984 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8985
8986 fi
8987
8988
8989 eval "$wx_cv_use_loggui"
8990
8991 if test x"$enablestring" = xdisable; then
8992 if test $wxUSE_LOGGUI = no; then
8993 result=yes
8994 else
8995 result=no
8996 fi
8997 else
8998 result=$wxUSE_LOGGUI
8999 fi
9000
9001 { echo "$as_me:$LINENO: result: $result" >&5
9002 echo "${ECHO_T}$result" >&6; }
9003
9004
9005 enablestring=
9006 defaultval=$wxUSE_ALL_FEATURES
9007 if test -z "$defaultval"; then
9008 if test x"$enablestring" = xdisable; then
9009 defaultval=yes
9010 else
9011 defaultval=no
9012 fi
9013 fi
9014
9015 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9016 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9017 # Check whether --enable-logwin was given.
9018 if test "${enable_logwin+set}" = set; then
9019 enableval=$enable_logwin;
9020 if test "$enableval" = yes; then
9021 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
9022 else
9023 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
9024 fi
9025
9026 else
9027
9028 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9029
9030 fi
9031
9032
9033 eval "$wx_cv_use_logwin"
9034
9035 if test x"$enablestring" = xdisable; then
9036 if test $wxUSE_LOGWINDOW = no; then
9037 result=yes
9038 else
9039 result=no
9040 fi
9041 else
9042 result=$wxUSE_LOGWINDOW
9043 fi
9044
9045 { echo "$as_me:$LINENO: result: $result" >&5
9046 echo "${ECHO_T}$result" >&6; }
9047
9048
9049 enablestring=
9050 defaultval=$wxUSE_ALL_FEATURES
9051 if test -z "$defaultval"; then
9052 if test x"$enablestring" = xdisable; then
9053 defaultval=yes
9054 else
9055 defaultval=no
9056 fi
9057 fi
9058
9059 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9060 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
9061 # Check whether --enable-logdialog was given.
9062 if test "${enable_logdialog+set}" = set; then
9063 enableval=$enable_logdialog;
9064 if test "$enableval" = yes; then
9065 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
9066 else
9067 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
9068 fi
9069
9070 else
9071
9072 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9073
9074 fi
9075
9076
9077 eval "$wx_cv_use_logdialog"
9078
9079 if test x"$enablestring" = xdisable; then
9080 if test $wxUSE_LOGDIALOG = no; then
9081 result=yes
9082 else
9083 result=no
9084 fi
9085 else
9086 result=$wxUSE_LOGDIALOG
9087 fi
9088
9089 { echo "$as_me:$LINENO: result: $result" >&5
9090 echo "${ECHO_T}$result" >&6; }
9091
9092
9093 enablestring=
9094 defaultval=$wxUSE_ALL_FEATURES
9095 if test -z "$defaultval"; then
9096 if test x"$enablestring" = xdisable; then
9097 defaultval=yes
9098 else
9099 defaultval=no
9100 fi
9101 fi
9102
9103 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9104 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
9105 # Check whether --enable-mdi was given.
9106 if test "${enable_mdi+set}" = set; then
9107 enableval=$enable_mdi;
9108 if test "$enableval" = yes; then
9109 wx_cv_use_mdi='wxUSE_MDI=yes'
9110 else
9111 wx_cv_use_mdi='wxUSE_MDI=no'
9112 fi
9113
9114 else
9115
9116 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9117
9118 fi
9119
9120
9121 eval "$wx_cv_use_mdi"
9122
9123 if test x"$enablestring" = xdisable; then
9124 if test $wxUSE_MDI = no; then
9125 result=yes
9126 else
9127 result=no
9128 fi
9129 else
9130 result=$wxUSE_MDI
9131 fi
9132
9133 { echo "$as_me:$LINENO: result: $result" >&5
9134 echo "${ECHO_T}$result" >&6; }
9135
9136
9137 enablestring=
9138 defaultval=$wxUSE_ALL_FEATURES
9139 if test -z "$defaultval"; then
9140 if test x"$enablestring" = xdisable; then
9141 defaultval=yes
9142 else
9143 defaultval=no
9144 fi
9145 fi
9146
9147 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9148 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9149 # Check whether --enable-mdidoc was given.
9150 if test "${enable_mdidoc+set}" = set; then
9151 enableval=$enable_mdidoc;
9152 if test "$enableval" = yes; then
9153 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
9154 else
9155 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
9156 fi
9157
9158 else
9159
9160 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9161
9162 fi
9163
9164
9165 eval "$wx_cv_use_mdidoc"
9166
9167 if test x"$enablestring" = xdisable; then
9168 if test $wxUSE_MDI_ARCHITECTURE = no; then
9169 result=yes
9170 else
9171 result=no
9172 fi
9173 else
9174 result=$wxUSE_MDI_ARCHITECTURE
9175 fi
9176
9177 { echo "$as_me:$LINENO: result: $result" >&5
9178 echo "${ECHO_T}$result" >&6; }
9179
9180
9181 enablestring=
9182 defaultval=$wxUSE_ALL_FEATURES
9183 if test -z "$defaultval"; then
9184 if test x"$enablestring" = xdisable; then
9185 defaultval=yes
9186 else
9187 defaultval=no
9188 fi
9189 fi
9190
9191 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
9192 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
9193 # Check whether --enable-mediactrl was given.
9194 if test "${enable_mediactrl+set}" = set; then
9195 enableval=$enable_mediactrl;
9196 if test "$enableval" = yes; then
9197 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
9198 else
9199 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
9200 fi
9201
9202 else
9203
9204 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
9205
9206 fi
9207
9208
9209 eval "$wx_cv_use_mediactrl"
9210
9211 if test x"$enablestring" = xdisable; then
9212 if test $wxUSE_MEDIACTRL = no; then
9213 result=yes
9214 else
9215 result=no
9216 fi
9217 else
9218 result=$wxUSE_MEDIACTRL
9219 fi
9220
9221 { echo "$as_me:$LINENO: result: $result" >&5
9222 echo "${ECHO_T}$result" >&6; }
9223
9224
9225 enablestring=
9226 defaultval=$wxUSE_ALL_FEATURES
9227 if test -z "$defaultval"; then
9228 if test x"$enablestring" = xdisable; then
9229 defaultval=yes
9230 else
9231 defaultval=no
9232 fi
9233 fi
9234
9235 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
9236 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
9237 # Check whether --enable-gstreamer8 was given.
9238 if test "${enable_gstreamer8+set}" = set; then
9239 enableval=$enable_gstreamer8;
9240 if test "$enableval" = yes; then
9241 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
9242 else
9243 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
9244 fi
9245
9246 else
9247
9248 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9249
9250 fi
9251
9252
9253 eval "$wx_cv_use_gstreamer8"
9254
9255 if test x"$enablestring" = xdisable; then
9256 if test $wxUSE_GSTREAMER8 = no; then
9257 result=yes
9258 else
9259 result=no
9260 fi
9261 else
9262 result=$wxUSE_GSTREAMER8
9263 fi
9264
9265 { echo "$as_me:$LINENO: result: $result" >&5
9266 echo "${ECHO_T}$result" >&6; }
9267
9268
9269 enablestring=
9270 defaultval=$wxUSE_ALL_FEATURES
9271 if test -z "$defaultval"; then
9272 if test x"$enablestring" = xdisable; then
9273 defaultval=yes
9274 else
9275 defaultval=no
9276 fi
9277 fi
9278
9279 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9280 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9281 # Check whether --enable-webkit was given.
9282 if test "${enable_webkit+set}" = set; then
9283 enableval=$enable_webkit;
9284 if test "$enableval" = yes; then
9285 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9286 else
9287 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9288 fi
9289
9290 else
9291
9292 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9293
9294 fi
9295
9296
9297 eval "$wx_cv_use_webkit"
9298
9299 if test x"$enablestring" = xdisable; then
9300 if test $wxUSE_WEBKIT = no; then
9301 result=yes
9302 else
9303 result=no
9304 fi
9305 else
9306 result=$wxUSE_WEBKIT
9307 fi
9308
9309 { echo "$as_me:$LINENO: result: $result" >&5
9310 echo "${ECHO_T}$result" >&6; }
9311
9312
9313 enablestring=
9314 defaultval=$wxUSE_ALL_FEATURES
9315 if test -z "$defaultval"; then
9316 if test x"$enablestring" = xdisable; then
9317 defaultval=yes
9318 else
9319 defaultval=no
9320 fi
9321 fi
9322
9323 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9324 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9325 # Check whether --enable-richtext was given.
9326 if test "${enable_richtext+set}" = set; then
9327 enableval=$enable_richtext;
9328 if test "$enableval" = yes; then
9329 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9330 else
9331 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9332 fi
9333
9334 else
9335
9336 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9337
9338 fi
9339
9340
9341 eval "$wx_cv_use_richtext"
9342
9343 if test x"$enablestring" = xdisable; then
9344 if test $wxUSE_RICHTEXT = no; then
9345 result=yes
9346 else
9347 result=no
9348 fi
9349 else
9350 result=$wxUSE_RICHTEXT
9351 fi
9352
9353 { echo "$as_me:$LINENO: result: $result" >&5
9354 echo "${ECHO_T}$result" >&6; }
9355
9356
9357 enablestring=
9358 defaultval=$wxUSE_ALL_FEATURES
9359 if test -z "$defaultval"; then
9360 if test x"$enablestring" = xdisable; then
9361 defaultval=yes
9362 else
9363 defaultval=no
9364 fi
9365 fi
9366
9367 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9368 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9369 # Check whether --enable-postscript was given.
9370 if test "${enable_postscript+set}" = set; then
9371 enableval=$enable_postscript;
9372 if test "$enableval" = yes; then
9373 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9374 else
9375 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9376 fi
9377
9378 else
9379
9380 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9381
9382 fi
9383
9384
9385 eval "$wx_cv_use_postscript"
9386
9387 if test x"$enablestring" = xdisable; then
9388 if test $wxUSE_POSTSCRIPT = no; then
9389 result=yes
9390 else
9391 result=no
9392 fi
9393 else
9394 result=$wxUSE_POSTSCRIPT
9395 fi
9396
9397 { echo "$as_me:$LINENO: result: $result" >&5
9398 echo "${ECHO_T}$result" >&6; }
9399
9400
9401 enablestring=
9402 defaultval=$wxUSE_ALL_FEATURES
9403 if test -z "$defaultval"; then
9404 if test x"$enablestring" = xdisable; then
9405 defaultval=yes
9406 else
9407 defaultval=no
9408 fi
9409 fi
9410
9411 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9412 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9413 # Check whether --enable-printarch was given.
9414 if test "${enable_printarch+set}" = set; then
9415 enableval=$enable_printarch;
9416 if test "$enableval" = yes; then
9417 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9418 else
9419 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9420 fi
9421
9422 else
9423
9424 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9425
9426 fi
9427
9428
9429 eval "$wx_cv_use_printarch"
9430
9431 if test x"$enablestring" = xdisable; then
9432 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
9433 result=yes
9434 else
9435 result=no
9436 fi
9437 else
9438 result=$wxUSE_PRINTING_ARCHITECTURE
9439 fi
9440
9441 { echo "$as_me:$LINENO: result: $result" >&5
9442 echo "${ECHO_T}$result" >&6; }
9443
9444
9445 enablestring=
9446 defaultval=$wxUSE_ALL_FEATURES
9447 if test -z "$defaultval"; then
9448 if test x"$enablestring" = xdisable; then
9449 defaultval=yes
9450 else
9451 defaultval=no
9452 fi
9453 fi
9454
9455 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9456 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9457 # Check whether --enable-svg was given.
9458 if test "${enable_svg+set}" = set; then
9459 enableval=$enable_svg;
9460 if test "$enableval" = yes; then
9461 wx_cv_use_svg='wxUSE_SVG=yes'
9462 else
9463 wx_cv_use_svg='wxUSE_SVG=no'
9464 fi
9465
9466 else
9467
9468 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9469
9470 fi
9471
9472
9473 eval "$wx_cv_use_svg"
9474
9475 if test x"$enablestring" = xdisable; then
9476 if test $wxUSE_SVG = no; then
9477 result=yes
9478 else
9479 result=no
9480 fi
9481 else
9482 result=$wxUSE_SVG
9483 fi
9484
9485 { echo "$as_me:$LINENO: result: $result" >&5
9486 echo "${ECHO_T}$result" >&6; }
9487
9488
9489 if test "$wxUSE_MAC" != 1; then
9490
9491 enablestring=
9492 defaultval=$wxUSE_ALL_FEATURES
9493 if test -z "$defaultval"; then
9494 if test x"$enablestring" = xdisable; then
9495 defaultval=yes
9496 else
9497 defaultval=no
9498 fi
9499 fi
9500
9501 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9502 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9503 # Check whether --enable-graphics_ctx was given.
9504 if test "${enable_graphics_ctx+set}" = set; then
9505 enableval=$enable_graphics_ctx;
9506 if test "$enableval" = yes; then
9507 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9508 else
9509 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9510 fi
9511
9512 else
9513
9514 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9515
9516 fi
9517
9518
9519 eval "$wx_cv_use_graphics_ctx"
9520
9521 if test x"$enablestring" = xdisable; then
9522 if test $wxUSE_GRAPHICS_CONTEXT = no; then
9523 result=yes
9524 else
9525 result=no
9526 fi
9527 else
9528 result=$wxUSE_GRAPHICS_CONTEXT
9529 fi
9530
9531 { echo "$as_me:$LINENO: result: $result" >&5
9532 echo "${ECHO_T}$result" >&6; }
9533
9534 fi
9535
9536
9537
9538 enablestring=
9539 defaultval=$wxUSE_ALL_FEATURES
9540 if test -z "$defaultval"; then
9541 if test x"$enablestring" = xdisable; then
9542 defaultval=yes
9543 else
9544 defaultval=no
9545 fi
9546 fi
9547
9548 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9549 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9550 # Check whether --enable-clipboard was given.
9551 if test "${enable_clipboard+set}" = set; then
9552 enableval=$enable_clipboard;
9553 if test "$enableval" = yes; then
9554 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9555 else
9556 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9557 fi
9558
9559 else
9560
9561 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9562
9563 fi
9564
9565
9566 eval "$wx_cv_use_clipboard"
9567
9568 if test x"$enablestring" = xdisable; then
9569 if test $wxUSE_CLIPBOARD = no; then
9570 result=yes
9571 else
9572 result=no
9573 fi
9574 else
9575 result=$wxUSE_CLIPBOARD
9576 fi
9577
9578 { echo "$as_me:$LINENO: result: $result" >&5
9579 echo "${ECHO_T}$result" >&6; }
9580
9581
9582 enablestring=
9583 defaultval=$wxUSE_ALL_FEATURES
9584 if test -z "$defaultval"; then
9585 if test x"$enablestring" = xdisable; then
9586 defaultval=yes
9587 else
9588 defaultval=no
9589 fi
9590 fi
9591
9592 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9593 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9594 # Check whether --enable-dnd was given.
9595 if test "${enable_dnd+set}" = set; then
9596 enableval=$enable_dnd;
9597 if test "$enableval" = yes; then
9598 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9599 else
9600 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9601 fi
9602
9603 else
9604
9605 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9606
9607 fi
9608
9609
9610 eval "$wx_cv_use_dnd"
9611
9612 if test x"$enablestring" = xdisable; then
9613 if test $wxUSE_DRAG_AND_DROP = no; then
9614 result=yes
9615 else
9616 result=no
9617 fi
9618 else
9619 result=$wxUSE_DRAG_AND_DROP
9620 fi
9621
9622 { echo "$as_me:$LINENO: result: $result" >&5
9623 echo "${ECHO_T}$result" >&6; }
9624
9625
9626 enablestring=
9627 defaultval=$wxUSE_ALL_FEATURES
9628 if test -z "$defaultval"; then
9629 if test x"$enablestring" = xdisable; then
9630 defaultval=yes
9631 else
9632 defaultval=no
9633 fi
9634 fi
9635
9636 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9637 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9638 # Check whether --enable-metafile was given.
9639 if test "${enable_metafile+set}" = set; then
9640 enableval=$enable_metafile;
9641 if test "$enableval" = yes; then
9642 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9643 else
9644 wx_cv_use_metafile='wxUSE_METAFILE=no'
9645 fi
9646
9647 else
9648
9649 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9650
9651 fi
9652
9653
9654 eval "$wx_cv_use_metafile"
9655
9656 if test x"$enablestring" = xdisable; then
9657 if test $wxUSE_METAFILE = no; then
9658 result=yes
9659 else
9660 result=no
9661 fi
9662 else
9663 result=$wxUSE_METAFILE
9664 fi
9665
9666 { echo "$as_me:$LINENO: result: $result" >&5
9667 echo "${ECHO_T}$result" >&6; }
9668
9669
9670
9671 DEFAULT_wxUSE_CONTROLS=none
9672
9673 enablestring=disable
9674 defaultval=
9675 if test -z "$defaultval"; then
9676 if test x"$enablestring" = xdisable; then
9677 defaultval=yes
9678 else
9679 defaultval=no
9680 fi
9681 fi
9682
9683 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9684 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9685 # Check whether --enable-controls was given.
9686 if test "${enable_controls+set}" = set; then
9687 enableval=$enable_controls;
9688 if test "$enableval" = yes; then
9689 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9690 else
9691 wx_cv_use_controls='wxUSE_CONTROLS=no'
9692 fi
9693
9694 else
9695
9696 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9697
9698 fi
9699
9700
9701 eval "$wx_cv_use_controls"
9702
9703 if test x"$enablestring" = xdisable; then
9704 if test $wxUSE_CONTROLS = no; then
9705 result=yes
9706 else
9707 result=no
9708 fi
9709 else
9710 result=$wxUSE_CONTROLS
9711 fi
9712
9713 { echo "$as_me:$LINENO: result: $result" >&5
9714 echo "${ECHO_T}$result" >&6; }
9715
9716
9717 if test "$wxUSE_CONTROLS" = "no"; then
9718 DEFAULT_wxUSE_ACCEL=no
9719 DEFAULT_wxUSE_ANIMATIONCTRL=no
9720 DEFAULT_wxUSE_BMPBUTTON=no
9721 DEFAULT_wxUSE_BUTTON=no
9722 DEFAULT_wxUSE_CALCTRL=no
9723 DEFAULT_wxUSE_CARET=no
9724 DEFAULT_wxUSE_CHECKBOX=no
9725 DEFAULT_wxUSE_CHECKLISTBOX=no
9726 DEFAULT_wxUSE_CHOICE=no
9727 DEFAULT_wxUSE_CHOICEBOOK=no
9728 DEFAULT_wxUSE_COLLPANE=no
9729 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9730 DEFAULT_wxUSE_COMBOBOX=no
9731 DEFAULT_wxUSE_COMBOBOX=no
9732 DEFAULT_wxUSE_DATAVIEWCTRL=no
9733 DEFAULT_wxUSE_DATEPICKCTRL=no
9734 DEFAULT_wxUSE_DETECT_SM=no
9735 DEFAULT_wxUSE_DIRPICKERCTRL=no
9736 DEFAULT_wxUSE_DISPLAY=no
9737 DEFAULT_wxUSE_FILECTRL=no
9738 DEFAULT_wxUSE_FILEPICKERCTRL=no
9739 DEFAULT_wxUSE_FONTPICKERCTRL=no
9740 DEFAULT_wxUSE_GAUGE=no
9741 DEFAULT_wxUSE_GRID=no
9742 DEFAULT_wxUSE_HEADERCTRL=no
9743 DEFAULT_wxUSE_HYPERLINKCTRL=no
9744 DEFAULT_wxUSE_IMAGLIST=no
9745 DEFAULT_wxUSE_LISTBOOK=no
9746 DEFAULT_wxUSE_LISTBOX=no
9747 DEFAULT_wxUSE_LISTCTRL=no
9748 DEFAULT_wxUSE_NOTEBOOK=no
9749 DEFAULT_wxUSE_POPUPWIN=no
9750 DEFAULT_wxUSE_RADIOBOX=no
9751 DEFAULT_wxUSE_RADIOBTN=no
9752 DEFAULT_wxUSE_REARRANGECTRL=no
9753 DEFAULT_wxUSE_SASH=no
9754 DEFAULT_wxUSE_SCROLLBAR=no
9755 DEFAULT_wxUSE_SEARCHCTRL=no
9756 DEFAULT_wxUSE_SLIDER=no
9757 DEFAULT_wxUSE_SPINBTN=no
9758 DEFAULT_wxUSE_SPINCTRL=no
9759 DEFAULT_wxUSE_SPLITTER=no
9760 DEFAULT_wxUSE_STATBMP=no
9761 DEFAULT_wxUSE_STATBOX=no
9762 DEFAULT_wxUSE_STATLINE=no
9763 DEFAULT_wxUSE_STATUSBAR=no
9764 DEFAULT_wxUSE_TIPWINDOW=no
9765 DEFAULT_wxUSE_TOGGLEBTN=no
9766 DEFAULT_wxUSE_TOOLBAR=no
9767 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9768 DEFAULT_wxUSE_TOOLBOOK=no
9769 DEFAULT_wxUSE_TOOLTIPS=no
9770 DEFAULT_wxUSE_TREEBOOK=no
9771 DEFAULT_wxUSE_TREECTRL=no
9772 fi
9773
9774
9775 enablestring=
9776 defaultval=$wxUSE_ALL_FEATURES
9777 if test -z "$defaultval"; then
9778 if test x"$enablestring" = xdisable; then
9779 defaultval=yes
9780 else
9781 defaultval=no
9782 fi
9783 fi
9784
9785 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9786 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9787 # Check whether --enable-accel was given.
9788 if test "${enable_accel+set}" = set; then
9789 enableval=$enable_accel;
9790 if test "$enableval" = yes; then
9791 wx_cv_use_accel='wxUSE_ACCEL=yes'
9792 else
9793 wx_cv_use_accel='wxUSE_ACCEL=no'
9794 fi
9795
9796 else
9797
9798 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9799
9800 fi
9801
9802
9803 eval "$wx_cv_use_accel"
9804
9805 if test x"$enablestring" = xdisable; then
9806 if test $wxUSE_ACCEL = no; then
9807 result=yes
9808 else
9809 result=no
9810 fi
9811 else
9812 result=$wxUSE_ACCEL
9813 fi
9814
9815 { echo "$as_me:$LINENO: result: $result" >&5
9816 echo "${ECHO_T}$result" >&6; }
9817
9818
9819 enablestring=
9820 defaultval=$wxUSE_ALL_FEATURES
9821 if test -z "$defaultval"; then
9822 if test x"$enablestring" = xdisable; then
9823 defaultval=yes
9824 else
9825 defaultval=no
9826 fi
9827 fi
9828
9829 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9830 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9831 # Check whether --enable-animatectrl was given.
9832 if test "${enable_animatectrl+set}" = set; then
9833 enableval=$enable_animatectrl;
9834 if test "$enableval" = yes; then
9835 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9836 else
9837 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9838 fi
9839
9840 else
9841
9842 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9843
9844 fi
9845
9846
9847 eval "$wx_cv_use_animatectrl"
9848
9849 if test x"$enablestring" = xdisable; then
9850 if test $wxUSE_ANIMATIONCTRL = no; then
9851 result=yes
9852 else
9853 result=no
9854 fi
9855 else
9856 result=$wxUSE_ANIMATIONCTRL
9857 fi
9858
9859 { echo "$as_me:$LINENO: result: $result" >&5
9860 echo "${ECHO_T}$result" >&6; }
9861
9862
9863 enablestring=
9864 defaultval=$wxUSE_ALL_FEATURES
9865 if test -z "$defaultval"; then
9866 if test x"$enablestring" = xdisable; then
9867 defaultval=yes
9868 else
9869 defaultval=no
9870 fi
9871 fi
9872
9873 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9874 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9875 # Check whether --enable-bmpbutton was given.
9876 if test "${enable_bmpbutton+set}" = set; then
9877 enableval=$enable_bmpbutton;
9878 if test "$enableval" = yes; then
9879 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9880 else
9881 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9882 fi
9883
9884 else
9885
9886 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9887
9888 fi
9889
9890
9891 eval "$wx_cv_use_bmpbutton"
9892
9893 if test x"$enablestring" = xdisable; then
9894 if test $wxUSE_BMPBUTTON = no; then
9895 result=yes
9896 else
9897 result=no
9898 fi
9899 else
9900 result=$wxUSE_BMPBUTTON
9901 fi
9902
9903 { echo "$as_me:$LINENO: result: $result" >&5
9904 echo "${ECHO_T}$result" >&6; }
9905
9906
9907 enablestring=
9908 defaultval=$wxUSE_ALL_FEATURES
9909 if test -z "$defaultval"; then
9910 if test x"$enablestring" = xdisable; then
9911 defaultval=yes
9912 else
9913 defaultval=no
9914 fi
9915 fi
9916
9917 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9918 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9919 # Check whether --enable-bmpcombobox was given.
9920 if test "${enable_bmpcombobox+set}" = set; then
9921 enableval=$enable_bmpcombobox;
9922 if test "$enableval" = yes; then
9923 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9924 else
9925 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9926 fi
9927
9928 else
9929
9930 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9931
9932 fi
9933
9934
9935 eval "$wx_cv_use_bmpcombobox"
9936
9937 if test x"$enablestring" = xdisable; then
9938 if test $wxUSE_BITMAPCOMBOBOX = no; then
9939 result=yes
9940 else
9941 result=no
9942 fi
9943 else
9944 result=$wxUSE_BITMAPCOMBOBOX
9945 fi
9946
9947 { echo "$as_me:$LINENO: result: $result" >&5
9948 echo "${ECHO_T}$result" >&6; }
9949
9950
9951 enablestring=
9952 defaultval=$wxUSE_ALL_FEATURES
9953 if test -z "$defaultval"; then
9954 if test x"$enablestring" = xdisable; then
9955 defaultval=yes
9956 else
9957 defaultval=no
9958 fi
9959 fi
9960
9961 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9962 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9963 # Check whether --enable-button was given.
9964 if test "${enable_button+set}" = set; then
9965 enableval=$enable_button;
9966 if test "$enableval" = yes; then
9967 wx_cv_use_button='wxUSE_BUTTON=yes'
9968 else
9969 wx_cv_use_button='wxUSE_BUTTON=no'
9970 fi
9971
9972 else
9973
9974 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9975
9976 fi
9977
9978
9979 eval "$wx_cv_use_button"
9980
9981 if test x"$enablestring" = xdisable; then
9982 if test $wxUSE_BUTTON = no; then
9983 result=yes
9984 else
9985 result=no
9986 fi
9987 else
9988 result=$wxUSE_BUTTON
9989 fi
9990
9991 { echo "$as_me:$LINENO: result: $result" >&5
9992 echo "${ECHO_T}$result" >&6; }
9993
9994
9995 enablestring=
9996 defaultval=$wxUSE_ALL_FEATURES
9997 if test -z "$defaultval"; then
9998 if test x"$enablestring" = xdisable; then
9999 defaultval=yes
10000 else
10001 defaultval=no
10002 fi
10003 fi
10004
10005 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10006 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10007 # Check whether --enable-calendar was given.
10008 if test "${enable_calendar+set}" = set; then
10009 enableval=$enable_calendar;
10010 if test "$enableval" = yes; then
10011 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
10012 else
10013 wx_cv_use_calendar='wxUSE_CALCTRL=no'
10014 fi
10015
10016 else
10017
10018 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10019
10020 fi
10021
10022
10023 eval "$wx_cv_use_calendar"
10024
10025 if test x"$enablestring" = xdisable; then
10026 if test $wxUSE_CALCTRL = no; then
10027 result=yes
10028 else
10029 result=no
10030 fi
10031 else
10032 result=$wxUSE_CALCTRL
10033 fi
10034
10035 { echo "$as_me:$LINENO: result: $result" >&5
10036 echo "${ECHO_T}$result" >&6; }
10037
10038
10039 enablestring=
10040 defaultval=$wxUSE_ALL_FEATURES
10041 if test -z "$defaultval"; then
10042 if test x"$enablestring" = xdisable; then
10043 defaultval=yes
10044 else
10045 defaultval=no
10046 fi
10047 fi
10048
10049 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
10050 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
10051 # Check whether --enable-caret was given.
10052 if test "${enable_caret+set}" = set; then
10053 enableval=$enable_caret;
10054 if test "$enableval" = yes; then
10055 wx_cv_use_caret='wxUSE_CARET=yes'
10056 else
10057 wx_cv_use_caret='wxUSE_CARET=no'
10058 fi
10059
10060 else
10061
10062 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10063
10064 fi
10065
10066
10067 eval "$wx_cv_use_caret"
10068
10069 if test x"$enablestring" = xdisable; then
10070 if test $wxUSE_CARET = no; then
10071 result=yes
10072 else
10073 result=no
10074 fi
10075 else
10076 result=$wxUSE_CARET
10077 fi
10078
10079 { echo "$as_me:$LINENO: result: $result" >&5
10080 echo "${ECHO_T}$result" >&6; }
10081
10082
10083 enablestring=
10084 defaultval=$wxUSE_ALL_FEATURES
10085 if test -z "$defaultval"; then
10086 if test x"$enablestring" = xdisable; then
10087 defaultval=yes
10088 else
10089 defaultval=no
10090 fi
10091 fi
10092
10093 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10094 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10095 # Check whether --enable-checkbox was given.
10096 if test "${enable_checkbox+set}" = set; then
10097 enableval=$enable_checkbox;
10098 if test "$enableval" = yes; then
10099 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
10100 else
10101 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
10102 fi
10103
10104 else
10105
10106 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10107
10108 fi
10109
10110
10111 eval "$wx_cv_use_checkbox"
10112
10113 if test x"$enablestring" = xdisable; then
10114 if test $wxUSE_CHECKBOX = no; then
10115 result=yes
10116 else
10117 result=no
10118 fi
10119 else
10120 result=$wxUSE_CHECKBOX
10121 fi
10122
10123 { echo "$as_me:$LINENO: result: $result" >&5
10124 echo "${ECHO_T}$result" >&6; }
10125
10126
10127 enablestring=
10128 defaultval=$wxUSE_ALL_FEATURES
10129 if test -z "$defaultval"; then
10130 if test x"$enablestring" = xdisable; then
10131 defaultval=yes
10132 else
10133 defaultval=no
10134 fi
10135 fi
10136
10137 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10138 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10139 # Check whether --enable-checklst was given.
10140 if test "${enable_checklst+set}" = set; then
10141 enableval=$enable_checklst;
10142 if test "$enableval" = yes; then
10143 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
10144 else
10145 wx_cv_use_checklst='wxUSE_CHECKLST=no'
10146 fi
10147
10148 else
10149
10150 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10151
10152 fi
10153
10154
10155 eval "$wx_cv_use_checklst"
10156
10157 if test x"$enablestring" = xdisable; then
10158 if test $wxUSE_CHECKLST = no; then
10159 result=yes
10160 else
10161 result=no
10162 fi
10163 else
10164 result=$wxUSE_CHECKLST
10165 fi
10166
10167 { echo "$as_me:$LINENO: result: $result" >&5
10168 echo "${ECHO_T}$result" >&6; }
10169
10170
10171 enablestring=
10172 defaultval=$wxUSE_ALL_FEATURES
10173 if test -z "$defaultval"; then
10174 if test x"$enablestring" = xdisable; then
10175 defaultval=yes
10176 else
10177 defaultval=no
10178 fi
10179 fi
10180
10181 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10182 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
10183 # Check whether --enable-choice was given.
10184 if test "${enable_choice+set}" = set; then
10185 enableval=$enable_choice;
10186 if test "$enableval" = yes; then
10187 wx_cv_use_choice='wxUSE_CHOICE=yes'
10188 else
10189 wx_cv_use_choice='wxUSE_CHOICE=no'
10190 fi
10191
10192 else
10193
10194 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10195
10196 fi
10197
10198
10199 eval "$wx_cv_use_choice"
10200
10201 if test x"$enablestring" = xdisable; then
10202 if test $wxUSE_CHOICE = no; then
10203 result=yes
10204 else
10205 result=no
10206 fi
10207 else
10208 result=$wxUSE_CHOICE
10209 fi
10210
10211 { echo "$as_me:$LINENO: result: $result" >&5
10212 echo "${ECHO_T}$result" >&6; }
10213
10214
10215 enablestring=
10216 defaultval=$wxUSE_ALL_FEATURES
10217 if test -z "$defaultval"; then
10218 if test x"$enablestring" = xdisable; then
10219 defaultval=yes
10220 else
10221 defaultval=no
10222 fi
10223 fi
10224
10225 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10226 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10227 # Check whether --enable-choicebook was given.
10228 if test "${enable_choicebook+set}" = set; then
10229 enableval=$enable_choicebook;
10230 if test "$enableval" = yes; then
10231 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10232 else
10233 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10234 fi
10235
10236 else
10237
10238 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10239
10240 fi
10241
10242
10243 eval "$wx_cv_use_choicebook"
10244
10245 if test x"$enablestring" = xdisable; then
10246 if test $wxUSE_CHOICEBOOK = no; then
10247 result=yes
10248 else
10249 result=no
10250 fi
10251 else
10252 result=$wxUSE_CHOICEBOOK
10253 fi
10254
10255 { echo "$as_me:$LINENO: result: $result" >&5
10256 echo "${ECHO_T}$result" >&6; }
10257
10258
10259 enablestring=
10260 defaultval=$wxUSE_ALL_FEATURES
10261 if test -z "$defaultval"; then
10262 if test x"$enablestring" = xdisable; then
10263 defaultval=yes
10264 else
10265 defaultval=no
10266 fi
10267 fi
10268
10269 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10270 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10271 # Check whether --enable-collpane was given.
10272 if test "${enable_collpane+set}" = set; then
10273 enableval=$enable_collpane;
10274 if test "$enableval" = yes; then
10275 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10276 else
10277 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10278 fi
10279
10280 else
10281
10282 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10283
10284 fi
10285
10286
10287 eval "$wx_cv_use_collpane"
10288
10289 if test x"$enablestring" = xdisable; then
10290 if test $wxUSE_COLLPANE = no; then
10291 result=yes
10292 else
10293 result=no
10294 fi
10295 else
10296 result=$wxUSE_COLLPANE
10297 fi
10298
10299 { echo "$as_me:$LINENO: result: $result" >&5
10300 echo "${ECHO_T}$result" >&6; }
10301
10302
10303 enablestring=
10304 defaultval=$wxUSE_ALL_FEATURES
10305 if test -z "$defaultval"; then
10306 if test x"$enablestring" = xdisable; then
10307 defaultval=yes
10308 else
10309 defaultval=no
10310 fi
10311 fi
10312
10313 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10314 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10315 # Check whether --enable-colourpicker was given.
10316 if test "${enable_colourpicker+set}" = set; then
10317 enableval=$enable_colourpicker;
10318 if test "$enableval" = yes; then
10319 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10320 else
10321 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10322 fi
10323
10324 else
10325
10326 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10327
10328 fi
10329
10330
10331 eval "$wx_cv_use_colourpicker"
10332
10333 if test x"$enablestring" = xdisable; then
10334 if test $wxUSE_COLOURPICKERCTRL = no; then
10335 result=yes
10336 else
10337 result=no
10338 fi
10339 else
10340 result=$wxUSE_COLOURPICKERCTRL
10341 fi
10342
10343 { echo "$as_me:$LINENO: result: $result" >&5
10344 echo "${ECHO_T}$result" >&6; }
10345
10346
10347 enablestring=
10348 defaultval=$wxUSE_ALL_FEATURES
10349 if test -z "$defaultval"; then
10350 if test x"$enablestring" = xdisable; then
10351 defaultval=yes
10352 else
10353 defaultval=no
10354 fi
10355 fi
10356
10357 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10358 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10359 # Check whether --enable-combobox was given.
10360 if test "${enable_combobox+set}" = set; then
10361 enableval=$enable_combobox;
10362 if test "$enableval" = yes; then
10363 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10364 else
10365 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10366 fi
10367
10368 else
10369
10370 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10371
10372 fi
10373
10374
10375 eval "$wx_cv_use_combobox"
10376
10377 if test x"$enablestring" = xdisable; then
10378 if test $wxUSE_COMBOBOX = no; then
10379 result=yes
10380 else
10381 result=no
10382 fi
10383 else
10384 result=$wxUSE_COMBOBOX
10385 fi
10386
10387 { echo "$as_me:$LINENO: result: $result" >&5
10388 echo "${ECHO_T}$result" >&6; }
10389
10390
10391 enablestring=
10392 defaultval=$wxUSE_ALL_FEATURES
10393 if test -z "$defaultval"; then
10394 if test x"$enablestring" = xdisable; then
10395 defaultval=yes
10396 else
10397 defaultval=no
10398 fi
10399 fi
10400
10401 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10402 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10403 # Check whether --enable-comboctrl was given.
10404 if test "${enable_comboctrl+set}" = set; then
10405 enableval=$enable_comboctrl;
10406 if test "$enableval" = yes; then
10407 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10408 else
10409 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10410 fi
10411
10412 else
10413
10414 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10415
10416 fi
10417
10418
10419 eval "$wx_cv_use_comboctrl"
10420
10421 if test x"$enablestring" = xdisable; then
10422 if test $wxUSE_COMBOCTRL = no; then
10423 result=yes
10424 else
10425 result=no
10426 fi
10427 else
10428 result=$wxUSE_COMBOCTRL
10429 fi
10430
10431 { echo "$as_me:$LINENO: result: $result" >&5
10432 echo "${ECHO_T}$result" >&6; }
10433
10434
10435 enablestring=
10436 defaultval=$wxUSE_ALL_FEATURES
10437 if test -z "$defaultval"; then
10438 if test x"$enablestring" = xdisable; then
10439 defaultval=yes
10440 else
10441 defaultval=no
10442 fi
10443 fi
10444
10445 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10446 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10447 # Check whether --enable-dataviewctrl was given.
10448 if test "${enable_dataviewctrl+set}" = set; then
10449 enableval=$enable_dataviewctrl;
10450 if test "$enableval" = yes; then
10451 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10452 else
10453 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10454 fi
10455
10456 else
10457
10458 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10459
10460 fi
10461
10462
10463 eval "$wx_cv_use_dataviewctrl"
10464
10465 if test x"$enablestring" = xdisable; then
10466 if test $wxUSE_DATAVIEWCTRL = no; then
10467 result=yes
10468 else
10469 result=no
10470 fi
10471 else
10472 result=$wxUSE_DATAVIEWCTRL
10473 fi
10474
10475 { echo "$as_me:$LINENO: result: $result" >&5
10476 echo "${ECHO_T}$result" >&6; }
10477
10478
10479 enablestring=
10480 defaultval=$wxUSE_ALL_FEATURES
10481 if test -z "$defaultval"; then
10482 if test x"$enablestring" = xdisable; then
10483 defaultval=yes
10484 else
10485 defaultval=no
10486 fi
10487 fi
10488
10489 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10490 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10491 # Check whether --enable-datepick was given.
10492 if test "${enable_datepick+set}" = set; then
10493 enableval=$enable_datepick;
10494 if test "$enableval" = yes; then
10495 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10496 else
10497 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10498 fi
10499
10500 else
10501
10502 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10503
10504 fi
10505
10506
10507 eval "$wx_cv_use_datepick"
10508
10509 if test x"$enablestring" = xdisable; then
10510 if test $wxUSE_DATEPICKCTRL = no; then
10511 result=yes
10512 else
10513 result=no
10514 fi
10515 else
10516 result=$wxUSE_DATEPICKCTRL
10517 fi
10518
10519 { echo "$as_me:$LINENO: result: $result" >&5
10520 echo "${ECHO_T}$result" >&6; }
10521
10522
10523 enablestring=
10524 defaultval=$wxUSE_ALL_FEATURES
10525 if test -z "$defaultval"; then
10526 if test x"$enablestring" = xdisable; then
10527 defaultval=yes
10528 else
10529 defaultval=no
10530 fi
10531 fi
10532
10533 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10534 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10535 # Check whether --enable-detect_sm was given.
10536 if test "${enable_detect_sm+set}" = set; then
10537 enableval=$enable_detect_sm;
10538 if test "$enableval" = yes; then
10539 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10540 else
10541 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10542 fi
10543
10544 else
10545
10546 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10547
10548 fi
10549
10550
10551 eval "$wx_cv_use_detect_sm"
10552
10553 if test x"$enablestring" = xdisable; then
10554 if test $wxUSE_DETECT_SM = no; then
10555 result=yes
10556 else
10557 result=no
10558 fi
10559 else
10560 result=$wxUSE_DETECT_SM
10561 fi
10562
10563 { echo "$as_me:$LINENO: result: $result" >&5
10564 echo "${ECHO_T}$result" >&6; }
10565
10566
10567 enablestring=
10568 defaultval=$wxUSE_ALL_FEATURES
10569 if test -z "$defaultval"; then
10570 if test x"$enablestring" = xdisable; then
10571 defaultval=yes
10572 else
10573 defaultval=no
10574 fi
10575 fi
10576
10577 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10578 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10579 # Check whether --enable-dirpicker was given.
10580 if test "${enable_dirpicker+set}" = set; then
10581 enableval=$enable_dirpicker;
10582 if test "$enableval" = yes; then
10583 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10584 else
10585 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10586 fi
10587
10588 else
10589
10590 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10591
10592 fi
10593
10594
10595 eval "$wx_cv_use_dirpicker"
10596
10597 if test x"$enablestring" = xdisable; then
10598 if test $wxUSE_DIRPICKERCTRL = no; then
10599 result=yes
10600 else
10601 result=no
10602 fi
10603 else
10604 result=$wxUSE_DIRPICKERCTRL
10605 fi
10606
10607 { echo "$as_me:$LINENO: result: $result" >&5
10608 echo "${ECHO_T}$result" >&6; }
10609
10610
10611 enablestring=
10612 defaultval=$wxUSE_ALL_FEATURES
10613 if test -z "$defaultval"; then
10614 if test x"$enablestring" = xdisable; then
10615 defaultval=yes
10616 else
10617 defaultval=no
10618 fi
10619 fi
10620
10621 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10622 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10623 # Check whether --enable-display was given.
10624 if test "${enable_display+set}" = set; then
10625 enableval=$enable_display;
10626 if test "$enableval" = yes; then
10627 wx_cv_use_display='wxUSE_DISPLAY=yes'
10628 else
10629 wx_cv_use_display='wxUSE_DISPLAY=no'
10630 fi
10631
10632 else
10633
10634 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10635
10636 fi
10637
10638
10639 eval "$wx_cv_use_display"
10640
10641 if test x"$enablestring" = xdisable; then
10642 if test $wxUSE_DISPLAY = no; then
10643 result=yes
10644 else
10645 result=no
10646 fi
10647 else
10648 result=$wxUSE_DISPLAY
10649 fi
10650
10651 { echo "$as_me:$LINENO: result: $result" >&5
10652 echo "${ECHO_T}$result" >&6; }
10653
10654
10655 enablestring=
10656 defaultval=$wxUSE_ALL_FEATURES
10657 if test -z "$defaultval"; then
10658 if test x"$enablestring" = xdisable; then
10659 defaultval=yes
10660 else
10661 defaultval=no
10662 fi
10663 fi
10664
10665 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10666 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10667 # Check whether --enable-editablebox was given.
10668 if test "${enable_editablebox+set}" = set; then
10669 enableval=$enable_editablebox;
10670 if test "$enableval" = yes; then
10671 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10672 else
10673 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10674 fi
10675
10676 else
10677
10678 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10679
10680 fi
10681
10682
10683 eval "$wx_cv_use_editablebox"
10684
10685 if test x"$enablestring" = xdisable; then
10686 if test $wxUSE_EDITABLELISTBOX = no; then
10687 result=yes
10688 else
10689 result=no
10690 fi
10691 else
10692 result=$wxUSE_EDITABLELISTBOX
10693 fi
10694
10695 { echo "$as_me:$LINENO: result: $result" >&5
10696 echo "${ECHO_T}$result" >&6; }
10697
10698
10699 enablestring=
10700 defaultval=$wxUSE_ALL_FEATURES
10701 if test -z "$defaultval"; then
10702 if test x"$enablestring" = xdisable; then
10703 defaultval=yes
10704 else
10705 defaultval=no
10706 fi
10707 fi
10708
10709 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10710 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10711 # Check whether --enable-filectrl was given.
10712 if test "${enable_filectrl+set}" = set; then
10713 enableval=$enable_filectrl;
10714 if test "$enableval" = yes; then
10715 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10716 else
10717 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10718 fi
10719
10720 else
10721
10722 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10723
10724 fi
10725
10726
10727 eval "$wx_cv_use_filectrl"
10728
10729 if test x"$enablestring" = xdisable; then
10730 if test $wxUSE_FILECTRL = no; then
10731 result=yes
10732 else
10733 result=no
10734 fi
10735 else
10736 result=$wxUSE_FILECTRL
10737 fi
10738
10739 { echo "$as_me:$LINENO: result: $result" >&5
10740 echo "${ECHO_T}$result" >&6; }
10741
10742
10743 enablestring=
10744 defaultval=$wxUSE_ALL_FEATURES
10745 if test -z "$defaultval"; then
10746 if test x"$enablestring" = xdisable; then
10747 defaultval=yes
10748 else
10749 defaultval=no
10750 fi
10751 fi
10752
10753 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10754 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10755 # Check whether --enable-filepicker was given.
10756 if test "${enable_filepicker+set}" = set; then
10757 enableval=$enable_filepicker;
10758 if test "$enableval" = yes; then
10759 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10760 else
10761 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10762 fi
10763
10764 else
10765
10766 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10767
10768 fi
10769
10770
10771 eval "$wx_cv_use_filepicker"
10772
10773 if test x"$enablestring" = xdisable; then
10774 if test $wxUSE_FILEPICKERCTRL = no; then
10775 result=yes
10776 else
10777 result=no
10778 fi
10779 else
10780 result=$wxUSE_FILEPICKERCTRL
10781 fi
10782
10783 { echo "$as_me:$LINENO: result: $result" >&5
10784 echo "${ECHO_T}$result" >&6; }
10785
10786
10787 enablestring=
10788 defaultval=$wxUSE_ALL_FEATURES
10789 if test -z "$defaultval"; then
10790 if test x"$enablestring" = xdisable; then
10791 defaultval=yes
10792 else
10793 defaultval=no
10794 fi
10795 fi
10796
10797 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10798 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10799 # Check whether --enable-fontpicker was given.
10800 if test "${enable_fontpicker+set}" = set; then
10801 enableval=$enable_fontpicker;
10802 if test "$enableval" = yes; then
10803 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10804 else
10805 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10806 fi
10807
10808 else
10809
10810 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10811
10812 fi
10813
10814
10815 eval "$wx_cv_use_fontpicker"
10816
10817 if test x"$enablestring" = xdisable; then
10818 if test $wxUSE_FONTPICKERCTRL = no; then
10819 result=yes
10820 else
10821 result=no
10822 fi
10823 else
10824 result=$wxUSE_FONTPICKERCTRL
10825 fi
10826
10827 { echo "$as_me:$LINENO: result: $result" >&5
10828 echo "${ECHO_T}$result" >&6; }
10829
10830
10831 enablestring=
10832 defaultval=$wxUSE_ALL_FEATURES
10833 if test -z "$defaultval"; then
10834 if test x"$enablestring" = xdisable; then
10835 defaultval=yes
10836 else
10837 defaultval=no
10838 fi
10839 fi
10840
10841 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10842 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10843 # Check whether --enable-gauge was given.
10844 if test "${enable_gauge+set}" = set; then
10845 enableval=$enable_gauge;
10846 if test "$enableval" = yes; then
10847 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10848 else
10849 wx_cv_use_gauge='wxUSE_GAUGE=no'
10850 fi
10851
10852 else
10853
10854 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10855
10856 fi
10857
10858
10859 eval "$wx_cv_use_gauge"
10860
10861 if test x"$enablestring" = xdisable; then
10862 if test $wxUSE_GAUGE = no; then
10863 result=yes
10864 else
10865 result=no
10866 fi
10867 else
10868 result=$wxUSE_GAUGE
10869 fi
10870
10871 { echo "$as_me:$LINENO: result: $result" >&5
10872 echo "${ECHO_T}$result" >&6; }
10873
10874
10875 enablestring=
10876 defaultval=$wxUSE_ALL_FEATURES
10877 if test -z "$defaultval"; then
10878 if test x"$enablestring" = xdisable; then
10879 defaultval=yes
10880 else
10881 defaultval=no
10882 fi
10883 fi
10884
10885 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10886 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10887 # Check whether --enable-grid was given.
10888 if test "${enable_grid+set}" = set; then
10889 enableval=$enable_grid;
10890 if test "$enableval" = yes; then
10891 wx_cv_use_grid='wxUSE_GRID=yes'
10892 else
10893 wx_cv_use_grid='wxUSE_GRID=no'
10894 fi
10895
10896 else
10897
10898 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10899
10900 fi
10901
10902
10903 eval "$wx_cv_use_grid"
10904
10905 if test x"$enablestring" = xdisable; then
10906 if test $wxUSE_GRID = no; then
10907 result=yes
10908 else
10909 result=no
10910 fi
10911 else
10912 result=$wxUSE_GRID
10913 fi
10914
10915 { echo "$as_me:$LINENO: result: $result" >&5
10916 echo "${ECHO_T}$result" >&6; }
10917
10918
10919 enablestring=
10920 defaultval=$wxUSE_ALL_FEATURES
10921 if test -z "$defaultval"; then
10922 if test x"$enablestring" = xdisable; then
10923 defaultval=yes
10924 else
10925 defaultval=no
10926 fi
10927 fi
10928
10929 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
10930 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
10931 # Check whether --enable-headerctrl was given.
10932 if test "${enable_headerctrl+set}" = set; then
10933 enableval=$enable_headerctrl;
10934 if test "$enableval" = yes; then
10935 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
10936 else
10937 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
10938 fi
10939
10940 else
10941
10942 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
10943
10944 fi
10945
10946
10947 eval "$wx_cv_use_headerctrl"
10948
10949 if test x"$enablestring" = xdisable; then
10950 if test $wxUSE_HEADERCTRL = no; then
10951 result=yes
10952 else
10953 result=no
10954 fi
10955 else
10956 result=$wxUSE_HEADERCTRL
10957 fi
10958
10959 { echo "$as_me:$LINENO: result: $result" >&5
10960 echo "${ECHO_T}$result" >&6; }
10961
10962
10963 enablestring=
10964 defaultval=$wxUSE_ALL_FEATURES
10965 if test -z "$defaultval"; then
10966 if test x"$enablestring" = xdisable; then
10967 defaultval=yes
10968 else
10969 defaultval=no
10970 fi
10971 fi
10972
10973 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10974 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10975 # Check whether --enable-hyperlink was given.
10976 if test "${enable_hyperlink+set}" = set; then
10977 enableval=$enable_hyperlink;
10978 if test "$enableval" = yes; then
10979 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
10980 else
10981 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
10982 fi
10983
10984 else
10985
10986 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10987
10988 fi
10989
10990
10991 eval "$wx_cv_use_hyperlink"
10992
10993 if test x"$enablestring" = xdisable; then
10994 if test $wxUSE_HYPERLINKCTRL = no; then
10995 result=yes
10996 else
10997 result=no
10998 fi
10999 else
11000 result=$wxUSE_HYPERLINKCTRL
11001 fi
11002
11003 { echo "$as_me:$LINENO: result: $result" >&5
11004 echo "${ECHO_T}$result" >&6; }
11005
11006
11007 enablestring=
11008 defaultval=$wxUSE_ALL_FEATURES
11009 if test -z "$defaultval"; then
11010 if test x"$enablestring" = xdisable; then
11011 defaultval=yes
11012 else
11013 defaultval=no
11014 fi
11015 fi
11016
11017 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
11018 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
11019 # Check whether --enable-imaglist was given.
11020 if test "${enable_imaglist+set}" = set; then
11021 enableval=$enable_imaglist;
11022 if test "$enableval" = yes; then
11023 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
11024 else
11025 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
11026 fi
11027
11028 else
11029
11030 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11031
11032 fi
11033
11034
11035 eval "$wx_cv_use_imaglist"
11036
11037 if test x"$enablestring" = xdisable; then
11038 if test $wxUSE_IMAGLIST = no; then
11039 result=yes
11040 else
11041 result=no
11042 fi
11043 else
11044 result=$wxUSE_IMAGLIST
11045 fi
11046
11047 { echo "$as_me:$LINENO: result: $result" >&5
11048 echo "${ECHO_T}$result" >&6; }
11049
11050
11051 enablestring=
11052 defaultval=$wxUSE_ALL_FEATURES
11053 if test -z "$defaultval"; then
11054 if test x"$enablestring" = xdisable; then
11055 defaultval=yes
11056 else
11057 defaultval=no
11058 fi
11059 fi
11060
11061 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-infobar" >&5
11062 echo $ECHO_N "checking for --${enablestring:-enable}-infobar... $ECHO_C" >&6; }
11063 # Check whether --enable-infobar was given.
11064 if test "${enable_infobar+set}" = set; then
11065 enableval=$enable_infobar;
11066 if test "$enableval" = yes; then
11067 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
11068 else
11069 wx_cv_use_infobar='wxUSE_INFOBAR=no'
11070 fi
11071
11072 else
11073
11074 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
11075
11076 fi
11077
11078
11079 eval "$wx_cv_use_infobar"
11080
11081 if test x"$enablestring" = xdisable; then
11082 if test $wxUSE_INFOBAR = no; then
11083 result=yes
11084 else
11085 result=no
11086 fi
11087 else
11088 result=$wxUSE_INFOBAR
11089 fi
11090
11091 { echo "$as_me:$LINENO: result: $result" >&5
11092 echo "${ECHO_T}$result" >&6; }
11093
11094
11095 enablestring=
11096 defaultval=$wxUSE_ALL_FEATURES
11097 if test -z "$defaultval"; then
11098 if test x"$enablestring" = xdisable; then
11099 defaultval=yes
11100 else
11101 defaultval=no
11102 fi
11103 fi
11104
11105 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
11106 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
11107 # Check whether --enable-listbook was given.
11108 if test "${enable_listbook+set}" = set; then
11109 enableval=$enable_listbook;
11110 if test "$enableval" = yes; then
11111 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
11112 else
11113 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
11114 fi
11115
11116 else
11117
11118 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11119
11120 fi
11121
11122
11123 eval "$wx_cv_use_listbook"
11124
11125 if test x"$enablestring" = xdisable; then
11126 if test $wxUSE_LISTBOOK = no; then
11127 result=yes
11128 else
11129 result=no
11130 fi
11131 else
11132 result=$wxUSE_LISTBOOK
11133 fi
11134
11135 { echo "$as_me:$LINENO: result: $result" >&5
11136 echo "${ECHO_T}$result" >&6; }
11137
11138
11139 enablestring=
11140 defaultval=$wxUSE_ALL_FEATURES
11141 if test -z "$defaultval"; then
11142 if test x"$enablestring" = xdisable; then
11143 defaultval=yes
11144 else
11145 defaultval=no
11146 fi
11147 fi
11148
11149 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11150 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
11151 # Check whether --enable-listbox was given.
11152 if test "${enable_listbox+set}" = set; then
11153 enableval=$enable_listbox;
11154 if test "$enableval" = yes; then
11155 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
11156 else
11157 wx_cv_use_listbox='wxUSE_LISTBOX=no'
11158 fi
11159
11160 else
11161
11162 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11163
11164 fi
11165
11166
11167 eval "$wx_cv_use_listbox"
11168
11169 if test x"$enablestring" = xdisable; then
11170 if test $wxUSE_LISTBOX = no; then
11171 result=yes
11172 else
11173 result=no
11174 fi
11175 else
11176 result=$wxUSE_LISTBOX
11177 fi
11178
11179 { echo "$as_me:$LINENO: result: $result" >&5
11180 echo "${ECHO_T}$result" >&6; }
11181
11182
11183 enablestring=
11184 defaultval=$wxUSE_ALL_FEATURES
11185 if test -z "$defaultval"; then
11186 if test x"$enablestring" = xdisable; then
11187 defaultval=yes
11188 else
11189 defaultval=no
11190 fi
11191 fi
11192
11193 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
11194 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
11195 # Check whether --enable-listctrl was given.
11196 if test "${enable_listctrl+set}" = set; then
11197 enableval=$enable_listctrl;
11198 if test "$enableval" = yes; then
11199 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11200 else
11201 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
11202 fi
11203
11204 else
11205
11206 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11207
11208 fi
11209
11210
11211 eval "$wx_cv_use_listctrl"
11212
11213 if test x"$enablestring" = xdisable; then
11214 if test $wxUSE_LISTCTRL = no; then
11215 result=yes
11216 else
11217 result=no
11218 fi
11219 else
11220 result=$wxUSE_LISTCTRL
11221 fi
11222
11223 { echo "$as_me:$LINENO: result: $result" >&5
11224 echo "${ECHO_T}$result" >&6; }
11225
11226
11227 enablestring=
11228 defaultval=$wxUSE_ALL_FEATURES
11229 if test -z "$defaultval"; then
11230 if test x"$enablestring" = xdisable; then
11231 defaultval=yes
11232 else
11233 defaultval=no
11234 fi
11235 fi
11236
11237 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11238 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11239 # Check whether --enable-notebook was given.
11240 if test "${enable_notebook+set}" = set; then
11241 enableval=$enable_notebook;
11242 if test "$enableval" = yes; then
11243 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
11244 else
11245 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
11246 fi
11247
11248 else
11249
11250 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11251
11252 fi
11253
11254
11255 eval "$wx_cv_use_notebook"
11256
11257 if test x"$enablestring" = xdisable; then
11258 if test $wxUSE_NOTEBOOK = no; then
11259 result=yes
11260 else
11261 result=no
11262 fi
11263 else
11264 result=$wxUSE_NOTEBOOK
11265 fi
11266
11267 { echo "$as_me:$LINENO: result: $result" >&5
11268 echo "${ECHO_T}$result" >&6; }
11269
11270
11271 enablestring=
11272 defaultval=$wxUSE_ALL_FEATURES
11273 if test -z "$defaultval"; then
11274 if test x"$enablestring" = xdisable; then
11275 defaultval=yes
11276 else
11277 defaultval=no
11278 fi
11279 fi
11280
11281 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
11282 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
11283 # Check whether --enable-notifmsg was given.
11284 if test "${enable_notifmsg+set}" = set; then
11285 enableval=$enable_notifmsg;
11286 if test "$enableval" = yes; then
11287 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
11288 else
11289 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
11290 fi
11291
11292 else
11293
11294 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11295
11296 fi
11297
11298
11299 eval "$wx_cv_use_notifmsg"
11300
11301 if test x"$enablestring" = xdisable; then
11302 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
11303 result=yes
11304 else
11305 result=no
11306 fi
11307 else
11308 result=$wxUSE_NOTIFICATION_MESSAGE
11309 fi
11310
11311 { echo "$as_me:$LINENO: result: $result" >&5
11312 echo "${ECHO_T}$result" >&6; }
11313
11314
11315 enablestring=
11316 defaultval=$wxUSE_ALL_FEATURES
11317 if test -z "$defaultval"; then
11318 if test x"$enablestring" = xdisable; then
11319 defaultval=yes
11320 else
11321 defaultval=no
11322 fi
11323 fi
11324
11325 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11326 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11327 # Check whether --enable-odcombobox was given.
11328 if test "${enable_odcombobox+set}" = set; then
11329 enableval=$enable_odcombobox;
11330 if test "$enableval" = yes; then
11331 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11332 else
11333 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11334 fi
11335
11336 else
11337
11338 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11339
11340 fi
11341
11342
11343 eval "$wx_cv_use_odcombobox"
11344
11345 if test x"$enablestring" = xdisable; then
11346 if test $wxUSE_ODCOMBOBOX = no; then
11347 result=yes
11348 else
11349 result=no
11350 fi
11351 else
11352 result=$wxUSE_ODCOMBOBOX
11353 fi
11354
11355 { echo "$as_me:$LINENO: result: $result" >&5
11356 echo "${ECHO_T}$result" >&6; }
11357
11358
11359 enablestring=
11360 defaultval=$wxUSE_ALL_FEATURES
11361 if test -z "$defaultval"; then
11362 if test x"$enablestring" = xdisable; then
11363 defaultval=yes
11364 else
11365 defaultval=no
11366 fi
11367 fi
11368
11369 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11370 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11371 # Check whether --enable-popupwin was given.
11372 if test "${enable_popupwin+set}" = set; then
11373 enableval=$enable_popupwin;
11374 if test "$enableval" = yes; then
11375 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11376 else
11377 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11378 fi
11379
11380 else
11381
11382 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11383
11384 fi
11385
11386
11387 eval "$wx_cv_use_popupwin"
11388
11389 if test x"$enablestring" = xdisable; then
11390 if test $wxUSE_POPUPWIN = no; then
11391 result=yes
11392 else
11393 result=no
11394 fi
11395 else
11396 result=$wxUSE_POPUPWIN
11397 fi
11398
11399 { echo "$as_me:$LINENO: result: $result" >&5
11400 echo "${ECHO_T}$result" >&6; }
11401
11402
11403 enablestring=
11404 defaultval=$wxUSE_ALL_FEATURES
11405 if test -z "$defaultval"; then
11406 if test x"$enablestring" = xdisable; then
11407 defaultval=yes
11408 else
11409 defaultval=no
11410 fi
11411 fi
11412
11413 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11414 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11415 # Check whether --enable-radiobox was given.
11416 if test "${enable_radiobox+set}" = set; then
11417 enableval=$enable_radiobox;
11418 if test "$enableval" = yes; then
11419 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11420 else
11421 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11422 fi
11423
11424 else
11425
11426 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11427
11428 fi
11429
11430
11431 eval "$wx_cv_use_radiobox"
11432
11433 if test x"$enablestring" = xdisable; then
11434 if test $wxUSE_RADIOBOX = no; then
11435 result=yes
11436 else
11437 result=no
11438 fi
11439 else
11440 result=$wxUSE_RADIOBOX
11441 fi
11442
11443 { echo "$as_me:$LINENO: result: $result" >&5
11444 echo "${ECHO_T}$result" >&6; }
11445
11446
11447 enablestring=
11448 defaultval=$wxUSE_ALL_FEATURES
11449 if test -z "$defaultval"; then
11450 if test x"$enablestring" = xdisable; then
11451 defaultval=yes
11452 else
11453 defaultval=no
11454 fi
11455 fi
11456
11457 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11458 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11459 # Check whether --enable-radiobtn was given.
11460 if test "${enable_radiobtn+set}" = set; then
11461 enableval=$enable_radiobtn;
11462 if test "$enableval" = yes; then
11463 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11464 else
11465 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11466 fi
11467
11468 else
11469
11470 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11471
11472 fi
11473
11474
11475 eval "$wx_cv_use_radiobtn"
11476
11477 if test x"$enablestring" = xdisable; then
11478 if test $wxUSE_RADIOBTN = no; then
11479 result=yes
11480 else
11481 result=no
11482 fi
11483 else
11484 result=$wxUSE_RADIOBTN
11485 fi
11486
11487 { echo "$as_me:$LINENO: result: $result" >&5
11488 echo "${ECHO_T}$result" >&6; }
11489
11490
11491 enablestring=
11492 defaultval=$wxUSE_ALL_FEATURES
11493 if test -z "$defaultval"; then
11494 if test x"$enablestring" = xdisable; then
11495 defaultval=yes
11496 else
11497 defaultval=no
11498 fi
11499 fi
11500
11501 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11502 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11503 # Check whether --enable-rearrangectrl was given.
11504 if test "${enable_rearrangectrl+set}" = set; then
11505 enableval=$enable_rearrangectrl;
11506 if test "$enableval" = yes; then
11507 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
11508 else
11509 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
11510 fi
11511
11512 else
11513
11514 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11515
11516 fi
11517
11518
11519 eval "$wx_cv_use_rearrangectrl"
11520
11521 if test x"$enablestring" = xdisable; then
11522 if test $wxUSE_REARRANGECTRL = no; then
11523 result=yes
11524 else
11525 result=no
11526 fi
11527 else
11528 result=$wxUSE_REARRANGECTRL
11529 fi
11530
11531 { echo "$as_me:$LINENO: result: $result" >&5
11532 echo "${ECHO_T}$result" >&6; }
11533
11534
11535 enablestring=
11536 defaultval=$wxUSE_ALL_FEATURES
11537 if test -z "$defaultval"; then
11538 if test x"$enablestring" = xdisable; then
11539 defaultval=yes
11540 else
11541 defaultval=no
11542 fi
11543 fi
11544
11545 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11546 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11547 # Check whether --enable-sash was given.
11548 if test "${enable_sash+set}" = set; then
11549 enableval=$enable_sash;
11550 if test "$enableval" = yes; then
11551 wx_cv_use_sash='wxUSE_SASH=yes'
11552 else
11553 wx_cv_use_sash='wxUSE_SASH=no'
11554 fi
11555
11556 else
11557
11558 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11559
11560 fi
11561
11562
11563 eval "$wx_cv_use_sash"
11564
11565 if test x"$enablestring" = xdisable; then
11566 if test $wxUSE_SASH = no; then
11567 result=yes
11568 else
11569 result=no
11570 fi
11571 else
11572 result=$wxUSE_SASH
11573 fi
11574
11575 { echo "$as_me:$LINENO: result: $result" >&5
11576 echo "${ECHO_T}$result" >&6; }
11577
11578
11579 enablestring=
11580 defaultval=$wxUSE_ALL_FEATURES
11581 if test -z "$defaultval"; then
11582 if test x"$enablestring" = xdisable; then
11583 defaultval=yes
11584 else
11585 defaultval=no
11586 fi
11587 fi
11588
11589 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11590 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11591 # Check whether --enable-scrollbar was given.
11592 if test "${enable_scrollbar+set}" = set; then
11593 enableval=$enable_scrollbar;
11594 if test "$enableval" = yes; then
11595 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11596 else
11597 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11598 fi
11599
11600 else
11601
11602 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11603
11604 fi
11605
11606
11607 eval "$wx_cv_use_scrollbar"
11608
11609 if test x"$enablestring" = xdisable; then
11610 if test $wxUSE_SCROLLBAR = no; then
11611 result=yes
11612 else
11613 result=no
11614 fi
11615 else
11616 result=$wxUSE_SCROLLBAR
11617 fi
11618
11619 { echo "$as_me:$LINENO: result: $result" >&5
11620 echo "${ECHO_T}$result" >&6; }
11621
11622
11623 enablestring=
11624 defaultval=$wxUSE_ALL_FEATURES
11625 if test -z "$defaultval"; then
11626 if test x"$enablestring" = xdisable; then
11627 defaultval=yes
11628 else
11629 defaultval=no
11630 fi
11631 fi
11632
11633 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11634 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11635 # Check whether --enable-searchctrl was given.
11636 if test "${enable_searchctrl+set}" = set; then
11637 enableval=$enable_searchctrl;
11638 if test "$enableval" = yes; then
11639 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11640 else
11641 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
11642 fi
11643
11644 else
11645
11646 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11647
11648 fi
11649
11650
11651 eval "$wx_cv_use_searchctrl"
11652
11653 if test x"$enablestring" = xdisable; then
11654 if test $wxUSE_SEARCHCTRL = no; then
11655 result=yes
11656 else
11657 result=no
11658 fi
11659 else
11660 result=$wxUSE_SEARCHCTRL
11661 fi
11662
11663 { echo "$as_me:$LINENO: result: $result" >&5
11664 echo "${ECHO_T}$result" >&6; }
11665
11666
11667 enablestring=
11668 defaultval=$wxUSE_ALL_FEATURES
11669 if test -z "$defaultval"; then
11670 if test x"$enablestring" = xdisable; then
11671 defaultval=yes
11672 else
11673 defaultval=no
11674 fi
11675 fi
11676
11677 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11678 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11679 # Check whether --enable-slider was given.
11680 if test "${enable_slider+set}" = set; then
11681 enableval=$enable_slider;
11682 if test "$enableval" = yes; then
11683 wx_cv_use_slider='wxUSE_SLIDER=yes'
11684 else
11685 wx_cv_use_slider='wxUSE_SLIDER=no'
11686 fi
11687
11688 else
11689
11690 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11691
11692 fi
11693
11694
11695 eval "$wx_cv_use_slider"
11696
11697 if test x"$enablestring" = xdisable; then
11698 if test $wxUSE_SLIDER = no; then
11699 result=yes
11700 else
11701 result=no
11702 fi
11703 else
11704 result=$wxUSE_SLIDER
11705 fi
11706
11707 { echo "$as_me:$LINENO: result: $result" >&5
11708 echo "${ECHO_T}$result" >&6; }
11709
11710
11711 enablestring=
11712 defaultval=$wxUSE_ALL_FEATURES
11713 if test -z "$defaultval"; then
11714 if test x"$enablestring" = xdisable; then
11715 defaultval=yes
11716 else
11717 defaultval=no
11718 fi
11719 fi
11720
11721 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11722 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11723 # Check whether --enable-spinbtn was given.
11724 if test "${enable_spinbtn+set}" = set; then
11725 enableval=$enable_spinbtn;
11726 if test "$enableval" = yes; then
11727 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11728 else
11729 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11730 fi
11731
11732 else
11733
11734 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11735
11736 fi
11737
11738
11739 eval "$wx_cv_use_spinbtn"
11740
11741 if test x"$enablestring" = xdisable; then
11742 if test $wxUSE_SPINBTN = no; then
11743 result=yes
11744 else
11745 result=no
11746 fi
11747 else
11748 result=$wxUSE_SPINBTN
11749 fi
11750
11751 { echo "$as_me:$LINENO: result: $result" >&5
11752 echo "${ECHO_T}$result" >&6; }
11753
11754
11755 enablestring=
11756 defaultval=$wxUSE_ALL_FEATURES
11757 if test -z "$defaultval"; then
11758 if test x"$enablestring" = xdisable; then
11759 defaultval=yes
11760 else
11761 defaultval=no
11762 fi
11763 fi
11764
11765 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11766 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11767 # Check whether --enable-spinctrl was given.
11768 if test "${enable_spinctrl+set}" = set; then
11769 enableval=$enable_spinctrl;
11770 if test "$enableval" = yes; then
11771 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11772 else
11773 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11774 fi
11775
11776 else
11777
11778 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11779
11780 fi
11781
11782
11783 eval "$wx_cv_use_spinctrl"
11784
11785 if test x"$enablestring" = xdisable; then
11786 if test $wxUSE_SPINCTRL = no; then
11787 result=yes
11788 else
11789 result=no
11790 fi
11791 else
11792 result=$wxUSE_SPINCTRL
11793 fi
11794
11795 { echo "$as_me:$LINENO: result: $result" >&5
11796 echo "${ECHO_T}$result" >&6; }
11797
11798
11799 enablestring=
11800 defaultval=$wxUSE_ALL_FEATURES
11801 if test -z "$defaultval"; then
11802 if test x"$enablestring" = xdisable; then
11803 defaultval=yes
11804 else
11805 defaultval=no
11806 fi
11807 fi
11808
11809 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11810 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11811 # Check whether --enable-splitter was given.
11812 if test "${enable_splitter+set}" = set; then
11813 enableval=$enable_splitter;
11814 if test "$enableval" = yes; then
11815 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11816 else
11817 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11818 fi
11819
11820 else
11821
11822 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11823
11824 fi
11825
11826
11827 eval "$wx_cv_use_splitter"
11828
11829 if test x"$enablestring" = xdisable; then
11830 if test $wxUSE_SPLITTER = no; then
11831 result=yes
11832 else
11833 result=no
11834 fi
11835 else
11836 result=$wxUSE_SPLITTER
11837 fi
11838
11839 { echo "$as_me:$LINENO: result: $result" >&5
11840 echo "${ECHO_T}$result" >&6; }
11841
11842
11843 enablestring=
11844 defaultval=$wxUSE_ALL_FEATURES
11845 if test -z "$defaultval"; then
11846 if test x"$enablestring" = xdisable; then
11847 defaultval=yes
11848 else
11849 defaultval=no
11850 fi
11851 fi
11852
11853 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11854 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11855 # Check whether --enable-statbmp was given.
11856 if test "${enable_statbmp+set}" = set; then
11857 enableval=$enable_statbmp;
11858 if test "$enableval" = yes; then
11859 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11860 else
11861 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11862 fi
11863
11864 else
11865
11866 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11867
11868 fi
11869
11870
11871 eval "$wx_cv_use_statbmp"
11872
11873 if test x"$enablestring" = xdisable; then
11874 if test $wxUSE_STATBMP = no; then
11875 result=yes
11876 else
11877 result=no
11878 fi
11879 else
11880 result=$wxUSE_STATBMP
11881 fi
11882
11883 { echo "$as_me:$LINENO: result: $result" >&5
11884 echo "${ECHO_T}$result" >&6; }
11885
11886
11887 enablestring=
11888 defaultval=$wxUSE_ALL_FEATURES
11889 if test -z "$defaultval"; then
11890 if test x"$enablestring" = xdisable; then
11891 defaultval=yes
11892 else
11893 defaultval=no
11894 fi
11895 fi
11896
11897 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11898 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11899 # Check whether --enable-statbox was given.
11900 if test "${enable_statbox+set}" = set; then
11901 enableval=$enable_statbox;
11902 if test "$enableval" = yes; then
11903 wx_cv_use_statbox='wxUSE_STATBOX=yes'
11904 else
11905 wx_cv_use_statbox='wxUSE_STATBOX=no'
11906 fi
11907
11908 else
11909
11910 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11911
11912 fi
11913
11914
11915 eval "$wx_cv_use_statbox"
11916
11917 if test x"$enablestring" = xdisable; then
11918 if test $wxUSE_STATBOX = no; then
11919 result=yes
11920 else
11921 result=no
11922 fi
11923 else
11924 result=$wxUSE_STATBOX
11925 fi
11926
11927 { echo "$as_me:$LINENO: result: $result" >&5
11928 echo "${ECHO_T}$result" >&6; }
11929
11930
11931 enablestring=
11932 defaultval=$wxUSE_ALL_FEATURES
11933 if test -z "$defaultval"; then
11934 if test x"$enablestring" = xdisable; then
11935 defaultval=yes
11936 else
11937 defaultval=no
11938 fi
11939 fi
11940
11941 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11942 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11943 # Check whether --enable-statline was given.
11944 if test "${enable_statline+set}" = set; then
11945 enableval=$enable_statline;
11946 if test "$enableval" = yes; then
11947 wx_cv_use_statline='wxUSE_STATLINE=yes'
11948 else
11949 wx_cv_use_statline='wxUSE_STATLINE=no'
11950 fi
11951
11952 else
11953
11954 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11955
11956 fi
11957
11958
11959 eval "$wx_cv_use_statline"
11960
11961 if test x"$enablestring" = xdisable; then
11962 if test $wxUSE_STATLINE = no; then
11963 result=yes
11964 else
11965 result=no
11966 fi
11967 else
11968 result=$wxUSE_STATLINE
11969 fi
11970
11971 { echo "$as_me:$LINENO: result: $result" >&5
11972 echo "${ECHO_T}$result" >&6; }
11973
11974
11975 enablestring=
11976 defaultval=$wxUSE_ALL_FEATURES
11977 if test -z "$defaultval"; then
11978 if test x"$enablestring" = xdisable; then
11979 defaultval=yes
11980 else
11981 defaultval=no
11982 fi
11983 fi
11984
11985 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11986 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11987 # Check whether --enable-stattext was given.
11988 if test "${enable_stattext+set}" = set; then
11989 enableval=$enable_stattext;
11990 if test "$enableval" = yes; then
11991 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11992 else
11993 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11994 fi
11995
11996 else
11997
11998 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11999
12000 fi
12001
12002
12003 eval "$wx_cv_use_stattext"
12004
12005 if test x"$enablestring" = xdisable; then
12006 if test $wxUSE_STATTEXT = no; then
12007 result=yes
12008 else
12009 result=no
12010 fi
12011 else
12012 result=$wxUSE_STATTEXT
12013 fi
12014
12015 { echo "$as_me:$LINENO: result: $result" >&5
12016 echo "${ECHO_T}$result" >&6; }
12017
12018
12019 enablestring=
12020 defaultval=$wxUSE_ALL_FEATURES
12021 if test -z "$defaultval"; then
12022 if test x"$enablestring" = xdisable; then
12023 defaultval=yes
12024 else
12025 defaultval=no
12026 fi
12027 fi
12028
12029 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
12030 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
12031 # Check whether --enable-statusbar was given.
12032 if test "${enable_statusbar+set}" = set; then
12033 enableval=$enable_statusbar;
12034 if test "$enableval" = yes; then
12035 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
12036 else
12037 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
12038 fi
12039
12040 else
12041
12042 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12043
12044 fi
12045
12046
12047 eval "$wx_cv_use_statusbar"
12048
12049 if test x"$enablestring" = xdisable; then
12050 if test $wxUSE_STATUSBAR = no; then
12051 result=yes
12052 else
12053 result=no
12054 fi
12055 else
12056 result=$wxUSE_STATUSBAR
12057 fi
12058
12059 { echo "$as_me:$LINENO: result: $result" >&5
12060 echo "${ECHO_T}$result" >&6; }
12061
12062
12063 enablestring=
12064 defaultval=$wxUSE_ALL_FEATURES
12065 if test -z "$defaultval"; then
12066 if test x"$enablestring" = xdisable; then
12067 defaultval=yes
12068 else
12069 defaultval=no
12070 fi
12071 fi
12072
12073 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
12074 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
12075 # Check whether --enable-taskbaricon was given.
12076 if test "${enable_taskbaricon+set}" = set; then
12077 enableval=$enable_taskbaricon;
12078 if test "$enableval" = yes; then
12079 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
12080 else
12081 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
12082 fi
12083
12084 else
12085
12086 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
12087
12088 fi
12089
12090
12091 eval "$wx_cv_use_taskbaricon"
12092
12093 if test x"$enablestring" = xdisable; then
12094 if test $wxUSE_TASKBARICON = no; then
12095 result=yes
12096 else
12097 result=no
12098 fi
12099 else
12100 result=$wxUSE_TASKBARICON
12101 fi
12102
12103 { echo "$as_me:$LINENO: result: $result" >&5
12104 echo "${ECHO_T}$result" >&6; }
12105
12106
12107 enablestring=
12108 defaultval=$wxUSE_ALL_FEATURES
12109 if test -z "$defaultval"; then
12110 if test x"$enablestring" = xdisable; then
12111 defaultval=yes
12112 else
12113 defaultval=no
12114 fi
12115 fi
12116
12117 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
12118 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
12119 # Check whether --enable-tbarnative was given.
12120 if test "${enable_tbarnative+set}" = set; then
12121 enableval=$enable_tbarnative;
12122 if test "$enableval" = yes; then
12123 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
12124 else
12125 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
12126 fi
12127
12128 else
12129
12130 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
12131
12132 fi
12133
12134
12135 eval "$wx_cv_use_tbarnative"
12136
12137 if test x"$enablestring" = xdisable; then
12138 if test $wxUSE_TOOLBAR_NATIVE = no; then
12139 result=yes
12140 else
12141 result=no
12142 fi
12143 else
12144 result=$wxUSE_TOOLBAR_NATIVE
12145 fi
12146
12147 { echo "$as_me:$LINENO: result: $result" >&5
12148 echo "${ECHO_T}$result" >&6; }
12149
12150
12151 enablestring=
12152 defaultval=$wxUSE_ALL_FEATURES
12153 if test -z "$defaultval"; then
12154 if test x"$enablestring" = xdisable; then
12155 defaultval=yes
12156 else
12157 defaultval=no
12158 fi
12159 fi
12160
12161 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12162 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
12163 # Check whether --enable-textctrl was given.
12164 if test "${enable_textctrl+set}" = set; then
12165 enableval=$enable_textctrl;
12166 if test "$enableval" = yes; then
12167 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
12168 else
12169 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
12170 fi
12171
12172 else
12173
12174 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12175
12176 fi
12177
12178
12179 eval "$wx_cv_use_textctrl"
12180
12181 if test x"$enablestring" = xdisable; then
12182 if test $wxUSE_TEXTCTRL = no; then
12183 result=yes
12184 else
12185 result=no
12186 fi
12187 else
12188 result=$wxUSE_TEXTCTRL
12189 fi
12190
12191 { echo "$as_me:$LINENO: result: $result" >&5
12192 echo "${ECHO_T}$result" >&6; }
12193
12194
12195 enablestring=
12196 defaultval=$wxUSE_ALL_FEATURES
12197 if test -z "$defaultval"; then
12198 if test x"$enablestring" = xdisable; then
12199 defaultval=yes
12200 else
12201 defaultval=no
12202 fi
12203 fi
12204
12205 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12206 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12207 # Check whether --enable-tipwindow was given.
12208 if test "${enable_tipwindow+set}" = set; then
12209 enableval=$enable_tipwindow;
12210 if test "$enableval" = yes; then
12211 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12212 else
12213 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12214 fi
12215
12216 else
12217
12218 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12219
12220 fi
12221
12222
12223 eval "$wx_cv_use_tipwindow"
12224
12225 if test x"$enablestring" = xdisable; then
12226 if test $wxUSE_TIPWINDOW = no; then
12227 result=yes
12228 else
12229 result=no
12230 fi
12231 else
12232 result=$wxUSE_TIPWINDOW
12233 fi
12234
12235 { echo "$as_me:$LINENO: result: $result" >&5
12236 echo "${ECHO_T}$result" >&6; }
12237
12238
12239 enablestring=
12240 defaultval=$wxUSE_ALL_FEATURES
12241 if test -z "$defaultval"; then
12242 if test x"$enablestring" = xdisable; then
12243 defaultval=yes
12244 else
12245 defaultval=no
12246 fi
12247 fi
12248
12249 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12250 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12251 # Check whether --enable-togglebtn was given.
12252 if test "${enable_togglebtn+set}" = set; then
12253 enableval=$enable_togglebtn;
12254 if test "$enableval" = yes; then
12255 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
12256 else
12257 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
12258 fi
12259
12260 else
12261
12262 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12263
12264 fi
12265
12266
12267 eval "$wx_cv_use_togglebtn"
12268
12269 if test x"$enablestring" = xdisable; then
12270 if test $wxUSE_TOGGLEBTN = no; then
12271 result=yes
12272 else
12273 result=no
12274 fi
12275 else
12276 result=$wxUSE_TOGGLEBTN
12277 fi
12278
12279 { echo "$as_me:$LINENO: result: $result" >&5
12280 echo "${ECHO_T}$result" >&6; }
12281
12282
12283 enablestring=
12284 defaultval=$wxUSE_ALL_FEATURES
12285 if test -z "$defaultval"; then
12286 if test x"$enablestring" = xdisable; then
12287 defaultval=yes
12288 else
12289 defaultval=no
12290 fi
12291 fi
12292
12293 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12294 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12295 # Check whether --enable-toolbar was given.
12296 if test "${enable_toolbar+set}" = set; then
12297 enableval=$enable_toolbar;
12298 if test "$enableval" = yes; then
12299 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
12300 else
12301 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
12302 fi
12303
12304 else
12305
12306 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12307
12308 fi
12309
12310
12311 eval "$wx_cv_use_toolbar"
12312
12313 if test x"$enablestring" = xdisable; then
12314 if test $wxUSE_TOOLBAR = no; then
12315 result=yes
12316 else
12317 result=no
12318 fi
12319 else
12320 result=$wxUSE_TOOLBAR
12321 fi
12322
12323 { echo "$as_me:$LINENO: result: $result" >&5
12324 echo "${ECHO_T}$result" >&6; }
12325
12326
12327 enablestring=
12328 defaultval=$wxUSE_ALL_FEATURES
12329 if test -z "$defaultval"; then
12330 if test x"$enablestring" = xdisable; then
12331 defaultval=yes
12332 else
12333 defaultval=no
12334 fi
12335 fi
12336
12337 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12338 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12339 # Check whether --enable-toolbook was given.
12340 if test "${enable_toolbook+set}" = set; then
12341 enableval=$enable_toolbook;
12342 if test "$enableval" = yes; then
12343 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12344 else
12345 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12346 fi
12347
12348 else
12349
12350 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12351
12352 fi
12353
12354
12355 eval "$wx_cv_use_toolbook"
12356
12357 if test x"$enablestring" = xdisable; then
12358 if test $wxUSE_TOOLBOOK = no; then
12359 result=yes
12360 else
12361 result=no
12362 fi
12363 else
12364 result=$wxUSE_TOOLBOOK
12365 fi
12366
12367 { echo "$as_me:$LINENO: result: $result" >&5
12368 echo "${ECHO_T}$result" >&6; }
12369
12370
12371 enablestring=
12372 defaultval=$wxUSE_ALL_FEATURES
12373 if test -z "$defaultval"; then
12374 if test x"$enablestring" = xdisable; then
12375 defaultval=yes
12376 else
12377 defaultval=no
12378 fi
12379 fi
12380
12381 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12382 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12383 # Check whether --enable-treebook was given.
12384 if test "${enable_treebook+set}" = set; then
12385 enableval=$enable_treebook;
12386 if test "$enableval" = yes; then
12387 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
12388 else
12389 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
12390 fi
12391
12392 else
12393
12394 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12395
12396 fi
12397
12398
12399 eval "$wx_cv_use_treebook"
12400
12401 if test x"$enablestring" = xdisable; then
12402 if test $wxUSE_TREEBOOK = no; then
12403 result=yes
12404 else
12405 result=no
12406 fi
12407 else
12408 result=$wxUSE_TREEBOOK
12409 fi
12410
12411 { echo "$as_me:$LINENO: result: $result" >&5
12412 echo "${ECHO_T}$result" >&6; }
12413
12414
12415 enablestring=
12416 defaultval=$wxUSE_ALL_FEATURES
12417 if test -z "$defaultval"; then
12418 if test x"$enablestring" = xdisable; then
12419 defaultval=yes
12420 else
12421 defaultval=no
12422 fi
12423 fi
12424
12425 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12426 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12427 # Check whether --enable-treectrl was given.
12428 if test "${enable_treectrl+set}" = set; then
12429 enableval=$enable_treectrl;
12430 if test "$enableval" = yes; then
12431 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12432 else
12433 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12434 fi
12435
12436 else
12437
12438 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12439
12440 fi
12441
12442
12443 eval "$wx_cv_use_treectrl"
12444
12445 if test x"$enablestring" = xdisable; then
12446 if test $wxUSE_TREECTRL = no; then
12447 result=yes
12448 else
12449 result=no
12450 fi
12451 else
12452 result=$wxUSE_TREECTRL
12453 fi
12454
12455 { echo "$as_me:$LINENO: result: $result" >&5
12456 echo "${ECHO_T}$result" >&6; }
12457
12458
12459
12460
12461 enablestring=
12462 defaultval=$wxUSE_ALL_FEATURES
12463 if test -z "$defaultval"; then
12464 if test x"$enablestring" = xdisable; then
12465 defaultval=yes
12466 else
12467 defaultval=no
12468 fi
12469 fi
12470
12471 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12472 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12473 # Check whether --enable-commondlg was given.
12474 if test "${enable_commondlg+set}" = set; then
12475 enableval=$enable_commondlg;
12476 if test "$enableval" = yes; then
12477 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12478 else
12479 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12480 fi
12481
12482 else
12483
12484 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12485
12486 fi
12487
12488
12489 eval "$wx_cv_use_commondlg"
12490
12491 if test x"$enablestring" = xdisable; then
12492 if test $wxUSE_COMMONDLGS = no; then
12493 result=yes
12494 else
12495 result=no
12496 fi
12497 else
12498 result=$wxUSE_COMMONDLGS
12499 fi
12500
12501 { echo "$as_me:$LINENO: result: $result" >&5
12502 echo "${ECHO_T}$result" >&6; }
12503
12504
12505 enablestring=
12506 defaultval=$wxUSE_ALL_FEATURES
12507 if test -z "$defaultval"; then
12508 if test x"$enablestring" = xdisable; then
12509 defaultval=yes
12510 else
12511 defaultval=no
12512 fi
12513 fi
12514
12515 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12516 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12517 # Check whether --enable-aboutdlg was given.
12518 if test "${enable_aboutdlg+set}" = set; then
12519 enableval=$enable_aboutdlg;
12520 if test "$enableval" = yes; then
12521 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12522 else
12523 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12524 fi
12525
12526 else
12527
12528 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12529
12530 fi
12531
12532
12533 eval "$wx_cv_use_aboutdlg"
12534
12535 if test x"$enablestring" = xdisable; then
12536 if test $wxUSE_ABOUTDLG = no; then
12537 result=yes
12538 else
12539 result=no
12540 fi
12541 else
12542 result=$wxUSE_ABOUTDLG
12543 fi
12544
12545 { echo "$as_me:$LINENO: result: $result" >&5
12546 echo "${ECHO_T}$result" >&6; }
12547
12548
12549 enablestring=
12550 defaultval=$wxUSE_ALL_FEATURES
12551 if test -z "$defaultval"; then
12552 if test x"$enablestring" = xdisable; then
12553 defaultval=yes
12554 else
12555 defaultval=no
12556 fi
12557 fi
12558
12559 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12560 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12561 # Check whether --enable-choicedlg was given.
12562 if test "${enable_choicedlg+set}" = set; then
12563 enableval=$enable_choicedlg;
12564 if test "$enableval" = yes; then
12565 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12566 else
12567 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12568 fi
12569
12570 else
12571
12572 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12573
12574 fi
12575
12576
12577 eval "$wx_cv_use_choicedlg"
12578
12579 if test x"$enablestring" = xdisable; then
12580 if test $wxUSE_CHOICEDLG = no; then
12581 result=yes
12582 else
12583 result=no
12584 fi
12585 else
12586 result=$wxUSE_CHOICEDLG
12587 fi
12588
12589 { echo "$as_me:$LINENO: result: $result" >&5
12590 echo "${ECHO_T}$result" >&6; }
12591
12592
12593 enablestring=
12594 defaultval=$wxUSE_ALL_FEATURES
12595 if test -z "$defaultval"; then
12596 if test x"$enablestring" = xdisable; then
12597 defaultval=yes
12598 else
12599 defaultval=no
12600 fi
12601 fi
12602
12603 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12604 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12605 # Check whether --enable-coldlg was given.
12606 if test "${enable_coldlg+set}" = set; then
12607 enableval=$enable_coldlg;
12608 if test "$enableval" = yes; then
12609 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12610 else
12611 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12612 fi
12613
12614 else
12615
12616 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12617
12618 fi
12619
12620
12621 eval "$wx_cv_use_coldlg"
12622
12623 if test x"$enablestring" = xdisable; then
12624 if test $wxUSE_COLOURDLG = no; then
12625 result=yes
12626 else
12627 result=no
12628 fi
12629 else
12630 result=$wxUSE_COLOURDLG
12631 fi
12632
12633 { echo "$as_me:$LINENO: result: $result" >&5
12634 echo "${ECHO_T}$result" >&6; }
12635
12636
12637 enablestring=
12638 defaultval=$wxUSE_ALL_FEATURES
12639 if test -z "$defaultval"; then
12640 if test x"$enablestring" = xdisable; then
12641 defaultval=yes
12642 else
12643 defaultval=no
12644 fi
12645 fi
12646
12647 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12648 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12649 # Check whether --enable-filedlg was given.
12650 if test "${enable_filedlg+set}" = set; then
12651 enableval=$enable_filedlg;
12652 if test "$enableval" = yes; then
12653 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12654 else
12655 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12656 fi
12657
12658 else
12659
12660 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12661
12662 fi
12663
12664
12665 eval "$wx_cv_use_filedlg"
12666
12667 if test x"$enablestring" = xdisable; then
12668 if test $wxUSE_FILEDLG = no; then
12669 result=yes
12670 else
12671 result=no
12672 fi
12673 else
12674 result=$wxUSE_FILEDLG
12675 fi
12676
12677 { echo "$as_me:$LINENO: result: $result" >&5
12678 echo "${ECHO_T}$result" >&6; }
12679
12680
12681 enablestring=
12682 defaultval=$wxUSE_ALL_FEATURES
12683 if test -z "$defaultval"; then
12684 if test x"$enablestring" = xdisable; then
12685 defaultval=yes
12686 else
12687 defaultval=no
12688 fi
12689 fi
12690
12691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12692 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12693 # Check whether --enable-finddlg was given.
12694 if test "${enable_finddlg+set}" = set; then
12695 enableval=$enable_finddlg;
12696 if test "$enableval" = yes; then
12697 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12698 else
12699 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12700 fi
12701
12702 else
12703
12704 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12705
12706 fi
12707
12708
12709 eval "$wx_cv_use_finddlg"
12710
12711 if test x"$enablestring" = xdisable; then
12712 if test $wxUSE_FINDREPLDLG = no; then
12713 result=yes
12714 else
12715 result=no
12716 fi
12717 else
12718 result=$wxUSE_FINDREPLDLG
12719 fi
12720
12721 { echo "$as_me:$LINENO: result: $result" >&5
12722 echo "${ECHO_T}$result" >&6; }
12723
12724
12725 enablestring=
12726 defaultval=$wxUSE_ALL_FEATURES
12727 if test -z "$defaultval"; then
12728 if test x"$enablestring" = xdisable; then
12729 defaultval=yes
12730 else
12731 defaultval=no
12732 fi
12733 fi
12734
12735 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12736 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12737 # Check whether --enable-fontdlg was given.
12738 if test "${enable_fontdlg+set}" = set; then
12739 enableval=$enable_fontdlg;
12740 if test "$enableval" = yes; then
12741 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12742 else
12743 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12744 fi
12745
12746 else
12747
12748 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12749
12750 fi
12751
12752
12753 eval "$wx_cv_use_fontdlg"
12754
12755 if test x"$enablestring" = xdisable; then
12756 if test $wxUSE_FONTDLG = no; then
12757 result=yes
12758 else
12759 result=no
12760 fi
12761 else
12762 result=$wxUSE_FONTDLG
12763 fi
12764
12765 { echo "$as_me:$LINENO: result: $result" >&5
12766 echo "${ECHO_T}$result" >&6; }
12767
12768
12769 enablestring=
12770 defaultval=$wxUSE_ALL_FEATURES
12771 if test -z "$defaultval"; then
12772 if test x"$enablestring" = xdisable; then
12773 defaultval=yes
12774 else
12775 defaultval=no
12776 fi
12777 fi
12778
12779 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12780 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12781 # Check whether --enable-dirdlg was given.
12782 if test "${enable_dirdlg+set}" = set; then
12783 enableval=$enable_dirdlg;
12784 if test "$enableval" = yes; then
12785 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12786 else
12787 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12788 fi
12789
12790 else
12791
12792 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12793
12794 fi
12795
12796
12797 eval "$wx_cv_use_dirdlg"
12798
12799 if test x"$enablestring" = xdisable; then
12800 if test $wxUSE_DIRDLG = no; then
12801 result=yes
12802 else
12803 result=no
12804 fi
12805 else
12806 result=$wxUSE_DIRDLG
12807 fi
12808
12809 { echo "$as_me:$LINENO: result: $result" >&5
12810 echo "${ECHO_T}$result" >&6; }
12811
12812
12813 enablestring=
12814 defaultval=$wxUSE_ALL_FEATURES
12815 if test -z "$defaultval"; then
12816 if test x"$enablestring" = xdisable; then
12817 defaultval=yes
12818 else
12819 defaultval=no
12820 fi
12821 fi
12822
12823 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12824 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12825 # Check whether --enable-msgdlg was given.
12826 if test "${enable_msgdlg+set}" = set; then
12827 enableval=$enable_msgdlg;
12828 if test "$enableval" = yes; then
12829 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12830 else
12831 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12832 fi
12833
12834 else
12835
12836 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12837
12838 fi
12839
12840
12841 eval "$wx_cv_use_msgdlg"
12842
12843 if test x"$enablestring" = xdisable; then
12844 if test $wxUSE_MSGDLG = no; then
12845 result=yes
12846 else
12847 result=no
12848 fi
12849 else
12850 result=$wxUSE_MSGDLG
12851 fi
12852
12853 { echo "$as_me:$LINENO: result: $result" >&5
12854 echo "${ECHO_T}$result" >&6; }
12855
12856
12857 enablestring=
12858 defaultval=$wxUSE_ALL_FEATURES
12859 if test -z "$defaultval"; then
12860 if test x"$enablestring" = xdisable; then
12861 defaultval=yes
12862 else
12863 defaultval=no
12864 fi
12865 fi
12866
12867 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12868 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12869 # Check whether --enable-numberdlg was given.
12870 if test "${enable_numberdlg+set}" = set; then
12871 enableval=$enable_numberdlg;
12872 if test "$enableval" = yes; then
12873 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12874 else
12875 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12876 fi
12877
12878 else
12879
12880 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12881
12882 fi
12883
12884
12885 eval "$wx_cv_use_numberdlg"
12886
12887 if test x"$enablestring" = xdisable; then
12888 if test $wxUSE_NUMBERDLG = no; then
12889 result=yes
12890 else
12891 result=no
12892 fi
12893 else
12894 result=$wxUSE_NUMBERDLG
12895 fi
12896
12897 { echo "$as_me:$LINENO: result: $result" >&5
12898 echo "${ECHO_T}$result" >&6; }
12899
12900
12901 enablestring=
12902 defaultval=$wxUSE_ALL_FEATURES
12903 if test -z "$defaultval"; then
12904 if test x"$enablestring" = xdisable; then
12905 defaultval=yes
12906 else
12907 defaultval=no
12908 fi
12909 fi
12910
12911 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12912 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12913 # Check whether --enable-splash was given.
12914 if test "${enable_splash+set}" = set; then
12915 enableval=$enable_splash;
12916 if test "$enableval" = yes; then
12917 wx_cv_use_splash='wxUSE_SPLASH=yes'
12918 else
12919 wx_cv_use_splash='wxUSE_SPLASH=no'
12920 fi
12921
12922 else
12923
12924 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12925
12926 fi
12927
12928
12929 eval "$wx_cv_use_splash"
12930
12931 if test x"$enablestring" = xdisable; then
12932 if test $wxUSE_SPLASH = no; then
12933 result=yes
12934 else
12935 result=no
12936 fi
12937 else
12938 result=$wxUSE_SPLASH
12939 fi
12940
12941 { echo "$as_me:$LINENO: result: $result" >&5
12942 echo "${ECHO_T}$result" >&6; }
12943
12944
12945 enablestring=
12946 defaultval=$wxUSE_ALL_FEATURES
12947 if test -z "$defaultval"; then
12948 if test x"$enablestring" = xdisable; then
12949 defaultval=yes
12950 else
12951 defaultval=no
12952 fi
12953 fi
12954
12955 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12956 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12957 # Check whether --enable-textdlg was given.
12958 if test "${enable_textdlg+set}" = set; then
12959 enableval=$enable_textdlg;
12960 if test "$enableval" = yes; then
12961 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12962 else
12963 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12964 fi
12965
12966 else
12967
12968 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12969
12970 fi
12971
12972
12973 eval "$wx_cv_use_textdlg"
12974
12975 if test x"$enablestring" = xdisable; then
12976 if test $wxUSE_TEXTDLG = no; then
12977 result=yes
12978 else
12979 result=no
12980 fi
12981 else
12982 result=$wxUSE_TEXTDLG
12983 fi
12984
12985 { echo "$as_me:$LINENO: result: $result" >&5
12986 echo "${ECHO_T}$result" >&6; }
12987
12988
12989 enablestring=
12990 defaultval=$wxUSE_ALL_FEATURES
12991 if test -z "$defaultval"; then
12992 if test x"$enablestring" = xdisable; then
12993 defaultval=yes
12994 else
12995 defaultval=no
12996 fi
12997 fi
12998
12999 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
13000 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
13001 # Check whether --enable-tipdlg was given.
13002 if test "${enable_tipdlg+set}" = set; then
13003 enableval=$enable_tipdlg;
13004 if test "$enableval" = yes; then
13005 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
13006 else
13007 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
13008 fi
13009
13010 else
13011
13012 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
13013
13014 fi
13015
13016
13017 eval "$wx_cv_use_tipdlg"
13018
13019 if test x"$enablestring" = xdisable; then
13020 if test $wxUSE_STARTUP_TIPS = no; then
13021 result=yes
13022 else
13023 result=no
13024 fi
13025 else
13026 result=$wxUSE_STARTUP_TIPS
13027 fi
13028
13029 { echo "$as_me:$LINENO: result: $result" >&5
13030 echo "${ECHO_T}$result" >&6; }
13031
13032
13033 enablestring=
13034 defaultval=$wxUSE_ALL_FEATURES
13035 if test -z "$defaultval"; then
13036 if test x"$enablestring" = xdisable; then
13037 defaultval=yes
13038 else
13039 defaultval=no
13040 fi
13041 fi
13042
13043 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
13044 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
13045 # Check whether --enable-progressdlg was given.
13046 if test "${enable_progressdlg+set}" = set; then
13047 enableval=$enable_progressdlg;
13048 if test "$enableval" = yes; then
13049 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
13050 else
13051 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
13052 fi
13053
13054 else
13055
13056 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
13057
13058 fi
13059
13060
13061 eval "$wx_cv_use_progressdlg"
13062
13063 if test x"$enablestring" = xdisable; then
13064 if test $wxUSE_PROGRESSDLG = no; then
13065 result=yes
13066 else
13067 result=no
13068 fi
13069 else
13070 result=$wxUSE_PROGRESSDLG
13071 fi
13072
13073 { echo "$as_me:$LINENO: result: $result" >&5
13074 echo "${ECHO_T}$result" >&6; }
13075
13076
13077 enablestring=
13078 defaultval=$wxUSE_ALL_FEATURES
13079 if test -z "$defaultval"; then
13080 if test x"$enablestring" = xdisable; then
13081 defaultval=yes
13082 else
13083 defaultval=no
13084 fi
13085 fi
13086
13087 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
13088 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
13089 # Check whether --enable-wizarddlg was given.
13090 if test "${enable_wizarddlg+set}" = set; then
13091 enableval=$enable_wizarddlg;
13092 if test "$enableval" = yes; then
13093 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
13094 else
13095 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
13096 fi
13097
13098 else
13099
13100 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
13101
13102 fi
13103
13104
13105 eval "$wx_cv_use_wizarddlg"
13106
13107 if test x"$enablestring" = xdisable; then
13108 if test $wxUSE_WIZARDDLG = no; then
13109 result=yes
13110 else
13111 result=no
13112 fi
13113 else
13114 result=$wxUSE_WIZARDDLG
13115 fi
13116
13117 { echo "$as_me:$LINENO: result: $result" >&5
13118 echo "${ECHO_T}$result" >&6; }
13119
13120
13121
13122
13123 enablestring=
13124 defaultval=$wxUSE_ALL_FEATURES
13125 if test -z "$defaultval"; then
13126 if test x"$enablestring" = xdisable; then
13127 defaultval=yes
13128 else
13129 defaultval=no
13130 fi
13131 fi
13132
13133 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
13134 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
13135 # Check whether --enable-menus was given.
13136 if test "${enable_menus+set}" = set; then
13137 enableval=$enable_menus;
13138 if test "$enableval" = yes; then
13139 wx_cv_use_menus='wxUSE_MENUS=yes'
13140 else
13141 wx_cv_use_menus='wxUSE_MENUS=no'
13142 fi
13143
13144 else
13145
13146 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
13147
13148 fi
13149
13150
13151 eval "$wx_cv_use_menus"
13152
13153 if test x"$enablestring" = xdisable; then
13154 if test $wxUSE_MENUS = no; then
13155 result=yes
13156 else
13157 result=no
13158 fi
13159 else
13160 result=$wxUSE_MENUS
13161 fi
13162
13163 { echo "$as_me:$LINENO: result: $result" >&5
13164 echo "${ECHO_T}$result" >&6; }
13165
13166
13167 enablestring=
13168 defaultval=$wxUSE_ALL_FEATURES
13169 if test -z "$defaultval"; then
13170 if test x"$enablestring" = xdisable; then
13171 defaultval=yes
13172 else
13173 defaultval=no
13174 fi
13175 fi
13176
13177 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
13178 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
13179 # Check whether --enable-miniframe was given.
13180 if test "${enable_miniframe+set}" = set; then
13181 enableval=$enable_miniframe;
13182 if test "$enableval" = yes; then
13183 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
13184 else
13185 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
13186 fi
13187
13188 else
13189
13190 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13191
13192 fi
13193
13194
13195 eval "$wx_cv_use_miniframe"
13196
13197 if test x"$enablestring" = xdisable; then
13198 if test $wxUSE_MINIFRAME = no; then
13199 result=yes
13200 else
13201 result=no
13202 fi
13203 else
13204 result=$wxUSE_MINIFRAME
13205 fi
13206
13207 { echo "$as_me:$LINENO: result: $result" >&5
13208 echo "${ECHO_T}$result" >&6; }
13209
13210
13211 enablestring=
13212 defaultval=$wxUSE_ALL_FEATURES
13213 if test -z "$defaultval"; then
13214 if test x"$enablestring" = xdisable; then
13215 defaultval=yes
13216 else
13217 defaultval=no
13218 fi
13219 fi
13220
13221 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
13222 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
13223 # Check whether --enable-tooltips was given.
13224 if test "${enable_tooltips+set}" = set; then
13225 enableval=$enable_tooltips;
13226 if test "$enableval" = yes; then
13227 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
13228 else
13229 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
13230 fi
13231
13232 else
13233
13234 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13235
13236 fi
13237
13238
13239 eval "$wx_cv_use_tooltips"
13240
13241 if test x"$enablestring" = xdisable; then
13242 if test $wxUSE_TOOLTIPS = no; then
13243 result=yes
13244 else
13245 result=no
13246 fi
13247 else
13248 result=$wxUSE_TOOLTIPS
13249 fi
13250
13251 { echo "$as_me:$LINENO: result: $result" >&5
13252 echo "${ECHO_T}$result" >&6; }
13253
13254
13255 enablestring=
13256 defaultval=$wxUSE_ALL_FEATURES
13257 if test -z "$defaultval"; then
13258 if test x"$enablestring" = xdisable; then
13259 defaultval=yes
13260 else
13261 defaultval=no
13262 fi
13263 fi
13264
13265 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
13266 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
13267 # Check whether --enable-splines was given.
13268 if test "${enable_splines+set}" = set; then
13269 enableval=$enable_splines;
13270 if test "$enableval" = yes; then
13271 wx_cv_use_splines='wxUSE_SPLINES=yes'
13272 else
13273 wx_cv_use_splines='wxUSE_SPLINES=no'
13274 fi
13275
13276 else
13277
13278 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13279
13280 fi
13281
13282
13283 eval "$wx_cv_use_splines"
13284
13285 if test x"$enablestring" = xdisable; then
13286 if test $wxUSE_SPLINES = no; then
13287 result=yes
13288 else
13289 result=no
13290 fi
13291 else
13292 result=$wxUSE_SPLINES
13293 fi
13294
13295 { echo "$as_me:$LINENO: result: $result" >&5
13296 echo "${ECHO_T}$result" >&6; }
13297
13298
13299 enablestring=
13300 defaultval=$wxUSE_ALL_FEATURES
13301 if test -z "$defaultval"; then
13302 if test x"$enablestring" = xdisable; then
13303 defaultval=yes
13304 else
13305 defaultval=no
13306 fi
13307 fi
13308
13309 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13310 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13311 # Check whether --enable-mousewheel was given.
13312 if test "${enable_mousewheel+set}" = set; then
13313 enableval=$enable_mousewheel;
13314 if test "$enableval" = yes; then
13315 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
13316 else
13317 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
13318 fi
13319
13320 else
13321
13322 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13323
13324 fi
13325
13326
13327 eval "$wx_cv_use_mousewheel"
13328
13329 if test x"$enablestring" = xdisable; then
13330 if test $wxUSE_MOUSEWHEEL = no; then
13331 result=yes
13332 else
13333 result=no
13334 fi
13335 else
13336 result=$wxUSE_MOUSEWHEEL
13337 fi
13338
13339 { echo "$as_me:$LINENO: result: $result" >&5
13340 echo "${ECHO_T}$result" >&6; }
13341
13342
13343 enablestring=
13344 defaultval=$wxUSE_ALL_FEATURES
13345 if test -z "$defaultval"; then
13346 if test x"$enablestring" = xdisable; then
13347 defaultval=yes
13348 else
13349 defaultval=no
13350 fi
13351 fi
13352
13353 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13354 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13355 # Check whether --enable-validators was given.
13356 if test "${enable_validators+set}" = set; then
13357 enableval=$enable_validators;
13358 if test "$enableval" = yes; then
13359 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13360 else
13361 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13362 fi
13363
13364 else
13365
13366 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13367
13368 fi
13369
13370
13371 eval "$wx_cv_use_validators"
13372
13373 if test x"$enablestring" = xdisable; then
13374 if test $wxUSE_VALIDATORS = no; then
13375 result=yes
13376 else
13377 result=no
13378 fi
13379 else
13380 result=$wxUSE_VALIDATORS
13381 fi
13382
13383 { echo "$as_me:$LINENO: result: $result" >&5
13384 echo "${ECHO_T}$result" >&6; }
13385
13386
13387 enablestring=
13388 defaultval=$wxUSE_ALL_FEATURES
13389 if test -z "$defaultval"; then
13390 if test x"$enablestring" = xdisable; then
13391 defaultval=yes
13392 else
13393 defaultval=no
13394 fi
13395 fi
13396
13397 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13398 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13399 # Check whether --enable-busyinfo was given.
13400 if test "${enable_busyinfo+set}" = set; then
13401 enableval=$enable_busyinfo;
13402 if test "$enableval" = yes; then
13403 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13404 else
13405 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13406 fi
13407
13408 else
13409
13410 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13411
13412 fi
13413
13414
13415 eval "$wx_cv_use_busyinfo"
13416
13417 if test x"$enablestring" = xdisable; then
13418 if test $wxUSE_BUSYINFO = no; then
13419 result=yes
13420 else
13421 result=no
13422 fi
13423 else
13424 result=$wxUSE_BUSYINFO
13425 fi
13426
13427 { echo "$as_me:$LINENO: result: $result" >&5
13428 echo "${ECHO_T}$result" >&6; }
13429
13430
13431 enablestring=
13432 defaultval=$wxUSE_ALL_FEATURES
13433 if test -z "$defaultval"; then
13434 if test x"$enablestring" = xdisable; then
13435 defaultval=yes
13436 else
13437 defaultval=no
13438 fi
13439 fi
13440
13441 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13442 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13443 # Check whether --enable-joystick was given.
13444 if test "${enable_joystick+set}" = set; then
13445 enableval=$enable_joystick;
13446 if test "$enableval" = yes; then
13447 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13448 else
13449 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13450 fi
13451
13452 else
13453
13454 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13455
13456 fi
13457
13458
13459 eval "$wx_cv_use_joystick"
13460
13461 if test x"$enablestring" = xdisable; then
13462 if test $wxUSE_JOYSTICK = no; then
13463 result=yes
13464 else
13465 result=no
13466 fi
13467 else
13468 result=$wxUSE_JOYSTICK
13469 fi
13470
13471 { echo "$as_me:$LINENO: result: $result" >&5
13472 echo "${ECHO_T}$result" >&6; }
13473
13474
13475 enablestring=
13476 defaultval=$wxUSE_ALL_FEATURES
13477 if test -z "$defaultval"; then
13478 if test x"$enablestring" = xdisable; then
13479 defaultval=yes
13480 else
13481 defaultval=no
13482 fi
13483 fi
13484
13485 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13486 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13487 # Check whether --enable-metafile was given.
13488 if test "${enable_metafile+set}" = set; then
13489 enableval=$enable_metafile;
13490 if test "$enableval" = yes; then
13491 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13492 else
13493 wx_cv_use_metafile='wxUSE_METAFILE=no'
13494 fi
13495
13496 else
13497
13498 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13499
13500 fi
13501
13502
13503 eval "$wx_cv_use_metafile"
13504
13505 if test x"$enablestring" = xdisable; then
13506 if test $wxUSE_METAFILE = no; then
13507 result=yes
13508 else
13509 result=no
13510 fi
13511 else
13512 result=$wxUSE_METAFILE
13513 fi
13514
13515 { echo "$as_me:$LINENO: result: $result" >&5
13516 echo "${ECHO_T}$result" >&6; }
13517
13518
13519 enablestring=
13520 defaultval=$wxUSE_ALL_FEATURES
13521 if test -z "$defaultval"; then
13522 if test x"$enablestring" = xdisable; then
13523 defaultval=yes
13524 else
13525 defaultval=no
13526 fi
13527 fi
13528
13529 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13530 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13531 # Check whether --enable-dragimage was given.
13532 if test "${enable_dragimage+set}" = set; then
13533 enableval=$enable_dragimage;
13534 if test "$enableval" = yes; then
13535 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13536 else
13537 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13538 fi
13539
13540 else
13541
13542 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13543
13544 fi
13545
13546
13547 eval "$wx_cv_use_dragimage"
13548
13549 if test x"$enablestring" = xdisable; then
13550 if test $wxUSE_DRAGIMAGE = no; then
13551 result=yes
13552 else
13553 result=no
13554 fi
13555 else
13556 result=$wxUSE_DRAGIMAGE
13557 fi
13558
13559 { echo "$as_me:$LINENO: result: $result" >&5
13560 echo "${ECHO_T}$result" >&6; }
13561
13562
13563 enablestring=
13564 defaultval=$wxUSE_ALL_FEATURES
13565 if test -z "$defaultval"; then
13566 if test x"$enablestring" = xdisable; then
13567 defaultval=yes
13568 else
13569 defaultval=no
13570 fi
13571 fi
13572
13573 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13574 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13575 # Check whether --enable-accessibility was given.
13576 if test "${enable_accessibility+set}" = set; then
13577 enableval=$enable_accessibility;
13578 if test "$enableval" = yes; then
13579 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13580 else
13581 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13582 fi
13583
13584 else
13585
13586 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13587
13588 fi
13589
13590
13591 eval "$wx_cv_use_accessibility"
13592
13593 if test x"$enablestring" = xdisable; then
13594 if test $wxUSE_ACCESSIBILITY = no; then
13595 result=yes
13596 else
13597 result=no
13598 fi
13599 else
13600 result=$wxUSE_ACCESSIBILITY
13601 fi
13602
13603 { echo "$as_me:$LINENO: result: $result" >&5
13604 echo "${ECHO_T}$result" >&6; }
13605
13606
13607 enablestring=
13608 defaultval=$wxUSE_ALL_FEATURES
13609 if test -z "$defaultval"; then
13610 if test x"$enablestring" = xdisable; then
13611 defaultval=yes
13612 else
13613 defaultval=no
13614 fi
13615 fi
13616
13617 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uiactionsim" >&5
13618 echo $ECHO_N "checking for --${enablestring:-enable}-uiactionsim... $ECHO_C" >&6; }
13619 # Check whether --enable-uiactionsim was given.
13620 if test "${enable_uiactionsim+set}" = set; then
13621 enableval=$enable_uiactionsim;
13622 if test "$enableval" = yes; then
13623 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
13624 else
13625 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
13626 fi
13627
13628 else
13629
13630 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
13631
13632 fi
13633
13634
13635 eval "$wx_cv_use_uiactionsim"
13636
13637 if test x"$enablestring" = xdisable; then
13638 if test $wxUSE_UIACTIONSIMULATOR = no; then
13639 result=yes
13640 else
13641 result=no
13642 fi
13643 else
13644 result=$wxUSE_UIACTIONSIMULATOR
13645 fi
13646
13647 { echo "$as_me:$LINENO: result: $result" >&5
13648 echo "${ECHO_T}$result" >&6; }
13649
13650
13651
13652
13653 enablestring=
13654 defaultval=$wxUSE_ALL_FEATURES
13655 if test -z "$defaultval"; then
13656 if test x"$enablestring" = xdisable; then
13657 defaultval=yes
13658 else
13659 defaultval=no
13660 fi
13661 fi
13662
13663 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13664 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13665 # Check whether --enable-palette was given.
13666 if test "${enable_palette+set}" = set; then
13667 enableval=$enable_palette;
13668 if test "$enableval" = yes; then
13669 wx_cv_use_palette='wxUSE_PALETTE=yes'
13670 else
13671 wx_cv_use_palette='wxUSE_PALETTE=no'
13672 fi
13673
13674 else
13675
13676 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13677
13678 fi
13679
13680
13681 eval "$wx_cv_use_palette"
13682
13683 if test x"$enablestring" = xdisable; then
13684 if test $wxUSE_PALETTE = no; then
13685 result=yes
13686 else
13687 result=no
13688 fi
13689 else
13690 result=$wxUSE_PALETTE
13691 fi
13692
13693 { echo "$as_me:$LINENO: result: $result" >&5
13694 echo "${ECHO_T}$result" >&6; }
13695
13696
13697 enablestring=
13698 defaultval=$wxUSE_ALL_FEATURES
13699 if test -z "$defaultval"; then
13700 if test x"$enablestring" = xdisable; then
13701 defaultval=yes
13702 else
13703 defaultval=no
13704 fi
13705 fi
13706
13707 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13708 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13709 # Check whether --enable-image was given.
13710 if test "${enable_image+set}" = set; then
13711 enableval=$enable_image;
13712 if test "$enableval" = yes; then
13713 wx_cv_use_image='wxUSE_IMAGE=yes'
13714 else
13715 wx_cv_use_image='wxUSE_IMAGE=no'
13716 fi
13717
13718 else
13719
13720 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13721
13722 fi
13723
13724
13725 eval "$wx_cv_use_image"
13726
13727 if test x"$enablestring" = xdisable; then
13728 if test $wxUSE_IMAGE = no; then
13729 result=yes
13730 else
13731 result=no
13732 fi
13733 else
13734 result=$wxUSE_IMAGE
13735 fi
13736
13737 { echo "$as_me:$LINENO: result: $result" >&5
13738 echo "${ECHO_T}$result" >&6; }
13739
13740
13741 enablestring=
13742 defaultval=$wxUSE_ALL_FEATURES
13743 if test -z "$defaultval"; then
13744 if test x"$enablestring" = xdisable; then
13745 defaultval=yes
13746 else
13747 defaultval=no
13748 fi
13749 fi
13750
13751 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13752 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13753 # Check whether --enable-gif was given.
13754 if test "${enable_gif+set}" = set; then
13755 enableval=$enable_gif;
13756 if test "$enableval" = yes; then
13757 wx_cv_use_gif='wxUSE_GIF=yes'
13758 else
13759 wx_cv_use_gif='wxUSE_GIF=no'
13760 fi
13761
13762 else
13763
13764 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13765
13766 fi
13767
13768
13769 eval "$wx_cv_use_gif"
13770
13771 if test x"$enablestring" = xdisable; then
13772 if test $wxUSE_GIF = no; then
13773 result=yes
13774 else
13775 result=no
13776 fi
13777 else
13778 result=$wxUSE_GIF
13779 fi
13780
13781 { echo "$as_me:$LINENO: result: $result" >&5
13782 echo "${ECHO_T}$result" >&6; }
13783
13784
13785 enablestring=
13786 defaultval=$wxUSE_ALL_FEATURES
13787 if test -z "$defaultval"; then
13788 if test x"$enablestring" = xdisable; then
13789 defaultval=yes
13790 else
13791 defaultval=no
13792 fi
13793 fi
13794
13795 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13796 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13797 # Check whether --enable-pcx was given.
13798 if test "${enable_pcx+set}" = set; then
13799 enableval=$enable_pcx;
13800 if test "$enableval" = yes; then
13801 wx_cv_use_pcx='wxUSE_PCX=yes'
13802 else
13803 wx_cv_use_pcx='wxUSE_PCX=no'
13804 fi
13805
13806 else
13807
13808 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13809
13810 fi
13811
13812
13813 eval "$wx_cv_use_pcx"
13814
13815 if test x"$enablestring" = xdisable; then
13816 if test $wxUSE_PCX = no; then
13817 result=yes
13818 else
13819 result=no
13820 fi
13821 else
13822 result=$wxUSE_PCX
13823 fi
13824
13825 { echo "$as_me:$LINENO: result: $result" >&5
13826 echo "${ECHO_T}$result" >&6; }
13827
13828
13829 enablestring=
13830 defaultval=$wxUSE_ALL_FEATURES
13831 if test -z "$defaultval"; then
13832 if test x"$enablestring" = xdisable; then
13833 defaultval=yes
13834 else
13835 defaultval=no
13836 fi
13837 fi
13838
13839 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13840 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13841 # Check whether --enable-tga was given.
13842 if test "${enable_tga+set}" = set; then
13843 enableval=$enable_tga;
13844 if test "$enableval" = yes; then
13845 wx_cv_use_tga='wxUSE_TGA=yes'
13846 else
13847 wx_cv_use_tga='wxUSE_TGA=no'
13848 fi
13849
13850 else
13851
13852 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13853
13854 fi
13855
13856
13857 eval "$wx_cv_use_tga"
13858
13859 if test x"$enablestring" = xdisable; then
13860 if test $wxUSE_TGA = no; then
13861 result=yes
13862 else
13863 result=no
13864 fi
13865 else
13866 result=$wxUSE_TGA
13867 fi
13868
13869 { echo "$as_me:$LINENO: result: $result" >&5
13870 echo "${ECHO_T}$result" >&6; }
13871
13872
13873 enablestring=
13874 defaultval=$wxUSE_ALL_FEATURES
13875 if test -z "$defaultval"; then
13876 if test x"$enablestring" = xdisable; then
13877 defaultval=yes
13878 else
13879 defaultval=no
13880 fi
13881 fi
13882
13883 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13884 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13885 # Check whether --enable-iff was given.
13886 if test "${enable_iff+set}" = set; then
13887 enableval=$enable_iff;
13888 if test "$enableval" = yes; then
13889 wx_cv_use_iff='wxUSE_IFF=yes'
13890 else
13891 wx_cv_use_iff='wxUSE_IFF=no'
13892 fi
13893
13894 else
13895
13896 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13897
13898 fi
13899
13900
13901 eval "$wx_cv_use_iff"
13902
13903 if test x"$enablestring" = xdisable; then
13904 if test $wxUSE_IFF = no; then
13905 result=yes
13906 else
13907 result=no
13908 fi
13909 else
13910 result=$wxUSE_IFF
13911 fi
13912
13913 { echo "$as_me:$LINENO: result: $result" >&5
13914 echo "${ECHO_T}$result" >&6; }
13915
13916
13917 enablestring=
13918 defaultval=$wxUSE_ALL_FEATURES
13919 if test -z "$defaultval"; then
13920 if test x"$enablestring" = xdisable; then
13921 defaultval=yes
13922 else
13923 defaultval=no
13924 fi
13925 fi
13926
13927 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13928 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13929 # Check whether --enable-pnm was given.
13930 if test "${enable_pnm+set}" = set; then
13931 enableval=$enable_pnm;
13932 if test "$enableval" = yes; then
13933 wx_cv_use_pnm='wxUSE_PNM=yes'
13934 else
13935 wx_cv_use_pnm='wxUSE_PNM=no'
13936 fi
13937
13938 else
13939
13940 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13941
13942 fi
13943
13944
13945 eval "$wx_cv_use_pnm"
13946
13947 if test x"$enablestring" = xdisable; then
13948 if test $wxUSE_PNM = no; then
13949 result=yes
13950 else
13951 result=no
13952 fi
13953 else
13954 result=$wxUSE_PNM
13955 fi
13956
13957 { echo "$as_me:$LINENO: result: $result" >&5
13958 echo "${ECHO_T}$result" >&6; }
13959
13960
13961 enablestring=
13962 defaultval=$wxUSE_ALL_FEATURES
13963 if test -z "$defaultval"; then
13964 if test x"$enablestring" = xdisable; then
13965 defaultval=yes
13966 else
13967 defaultval=no
13968 fi
13969 fi
13970
13971 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13972 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13973 # Check whether --enable-xpm was given.
13974 if test "${enable_xpm+set}" = set; then
13975 enableval=$enable_xpm;
13976 if test "$enableval" = yes; then
13977 wx_cv_use_xpm='wxUSE_XPM=yes'
13978 else
13979 wx_cv_use_xpm='wxUSE_XPM=no'
13980 fi
13981
13982 else
13983
13984 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13985
13986 fi
13987
13988
13989 eval "$wx_cv_use_xpm"
13990
13991 if test x"$enablestring" = xdisable; then
13992 if test $wxUSE_XPM = no; then
13993 result=yes
13994 else
13995 result=no
13996 fi
13997 else
13998 result=$wxUSE_XPM
13999 fi
14000
14001 { echo "$as_me:$LINENO: result: $result" >&5
14002 echo "${ECHO_T}$result" >&6; }
14003
14004
14005 enablestring=
14006 defaultval=$wxUSE_ALL_FEATURES
14007 if test -z "$defaultval"; then
14008 if test x"$enablestring" = xdisable; then
14009 defaultval=yes
14010 else
14011 defaultval=no
14012 fi
14013 fi
14014
14015 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
14016 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
14017 # Check whether --enable-ico_cur was given.
14018 if test "${enable_ico_cur+set}" = set; then
14019 enableval=$enable_ico_cur;
14020 if test "$enableval" = yes; then
14021 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
14022 else
14023 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
14024 fi
14025
14026 else
14027
14028 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
14029
14030 fi
14031
14032
14033 eval "$wx_cv_use_ico_cur"
14034
14035 if test x"$enablestring" = xdisable; then
14036 if test $wxUSE_ICO_CUR = no; then
14037 result=yes
14038 else
14039 result=no
14040 fi
14041 else
14042 result=$wxUSE_ICO_CUR
14043 fi
14044
14045 { echo "$as_me:$LINENO: result: $result" >&5
14046 echo "${ECHO_T}$result" >&6; }
14047
14048
14049
14050
14051 enablestring=
14052 defaultval=$wxUSE_ALL_FEATURES
14053 if test -z "$defaultval"; then
14054 if test x"$enablestring" = xdisable; then
14055 defaultval=yes
14056 else
14057 defaultval=no
14058 fi
14059 fi
14060
14061 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
14062 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
14063 # Check whether --enable-dccache was given.
14064 if test "${enable_dccache+set}" = set; then
14065 enableval=$enable_dccache;
14066 if test "$enableval" = yes; then
14067 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
14068 else
14069 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
14070 fi
14071
14072 else
14073
14074 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
14075
14076 fi
14077
14078
14079 eval "$wx_cv_use_dccache"
14080
14081 if test x"$enablestring" = xdisable; then
14082 if test $wxUSE_DC_CACHEING = no; then
14083 result=yes
14084 else
14085 result=no
14086 fi
14087 else
14088 result=$wxUSE_DC_CACHEING
14089 fi
14090
14091 { echo "$as_me:$LINENO: result: $result" >&5
14092 echo "${ECHO_T}$result" >&6; }
14093
14094
14095 enablestring=
14096 defaultval=$wxUSE_ALL_FEATURES
14097 if test -z "$defaultval"; then
14098 if test x"$enablestring" = xdisable; then
14099 defaultval=yes
14100 else
14101 defaultval=no
14102 fi
14103 fi
14104
14105 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
14106 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
14107 # Check whether --enable-ps-in-msw was given.
14108 if test "${enable_ps_in_msw+set}" = set; then
14109 enableval=$enable_ps_in_msw;
14110 if test "$enableval" = yes; then
14111 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
14112 else
14113 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
14114 fi
14115
14116 else
14117
14118 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
14119
14120 fi
14121
14122
14123 eval "$wx_cv_use_ps_in_msw"
14124
14125 if test x"$enablestring" = xdisable; then
14126 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
14127 result=yes
14128 else
14129 result=no
14130 fi
14131 else
14132 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
14133 fi
14134
14135 { echo "$as_me:$LINENO: result: $result" >&5
14136 echo "${ECHO_T}$result" >&6; }
14137
14138
14139 enablestring=
14140 defaultval=$wxUSE_ALL_FEATURES
14141 if test -z "$defaultval"; then
14142 if test x"$enablestring" = xdisable; then
14143 defaultval=yes
14144 else
14145 defaultval=no
14146 fi
14147 fi
14148
14149 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
14150 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
14151 # Check whether --enable-ownerdrawn was given.
14152 if test "${enable_ownerdrawn+set}" = set; then
14153 enableval=$enable_ownerdrawn;
14154 if test "$enableval" = yes; then
14155 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
14156 else
14157 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
14158 fi
14159
14160 else
14161
14162 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
14163
14164 fi
14165
14166
14167 eval "$wx_cv_use_ownerdrawn"
14168
14169 if test x"$enablestring" = xdisable; then
14170 if test $wxUSE_OWNER_DRAWN = no; then
14171 result=yes
14172 else
14173 result=no
14174 fi
14175 else
14176 result=$wxUSE_OWNER_DRAWN
14177 fi
14178
14179 { echo "$as_me:$LINENO: result: $result" >&5
14180 echo "${ECHO_T}$result" >&6; }
14181
14182
14183 enablestring=
14184 defaultval=$wxUSE_ALL_FEATURES
14185 if test -z "$defaultval"; then
14186 if test x"$enablestring" = xdisable; then
14187 defaultval=yes
14188 else
14189 defaultval=no
14190 fi
14191 fi
14192
14193 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
14194 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
14195 # Check whether --enable-uxtheme was given.
14196 if test "${enable_uxtheme+set}" = set; then
14197 enableval=$enable_uxtheme;
14198 if test "$enableval" = yes; then
14199 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
14200 else
14201 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
14202 fi
14203
14204 else
14205
14206 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
14207
14208 fi
14209
14210
14211 eval "$wx_cv_use_uxtheme"
14212
14213 if test x"$enablestring" = xdisable; then
14214 if test $wxUSE_UXTHEME = no; then
14215 result=yes
14216 else
14217 result=no
14218 fi
14219 else
14220 result=$wxUSE_UXTHEME
14221 fi
14222
14223 { echo "$as_me:$LINENO: result: $result" >&5
14224 echo "${ECHO_T}$result" >&6; }
14225
14226
14227 enablestring=
14228 defaultval=$wxUSE_ALL_FEATURES
14229 if test -z "$defaultval"; then
14230 if test x"$enablestring" = xdisable; then
14231 defaultval=yes
14232 else
14233 defaultval=no
14234 fi
14235 fi
14236
14237 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
14238 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
14239 # Check whether --enable-wxdib was given.
14240 if test "${enable_wxdib+set}" = set; then
14241 enableval=$enable_wxdib;
14242 if test "$enableval" = yes; then
14243 wx_cv_use_wxdib='wxUSE_DIB=yes'
14244 else
14245 wx_cv_use_wxdib='wxUSE_DIB=no'
14246 fi
14247
14248 else
14249
14250 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
14251
14252 fi
14253
14254
14255 eval "$wx_cv_use_wxdib"
14256
14257 if test x"$enablestring" = xdisable; then
14258 if test $wxUSE_DIB = no; then
14259 result=yes
14260 else
14261 result=no
14262 fi
14263 else
14264 result=$wxUSE_DIB
14265 fi
14266
14267 { echo "$as_me:$LINENO: result: $result" >&5
14268 echo "${ECHO_T}$result" >&6; }
14269
14270
14271 if test "$wxUSE_MSW" != 1; then
14272 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
14273 fi
14274
14275
14276 enablestring=
14277 defaultval=$wxUSE_ALL_FEATURES
14278 if test -z "$defaultval"; then
14279 if test x"$enablestring" = xdisable; then
14280 defaultval=yes
14281 else
14282 defaultval=no
14283 fi
14284 fi
14285
14286 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
14287 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
14288 # Check whether --enable-autoidman was given.
14289 if test "${enable_autoidman+set}" = set; then
14290 enableval=$enable_autoidman;
14291 if test "$enableval" = yes; then
14292 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
14293 else
14294 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
14295 fi
14296
14297 else
14298
14299 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
14300
14301 fi
14302
14303
14304 eval "$wx_cv_use_autoidman"
14305
14306 if test x"$enablestring" = xdisable; then
14307 if test $wxUSE_AUTOID_MANAGEMENT = no; then
14308 result=yes
14309 else
14310 result=no
14311 fi
14312 else
14313 result=$wxUSE_AUTOID_MANAGEMENT
14314 fi
14315
14316 { echo "$as_me:$LINENO: result: $result" >&5
14317 echo "${ECHO_T}$result" >&6; }
14318
14319
14320 fi
14321
14322
14323 cat >confcache <<\_ACEOF
14324 # This file is a shell script that caches the results of configure
14325 # tests run on this system so they can be shared between configure
14326 # scripts and configure runs, see configure's option --config-cache.
14327 # It is not useful on other systems. If it contains results you don't
14328 # want to keep, you may remove or edit it.
14329 #
14330 # config.status only pays attention to the cache file if you give it
14331 # the --recheck option to rerun configure.
14332 #
14333 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14334 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14335 # following values.
14336
14337 _ACEOF
14338
14339 # The following way of writing the cache mishandles newlines in values,
14340 # but we know of no workaround that is simple, portable, and efficient.
14341 # So, we kill variables containing newlines.
14342 # Ultrix sh set writes to stderr and can't be redirected directly,
14343 # and sets the high bit in the cache file unless we assign to the vars.
14344 (
14345 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14346 eval ac_val=\$$ac_var
14347 case $ac_val in #(
14348 *${as_nl}*)
14349 case $ac_var in #(
14350 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14351 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14352 esac
14353 case $ac_var in #(
14354 _ | IFS | as_nl) ;; #(
14355 *) $as_unset $ac_var ;;
14356 esac ;;
14357 esac
14358 done
14359
14360 (set) 2>&1 |
14361 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14362 *${as_nl}ac_space=\ *)
14363 # `set' does not quote correctly, so add quotes (double-quote
14364 # substitution turns \\\\ into \\, and sed turns \\ into \).
14365 sed -n \
14366 "s/'/'\\\\''/g;
14367 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14368 ;; #(
14369 *)
14370 # `set' quotes correctly as required by POSIX, so do not add quotes.
14371 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14372 ;;
14373 esac |
14374 sort
14375 ) |
14376 sed '
14377 /^ac_cv_env_/b end
14378 t clear
14379 :clear
14380 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14381 t end
14382 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14383 :end' >>confcache
14384 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14385 if test -w "$cache_file"; then
14386 test "x$cache_file" != "x/dev/null" &&
14387 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14388 echo "$as_me: updating cache $cache_file" >&6;}
14389 cat confcache >$cache_file
14390 else
14391 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14392 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14393 fi
14394 fi
14395 rm -f confcache
14396
14397 CFLAGS=${CFLAGS:=}
14398
14399
14400
14401 ac_ext=c
14402 ac_cpp='$CPP $CPPFLAGS'
14403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14406 if test -n "$ac_tool_prefix"; then
14407 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14408 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14409 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14410 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14411 if test "${ac_cv_prog_CC+set}" = set; then
14412 echo $ECHO_N "(cached) $ECHO_C" >&6
14413 else
14414 if test -n "$CC"; then
14415 ac_cv_prog_CC="$CC" # Let the user override the test.
14416 else
14417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14418 for as_dir in $PATH
14419 do
14420 IFS=$as_save_IFS
14421 test -z "$as_dir" && as_dir=.
14422 for ac_exec_ext in '' $ac_executable_extensions; do
14423 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14424 ac_cv_prog_CC="${ac_tool_prefix}gcc"
14425 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14426 break 2
14427 fi
14428 done
14429 done
14430 IFS=$as_save_IFS
14431
14432 fi
14433 fi
14434 CC=$ac_cv_prog_CC
14435 if test -n "$CC"; then
14436 { echo "$as_me:$LINENO: result: $CC" >&5
14437 echo "${ECHO_T}$CC" >&6; }
14438 else
14439 { echo "$as_me:$LINENO: result: no" >&5
14440 echo "${ECHO_T}no" >&6; }
14441 fi
14442
14443
14444 fi
14445 if test -z "$ac_cv_prog_CC"; then
14446 ac_ct_CC=$CC
14447 # Extract the first word of "gcc", so it can be a program name with args.
14448 set dummy gcc; ac_word=$2
14449 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14450 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14451 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14452 echo $ECHO_N "(cached) $ECHO_C" >&6
14453 else
14454 if test -n "$ac_ct_CC"; then
14455 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14456 else
14457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14458 for as_dir in $PATH
14459 do
14460 IFS=$as_save_IFS
14461 test -z "$as_dir" && as_dir=.
14462 for ac_exec_ext in '' $ac_executable_extensions; do
14463 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14464 ac_cv_prog_ac_ct_CC="gcc"
14465 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14466 break 2
14467 fi
14468 done
14469 done
14470 IFS=$as_save_IFS
14471
14472 fi
14473 fi
14474 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14475 if test -n "$ac_ct_CC"; then
14476 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14477 echo "${ECHO_T}$ac_ct_CC" >&6; }
14478 else
14479 { echo "$as_me:$LINENO: result: no" >&5
14480 echo "${ECHO_T}no" >&6; }
14481 fi
14482
14483 if test "x$ac_ct_CC" = x; then
14484 CC=""
14485 else
14486 case $cross_compiling:$ac_tool_warned in
14487 yes:)
14488 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14489 whose name does not start with the host triplet. If you think this
14490 configuration is useful to you, please write to autoconf@gnu.org." >&5
14491 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14492 whose name does not start with the host triplet. If you think this
14493 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14494 ac_tool_warned=yes ;;
14495 esac
14496 CC=$ac_ct_CC
14497 fi
14498 else
14499 CC="$ac_cv_prog_CC"
14500 fi
14501
14502 if test -z "$CC"; then
14503 if test -n "$ac_tool_prefix"; then
14504 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14505 set dummy ${ac_tool_prefix}cc; ac_word=$2
14506 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14507 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14508 if test "${ac_cv_prog_CC+set}" = set; then
14509 echo $ECHO_N "(cached) $ECHO_C" >&6
14510 else
14511 if test -n "$CC"; then
14512 ac_cv_prog_CC="$CC" # Let the user override the test.
14513 else
14514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14515 for as_dir in $PATH
14516 do
14517 IFS=$as_save_IFS
14518 test -z "$as_dir" && as_dir=.
14519 for ac_exec_ext in '' $ac_executable_extensions; do
14520 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14521 ac_cv_prog_CC="${ac_tool_prefix}cc"
14522 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14523 break 2
14524 fi
14525 done
14526 done
14527 IFS=$as_save_IFS
14528
14529 fi
14530 fi
14531 CC=$ac_cv_prog_CC
14532 if test -n "$CC"; then
14533 { echo "$as_me:$LINENO: result: $CC" >&5
14534 echo "${ECHO_T}$CC" >&6; }
14535 else
14536 { echo "$as_me:$LINENO: result: no" >&5
14537 echo "${ECHO_T}no" >&6; }
14538 fi
14539
14540
14541 fi
14542 fi
14543 if test -z "$CC"; then
14544 # Extract the first word of "cc", so it can be a program name with args.
14545 set dummy cc; ac_word=$2
14546 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14547 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14548 if test "${ac_cv_prog_CC+set}" = set; then
14549 echo $ECHO_N "(cached) $ECHO_C" >&6
14550 else
14551 if test -n "$CC"; then
14552 ac_cv_prog_CC="$CC" # Let the user override the test.
14553 else
14554 ac_prog_rejected=no
14555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14556 for as_dir in $PATH
14557 do
14558 IFS=$as_save_IFS
14559 test -z "$as_dir" && as_dir=.
14560 for ac_exec_ext in '' $ac_executable_extensions; do
14561 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14562 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14563 ac_prog_rejected=yes
14564 continue
14565 fi
14566 ac_cv_prog_CC="cc"
14567 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14568 break 2
14569 fi
14570 done
14571 done
14572 IFS=$as_save_IFS
14573
14574 if test $ac_prog_rejected = yes; then
14575 # We found a bogon in the path, so make sure we never use it.
14576 set dummy $ac_cv_prog_CC
14577 shift
14578 if test $# != 0; then
14579 # We chose a different compiler from the bogus one.
14580 # However, it has the same basename, so the bogon will be chosen
14581 # first if we set CC to just the basename; use the full file name.
14582 shift
14583 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14584 fi
14585 fi
14586 fi
14587 fi
14588 CC=$ac_cv_prog_CC
14589 if test -n "$CC"; then
14590 { echo "$as_me:$LINENO: result: $CC" >&5
14591 echo "${ECHO_T}$CC" >&6; }
14592 else
14593 { echo "$as_me:$LINENO: result: no" >&5
14594 echo "${ECHO_T}no" >&6; }
14595 fi
14596
14597
14598 fi
14599 if test -z "$CC"; then
14600 if test -n "$ac_tool_prefix"; then
14601 for ac_prog in cl.exe
14602 do
14603 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14604 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14605 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14606 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14607 if test "${ac_cv_prog_CC+set}" = set; then
14608 echo $ECHO_N "(cached) $ECHO_C" >&6
14609 else
14610 if test -n "$CC"; then
14611 ac_cv_prog_CC="$CC" # Let the user override the test.
14612 else
14613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14614 for as_dir in $PATH
14615 do
14616 IFS=$as_save_IFS
14617 test -z "$as_dir" && as_dir=.
14618 for ac_exec_ext in '' $ac_executable_extensions; do
14619 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14620 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14621 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14622 break 2
14623 fi
14624 done
14625 done
14626 IFS=$as_save_IFS
14627
14628 fi
14629 fi
14630 CC=$ac_cv_prog_CC
14631 if test -n "$CC"; then
14632 { echo "$as_me:$LINENO: result: $CC" >&5
14633 echo "${ECHO_T}$CC" >&6; }
14634 else
14635 { echo "$as_me:$LINENO: result: no" >&5
14636 echo "${ECHO_T}no" >&6; }
14637 fi
14638
14639
14640 test -n "$CC" && break
14641 done
14642 fi
14643 if test -z "$CC"; then
14644 ac_ct_CC=$CC
14645 for ac_prog in cl.exe
14646 do
14647 # Extract the first word of "$ac_prog", so it can be a program name with args.
14648 set dummy $ac_prog; ac_word=$2
14649 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14651 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14652 echo $ECHO_N "(cached) $ECHO_C" >&6
14653 else
14654 if test -n "$ac_ct_CC"; then
14655 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14656 else
14657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14658 for as_dir in $PATH
14659 do
14660 IFS=$as_save_IFS
14661 test -z "$as_dir" && as_dir=.
14662 for ac_exec_ext in '' $ac_executable_extensions; do
14663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14664 ac_cv_prog_ac_ct_CC="$ac_prog"
14665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14666 break 2
14667 fi
14668 done
14669 done
14670 IFS=$as_save_IFS
14671
14672 fi
14673 fi
14674 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14675 if test -n "$ac_ct_CC"; then
14676 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14677 echo "${ECHO_T}$ac_ct_CC" >&6; }
14678 else
14679 { echo "$as_me:$LINENO: result: no" >&5
14680 echo "${ECHO_T}no" >&6; }
14681 fi
14682
14683
14684 test -n "$ac_ct_CC" && break
14685 done
14686
14687 if test "x$ac_ct_CC" = x; then
14688 CC=""
14689 else
14690 case $cross_compiling:$ac_tool_warned in
14691 yes:)
14692 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14693 whose name does not start with the host triplet. If you think this
14694 configuration is useful to you, please write to autoconf@gnu.org." >&5
14695 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14696 whose name does not start with the host triplet. If you think this
14697 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14698 ac_tool_warned=yes ;;
14699 esac
14700 CC=$ac_ct_CC
14701 fi
14702 fi
14703
14704 fi
14705
14706
14707 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14708 See \`config.log' for more details." >&5
14709 echo "$as_me: error: no acceptable C compiler found in \$PATH
14710 See \`config.log' for more details." >&2;}
14711 { (exit 1); exit 1; }; }
14712
14713 # Provide some information about the compiler.
14714 echo "$as_me:$LINENO: checking for C compiler version" >&5
14715 ac_compiler=`set X $ac_compile; echo $2`
14716 { (ac_try="$ac_compiler --version >&5"
14717 case "(($ac_try" in
14718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14719 *) ac_try_echo=$ac_try;;
14720 esac
14721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14722 (eval "$ac_compiler --version >&5") 2>&5
14723 ac_status=$?
14724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14725 (exit $ac_status); }
14726 { (ac_try="$ac_compiler -v >&5"
14727 case "(($ac_try" in
14728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14729 *) ac_try_echo=$ac_try;;
14730 esac
14731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14732 (eval "$ac_compiler -v >&5") 2>&5
14733 ac_status=$?
14734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14735 (exit $ac_status); }
14736 { (ac_try="$ac_compiler -V >&5"
14737 case "(($ac_try" in
14738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14739 *) ac_try_echo=$ac_try;;
14740 esac
14741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14742 (eval "$ac_compiler -V >&5") 2>&5
14743 ac_status=$?
14744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14745 (exit $ac_status); }
14746
14747 cat >conftest.$ac_ext <<_ACEOF
14748 /* confdefs.h. */
14749 _ACEOF
14750 cat confdefs.h >>conftest.$ac_ext
14751 cat >>conftest.$ac_ext <<_ACEOF
14752 /* end confdefs.h. */
14753
14754 int
14755 main ()
14756 {
14757
14758 ;
14759 return 0;
14760 }
14761 _ACEOF
14762 ac_clean_files_save=$ac_clean_files
14763 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14764 # Try to create an executable without -o first, disregard a.out.
14765 # It will help us diagnose broken compilers, and finding out an intuition
14766 # of exeext.
14767 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14768 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14769 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14770 #
14771 # List of possible output files, starting from the most likely.
14772 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
14773 # only as a last resort. b.out is created by i960 compilers.
14774 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14775 #
14776 # The IRIX 6 linker writes into existing files which may not be
14777 # executable, retaining their permissions. Remove them first so a
14778 # subsequent execution test works.
14779 ac_rmfiles=
14780 for ac_file in $ac_files
14781 do
14782 case $ac_file in
14783 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14784 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14785 esac
14786 done
14787 rm -f $ac_rmfiles
14788
14789 if { (ac_try="$ac_link_default"
14790 case "(($ac_try" in
14791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14792 *) ac_try_echo=$ac_try;;
14793 esac
14794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14795 (eval "$ac_link_default") 2>&5
14796 ac_status=$?
14797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14798 (exit $ac_status); }; then
14799 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14800 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14801 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14802 # so that the user can short-circuit this test for compilers unknown to
14803 # Autoconf.
14804 for ac_file in $ac_files ''
14805 do
14806 test -f "$ac_file" || continue
14807 case $ac_file in
14808 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14809 ;;
14810 [ab].out )
14811 # We found the default executable, but exeext='' is most
14812 # certainly right.
14813 break;;
14814 *.* )
14815 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14816 then :; else
14817 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14818 fi
14819 # We set ac_cv_exeext here because the later test for it is not
14820 # safe: cross compilers may not add the suffix if given an `-o'
14821 # argument, so we may need to know it at that point already.
14822 # Even if this section looks crufty: it has the advantage of
14823 # actually working.
14824 break;;
14825 * )
14826 break;;
14827 esac
14828 done
14829 test "$ac_cv_exeext" = no && ac_cv_exeext=
14830
14831 else
14832 ac_file=''
14833 fi
14834
14835 { echo "$as_me:$LINENO: result: $ac_file" >&5
14836 echo "${ECHO_T}$ac_file" >&6; }
14837 if test -z "$ac_file"; then
14838 echo "$as_me: failed program was:" >&5
14839 sed 's/^/| /' conftest.$ac_ext >&5
14840
14841 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14842 See \`config.log' for more details." >&5
14843 echo "$as_me: error: C compiler cannot create executables
14844 See \`config.log' for more details." >&2;}
14845 { (exit 77); exit 77; }; }
14846 fi
14847
14848 ac_exeext=$ac_cv_exeext
14849
14850 # Check that the compiler produces executables we can run. If not, either
14851 # the compiler is broken, or we cross compile.
14852 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14853 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14854 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14855 # If not cross compiling, check that we can run a simple program.
14856 if test "$cross_compiling" != yes; then
14857 if { ac_try='./$ac_file'
14858 { (case "(($ac_try" in
14859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14860 *) ac_try_echo=$ac_try;;
14861 esac
14862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14863 (eval "$ac_try") 2>&5
14864 ac_status=$?
14865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14866 (exit $ac_status); }; }; then
14867 cross_compiling=no
14868 else
14869 if test "$cross_compiling" = maybe; then
14870 cross_compiling=yes
14871 else
14872 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14873 If you meant to cross compile, use \`--host'.
14874 See \`config.log' for more details." >&5
14875 echo "$as_me: error: cannot run C compiled programs.
14876 If you meant to cross compile, use \`--host'.
14877 See \`config.log' for more details." >&2;}
14878 { (exit 1); exit 1; }; }
14879 fi
14880 fi
14881 fi
14882 { echo "$as_me:$LINENO: result: yes" >&5
14883 echo "${ECHO_T}yes" >&6; }
14884
14885 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14886 ac_clean_files=$ac_clean_files_save
14887 # Check that the compiler produces executables we can run. If not, either
14888 # the compiler is broken, or we cross compile.
14889 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14890 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14891 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14892 echo "${ECHO_T}$cross_compiling" >&6; }
14893
14894 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14895 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14896 if { (ac_try="$ac_link"
14897 case "(($ac_try" in
14898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14899 *) ac_try_echo=$ac_try;;
14900 esac
14901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14902 (eval "$ac_link") 2>&5
14903 ac_status=$?
14904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14905 (exit $ac_status); }; then
14906 # If both `conftest.exe' and `conftest' are `present' (well, observable)
14907 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
14908 # work properly (i.e., refer to `conftest.exe'), while it won't with
14909 # `rm'.
14910 for ac_file in conftest.exe conftest conftest.*; do
14911 test -f "$ac_file" || continue
14912 case $ac_file in
14913 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14914 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14915 break;;
14916 * ) break;;
14917 esac
14918 done
14919 else
14920 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14921 See \`config.log' for more details." >&5
14922 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14923 See \`config.log' for more details." >&2;}
14924 { (exit 1); exit 1; }; }
14925 fi
14926
14927 rm -f conftest$ac_cv_exeext
14928 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14929 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14930
14931 rm -f conftest.$ac_ext
14932 EXEEXT=$ac_cv_exeext
14933 ac_exeext=$EXEEXT
14934 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14935 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14936 if test "${ac_cv_objext+set}" = set; then
14937 echo $ECHO_N "(cached) $ECHO_C" >&6
14938 else
14939 cat >conftest.$ac_ext <<_ACEOF
14940 /* confdefs.h. */
14941 _ACEOF
14942 cat confdefs.h >>conftest.$ac_ext
14943 cat >>conftest.$ac_ext <<_ACEOF
14944 /* end confdefs.h. */
14945
14946 int
14947 main ()
14948 {
14949
14950 ;
14951 return 0;
14952 }
14953 _ACEOF
14954 rm -f conftest.o conftest.obj
14955 if { (ac_try="$ac_compile"
14956 case "(($ac_try" in
14957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14958 *) ac_try_echo=$ac_try;;
14959 esac
14960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14961 (eval "$ac_compile") 2>&5
14962 ac_status=$?
14963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14964 (exit $ac_status); }; then
14965 for ac_file in conftest.o conftest.obj conftest.*; do
14966 test -f "$ac_file" || continue;
14967 case $ac_file in
14968 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14969 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14970 break;;
14971 esac
14972 done
14973 else
14974 echo "$as_me: failed program was:" >&5
14975 sed 's/^/| /' conftest.$ac_ext >&5
14976
14977 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14978 See \`config.log' for more details." >&5
14979 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14980 See \`config.log' for more details." >&2;}
14981 { (exit 1); exit 1; }; }
14982 fi
14983
14984 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14985 fi
14986 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
14987 echo "${ECHO_T}$ac_cv_objext" >&6; }
14988 OBJEXT=$ac_cv_objext
14989 ac_objext=$OBJEXT
14990 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
14991 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
14992 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14993 echo $ECHO_N "(cached) $ECHO_C" >&6
14994 else
14995 cat >conftest.$ac_ext <<_ACEOF
14996 /* confdefs.h. */
14997 _ACEOF
14998 cat confdefs.h >>conftest.$ac_ext
14999 cat >>conftest.$ac_ext <<_ACEOF
15000 /* end confdefs.h. */
15001
15002 int
15003 main ()
15004 {
15005 #ifndef __GNUC__
15006 choke me
15007 #endif
15008
15009 ;
15010 return 0;
15011 }
15012 _ACEOF
15013 rm -f conftest.$ac_objext
15014 if { (ac_try="$ac_compile"
15015 case "(($ac_try" in
15016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15017 *) ac_try_echo=$ac_try;;
15018 esac
15019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15020 (eval "$ac_compile") 2>conftest.er1
15021 ac_status=$?
15022 grep -v '^ *+' conftest.er1 >conftest.err
15023 rm -f conftest.er1
15024 cat conftest.err >&5
15025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15026 (exit $ac_status); } && {
15027 test -z "$ac_c_werror_flag" ||
15028 test ! -s conftest.err
15029 } && test -s conftest.$ac_objext; then
15030 ac_compiler_gnu=yes
15031 else
15032 echo "$as_me: failed program was:" >&5
15033 sed 's/^/| /' conftest.$ac_ext >&5
15034
15035 ac_compiler_gnu=no
15036 fi
15037
15038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15039 ac_cv_c_compiler_gnu=$ac_compiler_gnu
15040
15041 fi
15042 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
15043 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
15044 GCC=`test $ac_compiler_gnu = yes && echo yes`
15045 ac_test_CFLAGS=${CFLAGS+set}
15046 ac_save_CFLAGS=$CFLAGS
15047 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15048 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15049 if test "${ac_cv_prog_cc_g+set}" = set; then
15050 echo $ECHO_N "(cached) $ECHO_C" >&6
15051 else
15052 ac_save_c_werror_flag=$ac_c_werror_flag
15053 ac_c_werror_flag=yes
15054 ac_cv_prog_cc_g=no
15055 CFLAGS="-g"
15056 cat >conftest.$ac_ext <<_ACEOF
15057 /* confdefs.h. */
15058 _ACEOF
15059 cat confdefs.h >>conftest.$ac_ext
15060 cat >>conftest.$ac_ext <<_ACEOF
15061 /* end confdefs.h. */
15062
15063 int
15064 main ()
15065 {
15066
15067 ;
15068 return 0;
15069 }
15070 _ACEOF
15071 rm -f conftest.$ac_objext
15072 if { (ac_try="$ac_compile"
15073 case "(($ac_try" in
15074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15075 *) ac_try_echo=$ac_try;;
15076 esac
15077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15078 (eval "$ac_compile") 2>conftest.er1
15079 ac_status=$?
15080 grep -v '^ *+' conftest.er1 >conftest.err
15081 rm -f conftest.er1
15082 cat conftest.err >&5
15083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15084 (exit $ac_status); } && {
15085 test -z "$ac_c_werror_flag" ||
15086 test ! -s conftest.err
15087 } && test -s conftest.$ac_objext; then
15088 ac_cv_prog_cc_g=yes
15089 else
15090 echo "$as_me: failed program was:" >&5
15091 sed 's/^/| /' conftest.$ac_ext >&5
15092
15093 CFLAGS=""
15094 cat >conftest.$ac_ext <<_ACEOF
15095 /* confdefs.h. */
15096 _ACEOF
15097 cat confdefs.h >>conftest.$ac_ext
15098 cat >>conftest.$ac_ext <<_ACEOF
15099 /* end confdefs.h. */
15100
15101 int
15102 main ()
15103 {
15104
15105 ;
15106 return 0;
15107 }
15108 _ACEOF
15109 rm -f conftest.$ac_objext
15110 if { (ac_try="$ac_compile"
15111 case "(($ac_try" in
15112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15113 *) ac_try_echo=$ac_try;;
15114 esac
15115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15116 (eval "$ac_compile") 2>conftest.er1
15117 ac_status=$?
15118 grep -v '^ *+' conftest.er1 >conftest.err
15119 rm -f conftest.er1
15120 cat conftest.err >&5
15121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15122 (exit $ac_status); } && {
15123 test -z "$ac_c_werror_flag" ||
15124 test ! -s conftest.err
15125 } && test -s conftest.$ac_objext; then
15126 :
15127 else
15128 echo "$as_me: failed program was:" >&5
15129 sed 's/^/| /' conftest.$ac_ext >&5
15130
15131 ac_c_werror_flag=$ac_save_c_werror_flag
15132 CFLAGS="-g"
15133 cat >conftest.$ac_ext <<_ACEOF
15134 /* confdefs.h. */
15135 _ACEOF
15136 cat confdefs.h >>conftest.$ac_ext
15137 cat >>conftest.$ac_ext <<_ACEOF
15138 /* end confdefs.h. */
15139
15140 int
15141 main ()
15142 {
15143
15144 ;
15145 return 0;
15146 }
15147 _ACEOF
15148 rm -f conftest.$ac_objext
15149 if { (ac_try="$ac_compile"
15150 case "(($ac_try" in
15151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15152 *) ac_try_echo=$ac_try;;
15153 esac
15154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15155 (eval "$ac_compile") 2>conftest.er1
15156 ac_status=$?
15157 grep -v '^ *+' conftest.er1 >conftest.err
15158 rm -f conftest.er1
15159 cat conftest.err >&5
15160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15161 (exit $ac_status); } && {
15162 test -z "$ac_c_werror_flag" ||
15163 test ! -s conftest.err
15164 } && test -s conftest.$ac_objext; then
15165 ac_cv_prog_cc_g=yes
15166 else
15167 echo "$as_me: failed program was:" >&5
15168 sed 's/^/| /' conftest.$ac_ext >&5
15169
15170
15171 fi
15172
15173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15174 fi
15175
15176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15177 fi
15178
15179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15180 ac_c_werror_flag=$ac_save_c_werror_flag
15181 fi
15182 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15183 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15184 if test "$ac_test_CFLAGS" = set; then
15185 CFLAGS=$ac_save_CFLAGS
15186 elif test $ac_cv_prog_cc_g = yes; then
15187 if test "$GCC" = yes; then
15188 CFLAGS="-g -O2"
15189 else
15190 CFLAGS="-g"
15191 fi
15192 else
15193 if test "$GCC" = yes; then
15194 CFLAGS="-O2"
15195 else
15196 CFLAGS=
15197 fi
15198 fi
15199 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
15200 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
15201 if test "${ac_cv_prog_cc_c89+set}" = set; then
15202 echo $ECHO_N "(cached) $ECHO_C" >&6
15203 else
15204 ac_cv_prog_cc_c89=no
15205 ac_save_CC=$CC
15206 cat >conftest.$ac_ext <<_ACEOF
15207 /* confdefs.h. */
15208 _ACEOF
15209 cat confdefs.h >>conftest.$ac_ext
15210 cat >>conftest.$ac_ext <<_ACEOF
15211 /* end confdefs.h. */
15212 #include <stdarg.h>
15213 #include <stdio.h>
15214 #include <sys/types.h>
15215 #include <sys/stat.h>
15216 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15217 struct buf { int x; };
15218 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15219 static char *e (p, i)
15220 char **p;
15221 int i;
15222 {
15223 return p[i];
15224 }
15225 static char *f (char * (*g) (char **, int), char **p, ...)
15226 {
15227 char *s;
15228 va_list v;
15229 va_start (v,p);
15230 s = g (p, va_arg (v,int));
15231 va_end (v);
15232 return s;
15233 }
15234
15235 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15236 function prototypes and stuff, but not '\xHH' hex character constants.
15237 These don't provoke an error unfortunately, instead are silently treated
15238 as 'x'. The following induces an error, until -std is added to get
15239 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
15240 array size at least. It's necessary to write '\x00'==0 to get something
15241 that's true only with -std. */
15242 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15243
15244 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
15245 inside strings and character constants. */
15246 #define FOO(x) 'x'
15247 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
15248
15249 int test (int i, double x);
15250 struct s1 {int (*f) (int a);};
15251 struct s2 {int (*f) (double a);};
15252 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15253 int argc;
15254 char **argv;
15255 int
15256 main ()
15257 {
15258 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
15259 ;
15260 return 0;
15261 }
15262 _ACEOF
15263 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
15264 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15265 do
15266 CC="$ac_save_CC $ac_arg"
15267 rm -f conftest.$ac_objext
15268 if { (ac_try="$ac_compile"
15269 case "(($ac_try" in
15270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15271 *) ac_try_echo=$ac_try;;
15272 esac
15273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15274 (eval "$ac_compile") 2>conftest.er1
15275 ac_status=$?
15276 grep -v '^ *+' conftest.er1 >conftest.err
15277 rm -f conftest.er1
15278 cat conftest.err >&5
15279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15280 (exit $ac_status); } && {
15281 test -z "$ac_c_werror_flag" ||
15282 test ! -s conftest.err
15283 } && test -s conftest.$ac_objext; then
15284 ac_cv_prog_cc_c89=$ac_arg
15285 else
15286 echo "$as_me: failed program was:" >&5
15287 sed 's/^/| /' conftest.$ac_ext >&5
15288
15289
15290 fi
15291
15292 rm -f core conftest.err conftest.$ac_objext
15293 test "x$ac_cv_prog_cc_c89" != "xno" && break
15294 done
15295 rm -f conftest.$ac_ext
15296 CC=$ac_save_CC
15297
15298 fi
15299 # AC_CACHE_VAL
15300 case "x$ac_cv_prog_cc_c89" in
15301 x)
15302 { echo "$as_me:$LINENO: result: none needed" >&5
15303 echo "${ECHO_T}none needed" >&6; } ;;
15304 xno)
15305 { echo "$as_me:$LINENO: result: unsupported" >&5
15306 echo "${ECHO_T}unsupported" >&6; } ;;
15307 *)
15308 CC="$CC $ac_cv_prog_cc_c89"
15309 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
15310 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
15311 esac
15312
15313
15314 ac_ext=c
15315 ac_cpp='$CPP $CPPFLAGS'
15316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15319
15320
15321
15322
15323 ac_ext=c
15324 ac_cpp='$CPP $CPPFLAGS'
15325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15328
15329 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
15330 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
15331 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15332 echo $ECHO_N "(cached) $ECHO_C" >&6
15333 else
15334 cat >conftest.$ac_ext <<_ACEOF
15335 /* confdefs.h. */
15336 _ACEOF
15337 cat confdefs.h >>conftest.$ac_ext
15338 cat >>conftest.$ac_ext <<_ACEOF
15339 /* end confdefs.h. */
15340
15341 int
15342 main ()
15343 {
15344
15345 #ifndef __INTEL_COMPILER
15346 choke me
15347 #endif
15348
15349 ;
15350 return 0;
15351 }
15352 _ACEOF
15353 rm -f conftest.$ac_objext
15354 if { (ac_try="$ac_compile"
15355 case "(($ac_try" in
15356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15357 *) ac_try_echo=$ac_try;;
15358 esac
15359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15360 (eval "$ac_compile") 2>conftest.er1
15361 ac_status=$?
15362 grep -v '^ *+' conftest.er1 >conftest.err
15363 rm -f conftest.er1
15364 cat conftest.err >&5
15365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15366 (exit $ac_status); } && {
15367 test -z "$ac_c_werror_flag" ||
15368 test ! -s conftest.err
15369 } && test -s conftest.$ac_objext; then
15370 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15371 else
15372 echo "$as_me: failed program was:" >&5
15373 sed 's/^/| /' conftest.$ac_ext >&5
15374
15375 bakefile_cv_c_compiler___INTEL_COMPILER=no
15376
15377 fi
15378
15379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15380
15381
15382 fi
15383 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15384 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15385 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15386 :; INTELCC=yes
15387 else
15388 :;
15389 fi
15390 ac_ext=c
15391 ac_cpp='$CPP $CPPFLAGS'
15392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15395
15396
15397
15398
15399 if test "$INTELCC" = "yes"; then
15400
15401
15402 ac_ext=c
15403 ac_cpp='$CPP $CPPFLAGS'
15404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15407
15408 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later" >&5
15409 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later... $ECHO_C" >&6; }
15410 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15411 echo $ECHO_N "(cached) $ECHO_C" >&6
15412 else
15413 cat >conftest.$ac_ext <<_ACEOF
15414 /* confdefs.h. */
15415 _ACEOF
15416 cat confdefs.h >>conftest.$ac_ext
15417 cat >>conftest.$ac_ext <<_ACEOF
15418 /* end confdefs.h. */
15419
15420 int
15421 main ()
15422 {
15423
15424 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15425 choke me
15426 #endif
15427
15428 ;
15429 return 0;
15430 }
15431 _ACEOF
15432 rm -f conftest.$ac_objext
15433 if { (ac_try="$ac_compile"
15434 case "(($ac_try" in
15435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15436 *) ac_try_echo=$ac_try;;
15437 esac
15438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15439 (eval "$ac_compile") 2>conftest.er1
15440 ac_status=$?
15441 grep -v '^ *+' conftest.er1 >conftest.err
15442 rm -f conftest.er1
15443 cat conftest.err >&5
15444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15445 (exit $ac_status); } && {
15446 test -z "$ac_c_werror_flag" ||
15447 test ! -s conftest.err
15448 } && test -s conftest.$ac_objext; then
15449 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15450 else
15451 echo "$as_me: failed program was:" >&5
15452 sed 's/^/| /' conftest.$ac_ext >&5
15453
15454 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15455
15456 fi
15457
15458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15459
15460
15461 fi
15462 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15463 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15464 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
15465 :; INTELCC8=yes
15466 else
15467 :;
15468 fi
15469 ac_ext=c
15470 ac_cpp='$CPP $CPPFLAGS'
15471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15474
15475
15476
15477
15478
15479 ac_ext=c
15480 ac_cpp='$CPP $CPPFLAGS'
15481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15484
15485 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later" >&5
15486 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later... $ECHO_C" >&6; }
15487 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15488 echo $ECHO_N "(cached) $ECHO_C" >&6
15489 else
15490 cat >conftest.$ac_ext <<_ACEOF
15491 /* confdefs.h. */
15492 _ACEOF
15493 cat confdefs.h >>conftest.$ac_ext
15494 cat >>conftest.$ac_ext <<_ACEOF
15495 /* end confdefs.h. */
15496
15497 int
15498 main ()
15499 {
15500
15501 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15502 choke me
15503 #endif
15504
15505 ;
15506 return 0;
15507 }
15508 _ACEOF
15509 rm -f conftest.$ac_objext
15510 if { (ac_try="$ac_compile"
15511 case "(($ac_try" in
15512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15513 *) ac_try_echo=$ac_try;;
15514 esac
15515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15516 (eval "$ac_compile") 2>conftest.er1
15517 ac_status=$?
15518 grep -v '^ *+' conftest.er1 >conftest.err
15519 rm -f conftest.er1
15520 cat conftest.err >&5
15521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15522 (exit $ac_status); } && {
15523 test -z "$ac_c_werror_flag" ||
15524 test ! -s conftest.err
15525 } && test -s conftest.$ac_objext; then
15526 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15527 else
15528 echo "$as_me: failed program was:" >&5
15529 sed 's/^/| /' conftest.$ac_ext >&5
15530
15531 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15532
15533 fi
15534
15535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15536
15537
15538 fi
15539 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15540 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15541 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
15542 :; INTELCC10=yes
15543 else
15544 :;
15545 fi
15546 ac_ext=c
15547 ac_cpp='$CPP $CPPFLAGS'
15548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15551
15552
15553
15554 fi
15555
15556 if test "x$GCC" != "xyes"; then
15557 if test "xCC" = "xC"; then
15558 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15559 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15560 if test "${bakefile_cv_c_exto+set}" = set; then
15561 echo $ECHO_N "(cached) $ECHO_C" >&6
15562 else
15563 cat >conftest.$ac_ext <<_ACEOF
15564 /* confdefs.h. */
15565 _ACEOF
15566 cat confdefs.h >>conftest.$ac_ext
15567 cat >>conftest.$ac_ext <<_ACEOF
15568 /* end confdefs.h. */
15569
15570 int
15571 main ()
15572 {
15573
15574 ;
15575 return 0;
15576 }
15577 _ACEOF
15578 rm -f conftest.$ac_objext conftest.$ac_ext.o
15579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15580 (eval $ac_compile) 2>&5
15581 ac_status=$?
15582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15583 (exit $ac_status); }; then
15584 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15585 case $ac_file in
15586 conftest.$ac_ext.o)
15587 bakefile_cv_c_exto="-ext o"
15588 ;;
15589 *)
15590 ;;
15591 esac
15592 done
15593 else
15594 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15595 See \`config.log' for more details." >&5
15596 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15597 See \`config.log' for more details." >&2;}
15598 { (exit 1); exit 1; }; }
15599
15600 fi
15601
15602 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15603
15604 fi
15605 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15606 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15607 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15608 if test "c" = "c"; then
15609 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15610 fi
15611 if test "c" = "cxx"; then
15612 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15613 fi
15614 fi
15615
15616 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15617 unset ac_cv_prog_cc_g
15618 ac_test_CFLAGS=${CFLAGS+set}
15619 ac_save_CFLAGS=$CFLAGS
15620 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15621 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15622 if test "${ac_cv_prog_cc_g+set}" = set; then
15623 echo $ECHO_N "(cached) $ECHO_C" >&6
15624 else
15625 ac_save_c_werror_flag=$ac_c_werror_flag
15626 ac_c_werror_flag=yes
15627 ac_cv_prog_cc_g=no
15628 CFLAGS="-g"
15629 cat >conftest.$ac_ext <<_ACEOF
15630 /* confdefs.h. */
15631 _ACEOF
15632 cat confdefs.h >>conftest.$ac_ext
15633 cat >>conftest.$ac_ext <<_ACEOF
15634 /* end confdefs.h. */
15635
15636 int
15637 main ()
15638 {
15639
15640 ;
15641 return 0;
15642 }
15643 _ACEOF
15644 rm -f conftest.$ac_objext
15645 if { (ac_try="$ac_compile"
15646 case "(($ac_try" in
15647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15648 *) ac_try_echo=$ac_try;;
15649 esac
15650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15651 (eval "$ac_compile") 2>conftest.er1
15652 ac_status=$?
15653 grep -v '^ *+' conftest.er1 >conftest.err
15654 rm -f conftest.er1
15655 cat conftest.err >&5
15656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15657 (exit $ac_status); } && {
15658 test -z "$ac_c_werror_flag" ||
15659 test ! -s conftest.err
15660 } && test -s conftest.$ac_objext; then
15661 ac_cv_prog_cc_g=yes
15662 else
15663 echo "$as_me: failed program was:" >&5
15664 sed 's/^/| /' conftest.$ac_ext >&5
15665
15666 CFLAGS=""
15667 cat >conftest.$ac_ext <<_ACEOF
15668 /* confdefs.h. */
15669 _ACEOF
15670 cat confdefs.h >>conftest.$ac_ext
15671 cat >>conftest.$ac_ext <<_ACEOF
15672 /* end confdefs.h. */
15673
15674 int
15675 main ()
15676 {
15677
15678 ;
15679 return 0;
15680 }
15681 _ACEOF
15682 rm -f conftest.$ac_objext
15683 if { (ac_try="$ac_compile"
15684 case "(($ac_try" in
15685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15686 *) ac_try_echo=$ac_try;;
15687 esac
15688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15689 (eval "$ac_compile") 2>conftest.er1
15690 ac_status=$?
15691 grep -v '^ *+' conftest.er1 >conftest.err
15692 rm -f conftest.er1
15693 cat conftest.err >&5
15694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15695 (exit $ac_status); } && {
15696 test -z "$ac_c_werror_flag" ||
15697 test ! -s conftest.err
15698 } && test -s conftest.$ac_objext; then
15699 :
15700 else
15701 echo "$as_me: failed program was:" >&5
15702 sed 's/^/| /' conftest.$ac_ext >&5
15703
15704 ac_c_werror_flag=$ac_save_c_werror_flag
15705 CFLAGS="-g"
15706 cat >conftest.$ac_ext <<_ACEOF
15707 /* confdefs.h. */
15708 _ACEOF
15709 cat confdefs.h >>conftest.$ac_ext
15710 cat >>conftest.$ac_ext <<_ACEOF
15711 /* end confdefs.h. */
15712
15713 int
15714 main ()
15715 {
15716
15717 ;
15718 return 0;
15719 }
15720 _ACEOF
15721 rm -f conftest.$ac_objext
15722 if { (ac_try="$ac_compile"
15723 case "(($ac_try" in
15724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15725 *) ac_try_echo=$ac_try;;
15726 esac
15727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15728 (eval "$ac_compile") 2>conftest.er1
15729 ac_status=$?
15730 grep -v '^ *+' conftest.er1 >conftest.err
15731 rm -f conftest.er1
15732 cat conftest.err >&5
15733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15734 (exit $ac_status); } && {
15735 test -z "$ac_c_werror_flag" ||
15736 test ! -s conftest.err
15737 } && test -s conftest.$ac_objext; then
15738 ac_cv_prog_cc_g=yes
15739 else
15740 echo "$as_me: failed program was:" >&5
15741 sed 's/^/| /' conftest.$ac_ext >&5
15742
15743
15744 fi
15745
15746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15747 fi
15748
15749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15750 fi
15751
15752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15753 ac_c_werror_flag=$ac_save_c_werror_flag
15754 fi
15755 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15756 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15757 if test "$ac_test_CFLAGS" = set; then
15758 CFLAGS=$ac_save_CFLAGS
15759 elif test $ac_cv_prog_cc_g = yes; then
15760 if test "$GCC" = yes; then
15761 CFLAGS="-g -O2"
15762 else
15763 CFLAGS="-g"
15764 fi
15765 else
15766 if test "$GCC" = yes; then
15767 CFLAGS="-O2"
15768 else
15769 CFLAGS=
15770 fi
15771 fi
15772 fi
15773 fi
15774
15775 case `uname -s` in
15776 AIX*)
15777
15778
15779 ac_ext=c
15780 ac_cpp='$CPP $CPPFLAGS'
15781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15784
15785 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15786 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15787 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15788 echo $ECHO_N "(cached) $ECHO_C" >&6
15789 else
15790 cat >conftest.$ac_ext <<_ACEOF
15791 /* confdefs.h. */
15792 _ACEOF
15793 cat confdefs.h >>conftest.$ac_ext
15794 cat >>conftest.$ac_ext <<_ACEOF
15795 /* end confdefs.h. */
15796
15797 int
15798 main ()
15799 {
15800
15801 #ifndef __xlC__
15802 choke me
15803 #endif
15804
15805 ;
15806 return 0;
15807 }
15808 _ACEOF
15809 rm -f conftest.$ac_objext
15810 if { (ac_try="$ac_compile"
15811 case "(($ac_try" in
15812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15813 *) ac_try_echo=$ac_try;;
15814 esac
15815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15816 (eval "$ac_compile") 2>conftest.er1
15817 ac_status=$?
15818 grep -v '^ *+' conftest.er1 >conftest.err
15819 rm -f conftest.er1
15820 cat conftest.err >&5
15821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15822 (exit $ac_status); } && {
15823 test -z "$ac_c_werror_flag" ||
15824 test ! -s conftest.err
15825 } && test -s conftest.$ac_objext; then
15826 bakefile_cv_c_compiler___xlC__=yes
15827 else
15828 echo "$as_me: failed program was:" >&5
15829 sed 's/^/| /' conftest.$ac_ext >&5
15830
15831 bakefile_cv_c_compiler___xlC__=no
15832
15833 fi
15834
15835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15836
15837
15838 fi
15839 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15840 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15841 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15842 :; XLCC=yes
15843 else
15844 :;
15845 fi
15846 ac_ext=c
15847 ac_cpp='$CPP $CPPFLAGS'
15848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15851
15852
15853
15854 ;;
15855
15856 Darwin)
15857
15858
15859 ac_ext=c
15860 ac_cpp='$CPP $CPPFLAGS'
15861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15864
15865 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15866 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15867 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15868 echo $ECHO_N "(cached) $ECHO_C" >&6
15869 else
15870 cat >conftest.$ac_ext <<_ACEOF
15871 /* confdefs.h. */
15872 _ACEOF
15873 cat confdefs.h >>conftest.$ac_ext
15874 cat >>conftest.$ac_ext <<_ACEOF
15875 /* end confdefs.h. */
15876
15877 int
15878 main ()
15879 {
15880
15881 #ifndef __MWERKS__
15882 choke me
15883 #endif
15884
15885 ;
15886 return 0;
15887 }
15888 _ACEOF
15889 rm -f conftest.$ac_objext
15890 if { (ac_try="$ac_compile"
15891 case "(($ac_try" in
15892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15893 *) ac_try_echo=$ac_try;;
15894 esac
15895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15896 (eval "$ac_compile") 2>conftest.er1
15897 ac_status=$?
15898 grep -v '^ *+' conftest.er1 >conftest.err
15899 rm -f conftest.er1
15900 cat conftest.err >&5
15901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15902 (exit $ac_status); } && {
15903 test -z "$ac_c_werror_flag" ||
15904 test ! -s conftest.err
15905 } && test -s conftest.$ac_objext; then
15906 bakefile_cv_c_compiler___MWERKS__=yes
15907 else
15908 echo "$as_me: failed program was:" >&5
15909 sed 's/^/| /' conftest.$ac_ext >&5
15910
15911 bakefile_cv_c_compiler___MWERKS__=no
15912
15913 fi
15914
15915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15916
15917
15918 fi
15919 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15920 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15921 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15922 :; MWCC=yes
15923 else
15924 :;
15925 fi
15926 ac_ext=c
15927 ac_cpp='$CPP $CPPFLAGS'
15928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15931
15932
15933
15934 if test "$MWCC" != "yes"; then
15935
15936
15937 ac_ext=c
15938 ac_cpp='$CPP $CPPFLAGS'
15939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15942
15943 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15944 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15945 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15946 echo $ECHO_N "(cached) $ECHO_C" >&6
15947 else
15948 cat >conftest.$ac_ext <<_ACEOF
15949 /* confdefs.h. */
15950 _ACEOF
15951 cat confdefs.h >>conftest.$ac_ext
15952 cat >>conftest.$ac_ext <<_ACEOF
15953 /* end confdefs.h. */
15954
15955 int
15956 main ()
15957 {
15958
15959 #ifndef __xlC__
15960 choke me
15961 #endif
15962
15963 ;
15964 return 0;
15965 }
15966 _ACEOF
15967 rm -f conftest.$ac_objext
15968 if { (ac_try="$ac_compile"
15969 case "(($ac_try" in
15970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15971 *) ac_try_echo=$ac_try;;
15972 esac
15973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15974 (eval "$ac_compile") 2>conftest.er1
15975 ac_status=$?
15976 grep -v '^ *+' conftest.er1 >conftest.err
15977 rm -f conftest.er1
15978 cat conftest.err >&5
15979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15980 (exit $ac_status); } && {
15981 test -z "$ac_c_werror_flag" ||
15982 test ! -s conftest.err
15983 } && test -s conftest.$ac_objext; then
15984 bakefile_cv_c_compiler___xlC__=yes
15985 else
15986 echo "$as_me: failed program was:" >&5
15987 sed 's/^/| /' conftest.$ac_ext >&5
15988
15989 bakefile_cv_c_compiler___xlC__=no
15990
15991 fi
15992
15993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15994
15995
15996 fi
15997 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15998 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15999 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16000 :; XLCC=yes
16001 else
16002 :;
16003 fi
16004 ac_ext=c
16005 ac_cpp='$CPP $CPPFLAGS'
16006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16009
16010
16011
16012 fi
16013 ;;
16014
16015 IRIX*)
16016
16017
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 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
16025 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
16026 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
16027 echo $ECHO_N "(cached) $ECHO_C" >&6
16028 else
16029 cat >conftest.$ac_ext <<_ACEOF
16030 /* confdefs.h. */
16031 _ACEOF
16032 cat confdefs.h >>conftest.$ac_ext
16033 cat >>conftest.$ac_ext <<_ACEOF
16034 /* end confdefs.h. */
16035
16036 int
16037 main ()
16038 {
16039
16040 #ifndef _SGI_COMPILER_VERSION
16041 choke me
16042 #endif
16043
16044 ;
16045 return 0;
16046 }
16047 _ACEOF
16048 rm -f conftest.$ac_objext
16049 if { (ac_try="$ac_compile"
16050 case "(($ac_try" in
16051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16052 *) ac_try_echo=$ac_try;;
16053 esac
16054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16055 (eval "$ac_compile") 2>conftest.er1
16056 ac_status=$?
16057 grep -v '^ *+' conftest.er1 >conftest.err
16058 rm -f conftest.er1
16059 cat conftest.err >&5
16060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16061 (exit $ac_status); } && {
16062 test -z "$ac_c_werror_flag" ||
16063 test ! -s conftest.err
16064 } && test -s conftest.$ac_objext; then
16065 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
16066 else
16067 echo "$as_me: failed program was:" >&5
16068 sed 's/^/| /' conftest.$ac_ext >&5
16069
16070 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
16071
16072 fi
16073
16074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16075
16076
16077 fi
16078 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
16079 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
16080 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16081 :; SGICC=yes
16082 else
16083 :;
16084 fi
16085 ac_ext=c
16086 ac_cpp='$CPP $CPPFLAGS'
16087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16090
16091
16092
16093 ;;
16094
16095 Linux*)
16096 if test "$INTELCC" != "yes"; then
16097
16098
16099 ac_ext=c
16100 ac_cpp='$CPP $CPPFLAGS'
16101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16104
16105 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16106 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16107 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16108 echo $ECHO_N "(cached) $ECHO_C" >&6
16109 else
16110 cat >conftest.$ac_ext <<_ACEOF
16111 /* confdefs.h. */
16112 _ACEOF
16113 cat confdefs.h >>conftest.$ac_ext
16114 cat >>conftest.$ac_ext <<_ACEOF
16115 /* end confdefs.h. */
16116
16117 int
16118 main ()
16119 {
16120
16121 #ifndef __SUNPRO_C
16122 choke me
16123 #endif
16124
16125 ;
16126 return 0;
16127 }
16128 _ACEOF
16129 rm -f conftest.$ac_objext
16130 if { (ac_try="$ac_compile"
16131 case "(($ac_try" in
16132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16133 *) ac_try_echo=$ac_try;;
16134 esac
16135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16136 (eval "$ac_compile") 2>conftest.er1
16137 ac_status=$?
16138 grep -v '^ *+' conftest.er1 >conftest.err
16139 rm -f conftest.er1
16140 cat conftest.err >&5
16141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16142 (exit $ac_status); } && {
16143 test -z "$ac_c_werror_flag" ||
16144 test ! -s conftest.err
16145 } && test -s conftest.$ac_objext; then
16146 bakefile_cv_c_compiler___SUNPRO_C=yes
16147 else
16148 echo "$as_me: failed program was:" >&5
16149 sed 's/^/| /' conftest.$ac_ext >&5
16150
16151 bakefile_cv_c_compiler___SUNPRO_C=no
16152
16153 fi
16154
16155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16156
16157
16158 fi
16159 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16160 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16161 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16162 :; SUNCC=yes
16163 else
16164 :;
16165 fi
16166 ac_ext=c
16167 ac_cpp='$CPP $CPPFLAGS'
16168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16171
16172
16173
16174 fi
16175 ;;
16176
16177 HP-UX*)
16178
16179
16180 ac_ext=c
16181 ac_cpp='$CPP $CPPFLAGS'
16182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16185
16186 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
16187 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
16188 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
16189 echo $ECHO_N "(cached) $ECHO_C" >&6
16190 else
16191 cat >conftest.$ac_ext <<_ACEOF
16192 /* confdefs.h. */
16193 _ACEOF
16194 cat confdefs.h >>conftest.$ac_ext
16195 cat >>conftest.$ac_ext <<_ACEOF
16196 /* end confdefs.h. */
16197
16198 int
16199 main ()
16200 {
16201
16202 #ifndef __HP_cc
16203 choke me
16204 #endif
16205
16206 ;
16207 return 0;
16208 }
16209 _ACEOF
16210 rm -f conftest.$ac_objext
16211 if { (ac_try="$ac_compile"
16212 case "(($ac_try" in
16213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16214 *) ac_try_echo=$ac_try;;
16215 esac
16216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16217 (eval "$ac_compile") 2>conftest.er1
16218 ac_status=$?
16219 grep -v '^ *+' conftest.er1 >conftest.err
16220 rm -f conftest.er1
16221 cat conftest.err >&5
16222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16223 (exit $ac_status); } && {
16224 test -z "$ac_c_werror_flag" ||
16225 test ! -s conftest.err
16226 } && test -s conftest.$ac_objext; then
16227 bakefile_cv_c_compiler___HP_cc=yes
16228 else
16229 echo "$as_me: failed program was:" >&5
16230 sed 's/^/| /' conftest.$ac_ext >&5
16231
16232 bakefile_cv_c_compiler___HP_cc=no
16233
16234 fi
16235
16236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16237
16238
16239 fi
16240 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
16241 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
16242 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
16243 :; HPCC=yes
16244 else
16245 :;
16246 fi
16247 ac_ext=c
16248 ac_cpp='$CPP $CPPFLAGS'
16249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16252
16253
16254
16255 ;;
16256
16257 OSF1)
16258
16259
16260 ac_ext=c
16261 ac_cpp='$CPP $CPPFLAGS'
16262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16265
16266 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
16267 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
16268 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
16269 echo $ECHO_N "(cached) $ECHO_C" >&6
16270 else
16271 cat >conftest.$ac_ext <<_ACEOF
16272 /* confdefs.h. */
16273 _ACEOF
16274 cat confdefs.h >>conftest.$ac_ext
16275 cat >>conftest.$ac_ext <<_ACEOF
16276 /* end confdefs.h. */
16277
16278 int
16279 main ()
16280 {
16281
16282 #ifndef __DECC
16283 choke me
16284 #endif
16285
16286 ;
16287 return 0;
16288 }
16289 _ACEOF
16290 rm -f conftest.$ac_objext
16291 if { (ac_try="$ac_compile"
16292 case "(($ac_try" in
16293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16294 *) ac_try_echo=$ac_try;;
16295 esac
16296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16297 (eval "$ac_compile") 2>conftest.er1
16298 ac_status=$?
16299 grep -v '^ *+' conftest.er1 >conftest.err
16300 rm -f conftest.er1
16301 cat conftest.err >&5
16302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16303 (exit $ac_status); } && {
16304 test -z "$ac_c_werror_flag" ||
16305 test ! -s conftest.err
16306 } && test -s conftest.$ac_objext; then
16307 bakefile_cv_c_compiler___DECC=yes
16308 else
16309 echo "$as_me: failed program was:" >&5
16310 sed 's/^/| /' conftest.$ac_ext >&5
16311
16312 bakefile_cv_c_compiler___DECC=no
16313
16314 fi
16315
16316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16317
16318
16319 fi
16320 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
16321 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
16322 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
16323 :; COMPAQCC=yes
16324 else
16325 :;
16326 fi
16327 ac_ext=c
16328 ac_cpp='$CPP $CPPFLAGS'
16329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16332
16333
16334
16335 ;;
16336
16337 SunOS)
16338
16339
16340 ac_ext=c
16341 ac_cpp='$CPP $CPPFLAGS'
16342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16345
16346 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16347 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16348 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16349 echo $ECHO_N "(cached) $ECHO_C" >&6
16350 else
16351 cat >conftest.$ac_ext <<_ACEOF
16352 /* confdefs.h. */
16353 _ACEOF
16354 cat confdefs.h >>conftest.$ac_ext
16355 cat >>conftest.$ac_ext <<_ACEOF
16356 /* end confdefs.h. */
16357
16358 int
16359 main ()
16360 {
16361
16362 #ifndef __SUNPRO_C
16363 choke me
16364 #endif
16365
16366 ;
16367 return 0;
16368 }
16369 _ACEOF
16370 rm -f conftest.$ac_objext
16371 if { (ac_try="$ac_compile"
16372 case "(($ac_try" in
16373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16374 *) ac_try_echo=$ac_try;;
16375 esac
16376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16377 (eval "$ac_compile") 2>conftest.er1
16378 ac_status=$?
16379 grep -v '^ *+' conftest.er1 >conftest.err
16380 rm -f conftest.er1
16381 cat conftest.err >&5
16382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16383 (exit $ac_status); } && {
16384 test -z "$ac_c_werror_flag" ||
16385 test ! -s conftest.err
16386 } && test -s conftest.$ac_objext; then
16387 bakefile_cv_c_compiler___SUNPRO_C=yes
16388 else
16389 echo "$as_me: failed program was:" >&5
16390 sed 's/^/| /' conftest.$ac_ext >&5
16391
16392 bakefile_cv_c_compiler___SUNPRO_C=no
16393
16394 fi
16395
16396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16397
16398
16399 fi
16400 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16401 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16402 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16403 :; SUNCC=yes
16404 else
16405 :;
16406 fi
16407 ac_ext=c
16408 ac_cpp='$CPP $CPPFLAGS'
16409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16412
16413
16414
16415 ;;
16416 esac
16417 fi
16418
16419
16420
16421 ac_ext=c
16422 ac_cpp='$CPP $CPPFLAGS'
16423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16426 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16427 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16428 # On Suns, sometimes $CPP names a directory.
16429 if test -n "$CPP" && test -d "$CPP"; then
16430 CPP=
16431 fi
16432 if test -z "$CPP"; then
16433 if test "${ac_cv_prog_CPP+set}" = set; then
16434 echo $ECHO_N "(cached) $ECHO_C" >&6
16435 else
16436 # Double quotes because CPP needs to be expanded
16437 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16438 do
16439 ac_preproc_ok=false
16440 for ac_c_preproc_warn_flag in '' yes
16441 do
16442 # Use a header file that comes with gcc, so configuring glibc
16443 # with a fresh cross-compiler works.
16444 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16445 # <limits.h> exists even on freestanding compilers.
16446 # On the NeXT, cc -E runs the code through the compiler's parser,
16447 # not just through cpp. "Syntax error" is here to catch this case.
16448 cat >conftest.$ac_ext <<_ACEOF
16449 /* confdefs.h. */
16450 _ACEOF
16451 cat confdefs.h >>conftest.$ac_ext
16452 cat >>conftest.$ac_ext <<_ACEOF
16453 /* end confdefs.h. */
16454 #ifdef __STDC__
16455 # include <limits.h>
16456 #else
16457 # include <assert.h>
16458 #endif
16459 Syntax error
16460 _ACEOF
16461 if { (ac_try="$ac_cpp conftest.$ac_ext"
16462 case "(($ac_try" in
16463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16464 *) ac_try_echo=$ac_try;;
16465 esac
16466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16467 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16468 ac_status=$?
16469 grep -v '^ *+' conftest.er1 >conftest.err
16470 rm -f conftest.er1
16471 cat conftest.err >&5
16472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16473 (exit $ac_status); } >/dev/null && {
16474 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16475 test ! -s conftest.err
16476 }; then
16477 :
16478 else
16479 echo "$as_me: failed program was:" >&5
16480 sed 's/^/| /' conftest.$ac_ext >&5
16481
16482 # Broken: fails on valid input.
16483 continue
16484 fi
16485
16486 rm -f conftest.err conftest.$ac_ext
16487
16488 # OK, works on sane cases. Now check whether nonexistent headers
16489 # can be detected and how.
16490 cat >conftest.$ac_ext <<_ACEOF
16491 /* confdefs.h. */
16492 _ACEOF
16493 cat confdefs.h >>conftest.$ac_ext
16494 cat >>conftest.$ac_ext <<_ACEOF
16495 /* end confdefs.h. */
16496 #include <ac_nonexistent.h>
16497 _ACEOF
16498 if { (ac_try="$ac_cpp conftest.$ac_ext"
16499 case "(($ac_try" in
16500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16501 *) ac_try_echo=$ac_try;;
16502 esac
16503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16504 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16505 ac_status=$?
16506 grep -v '^ *+' conftest.er1 >conftest.err
16507 rm -f conftest.er1
16508 cat conftest.err >&5
16509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16510 (exit $ac_status); } >/dev/null && {
16511 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16512 test ! -s conftest.err
16513 }; then
16514 # Broken: success on invalid input.
16515 continue
16516 else
16517 echo "$as_me: failed program was:" >&5
16518 sed 's/^/| /' conftest.$ac_ext >&5
16519
16520 # Passes both tests.
16521 ac_preproc_ok=:
16522 break
16523 fi
16524
16525 rm -f conftest.err conftest.$ac_ext
16526
16527 done
16528 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16529 rm -f conftest.err conftest.$ac_ext
16530 if $ac_preproc_ok; then
16531 break
16532 fi
16533
16534 done
16535 ac_cv_prog_CPP=$CPP
16536
16537 fi
16538 CPP=$ac_cv_prog_CPP
16539 else
16540 ac_cv_prog_CPP=$CPP
16541 fi
16542 { echo "$as_me:$LINENO: result: $CPP" >&5
16543 echo "${ECHO_T}$CPP" >&6; }
16544 ac_preproc_ok=false
16545 for ac_c_preproc_warn_flag in '' yes
16546 do
16547 # Use a header file that comes with gcc, so configuring glibc
16548 # with a fresh cross-compiler works.
16549 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16550 # <limits.h> exists even on freestanding compilers.
16551 # On the NeXT, cc -E runs the code through the compiler's parser,
16552 # not just through cpp. "Syntax error" is here to catch this case.
16553 cat >conftest.$ac_ext <<_ACEOF
16554 /* confdefs.h. */
16555 _ACEOF
16556 cat confdefs.h >>conftest.$ac_ext
16557 cat >>conftest.$ac_ext <<_ACEOF
16558 /* end confdefs.h. */
16559 #ifdef __STDC__
16560 # include <limits.h>
16561 #else
16562 # include <assert.h>
16563 #endif
16564 Syntax error
16565 _ACEOF
16566 if { (ac_try="$ac_cpp conftest.$ac_ext"
16567 case "(($ac_try" in
16568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16569 *) ac_try_echo=$ac_try;;
16570 esac
16571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16572 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16573 ac_status=$?
16574 grep -v '^ *+' conftest.er1 >conftest.err
16575 rm -f conftest.er1
16576 cat conftest.err >&5
16577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16578 (exit $ac_status); } >/dev/null && {
16579 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16580 test ! -s conftest.err
16581 }; then
16582 :
16583 else
16584 echo "$as_me: failed program was:" >&5
16585 sed 's/^/| /' conftest.$ac_ext >&5
16586
16587 # Broken: fails on valid input.
16588 continue
16589 fi
16590
16591 rm -f conftest.err conftest.$ac_ext
16592
16593 # OK, works on sane cases. Now check whether nonexistent headers
16594 # can be detected and how.
16595 cat >conftest.$ac_ext <<_ACEOF
16596 /* confdefs.h. */
16597 _ACEOF
16598 cat confdefs.h >>conftest.$ac_ext
16599 cat >>conftest.$ac_ext <<_ACEOF
16600 /* end confdefs.h. */
16601 #include <ac_nonexistent.h>
16602 _ACEOF
16603 if { (ac_try="$ac_cpp conftest.$ac_ext"
16604 case "(($ac_try" in
16605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16606 *) ac_try_echo=$ac_try;;
16607 esac
16608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16609 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16610 ac_status=$?
16611 grep -v '^ *+' conftest.er1 >conftest.err
16612 rm -f conftest.er1
16613 cat conftest.err >&5
16614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16615 (exit $ac_status); } >/dev/null && {
16616 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16617 test ! -s conftest.err
16618 }; then
16619 # Broken: success on invalid input.
16620 continue
16621 else
16622 echo "$as_me: failed program was:" >&5
16623 sed 's/^/| /' conftest.$ac_ext >&5
16624
16625 # Passes both tests.
16626 ac_preproc_ok=:
16627 break
16628 fi
16629
16630 rm -f conftest.err conftest.$ac_ext
16631
16632 done
16633 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16634 rm -f conftest.err conftest.$ac_ext
16635 if $ac_preproc_ok; then
16636 :
16637 else
16638 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16639 See \`config.log' for more details." >&5
16640 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16641 See \`config.log' for more details." >&2;}
16642 { (exit 1); exit 1; }; }
16643 fi
16644
16645 ac_ext=c
16646 ac_cpp='$CPP $CPPFLAGS'
16647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16650
16651
16652 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16653 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16654 if test "${ac_cv_path_GREP+set}" = set; then
16655 echo $ECHO_N "(cached) $ECHO_C" >&6
16656 else
16657 # Extract the first word of "grep ggrep" to use in msg output
16658 if test -z "$GREP"; then
16659 set dummy grep ggrep; ac_prog_name=$2
16660 if test "${ac_cv_path_GREP+set}" = set; then
16661 echo $ECHO_N "(cached) $ECHO_C" >&6
16662 else
16663 ac_path_GREP_found=false
16664 # Loop through the user's path and test for each of PROGNAME-LIST
16665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16666 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16667 do
16668 IFS=$as_save_IFS
16669 test -z "$as_dir" && as_dir=.
16670 for ac_prog in grep ggrep; do
16671 for ac_exec_ext in '' $ac_executable_extensions; do
16672 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
16673 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16674 # Check for GNU ac_path_GREP and select it if it is found.
16675 # Check for GNU $ac_path_GREP
16676 case `"$ac_path_GREP" --version 2>&1` in
16677 *GNU*)
16678 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
16679 *)
16680 ac_count=0
16681 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16682 while :
16683 do
16684 cat "conftest.in" "conftest.in" >"conftest.tmp"
16685 mv "conftest.tmp" "conftest.in"
16686 cp "conftest.in" "conftest.nl"
16687 echo 'GREP' >> "conftest.nl"
16688 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16689 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16690 ac_count=`expr $ac_count + 1`
16691 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16692 # Best one so far, save it but keep looking for a better one
16693 ac_cv_path_GREP="$ac_path_GREP"
16694 ac_path_GREP_max=$ac_count
16695 fi
16696 # 10*(2^10) chars as input seems more than enough
16697 test $ac_count -gt 10 && break
16698 done
16699 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16700 esac
16701
16702
16703 $ac_path_GREP_found && break 3
16704 done
16705 done
16706
16707 done
16708 IFS=$as_save_IFS
16709
16710
16711 fi
16712
16713 GREP="$ac_cv_path_GREP"
16714 if test -z "$GREP"; then
16715 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16716 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16717 { (exit 1); exit 1; }; }
16718 fi
16719
16720 else
16721 ac_cv_path_GREP=$GREP
16722 fi
16723
16724
16725 fi
16726 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16727 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16728 GREP="$ac_cv_path_GREP"
16729
16730
16731 { echo "$as_me:$LINENO: checking for egrep" >&5
16732 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16733 if test "${ac_cv_path_EGREP+set}" = set; then
16734 echo $ECHO_N "(cached) $ECHO_C" >&6
16735 else
16736 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
16737 then ac_cv_path_EGREP="$GREP -E"
16738 else
16739 # Extract the first word of "egrep" to use in msg output
16740 if test -z "$EGREP"; then
16741 set dummy egrep; ac_prog_name=$2
16742 if test "${ac_cv_path_EGREP+set}" = set; then
16743 echo $ECHO_N "(cached) $ECHO_C" >&6
16744 else
16745 ac_path_EGREP_found=false
16746 # Loop through the user's path and test for each of PROGNAME-LIST
16747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16748 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16749 do
16750 IFS=$as_save_IFS
16751 test -z "$as_dir" && as_dir=.
16752 for ac_prog in egrep; do
16753 for ac_exec_ext in '' $ac_executable_extensions; do
16754 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
16755 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16756 # Check for GNU ac_path_EGREP and select it if it is found.
16757 # Check for GNU $ac_path_EGREP
16758 case `"$ac_path_EGREP" --version 2>&1` in
16759 *GNU*)
16760 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
16761 *)
16762 ac_count=0
16763 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16764 while :
16765 do
16766 cat "conftest.in" "conftest.in" >"conftest.tmp"
16767 mv "conftest.tmp" "conftest.in"
16768 cp "conftest.in" "conftest.nl"
16769 echo 'EGREP' >> "conftest.nl"
16770 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16771 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16772 ac_count=`expr $ac_count + 1`
16773 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16774 # Best one so far, save it but keep looking for a better one
16775 ac_cv_path_EGREP="$ac_path_EGREP"
16776 ac_path_EGREP_max=$ac_count
16777 fi
16778 # 10*(2^10) chars as input seems more than enough
16779 test $ac_count -gt 10 && break
16780 done
16781 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16782 esac
16783
16784
16785 $ac_path_EGREP_found && break 3
16786 done
16787 done
16788
16789 done
16790 IFS=$as_save_IFS
16791
16792
16793 fi
16794
16795 EGREP="$ac_cv_path_EGREP"
16796 if test -z "$EGREP"; then
16797 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16798 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16799 { (exit 1); exit 1; }; }
16800 fi
16801
16802 else
16803 ac_cv_path_EGREP=$EGREP
16804 fi
16805
16806
16807 fi
16808 fi
16809 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16810 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16811 EGREP="$ac_cv_path_EGREP"
16812
16813
16814 if test $ac_cv_c_compiler_gnu = yes; then
16815 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16816 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16817 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16818 echo $ECHO_N "(cached) $ECHO_C" >&6
16819 else
16820 ac_pattern="Autoconf.*'x'"
16821 cat >conftest.$ac_ext <<_ACEOF
16822 /* confdefs.h. */
16823 _ACEOF
16824 cat confdefs.h >>conftest.$ac_ext
16825 cat >>conftest.$ac_ext <<_ACEOF
16826 /* end confdefs.h. */
16827 #include <sgtty.h>
16828 Autoconf TIOCGETP
16829 _ACEOF
16830 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16831 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16832 ac_cv_prog_gcc_traditional=yes
16833 else
16834 ac_cv_prog_gcc_traditional=no
16835 fi
16836 rm -f conftest*
16837
16838
16839 if test $ac_cv_prog_gcc_traditional = no; then
16840 cat >conftest.$ac_ext <<_ACEOF
16841 /* confdefs.h. */
16842 _ACEOF
16843 cat confdefs.h >>conftest.$ac_ext
16844 cat >>conftest.$ac_ext <<_ACEOF
16845 /* end confdefs.h. */
16846 #include <termio.h>
16847 Autoconf TCGETA
16848 _ACEOF
16849 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16850 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16851 ac_cv_prog_gcc_traditional=yes
16852 fi
16853 rm -f conftest*
16854
16855 fi
16856 fi
16857 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16858 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16859 if test $ac_cv_prog_gcc_traditional = yes; then
16860 CC="$CC -traditional"
16861 fi
16862 fi
16863
16864
16865 CXXFLAGS=${CXXFLAGS:=}
16866
16867
16868
16869 ac_ext=cpp
16870 ac_cpp='$CXXCPP $CPPFLAGS'
16871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16874 if test -z "$CXX"; then
16875 if test -n "$CCC"; then
16876 CXX=$CCC
16877 else
16878 if test -n "$ac_tool_prefix"; then
16879 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16880 do
16881 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16882 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16883 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16884 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16885 if test "${ac_cv_prog_CXX+set}" = set; then
16886 echo $ECHO_N "(cached) $ECHO_C" >&6
16887 else
16888 if test -n "$CXX"; then
16889 ac_cv_prog_CXX="$CXX" # Let the user override the test.
16890 else
16891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16892 for as_dir in $PATH
16893 do
16894 IFS=$as_save_IFS
16895 test -z "$as_dir" && as_dir=.
16896 for ac_exec_ext in '' $ac_executable_extensions; do
16897 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16898 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16899 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16900 break 2
16901 fi
16902 done
16903 done
16904 IFS=$as_save_IFS
16905
16906 fi
16907 fi
16908 CXX=$ac_cv_prog_CXX
16909 if test -n "$CXX"; then
16910 { echo "$as_me:$LINENO: result: $CXX" >&5
16911 echo "${ECHO_T}$CXX" >&6; }
16912 else
16913 { echo "$as_me:$LINENO: result: no" >&5
16914 echo "${ECHO_T}no" >&6; }
16915 fi
16916
16917
16918 test -n "$CXX" && break
16919 done
16920 fi
16921 if test -z "$CXX"; then
16922 ac_ct_CXX=$CXX
16923 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16924 do
16925 # Extract the first word of "$ac_prog", so it can be a program name with args.
16926 set dummy $ac_prog; ac_word=$2
16927 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16929 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16930 echo $ECHO_N "(cached) $ECHO_C" >&6
16931 else
16932 if test -n "$ac_ct_CXX"; then
16933 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16934 else
16935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16936 for as_dir in $PATH
16937 do
16938 IFS=$as_save_IFS
16939 test -z "$as_dir" && as_dir=.
16940 for ac_exec_ext in '' $ac_executable_extensions; do
16941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16942 ac_cv_prog_ac_ct_CXX="$ac_prog"
16943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16944 break 2
16945 fi
16946 done
16947 done
16948 IFS=$as_save_IFS
16949
16950 fi
16951 fi
16952 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16953 if test -n "$ac_ct_CXX"; then
16954 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16955 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16956 else
16957 { echo "$as_me:$LINENO: result: no" >&5
16958 echo "${ECHO_T}no" >&6; }
16959 fi
16960
16961
16962 test -n "$ac_ct_CXX" && break
16963 done
16964
16965 if test "x$ac_ct_CXX" = x; then
16966 CXX="g++"
16967 else
16968 case $cross_compiling:$ac_tool_warned in
16969 yes:)
16970 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16971 whose name does not start with the host triplet. If you think this
16972 configuration is useful to you, please write to autoconf@gnu.org." >&5
16973 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16974 whose name does not start with the host triplet. If you think this
16975 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16976 ac_tool_warned=yes ;;
16977 esac
16978 CXX=$ac_ct_CXX
16979 fi
16980 fi
16981
16982 fi
16983 fi
16984 # Provide some information about the compiler.
16985 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16986 ac_compiler=`set X $ac_compile; echo $2`
16987 { (ac_try="$ac_compiler --version >&5"
16988 case "(($ac_try" in
16989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16990 *) ac_try_echo=$ac_try;;
16991 esac
16992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16993 (eval "$ac_compiler --version >&5") 2>&5
16994 ac_status=$?
16995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16996 (exit $ac_status); }
16997 { (ac_try="$ac_compiler -v >&5"
16998 case "(($ac_try" in
16999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17000 *) ac_try_echo=$ac_try;;
17001 esac
17002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17003 (eval "$ac_compiler -v >&5") 2>&5
17004 ac_status=$?
17005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17006 (exit $ac_status); }
17007 { (ac_try="$ac_compiler -V >&5"
17008 case "(($ac_try" in
17009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17010 *) ac_try_echo=$ac_try;;
17011 esac
17012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17013 (eval "$ac_compiler -V >&5") 2>&5
17014 ac_status=$?
17015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17016 (exit $ac_status); }
17017
17018 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
17019 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
17020 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
17021 echo $ECHO_N "(cached) $ECHO_C" >&6
17022 else
17023 cat >conftest.$ac_ext <<_ACEOF
17024 /* confdefs.h. */
17025 _ACEOF
17026 cat confdefs.h >>conftest.$ac_ext
17027 cat >>conftest.$ac_ext <<_ACEOF
17028 /* end confdefs.h. */
17029
17030 int
17031 main ()
17032 {
17033 #ifndef __GNUC__
17034 choke me
17035 #endif
17036
17037 ;
17038 return 0;
17039 }
17040 _ACEOF
17041 rm -f conftest.$ac_objext
17042 if { (ac_try="$ac_compile"
17043 case "(($ac_try" in
17044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17045 *) ac_try_echo=$ac_try;;
17046 esac
17047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17048 (eval "$ac_compile") 2>conftest.er1
17049 ac_status=$?
17050 grep -v '^ *+' conftest.er1 >conftest.err
17051 rm -f conftest.er1
17052 cat conftest.err >&5
17053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17054 (exit $ac_status); } && {
17055 test -z "$ac_cxx_werror_flag" ||
17056 test ! -s conftest.err
17057 } && test -s conftest.$ac_objext; then
17058 ac_compiler_gnu=yes
17059 else
17060 echo "$as_me: failed program was:" >&5
17061 sed 's/^/| /' conftest.$ac_ext >&5
17062
17063 ac_compiler_gnu=no
17064 fi
17065
17066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17067 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
17068
17069 fi
17070 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
17071 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
17072 GXX=`test $ac_compiler_gnu = yes && echo yes`
17073 ac_test_CXXFLAGS=${CXXFLAGS+set}
17074 ac_save_CXXFLAGS=$CXXFLAGS
17075 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
17076 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
17077 if test "${ac_cv_prog_cxx_g+set}" = set; then
17078 echo $ECHO_N "(cached) $ECHO_C" >&6
17079 else
17080 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
17081 ac_cxx_werror_flag=yes
17082 ac_cv_prog_cxx_g=no
17083 CXXFLAGS="-g"
17084 cat >conftest.$ac_ext <<_ACEOF
17085 /* confdefs.h. */
17086 _ACEOF
17087 cat confdefs.h >>conftest.$ac_ext
17088 cat >>conftest.$ac_ext <<_ACEOF
17089 /* end confdefs.h. */
17090
17091 int
17092 main ()
17093 {
17094
17095 ;
17096 return 0;
17097 }
17098 _ACEOF
17099 rm -f conftest.$ac_objext
17100 if { (ac_try="$ac_compile"
17101 case "(($ac_try" in
17102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17103 *) ac_try_echo=$ac_try;;
17104 esac
17105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17106 (eval "$ac_compile") 2>conftest.er1
17107 ac_status=$?
17108 grep -v '^ *+' conftest.er1 >conftest.err
17109 rm -f conftest.er1
17110 cat conftest.err >&5
17111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17112 (exit $ac_status); } && {
17113 test -z "$ac_cxx_werror_flag" ||
17114 test ! -s conftest.err
17115 } && test -s conftest.$ac_objext; then
17116 ac_cv_prog_cxx_g=yes
17117 else
17118 echo "$as_me: failed program was:" >&5
17119 sed 's/^/| /' conftest.$ac_ext >&5
17120
17121 CXXFLAGS=""
17122 cat >conftest.$ac_ext <<_ACEOF
17123 /* confdefs.h. */
17124 _ACEOF
17125 cat confdefs.h >>conftest.$ac_ext
17126 cat >>conftest.$ac_ext <<_ACEOF
17127 /* end confdefs.h. */
17128
17129 int
17130 main ()
17131 {
17132
17133 ;
17134 return 0;
17135 }
17136 _ACEOF
17137 rm -f conftest.$ac_objext
17138 if { (ac_try="$ac_compile"
17139 case "(($ac_try" in
17140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17141 *) ac_try_echo=$ac_try;;
17142 esac
17143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17144 (eval "$ac_compile") 2>conftest.er1
17145 ac_status=$?
17146 grep -v '^ *+' conftest.er1 >conftest.err
17147 rm -f conftest.er1
17148 cat conftest.err >&5
17149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17150 (exit $ac_status); } && {
17151 test -z "$ac_cxx_werror_flag" ||
17152 test ! -s conftest.err
17153 } && test -s conftest.$ac_objext; then
17154 :
17155 else
17156 echo "$as_me: failed program was:" >&5
17157 sed 's/^/| /' conftest.$ac_ext >&5
17158
17159 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17160 CXXFLAGS="-g"
17161 cat >conftest.$ac_ext <<_ACEOF
17162 /* confdefs.h. */
17163 _ACEOF
17164 cat confdefs.h >>conftest.$ac_ext
17165 cat >>conftest.$ac_ext <<_ACEOF
17166 /* end confdefs.h. */
17167
17168 int
17169 main ()
17170 {
17171
17172 ;
17173 return 0;
17174 }
17175 _ACEOF
17176 rm -f conftest.$ac_objext
17177 if { (ac_try="$ac_compile"
17178 case "(($ac_try" in
17179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17180 *) ac_try_echo=$ac_try;;
17181 esac
17182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17183 (eval "$ac_compile") 2>conftest.er1
17184 ac_status=$?
17185 grep -v '^ *+' conftest.er1 >conftest.err
17186 rm -f conftest.er1
17187 cat conftest.err >&5
17188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17189 (exit $ac_status); } && {
17190 test -z "$ac_cxx_werror_flag" ||
17191 test ! -s conftest.err
17192 } && test -s conftest.$ac_objext; then
17193 ac_cv_prog_cxx_g=yes
17194 else
17195 echo "$as_me: failed program was:" >&5
17196 sed 's/^/| /' conftest.$ac_ext >&5
17197
17198
17199 fi
17200
17201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17202 fi
17203
17204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17205 fi
17206
17207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17208 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17209 fi
17210 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17211 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
17212 if test "$ac_test_CXXFLAGS" = set; then
17213 CXXFLAGS=$ac_save_CXXFLAGS
17214 elif test $ac_cv_prog_cxx_g = yes; then
17215 if test "$GXX" = yes; then
17216 CXXFLAGS="-g -O2"
17217 else
17218 CXXFLAGS="-g"
17219 fi
17220 else
17221 if test "$GXX" = yes; then
17222 CXXFLAGS="-O2"
17223 else
17224 CXXFLAGS=
17225 fi
17226 fi
17227 ac_ext=c
17228 ac_cpp='$CPP $CPPFLAGS'
17229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17232
17233
17234
17235
17236 ac_ext=cpp
17237 ac_cpp='$CXXCPP $CPPFLAGS'
17238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17241
17242 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
17243 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
17244 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
17245 echo $ECHO_N "(cached) $ECHO_C" >&6
17246 else
17247 cat >conftest.$ac_ext <<_ACEOF
17248 /* confdefs.h. */
17249 _ACEOF
17250 cat confdefs.h >>conftest.$ac_ext
17251 cat >>conftest.$ac_ext <<_ACEOF
17252 /* end confdefs.h. */
17253
17254 int
17255 main ()
17256 {
17257
17258 #ifndef __INTEL_COMPILER
17259 choke me
17260 #endif
17261
17262 ;
17263 return 0;
17264 }
17265 _ACEOF
17266 rm -f conftest.$ac_objext
17267 if { (ac_try="$ac_compile"
17268 case "(($ac_try" in
17269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17270 *) ac_try_echo=$ac_try;;
17271 esac
17272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17273 (eval "$ac_compile") 2>conftest.er1
17274 ac_status=$?
17275 grep -v '^ *+' conftest.er1 >conftest.err
17276 rm -f conftest.er1
17277 cat conftest.err >&5
17278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17279 (exit $ac_status); } && {
17280 test -z "$ac_cxx_werror_flag" ||
17281 test ! -s conftest.err
17282 } && test -s conftest.$ac_objext; then
17283 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
17284 else
17285 echo "$as_me: failed program was:" >&5
17286 sed 's/^/| /' conftest.$ac_ext >&5
17287
17288 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
17289
17290 fi
17291
17292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17293
17294
17295 fi
17296 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
17297 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
17298 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
17299 :; INTELCXX=yes
17300 else
17301 :;
17302 fi
17303 ac_ext=c
17304 ac_cpp='$CPP $CPPFLAGS'
17305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17308
17309
17310
17311
17312 if test "$INTELCXX" = "yes"; then
17313
17314
17315 ac_ext=cpp
17316 ac_cpp='$CXXCPP $CPPFLAGS'
17317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17320
17321 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
17322 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
17323 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
17324 echo $ECHO_N "(cached) $ECHO_C" >&6
17325 else
17326 cat >conftest.$ac_ext <<_ACEOF
17327 /* confdefs.h. */
17328 _ACEOF
17329 cat confdefs.h >>conftest.$ac_ext
17330 cat >>conftest.$ac_ext <<_ACEOF
17331 /* end confdefs.h. */
17332
17333 int
17334 main ()
17335 {
17336
17337 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17338 choke me
17339 #endif
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 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17363 else
17364 echo "$as_me: failed program was:" >&5
17365 sed 's/^/| /' conftest.$ac_ext >&5
17366
17367 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17368
17369 fi
17370
17371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17372
17373
17374 fi
17375 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17376 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17377 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17378 :; INTELCXX8=yes
17379 else
17380 :;
17381 fi
17382 ac_ext=c
17383 ac_cpp='$CPP $CPPFLAGS'
17384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17387
17388
17389
17390
17391
17392 ac_ext=cpp
17393 ac_cpp='$CXXCPP $CPPFLAGS'
17394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17397
17398 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17399 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17400 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17401 echo $ECHO_N "(cached) $ECHO_C" >&6
17402 else
17403 cat >conftest.$ac_ext <<_ACEOF
17404 /* confdefs.h. */
17405 _ACEOF
17406 cat confdefs.h >>conftest.$ac_ext
17407 cat >>conftest.$ac_ext <<_ACEOF
17408 /* end confdefs.h. */
17409
17410 int
17411 main ()
17412 {
17413
17414 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17415 choke me
17416 #endif
17417
17418 ;
17419 return 0;
17420 }
17421 _ACEOF
17422 rm -f conftest.$ac_objext
17423 if { (ac_try="$ac_compile"
17424 case "(($ac_try" in
17425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17426 *) ac_try_echo=$ac_try;;
17427 esac
17428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17429 (eval "$ac_compile") 2>conftest.er1
17430 ac_status=$?
17431 grep -v '^ *+' conftest.er1 >conftest.err
17432 rm -f conftest.er1
17433 cat conftest.err >&5
17434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17435 (exit $ac_status); } && {
17436 test -z "$ac_cxx_werror_flag" ||
17437 test ! -s conftest.err
17438 } && test -s conftest.$ac_objext; then
17439 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
17440 else
17441 echo "$as_me: failed program was:" >&5
17442 sed 's/^/| /' conftest.$ac_ext >&5
17443
17444 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
17445
17446 fi
17447
17448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17449
17450
17451 fi
17452 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17453 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17454 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17455 :; INTELCXX10=yes
17456 else
17457 :;
17458 fi
17459 ac_ext=c
17460 ac_cpp='$CPP $CPPFLAGS'
17461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17464
17465
17466
17467 fi
17468
17469 if test "x$GCXX" != "xyes"; then
17470 if test "xCXX" = "xC"; then
17471 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17472 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17473 if test "${bakefile_cv_c_exto+set}" = set; then
17474 echo $ECHO_N "(cached) $ECHO_C" >&6
17475 else
17476 cat >conftest.$ac_ext <<_ACEOF
17477 /* confdefs.h. */
17478 _ACEOF
17479 cat confdefs.h >>conftest.$ac_ext
17480 cat >>conftest.$ac_ext <<_ACEOF
17481 /* end confdefs.h. */
17482
17483 int
17484 main ()
17485 {
17486
17487 ;
17488 return 0;
17489 }
17490 _ACEOF
17491 rm -f conftest.$ac_objext conftest.$ac_ext.o
17492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17493 (eval $ac_compile) 2>&5
17494 ac_status=$?
17495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17496 (exit $ac_status); }; then
17497 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17498 case $ac_file in
17499 conftest.$ac_ext.o)
17500 bakefile_cv_c_exto="-ext o"
17501 ;;
17502 *)
17503 ;;
17504 esac
17505 done
17506 else
17507 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17508 See \`config.log' for more details." >&5
17509 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17510 See \`config.log' for more details." >&2;}
17511 { (exit 1); exit 1; }; }
17512
17513 fi
17514
17515 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17516
17517 fi
17518 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17519 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17520 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17521 if test "c" = "c"; then
17522 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17523 fi
17524 if test "c" = "cxx"; then
17525 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17526 fi
17527 fi
17528
17529 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17530 unset ac_cv_prog_cc_g
17531 ac_test_CFLAGS=${CFLAGS+set}
17532 ac_save_CFLAGS=$CFLAGS
17533 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17534 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17535 if test "${ac_cv_prog_cc_g+set}" = set; then
17536 echo $ECHO_N "(cached) $ECHO_C" >&6
17537 else
17538 ac_save_c_werror_flag=$ac_c_werror_flag
17539 ac_c_werror_flag=yes
17540 ac_cv_prog_cc_g=no
17541 CFLAGS="-g"
17542 cat >conftest.$ac_ext <<_ACEOF
17543 /* confdefs.h. */
17544 _ACEOF
17545 cat confdefs.h >>conftest.$ac_ext
17546 cat >>conftest.$ac_ext <<_ACEOF
17547 /* end confdefs.h. */
17548
17549 int
17550 main ()
17551 {
17552
17553 ;
17554 return 0;
17555 }
17556 _ACEOF
17557 rm -f conftest.$ac_objext
17558 if { (ac_try="$ac_compile"
17559 case "(($ac_try" in
17560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17561 *) ac_try_echo=$ac_try;;
17562 esac
17563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17564 (eval "$ac_compile") 2>conftest.er1
17565 ac_status=$?
17566 grep -v '^ *+' conftest.er1 >conftest.err
17567 rm -f conftest.er1
17568 cat conftest.err >&5
17569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17570 (exit $ac_status); } && {
17571 test -z "$ac_c_werror_flag" ||
17572 test ! -s conftest.err
17573 } && test -s conftest.$ac_objext; then
17574 ac_cv_prog_cc_g=yes
17575 else
17576 echo "$as_me: failed program was:" >&5
17577 sed 's/^/| /' conftest.$ac_ext >&5
17578
17579 CFLAGS=""
17580 cat >conftest.$ac_ext <<_ACEOF
17581 /* confdefs.h. */
17582 _ACEOF
17583 cat confdefs.h >>conftest.$ac_ext
17584 cat >>conftest.$ac_ext <<_ACEOF
17585 /* end confdefs.h. */
17586
17587 int
17588 main ()
17589 {
17590
17591 ;
17592 return 0;
17593 }
17594 _ACEOF
17595 rm -f conftest.$ac_objext
17596 if { (ac_try="$ac_compile"
17597 case "(($ac_try" in
17598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17599 *) ac_try_echo=$ac_try;;
17600 esac
17601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17602 (eval "$ac_compile") 2>conftest.er1
17603 ac_status=$?
17604 grep -v '^ *+' conftest.er1 >conftest.err
17605 rm -f conftest.er1
17606 cat conftest.err >&5
17607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17608 (exit $ac_status); } && {
17609 test -z "$ac_c_werror_flag" ||
17610 test ! -s conftest.err
17611 } && test -s conftest.$ac_objext; then
17612 :
17613 else
17614 echo "$as_me: failed program was:" >&5
17615 sed 's/^/| /' conftest.$ac_ext >&5
17616
17617 ac_c_werror_flag=$ac_save_c_werror_flag
17618 CFLAGS="-g"
17619 cat >conftest.$ac_ext <<_ACEOF
17620 /* confdefs.h. */
17621 _ACEOF
17622 cat confdefs.h >>conftest.$ac_ext
17623 cat >>conftest.$ac_ext <<_ACEOF
17624 /* end confdefs.h. */
17625
17626 int
17627 main ()
17628 {
17629
17630 ;
17631 return 0;
17632 }
17633 _ACEOF
17634 rm -f conftest.$ac_objext
17635 if { (ac_try="$ac_compile"
17636 case "(($ac_try" in
17637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17638 *) ac_try_echo=$ac_try;;
17639 esac
17640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17641 (eval "$ac_compile") 2>conftest.er1
17642 ac_status=$?
17643 grep -v '^ *+' conftest.er1 >conftest.err
17644 rm -f conftest.er1
17645 cat conftest.err >&5
17646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17647 (exit $ac_status); } && {
17648 test -z "$ac_c_werror_flag" ||
17649 test ! -s conftest.err
17650 } && test -s conftest.$ac_objext; then
17651 ac_cv_prog_cc_g=yes
17652 else
17653 echo "$as_me: failed program was:" >&5
17654 sed 's/^/| /' conftest.$ac_ext >&5
17655
17656
17657 fi
17658
17659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17660 fi
17661
17662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17663 fi
17664
17665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17666 ac_c_werror_flag=$ac_save_c_werror_flag
17667 fi
17668 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17669 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17670 if test "$ac_test_CFLAGS" = set; then
17671 CFLAGS=$ac_save_CFLAGS
17672 elif test $ac_cv_prog_cc_g = yes; then
17673 if test "$GCC" = yes; then
17674 CFLAGS="-g -O2"
17675 else
17676 CFLAGS="-g"
17677 fi
17678 else
17679 if test "$GCC" = yes; then
17680 CFLAGS="-O2"
17681 else
17682 CFLAGS=
17683 fi
17684 fi
17685 fi
17686 fi
17687
17688 case `uname -s` in
17689 AIX*)
17690
17691
17692 ac_ext=cpp
17693 ac_cpp='$CXXCPP $CPPFLAGS'
17694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17697
17698 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17699 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17700 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17701 echo $ECHO_N "(cached) $ECHO_C" >&6
17702 else
17703 cat >conftest.$ac_ext <<_ACEOF
17704 /* confdefs.h. */
17705 _ACEOF
17706 cat confdefs.h >>conftest.$ac_ext
17707 cat >>conftest.$ac_ext <<_ACEOF
17708 /* end confdefs.h. */
17709
17710 int
17711 main ()
17712 {
17713
17714 #ifndef __xlC__
17715 choke me
17716 #endif
17717
17718 ;
17719 return 0;
17720 }
17721 _ACEOF
17722 rm -f conftest.$ac_objext
17723 if { (ac_try="$ac_compile"
17724 case "(($ac_try" in
17725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17726 *) ac_try_echo=$ac_try;;
17727 esac
17728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17729 (eval "$ac_compile") 2>conftest.er1
17730 ac_status=$?
17731 grep -v '^ *+' conftest.er1 >conftest.err
17732 rm -f conftest.er1
17733 cat conftest.err >&5
17734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17735 (exit $ac_status); } && {
17736 test -z "$ac_cxx_werror_flag" ||
17737 test ! -s conftest.err
17738 } && test -s conftest.$ac_objext; then
17739 bakefile_cv_cxx_compiler___xlC__=yes
17740 else
17741 echo "$as_me: failed program was:" >&5
17742 sed 's/^/| /' conftest.$ac_ext >&5
17743
17744 bakefile_cv_cxx_compiler___xlC__=no
17745
17746 fi
17747
17748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17749
17750
17751 fi
17752 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17753 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17754 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17755 :; XLCXX=yes
17756 else
17757 :;
17758 fi
17759 ac_ext=c
17760 ac_cpp='$CPP $CPPFLAGS'
17761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17764
17765
17766
17767 ;;
17768
17769 Darwin)
17770
17771
17772 ac_ext=cpp
17773 ac_cpp='$CXXCPP $CPPFLAGS'
17774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17777
17778 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17779 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17780 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17781 echo $ECHO_N "(cached) $ECHO_C" >&6
17782 else
17783 cat >conftest.$ac_ext <<_ACEOF
17784 /* confdefs.h. */
17785 _ACEOF
17786 cat confdefs.h >>conftest.$ac_ext
17787 cat >>conftest.$ac_ext <<_ACEOF
17788 /* end confdefs.h. */
17789
17790 int
17791 main ()
17792 {
17793
17794 #ifndef __MWERKS__
17795 choke me
17796 #endif
17797
17798 ;
17799 return 0;
17800 }
17801 _ACEOF
17802 rm -f conftest.$ac_objext
17803 if { (ac_try="$ac_compile"
17804 case "(($ac_try" in
17805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17806 *) ac_try_echo=$ac_try;;
17807 esac
17808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17809 (eval "$ac_compile") 2>conftest.er1
17810 ac_status=$?
17811 grep -v '^ *+' conftest.er1 >conftest.err
17812 rm -f conftest.er1
17813 cat conftest.err >&5
17814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17815 (exit $ac_status); } && {
17816 test -z "$ac_cxx_werror_flag" ||
17817 test ! -s conftest.err
17818 } && test -s conftest.$ac_objext; then
17819 bakefile_cv_cxx_compiler___MWERKS__=yes
17820 else
17821 echo "$as_me: failed program was:" >&5
17822 sed 's/^/| /' conftest.$ac_ext >&5
17823
17824 bakefile_cv_cxx_compiler___MWERKS__=no
17825
17826 fi
17827
17828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17829
17830
17831 fi
17832 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17833 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17834 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17835 :; MWCXX=yes
17836 else
17837 :;
17838 fi
17839 ac_ext=c
17840 ac_cpp='$CPP $CPPFLAGS'
17841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17844
17845
17846
17847 if test "$MWCXX" != "yes"; then
17848
17849
17850 ac_ext=cpp
17851 ac_cpp='$CXXCPP $CPPFLAGS'
17852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17855
17856 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17857 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17858 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17859 echo $ECHO_N "(cached) $ECHO_C" >&6
17860 else
17861 cat >conftest.$ac_ext <<_ACEOF
17862 /* confdefs.h. */
17863 _ACEOF
17864 cat confdefs.h >>conftest.$ac_ext
17865 cat >>conftest.$ac_ext <<_ACEOF
17866 /* end confdefs.h. */
17867
17868 int
17869 main ()
17870 {
17871
17872 #ifndef __xlC__
17873 choke me
17874 #endif
17875
17876 ;
17877 return 0;
17878 }
17879 _ACEOF
17880 rm -f conftest.$ac_objext
17881 if { (ac_try="$ac_compile"
17882 case "(($ac_try" in
17883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17884 *) ac_try_echo=$ac_try;;
17885 esac
17886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17887 (eval "$ac_compile") 2>conftest.er1
17888 ac_status=$?
17889 grep -v '^ *+' conftest.er1 >conftest.err
17890 rm -f conftest.er1
17891 cat conftest.err >&5
17892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17893 (exit $ac_status); } && {
17894 test -z "$ac_cxx_werror_flag" ||
17895 test ! -s conftest.err
17896 } && test -s conftest.$ac_objext; then
17897 bakefile_cv_cxx_compiler___xlC__=yes
17898 else
17899 echo "$as_me: failed program was:" >&5
17900 sed 's/^/| /' conftest.$ac_ext >&5
17901
17902 bakefile_cv_cxx_compiler___xlC__=no
17903
17904 fi
17905
17906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17907
17908
17909 fi
17910 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17911 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17912 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17913 :; XLCXX=yes
17914 else
17915 :;
17916 fi
17917 ac_ext=c
17918 ac_cpp='$CPP $CPPFLAGS'
17919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17922
17923
17924
17925 fi
17926 ;;
17927
17928 IRIX*)
17929
17930
17931 ac_ext=cpp
17932 ac_cpp='$CXXCPP $CPPFLAGS'
17933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17936
17937 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17938 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17939 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17940 echo $ECHO_N "(cached) $ECHO_C" >&6
17941 else
17942 cat >conftest.$ac_ext <<_ACEOF
17943 /* confdefs.h. */
17944 _ACEOF
17945 cat confdefs.h >>conftest.$ac_ext
17946 cat >>conftest.$ac_ext <<_ACEOF
17947 /* end confdefs.h. */
17948
17949 int
17950 main ()
17951 {
17952
17953 #ifndef _SGI_COMPILER_VERSION
17954 choke me
17955 #endif
17956
17957 ;
17958 return 0;
17959 }
17960 _ACEOF
17961 rm -f conftest.$ac_objext
17962 if { (ac_try="$ac_compile"
17963 case "(($ac_try" in
17964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17965 *) ac_try_echo=$ac_try;;
17966 esac
17967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17968 (eval "$ac_compile") 2>conftest.er1
17969 ac_status=$?
17970 grep -v '^ *+' conftest.er1 >conftest.err
17971 rm -f conftest.er1
17972 cat conftest.err >&5
17973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17974 (exit $ac_status); } && {
17975 test -z "$ac_cxx_werror_flag" ||
17976 test ! -s conftest.err
17977 } && test -s conftest.$ac_objext; then
17978 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17979 else
17980 echo "$as_me: failed program was:" >&5
17981 sed 's/^/| /' conftest.$ac_ext >&5
17982
17983 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17984
17985 fi
17986
17987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17988
17989
17990 fi
17991 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17992 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17993 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17994 :; SGICXX=yes
17995 else
17996 :;
17997 fi
17998 ac_ext=c
17999 ac_cpp='$CPP $CPPFLAGS'
18000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18003
18004
18005
18006 ;;
18007
18008 Linux*)
18009 if test "$INTELCXX" != "yes"; then
18010
18011
18012 ac_ext=cpp
18013 ac_cpp='$CXXCPP $CPPFLAGS'
18014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18017
18018 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18019 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18020 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18021 echo $ECHO_N "(cached) $ECHO_C" >&6
18022 else
18023 cat >conftest.$ac_ext <<_ACEOF
18024 /* confdefs.h. */
18025 _ACEOF
18026 cat confdefs.h >>conftest.$ac_ext
18027 cat >>conftest.$ac_ext <<_ACEOF
18028 /* end confdefs.h. */
18029
18030 int
18031 main ()
18032 {
18033
18034 #ifndef __SUNPRO_CC
18035 choke me
18036 #endif
18037
18038 ;
18039 return 0;
18040 }
18041 _ACEOF
18042 rm -f conftest.$ac_objext
18043 if { (ac_try="$ac_compile"
18044 case "(($ac_try" in
18045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18046 *) ac_try_echo=$ac_try;;
18047 esac
18048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18049 (eval "$ac_compile") 2>conftest.er1
18050 ac_status=$?
18051 grep -v '^ *+' conftest.er1 >conftest.err
18052 rm -f conftest.er1
18053 cat conftest.err >&5
18054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18055 (exit $ac_status); } && {
18056 test -z "$ac_cxx_werror_flag" ||
18057 test ! -s conftest.err
18058 } && test -s conftest.$ac_objext; then
18059 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18060 else
18061 echo "$as_me: failed program was:" >&5
18062 sed 's/^/| /' conftest.$ac_ext >&5
18063
18064 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18065
18066 fi
18067
18068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18069
18070
18071 fi
18072 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18073 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18074 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18075 :; SUNCXX=yes
18076 else
18077 :;
18078 fi
18079 ac_ext=c
18080 ac_cpp='$CPP $CPPFLAGS'
18081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18084
18085
18086
18087 fi
18088 ;;
18089
18090 HP-UX*)
18091
18092
18093 ac_ext=cpp
18094 ac_cpp='$CXXCPP $CPPFLAGS'
18095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18098
18099 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
18100 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
18101 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
18102 echo $ECHO_N "(cached) $ECHO_C" >&6
18103 else
18104 cat >conftest.$ac_ext <<_ACEOF
18105 /* confdefs.h. */
18106 _ACEOF
18107 cat confdefs.h >>conftest.$ac_ext
18108 cat >>conftest.$ac_ext <<_ACEOF
18109 /* end confdefs.h. */
18110
18111 int
18112 main ()
18113 {
18114
18115 #ifndef __HP_aCC
18116 choke me
18117 #endif
18118
18119 ;
18120 return 0;
18121 }
18122 _ACEOF
18123 rm -f conftest.$ac_objext
18124 if { (ac_try="$ac_compile"
18125 case "(($ac_try" in
18126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18127 *) ac_try_echo=$ac_try;;
18128 esac
18129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18130 (eval "$ac_compile") 2>conftest.er1
18131 ac_status=$?
18132 grep -v '^ *+' conftest.er1 >conftest.err
18133 rm -f conftest.er1
18134 cat conftest.err >&5
18135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18136 (exit $ac_status); } && {
18137 test -z "$ac_cxx_werror_flag" ||
18138 test ! -s conftest.err
18139 } && test -s conftest.$ac_objext; then
18140 bakefile_cv_cxx_compiler___HP_aCC=yes
18141 else
18142 echo "$as_me: failed program was:" >&5
18143 sed 's/^/| /' conftest.$ac_ext >&5
18144
18145 bakefile_cv_cxx_compiler___HP_aCC=no
18146
18147 fi
18148
18149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18150
18151
18152 fi
18153 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18154 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18155 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18156 :; HPCXX=yes
18157 else
18158 :;
18159 fi
18160 ac_ext=c
18161 ac_cpp='$CPP $CPPFLAGS'
18162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18165
18166
18167
18168 ;;
18169
18170 OSF1)
18171
18172
18173 ac_ext=cpp
18174 ac_cpp='$CXXCPP $CPPFLAGS'
18175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18178
18179 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
18180 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
18181 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
18182 echo $ECHO_N "(cached) $ECHO_C" >&6
18183 else
18184 cat >conftest.$ac_ext <<_ACEOF
18185 /* confdefs.h. */
18186 _ACEOF
18187 cat confdefs.h >>conftest.$ac_ext
18188 cat >>conftest.$ac_ext <<_ACEOF
18189 /* end confdefs.h. */
18190
18191 int
18192 main ()
18193 {
18194
18195 #ifndef __DECCXX
18196 choke me
18197 #endif
18198
18199 ;
18200 return 0;
18201 }
18202 _ACEOF
18203 rm -f conftest.$ac_objext
18204 if { (ac_try="$ac_compile"
18205 case "(($ac_try" in
18206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18207 *) ac_try_echo=$ac_try;;
18208 esac
18209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18210 (eval "$ac_compile") 2>conftest.er1
18211 ac_status=$?
18212 grep -v '^ *+' conftest.er1 >conftest.err
18213 rm -f conftest.er1
18214 cat conftest.err >&5
18215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18216 (exit $ac_status); } && {
18217 test -z "$ac_cxx_werror_flag" ||
18218 test ! -s conftest.err
18219 } && test -s conftest.$ac_objext; then
18220 bakefile_cv_cxx_compiler___DECCXX=yes
18221 else
18222 echo "$as_me: failed program was:" >&5
18223 sed 's/^/| /' conftest.$ac_ext >&5
18224
18225 bakefile_cv_cxx_compiler___DECCXX=no
18226
18227 fi
18228
18229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18230
18231
18232 fi
18233 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
18234 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
18235 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
18236 :; COMPAQCXX=yes
18237 else
18238 :;
18239 fi
18240 ac_ext=c
18241 ac_cpp='$CPP $CPPFLAGS'
18242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18245
18246
18247
18248 ;;
18249
18250 SunOS)
18251
18252
18253 ac_ext=cpp
18254 ac_cpp='$CXXCPP $CPPFLAGS'
18255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18258
18259 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18260 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18261 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18262 echo $ECHO_N "(cached) $ECHO_C" >&6
18263 else
18264 cat >conftest.$ac_ext <<_ACEOF
18265 /* confdefs.h. */
18266 _ACEOF
18267 cat confdefs.h >>conftest.$ac_ext
18268 cat >>conftest.$ac_ext <<_ACEOF
18269 /* end confdefs.h. */
18270
18271 int
18272 main ()
18273 {
18274
18275 #ifndef __SUNPRO_CC
18276 choke me
18277 #endif
18278
18279 ;
18280 return 0;
18281 }
18282 _ACEOF
18283 rm -f conftest.$ac_objext
18284 if { (ac_try="$ac_compile"
18285 case "(($ac_try" in
18286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18287 *) ac_try_echo=$ac_try;;
18288 esac
18289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18290 (eval "$ac_compile") 2>conftest.er1
18291 ac_status=$?
18292 grep -v '^ *+' conftest.er1 >conftest.err
18293 rm -f conftest.er1
18294 cat conftest.err >&5
18295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18296 (exit $ac_status); } && {
18297 test -z "$ac_cxx_werror_flag" ||
18298 test ! -s conftest.err
18299 } && test -s conftest.$ac_objext; then
18300 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18301 else
18302 echo "$as_me: failed program was:" >&5
18303 sed 's/^/| /' conftest.$ac_ext >&5
18304
18305 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18306
18307 fi
18308
18309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18310
18311
18312 fi
18313 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18314 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18315 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18316 :; SUNCXX=yes
18317 else
18318 :;
18319 fi
18320 ac_ext=c
18321 ac_cpp='$CPP $CPPFLAGS'
18322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18325
18326
18327
18328 ;;
18329 esac
18330 fi
18331
18332
18333
18334 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18335 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18336 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18337 { (exit 1); exit 1; }; }
18338 fi
18339
18340 if test "x$SUNCXX" != xyes; then
18341 if test -n "$ac_tool_prefix"; then
18342 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18343 set dummy ${ac_tool_prefix}ar; ac_word=$2
18344 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18345 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18346 if test "${ac_cv_prog_AR+set}" = set; then
18347 echo $ECHO_N "(cached) $ECHO_C" >&6
18348 else
18349 if test -n "$AR"; then
18350 ac_cv_prog_AR="$AR" # Let the user override the test.
18351 else
18352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18353 for as_dir in $PATH
18354 do
18355 IFS=$as_save_IFS
18356 test -z "$as_dir" && as_dir=.
18357 for ac_exec_ext in '' $ac_executable_extensions; do
18358 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18359 ac_cv_prog_AR="${ac_tool_prefix}ar"
18360 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18361 break 2
18362 fi
18363 done
18364 done
18365 IFS=$as_save_IFS
18366
18367 fi
18368 fi
18369 AR=$ac_cv_prog_AR
18370 if test -n "$AR"; then
18371 { echo "$as_me:$LINENO: result: $AR" >&5
18372 echo "${ECHO_T}$AR" >&6; }
18373 else
18374 { echo "$as_me:$LINENO: result: no" >&5
18375 echo "${ECHO_T}no" >&6; }
18376 fi
18377
18378
18379 fi
18380 if test -z "$ac_cv_prog_AR"; then
18381 ac_ct_AR=$AR
18382 # Extract the first word of "ar", so it can be a program name with args.
18383 set dummy ar; ac_word=$2
18384 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18385 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18386 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18387 echo $ECHO_N "(cached) $ECHO_C" >&6
18388 else
18389 if test -n "$ac_ct_AR"; then
18390 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18391 else
18392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18393 for as_dir in $PATH
18394 do
18395 IFS=$as_save_IFS
18396 test -z "$as_dir" && as_dir=.
18397 for ac_exec_ext in '' $ac_executable_extensions; do
18398 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18399 ac_cv_prog_ac_ct_AR="ar"
18400 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18401 break 2
18402 fi
18403 done
18404 done
18405 IFS=$as_save_IFS
18406
18407 fi
18408 fi
18409 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18410 if test -n "$ac_ct_AR"; then
18411 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18412 echo "${ECHO_T}$ac_ct_AR" >&6; }
18413 else
18414 { echo "$as_me:$LINENO: result: no" >&5
18415 echo "${ECHO_T}no" >&6; }
18416 fi
18417
18418 if test "x$ac_ct_AR" = x; then
18419 AR=""
18420 else
18421 case $cross_compiling:$ac_tool_warned in
18422 yes:)
18423 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18424 whose name does not start with the host triplet. If you think this
18425 configuration is useful to you, please write to autoconf@gnu.org." >&5
18426 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18427 whose name does not start with the host triplet. If you think this
18428 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18429 ac_tool_warned=yes ;;
18430 esac
18431 AR=$ac_ct_AR
18432 fi
18433 else
18434 AR="$ac_cv_prog_AR"
18435 fi
18436
18437 if test "x$AR" = "x" ; then
18438 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18439 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18440 { (exit 1); exit 1; }; }
18441 fi
18442 fi
18443
18444
18445 if test "$wxUSE_MAC" = 1; then
18446
18447 retest_macosx_linking=no
18448
18449 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18450 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18451 # Implicitly turn on the new --with-macosx-sdk using the default
18452 # SDK which provides the behavior this option has always had.
18453 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18454 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18455 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18456 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18457 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18458 wxUSE_MACOSX_SDK=yes
18459 fi
18460 else
18461 # Complain to user if he specified an argument to --enable-universal_binary
18462 # and also 1) specified --with-macosx-sdk using the default (yes) or
18463 # 2) specified --with-macosx-sdk using a path or 3) specified
18464 # --without-macosx-sdk (no).
18465 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18466 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18467 See \`config.log' for more details." >&5
18468 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18469 See \`config.log' for more details." >&2;}
18470 { (exit 1); exit 1; }; }
18471 else
18472 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18473 # special-case the empty string because the below test simply
18474 # converts "no" to the empty string anyway.
18475 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18476 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
18477 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
18478 fi
18479 fi
18480 OSX_UNIV_OPTS="-arch ppc -arch i386"
18481 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
18482 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
18483 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
18484 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
18485 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
18486 retest_macosx_linking=yes
18487
18488 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
18489 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
18490 bk_use_pch=no
18491 fi
18492
18493 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
18494 wxUSE_MACOSX_SDK=
18495 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
18496 # TODO: Search for most recent SDK and use it.
18497 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
18498 fi
18499
18500
18501 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18502 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
18503 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
18504 if ! test -d "$wxUSE_MACOSX_SDK"; then
18505 { { echo "$as_me:$LINENO: error: not found
18506 See \`config.log' for more details." >&5
18507 echo "$as_me: error: not found
18508 See \`config.log' for more details." >&2;}
18509 { (exit 1); exit 1; }; }
18510 else
18511 { echo "$as_me:$LINENO: result: exists" >&5
18512 echo "${ECHO_T}exists" >&6; }
18513 fi
18514 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18515 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18516 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18517 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18518 retest_macosx_linking=yes
18519 fi
18520
18521 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18522 wxUSE_MACOSX_VERSION_MIN=
18523 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18524 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18525 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18526 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18527
18528 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/'`
18529
18530 # If that failed, try again with the new key
18531 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18532
18533 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/'`
18534
18535 fi
18536
18537 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18538 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18539 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18540 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18541 else
18542 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18543 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18544 wxUSE_MACOSX_VERSION_MIN=
18545 fi
18546 else
18547 wxUSE_MACOSX_VERSION_MIN=
18548 fi
18549 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18550 for ac_prog in sw_vers
18551 do
18552 # Extract the first word of "$ac_prog", so it can be a program name with args.
18553 set dummy $ac_prog; ac_word=$2
18554 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18555 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18556 if test "${ac_cv_prog_OSX_SW_VERS+set}" = set; then
18557 echo $ECHO_N "(cached) $ECHO_C" >&6
18558 else
18559 if test -n "$OSX_SW_VERS"; then
18560 ac_cv_prog_OSX_SW_VERS="$OSX_SW_VERS" # Let the user override the test.
18561 else
18562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18563 for as_dir in $PATH
18564 do
18565 IFS=$as_save_IFS
18566 test -z "$as_dir" && as_dir=.
18567 for ac_exec_ext in '' $ac_executable_extensions; do
18568 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18569 ac_cv_prog_OSX_SW_VERS="$ac_prog"
18570 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18571 break 2
18572 fi
18573 done
18574 done
18575 IFS=$as_save_IFS
18576
18577 fi
18578 fi
18579 OSX_SW_VERS=$ac_cv_prog_OSX_SW_VERS
18580 if test -n "$OSX_SW_VERS"; then
18581 { echo "$as_me:$LINENO: result: $OSX_SW_VERS" >&5
18582 echo "${ECHO_T}$OSX_SW_VERS" >&6; }
18583 else
18584 { echo "$as_me:$LINENO: result: no" >&5
18585 echo "${ECHO_T}no" >&6; }
18586 fi
18587
18588
18589 test -n "$OSX_SW_VERS" && break
18590 done
18591
18592 if test "$OSX_SW_VERS" != ""; then
18593 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
18594 else
18595 { echo "$as_me:$LINENO: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&5
18596 echo "$as_me: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&2;}
18597 OSX_VERSION="10.4"
18598 fi
18599
18600 case "$OSX_VERSION" in
18601 10.4* )
18602 wxUSE_MACOSX_VERSION_MIN=10.4
18603 ;;
18604
18605 * )
18606 if test "$wxUSE_OSX_CARBON" = 1; then
18607 # otherwise configure stops on leopard for universal_binary
18608 wxUSE_MACOSX_VERSION_MIN=10.4
18609 else
18610 # for Cocoa, use 10.5 to be able to compile it in 64 bits too
18611 wxUSE_MACOSX_VERSION_MIN=10.5
18612 fi
18613 ;;
18614 esac
18615 fi
18616
18617 NEEDS_GCC40="no"
18618 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
18619 NEEDS_GCC40="yes"
18620 fi
18621
18622 if test "$wxUSE_OSX_CARBON" = 1; then
18623 NEEDS_GCC40="yes"
18624 fi
18625
18626 if test "x$NEEDS_GCC40" == "xyes"; then
18627 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
18628 # and wants 10.4 compatible code, then 'downgrade' to 4.0
18629 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
18630 if test "x$CC" = "xgcc"; then
18631 CCVERSION=`$CC --version | grep 4.[2-9].`
18632 if test "x$CCVERSION" != "x"; then
18633 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
18634 CC="/usr/bin/gcc-4.0"
18635 fi
18636 fi
18637
18638 if test "x$CXX" = "xg++"; then
18639 CCVERSION=`$CXX --version | grep 4.[2-9].`
18640 if test "x$CCVERSION" != "x"; then
18641 CXX="/usr/bin/g++-4.0"
18642 fi
18643 fi
18644 fi
18645
18646 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18647 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18648 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18649 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18650 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18651 retest_macosx_linking=yes
18652 fi
18653
18654 if test "x$retest_macosx_linking" = "xyes"; then
18655 ac_ext=c
18656 ac_cpp='$CPP $CPPFLAGS'
18657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18660
18661 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18662 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
18663 cat >conftest.$ac_ext <<_ACEOF
18664 /* confdefs.h. */
18665 _ACEOF
18666 cat confdefs.h >>conftest.$ac_ext
18667 cat >>conftest.$ac_ext <<_ACEOF
18668 /* end confdefs.h. */
18669
18670 int
18671 main ()
18672 {
18673
18674 ;
18675 return 0;
18676 }
18677 _ACEOF
18678 rm -f conftest.$ac_objext conftest$ac_exeext
18679 if { (ac_try="$ac_link"
18680 case "(($ac_try" in
18681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18682 *) ac_try_echo=$ac_try;;
18683 esac
18684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18685 (eval "$ac_link") 2>conftest.er1
18686 ac_status=$?
18687 grep -v '^ *+' conftest.er1 >conftest.err
18688 rm -f conftest.er1
18689 cat conftest.err >&5
18690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18691 (exit $ac_status); } && {
18692 test -z "$ac_c_werror_flag" ||
18693 test ! -s conftest.err
18694 } && test -s conftest$ac_exeext &&
18695 $as_test_x conftest$ac_exeext; then
18696 { echo "$as_me:$LINENO: result: yes" >&5
18697 echo "${ECHO_T}yes" >&6; }
18698 else
18699 echo "$as_me: failed program was:" >&5
18700 sed 's/^/| /' conftest.$ac_ext >&5
18701
18702 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18703 See \`config.log' for more details." >&5
18704 echo "$as_me: error: no. Try a different SDK
18705 See \`config.log' for more details." >&2;}
18706 { (exit 1); exit 1; }; }; exit 1
18707 fi
18708
18709 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18710 conftest$ac_exeext conftest.$ac_ext
18711 ac_ext=c
18712 ac_cpp='$CPP $CPPFLAGS'
18713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18716
18717
18718 ac_ext=cpp
18719 ac_cpp='$CXXCPP $CPPFLAGS'
18720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18723
18724 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
18725 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
18726 cat >conftest.$ac_ext <<_ACEOF
18727 /* confdefs.h. */
18728 _ACEOF
18729 cat confdefs.h >>conftest.$ac_ext
18730 cat >>conftest.$ac_ext <<_ACEOF
18731 /* end confdefs.h. */
18732
18733 int
18734 main ()
18735 {
18736
18737 ;
18738 return 0;
18739 }
18740 _ACEOF
18741 rm -f conftest.$ac_objext conftest$ac_exeext
18742 if { (ac_try="$ac_link"
18743 case "(($ac_try" in
18744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18745 *) ac_try_echo=$ac_try;;
18746 esac
18747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18748 (eval "$ac_link") 2>conftest.er1
18749 ac_status=$?
18750 grep -v '^ *+' conftest.er1 >conftest.err
18751 rm -f conftest.er1
18752 cat conftest.err >&5
18753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18754 (exit $ac_status); } && {
18755 test -z "$ac_cxx_werror_flag" ||
18756 test ! -s conftest.err
18757 } && test -s conftest$ac_exeext &&
18758 $as_test_x conftest$ac_exeext; then
18759 { echo "$as_me:$LINENO: result: yes" >&5
18760 echo "${ECHO_T}yes" >&6; }
18761 else
18762 echo "$as_me: failed program was:" >&5
18763 sed 's/^/| /' conftest.$ac_ext >&5
18764
18765 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18766 See \`config.log' for more details." >&5
18767 echo "$as_me: error: no. Try a different SDK
18768 See \`config.log' for more details." >&2;}
18769 { (exit 1); exit 1; }; }; exit 1
18770 fi
18771
18772 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18773 conftest$ac_exeext conftest.$ac_ext
18774 ac_ext=c
18775 ac_cpp='$CPP $CPPFLAGS'
18776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18779
18780 fi
18781
18782 fi
18783 case "${host}" in
18784
18785 *-*-darwin* )
18786 INSTALL_PROGRAM="cp -fp"
18787 INSTALL_DATA="cp -fp"
18788 ;;
18789 *)
18790 ;;
18791 esac
18792
18793
18794 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18795 CXXFLAGS="-qunique $CXXFLAGS"
18796 fi
18797
18798 case "${host}" in
18799 powerpc-*-darwin* )
18800 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18801 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18802 cat >conftest.$ac_ext <<_ACEOF
18803 /* confdefs.h. */
18804 _ACEOF
18805 cat confdefs.h >>conftest.$ac_ext
18806 cat >>conftest.$ac_ext <<_ACEOF
18807 /* end confdefs.h. */
18808
18809 int
18810 main ()
18811 {
18812 #ifndef __POWERPC__
18813 choke me for lack of PowerPC
18814 #endif
18815
18816 ;
18817 return 0;
18818 }
18819 _ACEOF
18820 rm -f conftest.$ac_objext
18821 if { (ac_try="$ac_compile"
18822 case "(($ac_try" in
18823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18824 *) ac_try_echo=$ac_try;;
18825 esac
18826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18827 (eval "$ac_compile") 2>conftest.er1
18828 ac_status=$?
18829 grep -v '^ *+' conftest.er1 >conftest.err
18830 rm -f conftest.er1
18831 cat conftest.err >&5
18832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18833 (exit $ac_status); } && {
18834 test -z "$ac_c_werror_flag" ||
18835 test ! -s conftest.err
18836 } && test -s conftest.$ac_objext; then
18837 { echo "$as_me:$LINENO: result: yes" >&5
18838 echo "${ECHO_T}yes" >&6; }
18839 else
18840 echo "$as_me: failed program was:" >&5
18841 sed 's/^/| /' conftest.$ac_ext >&5
18842
18843 { echo "$as_me:$LINENO: result: no" >&5
18844 echo "${ECHO_T}no" >&6; }
18845 cat >>confdefs.h <<\_ACEOF
18846 #define __POWERPC__ 1
18847 _ACEOF
18848
18849
18850 fi
18851
18852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18853 ;;
18854 esac
18855
18856 case "${host}" in
18857 *-*-darwin* )
18858 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18859 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18860 cat >conftest.$ac_ext <<_ACEOF
18861 /* confdefs.h. */
18862 _ACEOF
18863 cat confdefs.h >>conftest.$ac_ext
18864 cat >>conftest.$ac_ext <<_ACEOF
18865 /* end confdefs.h. */
18866 #include <CoreFoundation/CFBase.h>
18867
18868 int
18869 main ()
18870 {
18871
18872 ;
18873 return 0;
18874 }
18875 _ACEOF
18876 rm -f conftest.$ac_objext
18877 if { (ac_try="$ac_compile"
18878 case "(($ac_try" in
18879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18880 *) ac_try_echo=$ac_try;;
18881 esac
18882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18883 (eval "$ac_compile") 2>conftest.er1
18884 ac_status=$?
18885 grep -v '^ *+' conftest.er1 >conftest.err
18886 rm -f conftest.er1
18887 cat conftest.err >&5
18888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18889 (exit $ac_status); } && {
18890 test -z "$ac_c_werror_flag" ||
18891 test ! -s conftest.err
18892 } && test -s conftest.$ac_objext; then
18893 { echo "$as_me:$LINENO: result: yes" >&5
18894 echo "${ECHO_T}yes" >&6; }
18895 else
18896 echo "$as_me: failed program was:" >&5
18897 sed 's/^/| /' conftest.$ac_ext >&5
18898
18899 { echo "$as_me:$LINENO: result: no" >&5
18900 echo "${ECHO_T}no" >&6; }
18901 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18902 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18903 cat >conftest.$ac_ext <<_ACEOF
18904 /* confdefs.h. */
18905 _ACEOF
18906 cat confdefs.h >>conftest.$ac_ext
18907 cat >>conftest.$ac_ext <<_ACEOF
18908 /* end confdefs.h. */
18909 #define __CF_USE_FRAMEWORK_INCLUDES__
18910 #include <CoreFoundation/CFBase.h>
18911
18912 int
18913 main ()
18914 {
18915
18916 ;
18917 return 0;
18918 }
18919 _ACEOF
18920 rm -f conftest.$ac_objext
18921 if { (ac_try="$ac_compile"
18922 case "(($ac_try" in
18923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18924 *) ac_try_echo=$ac_try;;
18925 esac
18926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18927 (eval "$ac_compile") 2>conftest.er1
18928 ac_status=$?
18929 grep -v '^ *+' conftest.er1 >conftest.err
18930 rm -f conftest.er1
18931 cat conftest.err >&5
18932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18933 (exit $ac_status); } && {
18934 test -z "$ac_c_werror_flag" ||
18935 test ! -s conftest.err
18936 } && test -s conftest.$ac_objext; then
18937 { echo "$as_me:$LINENO: result: yes" >&5
18938 echo "${ECHO_T}yes" >&6; }
18939 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18940 else
18941 echo "$as_me: failed program was:" >&5
18942 sed 's/^/| /' conftest.$ac_ext >&5
18943
18944 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18945 See \`config.log' for more details." >&5
18946 echo "$as_me: error: no. CoreFoundation not available.
18947 See \`config.log' for more details." >&2;}
18948 { (exit 1); exit 1; }; }
18949
18950 fi
18951
18952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18953
18954
18955 fi
18956
18957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18958 ;;
18959 esac
18960
18961 wants_win32=0
18962 doesnt_want_win32=0
18963 case "${host}" in
18964 *-*-cygwin*)
18965 if test "$wxUSE_MSW" = 1 ; then
18966 wants_win32=1
18967 else
18968 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
18969 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
18970 if test "${wx_cv_nocygwin+set}" = set; then
18971 echo $ECHO_N "(cached) $ECHO_C" >&6
18972 else
18973
18974 cat >conftest.$ac_ext <<_ACEOF
18975 /* confdefs.h. */
18976 _ACEOF
18977 cat confdefs.h >>conftest.$ac_ext
18978 cat >>conftest.$ac_ext <<_ACEOF
18979 /* end confdefs.h. */
18980
18981 int
18982 main ()
18983 {
18984
18985 #ifdef __MINGW32__
18986 choke me
18987 #endif
18988
18989 ;
18990 return 0;
18991 }
18992 _ACEOF
18993 rm -f conftest.$ac_objext
18994 if { (ac_try="$ac_compile"
18995 case "(($ac_try" in
18996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18997 *) ac_try_echo=$ac_try;;
18998 esac
18999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19000 (eval "$ac_compile") 2>conftest.er1
19001 ac_status=$?
19002 grep -v '^ *+' conftest.er1 >conftest.err
19003 rm -f conftest.er1
19004 cat conftest.err >&5
19005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19006 (exit $ac_status); } && {
19007 test -z "$ac_c_werror_flag" ||
19008 test ! -s conftest.err
19009 } && test -s conftest.$ac_objext; then
19010 wx_cv_nocygwin=no
19011 else
19012 echo "$as_me: failed program was:" >&5
19013 sed 's/^/| /' conftest.$ac_ext >&5
19014
19015 wx_cv_nocygwin=yes
19016
19017 fi
19018
19019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19020
19021
19022 fi
19023 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
19024 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
19025
19026 if test "$wx_cv_nocygwin" = "yes"; then
19027 wants_win32=1
19028 else
19029 doesnt_want_win32=1
19030 fi
19031 fi
19032 if test "$wants_win32" = 1 ; then
19033 BAKEFILE_FORCE_PLATFORM=win32
19034 fi
19035 ;;
19036 *-*-mingw*)
19037 wants_win32=1
19038 ;;
19039 esac
19040
19041 if test "$wxUSE_WINE" = "yes"; then
19042 wants_win32=1
19043 LDFLAGS_GUI="-mwindows"
19044 fi
19045
19046 if test "$wants_win32" = 1 ; then
19047 USE_UNIX=0
19048 USE_WIN32=1
19049 cat >>confdefs.h <<\_ACEOF
19050 #define __WIN32__ 1
19051 _ACEOF
19052
19053 cat >>confdefs.h <<\_ACEOF
19054 #define __WIN95__ 1
19055 _ACEOF
19056
19057 cat >>confdefs.h <<\_ACEOF
19058 #define __WINDOWS__ 1
19059 _ACEOF
19060
19061 cat >>confdefs.h <<\_ACEOF
19062 #define __GNUWIN32__ 1
19063 _ACEOF
19064
19065 cat >>confdefs.h <<\_ACEOF
19066 #define STRICT 1
19067 _ACEOF
19068
19069 fi
19070 if test "$doesnt_want_win32" = 1 ; then
19071 USE_UNIX=1
19072 USE_WIN32=0
19073 fi
19074
19075 if test "$USE_UNIX" = 1 ; then
19076 wxUSE_UNIX=yes
19077 cat >>confdefs.h <<\_ACEOF
19078 #define __UNIX__ 1
19079 _ACEOF
19080
19081 fi
19082
19083 case "${host}" in
19084 *-pc-os2_emx | *-pc-os2-emx )
19085 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19086 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
19087 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
19088 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
19089 echo $ECHO_N "(cached) $ECHO_C" >&6
19090 else
19091 ac_check_lib_save_LIBS=$LIBS
19092 LIBS="-lcExt $LIBS"
19093 cat >conftest.$ac_ext <<_ACEOF
19094 /* confdefs.h. */
19095 _ACEOF
19096 cat confdefs.h >>conftest.$ac_ext
19097 cat >>conftest.$ac_ext <<_ACEOF
19098 /* end confdefs.h. */
19099
19100 /* Override any GCC internal prototype to avoid an error.
19101 Use char because int might match the return type of a GCC
19102 builtin and then its argument prototype would still apply. */
19103 #ifdef __cplusplus
19104 extern "C"
19105 #endif
19106 char drand48 ();
19107 int
19108 main ()
19109 {
19110 return drand48 ();
19111 ;
19112 return 0;
19113 }
19114 _ACEOF
19115 rm -f conftest.$ac_objext conftest$ac_exeext
19116 if { (ac_try="$ac_link"
19117 case "(($ac_try" in
19118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19119 *) ac_try_echo=$ac_try;;
19120 esac
19121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19122 (eval "$ac_link") 2>conftest.er1
19123 ac_status=$?
19124 grep -v '^ *+' conftest.er1 >conftest.err
19125 rm -f conftest.er1
19126 cat conftest.err >&5
19127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19128 (exit $ac_status); } && {
19129 test -z "$ac_c_werror_flag" ||
19130 test ! -s conftest.err
19131 } && test -s conftest$ac_exeext &&
19132 $as_test_x conftest$ac_exeext; then
19133 ac_cv_lib_cExt_drand48=yes
19134 else
19135 echo "$as_me: failed program was:" >&5
19136 sed 's/^/| /' conftest.$ac_ext >&5
19137
19138 ac_cv_lib_cExt_drand48=no
19139 fi
19140
19141 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19142 conftest$ac_exeext conftest.$ac_ext
19143 LIBS=$ac_check_lib_save_LIBS
19144 fi
19145 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
19146 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
19147 if test $ac_cv_lib_cExt_drand48 = yes; then
19148 LIBS="$LIBS -lcExt"
19149 fi
19150
19151 else
19152 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
19153 fi
19154 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
19155 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
19156 if test "${wx_cv_gccversion+set}" = set; then
19157 echo $ECHO_N "(cached) $ECHO_C" >&6
19158 else
19159
19160 if test "$cross_compiling" = yes; then
19161 wx_cv_gccversion="EMX2"
19162
19163 else
19164 cat >conftest.$ac_ext <<_ACEOF
19165 /* confdefs.h. */
19166 _ACEOF
19167 cat confdefs.h >>conftest.$ac_ext
19168 cat >>conftest.$ac_ext <<_ACEOF
19169 /* end confdefs.h. */
19170
19171 #include <stdio.h>
19172
19173 int main()
19174 {
19175 FILE *f=fopen("conftestval", "w");
19176 if (!f) exit(1);
19177 fprintf(f,
19178 #if (__GNUC__ < 3)
19179 "EMX2"
19180 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19181 "EMX3"
19182 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19183 "Innotek5"
19184 #else
19185 "Innotek6"
19186 #endif
19187 );
19188 exit(0);
19189 }
19190
19191 _ACEOF
19192 rm -f conftest$ac_exeext
19193 if { (ac_try="$ac_link"
19194 case "(($ac_try" in
19195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19196 *) ac_try_echo=$ac_try;;
19197 esac
19198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19199 (eval "$ac_link") 2>&5
19200 ac_status=$?
19201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19202 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19203 { (case "(($ac_try" in
19204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19205 *) ac_try_echo=$ac_try;;
19206 esac
19207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19208 (eval "$ac_try") 2>&5
19209 ac_status=$?
19210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19211 (exit $ac_status); }; }; then
19212 wx_cv_gccversion=`cat conftestval`
19213 else
19214 echo "$as_me: program exited with status $ac_status" >&5
19215 echo "$as_me: failed program was:" >&5
19216 sed 's/^/| /' conftest.$ac_ext >&5
19217
19218 ( exit $ac_status )
19219 wx_cv_gccversion="EMX2"
19220 fi
19221 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19222 fi
19223
19224
19225
19226 fi
19227 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
19228 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
19229 if test "$wx_cv_gccversion" = "EMX2"; then
19230 LIBS="$LIBS -lstdcpp"
19231 LDFLAGS="$LDFLAGS -Zsysv-signals"
19232 else
19233 if test "$wx_cv_gccversion" = "EMX3"; then
19234 LIBS="$LIBS -lstdcxx -lgcc"
19235 LDFLAGS="$LDFLAGS -Zsysv-signals"
19236 else
19237 LIBS="$LIBS -lstdc++"
19238 fi
19239 fi
19240 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19241 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
19242 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19243 wxUSE_OMF=yes
19244 enable_omf=yes
19245 fi
19246 ;;
19247 *)
19248
19249 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
19250 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
19251 if test "${ac_cv_string_strcasecmp+set}" = set; then
19252 echo $ECHO_N "(cached) $ECHO_C" >&6
19253 else
19254
19255 cat >conftest.$ac_ext <<_ACEOF
19256 /* confdefs.h. */
19257 _ACEOF
19258 cat confdefs.h >>conftest.$ac_ext
19259 cat >>conftest.$ac_ext <<_ACEOF
19260 /* end confdefs.h. */
19261
19262 #include <string.h>
19263
19264 int
19265 main ()
19266 {
19267
19268 strcasecmp("foo", "bar");
19269
19270 ;
19271 return 0;
19272 }
19273 _ACEOF
19274 rm -f conftest.$ac_objext conftest$ac_exeext
19275 if { (ac_try="$ac_link"
19276 case "(($ac_try" in
19277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19278 *) ac_try_echo=$ac_try;;
19279 esac
19280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19281 (eval "$ac_link") 2>conftest.er1
19282 ac_status=$?
19283 grep -v '^ *+' conftest.er1 >conftest.err
19284 rm -f conftest.er1
19285 cat conftest.err >&5
19286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19287 (exit $ac_status); } && {
19288 test -z "$ac_c_werror_flag" ||
19289 test ! -s conftest.err
19290 } && test -s conftest$ac_exeext &&
19291 $as_test_x conftest$ac_exeext; then
19292 ac_cv_string_strcasecmp=yes
19293 else
19294 echo "$as_me: failed program was:" >&5
19295 sed 's/^/| /' conftest.$ac_ext >&5
19296
19297 ac_cv_string_strcasecmp=no
19298
19299 fi
19300
19301 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19302 conftest$ac_exeext conftest.$ac_ext
19303
19304 fi
19305 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
19306 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
19307
19308 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19309 cat >>confdefs.h <<\_ACEOF
19310 #define HAVE_STRCASECMP_IN_STRING_H 1
19311 _ACEOF
19312
19313 else
19314 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
19315 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
19316 if test "${ac_cv_strings_strcasecmp+set}" = set; then
19317 echo $ECHO_N "(cached) $ECHO_C" >&6
19318 else
19319
19320 cat >conftest.$ac_ext <<_ACEOF
19321 /* confdefs.h. */
19322 _ACEOF
19323 cat confdefs.h >>conftest.$ac_ext
19324 cat >>conftest.$ac_ext <<_ACEOF
19325 /* end confdefs.h. */
19326
19327 #include <strings.h>
19328
19329 int
19330 main ()
19331 {
19332
19333 strcasecmp("foo", "bar");
19334
19335 ;
19336 return 0;
19337 }
19338 _ACEOF
19339 rm -f conftest.$ac_objext conftest$ac_exeext
19340 if { (ac_try="$ac_link"
19341 case "(($ac_try" in
19342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19343 *) ac_try_echo=$ac_try;;
19344 esac
19345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19346 (eval "$ac_link") 2>conftest.er1
19347 ac_status=$?
19348 grep -v '^ *+' conftest.er1 >conftest.err
19349 rm -f conftest.er1
19350 cat conftest.err >&5
19351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19352 (exit $ac_status); } && {
19353 test -z "$ac_c_werror_flag" ||
19354 test ! -s conftest.err
19355 } && test -s conftest$ac_exeext &&
19356 $as_test_x conftest$ac_exeext; then
19357 ac_cv_strings_strcasecmp=yes
19358 else
19359 echo "$as_me: failed program was:" >&5
19360 sed 's/^/| /' conftest.$ac_ext >&5
19361
19362 ac_cv_strings_strcasecmp=no
19363
19364 fi
19365
19366 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19367 conftest$ac_exeext conftest.$ac_ext
19368
19369 fi
19370 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
19371 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
19372
19373 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19374 cat >>confdefs.h <<\_ACEOF
19375 #define HAVE_STRCASECMP_IN_STRINGS_H 1
19376 _ACEOF
19377
19378 else
19379 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
19380 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
19381 { (exit 1); exit 1; }; }
19382 fi
19383 fi
19384
19385 ;;
19386 esac
19387
19388
19389 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19390 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
19391 if test "${ac_cv_header_stdc+set}" = set; then
19392 echo $ECHO_N "(cached) $ECHO_C" >&6
19393 else
19394 cat >conftest.$ac_ext <<_ACEOF
19395 /* confdefs.h. */
19396 _ACEOF
19397 cat confdefs.h >>conftest.$ac_ext
19398 cat >>conftest.$ac_ext <<_ACEOF
19399 /* end confdefs.h. */
19400 #include <stdlib.h>
19401 #include <stdarg.h>
19402 #include <string.h>
19403 #include <float.h>
19404
19405 int
19406 main ()
19407 {
19408
19409 ;
19410 return 0;
19411 }
19412 _ACEOF
19413 rm -f conftest.$ac_objext
19414 if { (ac_try="$ac_compile"
19415 case "(($ac_try" in
19416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19417 *) ac_try_echo=$ac_try;;
19418 esac
19419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19420 (eval "$ac_compile") 2>conftest.er1
19421 ac_status=$?
19422 grep -v '^ *+' conftest.er1 >conftest.err
19423 rm -f conftest.er1
19424 cat conftest.err >&5
19425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19426 (exit $ac_status); } && {
19427 test -z "$ac_c_werror_flag" ||
19428 test ! -s conftest.err
19429 } && test -s conftest.$ac_objext; then
19430 ac_cv_header_stdc=yes
19431 else
19432 echo "$as_me: failed program was:" >&5
19433 sed 's/^/| /' conftest.$ac_ext >&5
19434
19435 ac_cv_header_stdc=no
19436 fi
19437
19438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19439
19440 if test $ac_cv_header_stdc = yes; then
19441 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19442 cat >conftest.$ac_ext <<_ACEOF
19443 /* confdefs.h. */
19444 _ACEOF
19445 cat confdefs.h >>conftest.$ac_ext
19446 cat >>conftest.$ac_ext <<_ACEOF
19447 /* end confdefs.h. */
19448 #include <string.h>
19449
19450 _ACEOF
19451 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19452 $EGREP "memchr" >/dev/null 2>&1; then
19453 :
19454 else
19455 ac_cv_header_stdc=no
19456 fi
19457 rm -f conftest*
19458
19459 fi
19460
19461 if test $ac_cv_header_stdc = yes; then
19462 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19463 cat >conftest.$ac_ext <<_ACEOF
19464 /* confdefs.h. */
19465 _ACEOF
19466 cat confdefs.h >>conftest.$ac_ext
19467 cat >>conftest.$ac_ext <<_ACEOF
19468 /* end confdefs.h. */
19469 #include <stdlib.h>
19470
19471 _ACEOF
19472 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19473 $EGREP "free" >/dev/null 2>&1; then
19474 :
19475 else
19476 ac_cv_header_stdc=no
19477 fi
19478 rm -f conftest*
19479
19480 fi
19481
19482 if test $ac_cv_header_stdc = yes; then
19483 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19484 if test "$cross_compiling" = yes; then
19485 :
19486 else
19487 cat >conftest.$ac_ext <<_ACEOF
19488 /* confdefs.h. */
19489 _ACEOF
19490 cat confdefs.h >>conftest.$ac_ext
19491 cat >>conftest.$ac_ext <<_ACEOF
19492 /* end confdefs.h. */
19493 #include <ctype.h>
19494 #include <stdlib.h>
19495 #if ((' ' & 0x0FF) == 0x020)
19496 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19497 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19498 #else
19499 # define ISLOWER(c) \
19500 (('a' <= (c) && (c) <= 'i') \
19501 || ('j' <= (c) && (c) <= 'r') \
19502 || ('s' <= (c) && (c) <= 'z'))
19503 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19504 #endif
19505
19506 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19507 int
19508 main ()
19509 {
19510 int i;
19511 for (i = 0; i < 256; i++)
19512 if (XOR (islower (i), ISLOWER (i))
19513 || toupper (i) != TOUPPER (i))
19514 return 2;
19515 return 0;
19516 }
19517 _ACEOF
19518 rm -f conftest$ac_exeext
19519 if { (ac_try="$ac_link"
19520 case "(($ac_try" in
19521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19522 *) ac_try_echo=$ac_try;;
19523 esac
19524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19525 (eval "$ac_link") 2>&5
19526 ac_status=$?
19527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19528 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19529 { (case "(($ac_try" in
19530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19531 *) ac_try_echo=$ac_try;;
19532 esac
19533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19534 (eval "$ac_try") 2>&5
19535 ac_status=$?
19536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19537 (exit $ac_status); }; }; then
19538 :
19539 else
19540 echo "$as_me: program exited with status $ac_status" >&5
19541 echo "$as_me: failed program was:" >&5
19542 sed 's/^/| /' conftest.$ac_ext >&5
19543
19544 ( exit $ac_status )
19545 ac_cv_header_stdc=no
19546 fi
19547 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19548 fi
19549
19550
19551 fi
19552 fi
19553 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19554 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19555 if test $ac_cv_header_stdc = yes; then
19556
19557 cat >>confdefs.h <<\_ACEOF
19558 #define STDC_HEADERS 1
19559 _ACEOF
19560
19561 fi
19562
19563 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19564
19565
19566
19567
19568
19569
19570
19571
19572
19573 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19574 inttypes.h stdint.h unistd.h
19575 do
19576 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19577 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19578 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19579 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19580 echo $ECHO_N "(cached) $ECHO_C" >&6
19581 else
19582 cat >conftest.$ac_ext <<_ACEOF
19583 /* confdefs.h. */
19584 _ACEOF
19585 cat confdefs.h >>conftest.$ac_ext
19586 cat >>conftest.$ac_ext <<_ACEOF
19587 /* end confdefs.h. */
19588 $ac_includes_default
19589
19590 #include <$ac_header>
19591 _ACEOF
19592 rm -f conftest.$ac_objext
19593 if { (ac_try="$ac_compile"
19594 case "(($ac_try" in
19595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19596 *) ac_try_echo=$ac_try;;
19597 esac
19598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19599 (eval "$ac_compile") 2>conftest.er1
19600 ac_status=$?
19601 grep -v '^ *+' conftest.er1 >conftest.err
19602 rm -f conftest.er1
19603 cat conftest.err >&5
19604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19605 (exit $ac_status); } && {
19606 test -z "$ac_c_werror_flag" ||
19607 test ! -s conftest.err
19608 } && test -s conftest.$ac_objext; then
19609 eval "$as_ac_Header=yes"
19610 else
19611 echo "$as_me: failed program was:" >&5
19612 sed 's/^/| /' conftest.$ac_ext >&5
19613
19614 eval "$as_ac_Header=no"
19615 fi
19616
19617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19618 fi
19619 ac_res=`eval echo '${'$as_ac_Header'}'`
19620 { echo "$as_me:$LINENO: result: $ac_res" >&5
19621 echo "${ECHO_T}$ac_res" >&6; }
19622 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19623 cat >>confdefs.h <<_ACEOF
19624 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19625 _ACEOF
19626
19627 fi
19628
19629 done
19630
19631
19632
19633
19634 for ac_header in langinfo.h wchar.h
19635 do
19636 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19637 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19638 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19639 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19640 echo $ECHO_N "(cached) $ECHO_C" >&6
19641 else
19642 cat >conftest.$ac_ext <<_ACEOF
19643 /* confdefs.h. */
19644 _ACEOF
19645 cat confdefs.h >>conftest.$ac_ext
19646 cat >>conftest.$ac_ext <<_ACEOF
19647 /* end confdefs.h. */
19648 $ac_includes_default
19649
19650 #include <$ac_header>
19651 _ACEOF
19652 rm -f conftest.$ac_objext
19653 if { (ac_try="$ac_compile"
19654 case "(($ac_try" in
19655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19656 *) ac_try_echo=$ac_try;;
19657 esac
19658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19659 (eval "$ac_compile") 2>conftest.er1
19660 ac_status=$?
19661 grep -v '^ *+' conftest.er1 >conftest.err
19662 rm -f conftest.er1
19663 cat conftest.err >&5
19664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19665 (exit $ac_status); } && {
19666 test -z "$ac_c_werror_flag" ||
19667 test ! -s conftest.err
19668 } && test -s conftest.$ac_objext; then
19669 eval "$as_ac_Header=yes"
19670 else
19671 echo "$as_me: failed program was:" >&5
19672 sed 's/^/| /' conftest.$ac_ext >&5
19673
19674 eval "$as_ac_Header=no"
19675 fi
19676
19677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19678 fi
19679 ac_res=`eval echo '${'$as_ac_Header'}'`
19680 { echo "$as_me:$LINENO: result: $ac_res" >&5
19681 echo "${ECHO_T}$ac_res" >&6; }
19682 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19683 cat >>confdefs.h <<_ACEOF
19684 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19685 _ACEOF
19686
19687 fi
19688
19689 done
19690
19691
19692 if test "$ac_cv_header_wchar_h" != "yes"; then
19693
19694 for ac_header in wcstr.h
19695 do
19696 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19697 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19698 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19699 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19700 echo $ECHO_N "(cached) $ECHO_C" >&6
19701 else
19702 cat >conftest.$ac_ext <<_ACEOF
19703 /* confdefs.h. */
19704 _ACEOF
19705 cat confdefs.h >>conftest.$ac_ext
19706 cat >>conftest.$ac_ext <<_ACEOF
19707 /* end confdefs.h. */
19708 $ac_includes_default
19709
19710 #include <$ac_header>
19711 _ACEOF
19712 rm -f conftest.$ac_objext
19713 if { (ac_try="$ac_compile"
19714 case "(($ac_try" in
19715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19716 *) ac_try_echo=$ac_try;;
19717 esac
19718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19719 (eval "$ac_compile") 2>conftest.er1
19720 ac_status=$?
19721 grep -v '^ *+' conftest.er1 >conftest.err
19722 rm -f conftest.er1
19723 cat conftest.err >&5
19724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19725 (exit $ac_status); } && {
19726 test -z "$ac_c_werror_flag" ||
19727 test ! -s conftest.err
19728 } && test -s conftest.$ac_objext; then
19729 eval "$as_ac_Header=yes"
19730 else
19731 echo "$as_me: failed program was:" >&5
19732 sed 's/^/| /' conftest.$ac_ext >&5
19733
19734 eval "$as_ac_Header=no"
19735 fi
19736
19737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19738 fi
19739 ac_res=`eval echo '${'$as_ac_Header'}'`
19740 { echo "$as_me:$LINENO: result: $ac_res" >&5
19741 echo "${ECHO_T}$ac_res" >&6; }
19742 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19743 cat >>confdefs.h <<_ACEOF
19744 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19745 _ACEOF
19746
19747 fi
19748
19749 done
19750
19751 fi
19752
19753 case "${host}" in
19754 *-pc-os2_emx | *-pc-os2-emx )
19755 if test $ac_cv_header_langinfo_h = "yes" \
19756 -a \( "$wx_cv_gccversion" = "EMX2" \
19757 -o "$wx_cv_gccversion" = "EMX3" \
19758 -o "$wx_cv_gccversion" = "Innotek5" \); then
19759 LIBS="$LIBS -lintl"
19760 fi
19761 ;;
19762 esac
19763
19764 if test "$USE_UNIX" = 1 ; then
19765
19766 for ac_header in sys/select.h
19767 do
19768 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19769 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19770 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19771 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19772 echo $ECHO_N "(cached) $ECHO_C" >&6
19773 else
19774 cat >conftest.$ac_ext <<_ACEOF
19775 /* confdefs.h. */
19776 _ACEOF
19777 cat confdefs.h >>conftest.$ac_ext
19778 cat >>conftest.$ac_ext <<_ACEOF
19779 /* end confdefs.h. */
19780 $ac_includes_default
19781
19782 #include <$ac_header>
19783 _ACEOF
19784 rm -f conftest.$ac_objext
19785 if { (ac_try="$ac_compile"
19786 case "(($ac_try" in
19787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19788 *) ac_try_echo=$ac_try;;
19789 esac
19790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19791 (eval "$ac_compile") 2>conftest.er1
19792 ac_status=$?
19793 grep -v '^ *+' conftest.er1 >conftest.err
19794 rm -f conftest.er1
19795 cat conftest.err >&5
19796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19797 (exit $ac_status); } && {
19798 test -z "$ac_c_werror_flag" ||
19799 test ! -s conftest.err
19800 } && test -s conftest.$ac_objext; then
19801 eval "$as_ac_Header=yes"
19802 else
19803 echo "$as_me: failed program was:" >&5
19804 sed 's/^/| /' conftest.$ac_ext >&5
19805
19806 eval "$as_ac_Header=no"
19807 fi
19808
19809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19810 fi
19811 ac_res=`eval echo '${'$as_ac_Header'}'`
19812 { echo "$as_me:$LINENO: result: $ac_res" >&5
19813 echo "${ECHO_T}$ac_res" >&6; }
19814 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19815 cat >>confdefs.h <<_ACEOF
19816 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19817 _ACEOF
19818
19819 fi
19820
19821 done
19822
19823 fi
19824
19825
19826 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19827 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19828 if test "${ac_cv_c_const+set}" = set; then
19829 echo $ECHO_N "(cached) $ECHO_C" >&6
19830 else
19831 cat >conftest.$ac_ext <<_ACEOF
19832 /* confdefs.h. */
19833 _ACEOF
19834 cat confdefs.h >>conftest.$ac_ext
19835 cat >>conftest.$ac_ext <<_ACEOF
19836 /* end confdefs.h. */
19837
19838 int
19839 main ()
19840 {
19841 /* FIXME: Include the comments suggested by Paul. */
19842 #ifndef __cplusplus
19843 /* Ultrix mips cc rejects this. */
19844 typedef int charset[2];
19845 const charset cs;
19846 /* SunOS 4.1.1 cc rejects this. */
19847 char const *const *pcpcc;
19848 char **ppc;
19849 /* NEC SVR4.0.2 mips cc rejects this. */
19850 struct point {int x, y;};
19851 static struct point const zero = {0,0};
19852 /* AIX XL C 1.02.0.0 rejects this.
19853 It does not let you subtract one const X* pointer from another in
19854 an arm of an if-expression whose if-part is not a constant
19855 expression */
19856 const char *g = "string";
19857 pcpcc = &g + (g ? g-g : 0);
19858 /* HPUX 7.0 cc rejects these. */
19859 ++pcpcc;
19860 ppc = (char**) pcpcc;
19861 pcpcc = (char const *const *) ppc;
19862 { /* SCO 3.2v4 cc rejects this. */
19863 char *t;
19864 char const *s = 0 ? (char *) 0 : (char const *) 0;
19865
19866 *t++ = 0;
19867 if (s) return 0;
19868 }
19869 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19870 int x[] = {25, 17};
19871 const int *foo = &x[0];
19872 ++foo;
19873 }
19874 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19875 typedef const int *iptr;
19876 iptr p = 0;
19877 ++p;
19878 }
19879 { /* AIX XL C 1.02.0.0 rejects this saying
19880 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19881 struct s { int j; const int *ap[3]; };
19882 struct s *b; b->j = 5;
19883 }
19884 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19885 const int foo = 10;
19886 if (!foo) return 0;
19887 }
19888 return !cs[0] && !zero.x;
19889 #endif
19890
19891 ;
19892 return 0;
19893 }
19894 _ACEOF
19895 rm -f conftest.$ac_objext
19896 if { (ac_try="$ac_compile"
19897 case "(($ac_try" in
19898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19899 *) ac_try_echo=$ac_try;;
19900 esac
19901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19902 (eval "$ac_compile") 2>conftest.er1
19903 ac_status=$?
19904 grep -v '^ *+' conftest.er1 >conftest.err
19905 rm -f conftest.er1
19906 cat conftest.err >&5
19907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19908 (exit $ac_status); } && {
19909 test -z "$ac_c_werror_flag" ||
19910 test ! -s conftest.err
19911 } && test -s conftest.$ac_objext; then
19912 ac_cv_c_const=yes
19913 else
19914 echo "$as_me: failed program was:" >&5
19915 sed 's/^/| /' conftest.$ac_ext >&5
19916
19917 ac_cv_c_const=no
19918 fi
19919
19920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19921 fi
19922 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19923 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19924 if test $ac_cv_c_const = no; then
19925
19926 cat >>confdefs.h <<\_ACEOF
19927 #define const
19928 _ACEOF
19929
19930 fi
19931
19932 { echo "$as_me:$LINENO: checking for inline" >&5
19933 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19934 if test "${ac_cv_c_inline+set}" = set; then
19935 echo $ECHO_N "(cached) $ECHO_C" >&6
19936 else
19937 ac_cv_c_inline=no
19938 for ac_kw in inline __inline__ __inline; do
19939 cat >conftest.$ac_ext <<_ACEOF
19940 /* confdefs.h. */
19941 _ACEOF
19942 cat confdefs.h >>conftest.$ac_ext
19943 cat >>conftest.$ac_ext <<_ACEOF
19944 /* end confdefs.h. */
19945 #ifndef __cplusplus
19946 typedef int foo_t;
19947 static $ac_kw foo_t static_foo () {return 0; }
19948 $ac_kw foo_t foo () {return 0; }
19949 #endif
19950
19951 _ACEOF
19952 rm -f conftest.$ac_objext
19953 if { (ac_try="$ac_compile"
19954 case "(($ac_try" in
19955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19956 *) ac_try_echo=$ac_try;;
19957 esac
19958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19959 (eval "$ac_compile") 2>conftest.er1
19960 ac_status=$?
19961 grep -v '^ *+' conftest.er1 >conftest.err
19962 rm -f conftest.er1
19963 cat conftest.err >&5
19964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19965 (exit $ac_status); } && {
19966 test -z "$ac_c_werror_flag" ||
19967 test ! -s conftest.err
19968 } && test -s conftest.$ac_objext; then
19969 ac_cv_c_inline=$ac_kw
19970 else
19971 echo "$as_me: failed program was:" >&5
19972 sed 's/^/| /' conftest.$ac_ext >&5
19973
19974
19975 fi
19976
19977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19978 test "$ac_cv_c_inline" != no && break
19979 done
19980
19981 fi
19982 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19983 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19984
19985
19986 case $ac_cv_c_inline in
19987 inline | yes) ;;
19988 *)
19989 case $ac_cv_c_inline in
19990 no) ac_val=;;
19991 *) ac_val=$ac_cv_c_inline;;
19992 esac
19993 cat >>confdefs.h <<_ACEOF
19994 #ifndef __cplusplus
19995 #define inline $ac_val
19996 #endif
19997 _ACEOF
19998 ;;
19999 esac
20000
20001
20002 { echo "$as_me:$LINENO: checking for short" >&5
20003 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
20004 if test "${ac_cv_type_short+set}" = set; then
20005 echo $ECHO_N "(cached) $ECHO_C" >&6
20006 else
20007 cat >conftest.$ac_ext <<_ACEOF
20008 /* confdefs.h. */
20009 _ACEOF
20010 cat confdefs.h >>conftest.$ac_ext
20011 cat >>conftest.$ac_ext <<_ACEOF
20012 /* end confdefs.h. */
20013 $ac_includes_default
20014 typedef short ac__type_new_;
20015 int
20016 main ()
20017 {
20018 if ((ac__type_new_ *) 0)
20019 return 0;
20020 if (sizeof (ac__type_new_))
20021 return 0;
20022 ;
20023 return 0;
20024 }
20025 _ACEOF
20026 rm -f conftest.$ac_objext
20027 if { (ac_try="$ac_compile"
20028 case "(($ac_try" in
20029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20030 *) ac_try_echo=$ac_try;;
20031 esac
20032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20033 (eval "$ac_compile") 2>conftest.er1
20034 ac_status=$?
20035 grep -v '^ *+' conftest.er1 >conftest.err
20036 rm -f conftest.er1
20037 cat conftest.err >&5
20038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20039 (exit $ac_status); } && {
20040 test -z "$ac_c_werror_flag" ||
20041 test ! -s conftest.err
20042 } && test -s conftest.$ac_objext; then
20043 ac_cv_type_short=yes
20044 else
20045 echo "$as_me: failed program was:" >&5
20046 sed 's/^/| /' conftest.$ac_ext >&5
20047
20048 ac_cv_type_short=no
20049 fi
20050
20051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20052 fi
20053 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
20054 echo "${ECHO_T}$ac_cv_type_short" >&6; }
20055
20056 # The cast to long int works around a bug in the HP C Compiler
20057 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20058 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20059 # This bug is HP SR number 8606223364.
20060 { echo "$as_me:$LINENO: checking size of short" >&5
20061 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
20062 if test "${ac_cv_sizeof_short+set}" = set; then
20063 echo $ECHO_N "(cached) $ECHO_C" >&6
20064 else
20065 if test "$cross_compiling" = yes; then
20066 # Depending upon the size, compute the lo and hi bounds.
20067 cat >conftest.$ac_ext <<_ACEOF
20068 /* confdefs.h. */
20069 _ACEOF
20070 cat confdefs.h >>conftest.$ac_ext
20071 cat >>conftest.$ac_ext <<_ACEOF
20072 /* end confdefs.h. */
20073 $ac_includes_default
20074 typedef short ac__type_sizeof_;
20075 int
20076 main ()
20077 {
20078 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20079 test_array [0] = 0
20080
20081 ;
20082 return 0;
20083 }
20084 _ACEOF
20085 rm -f conftest.$ac_objext
20086 if { (ac_try="$ac_compile"
20087 case "(($ac_try" in
20088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20089 *) ac_try_echo=$ac_try;;
20090 esac
20091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20092 (eval "$ac_compile") 2>conftest.er1
20093 ac_status=$?
20094 grep -v '^ *+' conftest.er1 >conftest.err
20095 rm -f conftest.er1
20096 cat conftest.err >&5
20097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20098 (exit $ac_status); } && {
20099 test -z "$ac_c_werror_flag" ||
20100 test ! -s conftest.err
20101 } && test -s conftest.$ac_objext; then
20102 ac_lo=0 ac_mid=0
20103 while :; do
20104 cat >conftest.$ac_ext <<_ACEOF
20105 /* confdefs.h. */
20106 _ACEOF
20107 cat confdefs.h >>conftest.$ac_ext
20108 cat >>conftest.$ac_ext <<_ACEOF
20109 /* end confdefs.h. */
20110 $ac_includes_default
20111 typedef short ac__type_sizeof_;
20112 int
20113 main ()
20114 {
20115 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20116 test_array [0] = 0
20117
20118 ;
20119 return 0;
20120 }
20121 _ACEOF
20122 rm -f conftest.$ac_objext
20123 if { (ac_try="$ac_compile"
20124 case "(($ac_try" in
20125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20126 *) ac_try_echo=$ac_try;;
20127 esac
20128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20129 (eval "$ac_compile") 2>conftest.er1
20130 ac_status=$?
20131 grep -v '^ *+' conftest.er1 >conftest.err
20132 rm -f conftest.er1
20133 cat conftest.err >&5
20134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20135 (exit $ac_status); } && {
20136 test -z "$ac_c_werror_flag" ||
20137 test ! -s conftest.err
20138 } && test -s conftest.$ac_objext; then
20139 ac_hi=$ac_mid; break
20140 else
20141 echo "$as_me: failed program was:" >&5
20142 sed 's/^/| /' conftest.$ac_ext >&5
20143
20144 ac_lo=`expr $ac_mid + 1`
20145 if test $ac_lo -le $ac_mid; then
20146 ac_lo= ac_hi=
20147 break
20148 fi
20149 ac_mid=`expr 2 '*' $ac_mid + 1`
20150 fi
20151
20152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20153 done
20154 else
20155 echo "$as_me: failed program was:" >&5
20156 sed 's/^/| /' conftest.$ac_ext >&5
20157
20158 cat >conftest.$ac_ext <<_ACEOF
20159 /* confdefs.h. */
20160 _ACEOF
20161 cat confdefs.h >>conftest.$ac_ext
20162 cat >>conftest.$ac_ext <<_ACEOF
20163 /* end confdefs.h. */
20164 $ac_includes_default
20165 typedef short ac__type_sizeof_;
20166 int
20167 main ()
20168 {
20169 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20170 test_array [0] = 0
20171
20172 ;
20173 return 0;
20174 }
20175 _ACEOF
20176 rm -f conftest.$ac_objext
20177 if { (ac_try="$ac_compile"
20178 case "(($ac_try" in
20179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20180 *) ac_try_echo=$ac_try;;
20181 esac
20182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20183 (eval "$ac_compile") 2>conftest.er1
20184 ac_status=$?
20185 grep -v '^ *+' conftest.er1 >conftest.err
20186 rm -f conftest.er1
20187 cat conftest.err >&5
20188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20189 (exit $ac_status); } && {
20190 test -z "$ac_c_werror_flag" ||
20191 test ! -s conftest.err
20192 } && test -s conftest.$ac_objext; then
20193 ac_hi=-1 ac_mid=-1
20194 while :; do
20195 cat >conftest.$ac_ext <<_ACEOF
20196 /* confdefs.h. */
20197 _ACEOF
20198 cat confdefs.h >>conftest.$ac_ext
20199 cat >>conftest.$ac_ext <<_ACEOF
20200 /* end confdefs.h. */
20201 $ac_includes_default
20202 typedef short ac__type_sizeof_;
20203 int
20204 main ()
20205 {
20206 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20207 test_array [0] = 0
20208
20209 ;
20210 return 0;
20211 }
20212 _ACEOF
20213 rm -f conftest.$ac_objext
20214 if { (ac_try="$ac_compile"
20215 case "(($ac_try" in
20216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20217 *) ac_try_echo=$ac_try;;
20218 esac
20219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20220 (eval "$ac_compile") 2>conftest.er1
20221 ac_status=$?
20222 grep -v '^ *+' conftest.er1 >conftest.err
20223 rm -f conftest.er1
20224 cat conftest.err >&5
20225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20226 (exit $ac_status); } && {
20227 test -z "$ac_c_werror_flag" ||
20228 test ! -s conftest.err
20229 } && test -s conftest.$ac_objext; then
20230 ac_lo=$ac_mid; break
20231 else
20232 echo "$as_me: failed program was:" >&5
20233 sed 's/^/| /' conftest.$ac_ext >&5
20234
20235 ac_hi=`expr '(' $ac_mid ')' - 1`
20236 if test $ac_mid -le $ac_hi; then
20237 ac_lo= ac_hi=
20238 break
20239 fi
20240 ac_mid=`expr 2 '*' $ac_mid`
20241 fi
20242
20243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20244 done
20245 else
20246 echo "$as_me: failed program was:" >&5
20247 sed 's/^/| /' conftest.$ac_ext >&5
20248
20249 ac_lo= ac_hi=
20250 fi
20251
20252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20253 fi
20254
20255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20256 # Binary search between lo and hi bounds.
20257 while test "x$ac_lo" != "x$ac_hi"; do
20258 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20259 cat >conftest.$ac_ext <<_ACEOF
20260 /* confdefs.h. */
20261 _ACEOF
20262 cat confdefs.h >>conftest.$ac_ext
20263 cat >>conftest.$ac_ext <<_ACEOF
20264 /* end confdefs.h. */
20265 $ac_includes_default
20266 typedef short ac__type_sizeof_;
20267 int
20268 main ()
20269 {
20270 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20271 test_array [0] = 0
20272
20273 ;
20274 return 0;
20275 }
20276 _ACEOF
20277 rm -f conftest.$ac_objext
20278 if { (ac_try="$ac_compile"
20279 case "(($ac_try" in
20280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20281 *) ac_try_echo=$ac_try;;
20282 esac
20283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20284 (eval "$ac_compile") 2>conftest.er1
20285 ac_status=$?
20286 grep -v '^ *+' conftest.er1 >conftest.err
20287 rm -f conftest.er1
20288 cat conftest.err >&5
20289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20290 (exit $ac_status); } && {
20291 test -z "$ac_c_werror_flag" ||
20292 test ! -s conftest.err
20293 } && test -s conftest.$ac_objext; then
20294 ac_hi=$ac_mid
20295 else
20296 echo "$as_me: failed program was:" >&5
20297 sed 's/^/| /' conftest.$ac_ext >&5
20298
20299 ac_lo=`expr '(' $ac_mid ')' + 1`
20300 fi
20301
20302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20303 done
20304 case $ac_lo in
20305 ?*) ac_cv_sizeof_short=$ac_lo;;
20306 '') if test "$ac_cv_type_short" = yes; then
20307 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20308 See \`config.log' for more details." >&5
20309 echo "$as_me: error: cannot compute sizeof (short)
20310 See \`config.log' for more details." >&2;}
20311 { (exit 77); exit 77; }; }
20312 else
20313 ac_cv_sizeof_short=0
20314 fi ;;
20315 esac
20316 else
20317 cat >conftest.$ac_ext <<_ACEOF
20318 /* confdefs.h. */
20319 _ACEOF
20320 cat confdefs.h >>conftest.$ac_ext
20321 cat >>conftest.$ac_ext <<_ACEOF
20322 /* end confdefs.h. */
20323 $ac_includes_default
20324 typedef short ac__type_sizeof_;
20325 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20326 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20327 #include <stdio.h>
20328 #include <stdlib.h>
20329 int
20330 main ()
20331 {
20332
20333 FILE *f = fopen ("conftest.val", "w");
20334 if (! f)
20335 return 1;
20336 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20337 {
20338 long int i = longval ();
20339 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20340 return 1;
20341 fprintf (f, "%ld\n", i);
20342 }
20343 else
20344 {
20345 unsigned long int i = ulongval ();
20346 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20347 return 1;
20348 fprintf (f, "%lu\n", i);
20349 }
20350 return ferror (f) || fclose (f) != 0;
20351
20352 ;
20353 return 0;
20354 }
20355 _ACEOF
20356 rm -f conftest$ac_exeext
20357 if { (ac_try="$ac_link"
20358 case "(($ac_try" in
20359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20360 *) ac_try_echo=$ac_try;;
20361 esac
20362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20363 (eval "$ac_link") 2>&5
20364 ac_status=$?
20365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20366 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20367 { (case "(($ac_try" in
20368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20369 *) ac_try_echo=$ac_try;;
20370 esac
20371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20372 (eval "$ac_try") 2>&5
20373 ac_status=$?
20374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20375 (exit $ac_status); }; }; then
20376 ac_cv_sizeof_short=`cat conftest.val`
20377 else
20378 echo "$as_me: program exited with status $ac_status" >&5
20379 echo "$as_me: failed program was:" >&5
20380 sed 's/^/| /' conftest.$ac_ext >&5
20381
20382 ( exit $ac_status )
20383 if test "$ac_cv_type_short" = yes; then
20384 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20385 See \`config.log' for more details." >&5
20386 echo "$as_me: error: cannot compute sizeof (short)
20387 See \`config.log' for more details." >&2;}
20388 { (exit 77); exit 77; }; }
20389 else
20390 ac_cv_sizeof_short=0
20391 fi
20392 fi
20393 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20394 fi
20395 rm -f conftest.val
20396 fi
20397 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
20398 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
20399
20400
20401
20402 cat >>confdefs.h <<_ACEOF
20403 #define SIZEOF_SHORT $ac_cv_sizeof_short
20404 _ACEOF
20405
20406
20407 { echo "$as_me:$LINENO: checking for void *" >&5
20408 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
20409 if test "${ac_cv_type_void_p+set}" = set; then
20410 echo $ECHO_N "(cached) $ECHO_C" >&6
20411 else
20412 cat >conftest.$ac_ext <<_ACEOF
20413 /* confdefs.h. */
20414 _ACEOF
20415 cat confdefs.h >>conftest.$ac_ext
20416 cat >>conftest.$ac_ext <<_ACEOF
20417 /* end confdefs.h. */
20418 $ac_includes_default
20419 typedef void * ac__type_new_;
20420 int
20421 main ()
20422 {
20423 if ((ac__type_new_ *) 0)
20424 return 0;
20425 if (sizeof (ac__type_new_))
20426 return 0;
20427 ;
20428 return 0;
20429 }
20430 _ACEOF
20431 rm -f conftest.$ac_objext
20432 if { (ac_try="$ac_compile"
20433 case "(($ac_try" in
20434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20435 *) ac_try_echo=$ac_try;;
20436 esac
20437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20438 (eval "$ac_compile") 2>conftest.er1
20439 ac_status=$?
20440 grep -v '^ *+' conftest.er1 >conftest.err
20441 rm -f conftest.er1
20442 cat conftest.err >&5
20443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20444 (exit $ac_status); } && {
20445 test -z "$ac_c_werror_flag" ||
20446 test ! -s conftest.err
20447 } && test -s conftest.$ac_objext; then
20448 ac_cv_type_void_p=yes
20449 else
20450 echo "$as_me: failed program was:" >&5
20451 sed 's/^/| /' conftest.$ac_ext >&5
20452
20453 ac_cv_type_void_p=no
20454 fi
20455
20456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20457 fi
20458 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20459 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20460
20461 # The cast to long int works around a bug in the HP C Compiler
20462 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20463 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20464 # This bug is HP SR number 8606223364.
20465 { echo "$as_me:$LINENO: checking size of void *" >&5
20466 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20467 if test "${ac_cv_sizeof_void_p+set}" = set; then
20468 echo $ECHO_N "(cached) $ECHO_C" >&6
20469 else
20470 if test "$cross_compiling" = yes; then
20471 # Depending upon the size, compute the lo and hi bounds.
20472 cat >conftest.$ac_ext <<_ACEOF
20473 /* confdefs.h. */
20474 _ACEOF
20475 cat confdefs.h >>conftest.$ac_ext
20476 cat >>conftest.$ac_ext <<_ACEOF
20477 /* end confdefs.h. */
20478 $ac_includes_default
20479 typedef void * ac__type_sizeof_;
20480 int
20481 main ()
20482 {
20483 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20484 test_array [0] = 0
20485
20486 ;
20487 return 0;
20488 }
20489 _ACEOF
20490 rm -f conftest.$ac_objext
20491 if { (ac_try="$ac_compile"
20492 case "(($ac_try" in
20493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20494 *) ac_try_echo=$ac_try;;
20495 esac
20496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20497 (eval "$ac_compile") 2>conftest.er1
20498 ac_status=$?
20499 grep -v '^ *+' conftest.er1 >conftest.err
20500 rm -f conftest.er1
20501 cat conftest.err >&5
20502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20503 (exit $ac_status); } && {
20504 test -z "$ac_c_werror_flag" ||
20505 test ! -s conftest.err
20506 } && test -s conftest.$ac_objext; then
20507 ac_lo=0 ac_mid=0
20508 while :; do
20509 cat >conftest.$ac_ext <<_ACEOF
20510 /* confdefs.h. */
20511 _ACEOF
20512 cat confdefs.h >>conftest.$ac_ext
20513 cat >>conftest.$ac_ext <<_ACEOF
20514 /* end confdefs.h. */
20515 $ac_includes_default
20516 typedef void * ac__type_sizeof_;
20517 int
20518 main ()
20519 {
20520 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20521 test_array [0] = 0
20522
20523 ;
20524 return 0;
20525 }
20526 _ACEOF
20527 rm -f conftest.$ac_objext
20528 if { (ac_try="$ac_compile"
20529 case "(($ac_try" in
20530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20531 *) ac_try_echo=$ac_try;;
20532 esac
20533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20534 (eval "$ac_compile") 2>conftest.er1
20535 ac_status=$?
20536 grep -v '^ *+' conftest.er1 >conftest.err
20537 rm -f conftest.er1
20538 cat conftest.err >&5
20539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20540 (exit $ac_status); } && {
20541 test -z "$ac_c_werror_flag" ||
20542 test ! -s conftest.err
20543 } && test -s conftest.$ac_objext; then
20544 ac_hi=$ac_mid; break
20545 else
20546 echo "$as_me: failed program was:" >&5
20547 sed 's/^/| /' conftest.$ac_ext >&5
20548
20549 ac_lo=`expr $ac_mid + 1`
20550 if test $ac_lo -le $ac_mid; then
20551 ac_lo= ac_hi=
20552 break
20553 fi
20554 ac_mid=`expr 2 '*' $ac_mid + 1`
20555 fi
20556
20557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20558 done
20559 else
20560 echo "$as_me: failed program was:" >&5
20561 sed 's/^/| /' conftest.$ac_ext >&5
20562
20563 cat >conftest.$ac_ext <<_ACEOF
20564 /* confdefs.h. */
20565 _ACEOF
20566 cat confdefs.h >>conftest.$ac_ext
20567 cat >>conftest.$ac_ext <<_ACEOF
20568 /* end confdefs.h. */
20569 $ac_includes_default
20570 typedef void * ac__type_sizeof_;
20571 int
20572 main ()
20573 {
20574 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20575 test_array [0] = 0
20576
20577 ;
20578 return 0;
20579 }
20580 _ACEOF
20581 rm -f conftest.$ac_objext
20582 if { (ac_try="$ac_compile"
20583 case "(($ac_try" in
20584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20585 *) ac_try_echo=$ac_try;;
20586 esac
20587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20588 (eval "$ac_compile") 2>conftest.er1
20589 ac_status=$?
20590 grep -v '^ *+' conftest.er1 >conftest.err
20591 rm -f conftest.er1
20592 cat conftest.err >&5
20593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20594 (exit $ac_status); } && {
20595 test -z "$ac_c_werror_flag" ||
20596 test ! -s conftest.err
20597 } && test -s conftest.$ac_objext; then
20598 ac_hi=-1 ac_mid=-1
20599 while :; do
20600 cat >conftest.$ac_ext <<_ACEOF
20601 /* confdefs.h. */
20602 _ACEOF
20603 cat confdefs.h >>conftest.$ac_ext
20604 cat >>conftest.$ac_ext <<_ACEOF
20605 /* end confdefs.h. */
20606 $ac_includes_default
20607 typedef void * ac__type_sizeof_;
20608 int
20609 main ()
20610 {
20611 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20612 test_array [0] = 0
20613
20614 ;
20615 return 0;
20616 }
20617 _ACEOF
20618 rm -f conftest.$ac_objext
20619 if { (ac_try="$ac_compile"
20620 case "(($ac_try" in
20621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20622 *) ac_try_echo=$ac_try;;
20623 esac
20624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20625 (eval "$ac_compile") 2>conftest.er1
20626 ac_status=$?
20627 grep -v '^ *+' conftest.er1 >conftest.err
20628 rm -f conftest.er1
20629 cat conftest.err >&5
20630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20631 (exit $ac_status); } && {
20632 test -z "$ac_c_werror_flag" ||
20633 test ! -s conftest.err
20634 } && test -s conftest.$ac_objext; then
20635 ac_lo=$ac_mid; break
20636 else
20637 echo "$as_me: failed program was:" >&5
20638 sed 's/^/| /' conftest.$ac_ext >&5
20639
20640 ac_hi=`expr '(' $ac_mid ')' - 1`
20641 if test $ac_mid -le $ac_hi; then
20642 ac_lo= ac_hi=
20643 break
20644 fi
20645 ac_mid=`expr 2 '*' $ac_mid`
20646 fi
20647
20648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20649 done
20650 else
20651 echo "$as_me: failed program was:" >&5
20652 sed 's/^/| /' conftest.$ac_ext >&5
20653
20654 ac_lo= ac_hi=
20655 fi
20656
20657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20658 fi
20659
20660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20661 # Binary search between lo and hi bounds.
20662 while test "x$ac_lo" != "x$ac_hi"; do
20663 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20664 cat >conftest.$ac_ext <<_ACEOF
20665 /* confdefs.h. */
20666 _ACEOF
20667 cat confdefs.h >>conftest.$ac_ext
20668 cat >>conftest.$ac_ext <<_ACEOF
20669 /* end confdefs.h. */
20670 $ac_includes_default
20671 typedef void * ac__type_sizeof_;
20672 int
20673 main ()
20674 {
20675 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20676 test_array [0] = 0
20677
20678 ;
20679 return 0;
20680 }
20681 _ACEOF
20682 rm -f conftest.$ac_objext
20683 if { (ac_try="$ac_compile"
20684 case "(($ac_try" in
20685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20686 *) ac_try_echo=$ac_try;;
20687 esac
20688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20689 (eval "$ac_compile") 2>conftest.er1
20690 ac_status=$?
20691 grep -v '^ *+' conftest.er1 >conftest.err
20692 rm -f conftest.er1
20693 cat conftest.err >&5
20694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20695 (exit $ac_status); } && {
20696 test -z "$ac_c_werror_flag" ||
20697 test ! -s conftest.err
20698 } && test -s conftest.$ac_objext; then
20699 ac_hi=$ac_mid
20700 else
20701 echo "$as_me: failed program was:" >&5
20702 sed 's/^/| /' conftest.$ac_ext >&5
20703
20704 ac_lo=`expr '(' $ac_mid ')' + 1`
20705 fi
20706
20707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20708 done
20709 case $ac_lo in
20710 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20711 '') if test "$ac_cv_type_void_p" = yes; then
20712 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20713 See \`config.log' for more details." >&5
20714 echo "$as_me: error: cannot compute sizeof (void *)
20715 See \`config.log' for more details." >&2;}
20716 { (exit 77); exit 77; }; }
20717 else
20718 ac_cv_sizeof_void_p=0
20719 fi ;;
20720 esac
20721 else
20722 cat >conftest.$ac_ext <<_ACEOF
20723 /* confdefs.h. */
20724 _ACEOF
20725 cat confdefs.h >>conftest.$ac_ext
20726 cat >>conftest.$ac_ext <<_ACEOF
20727 /* end confdefs.h. */
20728 $ac_includes_default
20729 typedef void * ac__type_sizeof_;
20730 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20731 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20732 #include <stdio.h>
20733 #include <stdlib.h>
20734 int
20735 main ()
20736 {
20737
20738 FILE *f = fopen ("conftest.val", "w");
20739 if (! f)
20740 return 1;
20741 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20742 {
20743 long int i = longval ();
20744 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20745 return 1;
20746 fprintf (f, "%ld\n", i);
20747 }
20748 else
20749 {
20750 unsigned long int i = ulongval ();
20751 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20752 return 1;
20753 fprintf (f, "%lu\n", i);
20754 }
20755 return ferror (f) || fclose (f) != 0;
20756
20757 ;
20758 return 0;
20759 }
20760 _ACEOF
20761 rm -f conftest$ac_exeext
20762 if { (ac_try="$ac_link"
20763 case "(($ac_try" in
20764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20765 *) ac_try_echo=$ac_try;;
20766 esac
20767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20768 (eval "$ac_link") 2>&5
20769 ac_status=$?
20770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20771 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20772 { (case "(($ac_try" in
20773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20774 *) ac_try_echo=$ac_try;;
20775 esac
20776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20777 (eval "$ac_try") 2>&5
20778 ac_status=$?
20779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20780 (exit $ac_status); }; }; then
20781 ac_cv_sizeof_void_p=`cat conftest.val`
20782 else
20783 echo "$as_me: program exited with status $ac_status" >&5
20784 echo "$as_me: failed program was:" >&5
20785 sed 's/^/| /' conftest.$ac_ext >&5
20786
20787 ( exit $ac_status )
20788 if test "$ac_cv_type_void_p" = yes; then
20789 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20790 See \`config.log' for more details." >&5
20791 echo "$as_me: error: cannot compute sizeof (void *)
20792 See \`config.log' for more details." >&2;}
20793 { (exit 77); exit 77; }; }
20794 else
20795 ac_cv_sizeof_void_p=0
20796 fi
20797 fi
20798 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20799 fi
20800 rm -f conftest.val
20801 fi
20802 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20803 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20804
20805
20806
20807 cat >>confdefs.h <<_ACEOF
20808 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20809 _ACEOF
20810
20811
20812 { echo "$as_me:$LINENO: checking for int" >&5
20813 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20814 if test "${ac_cv_type_int+set}" = set; then
20815 echo $ECHO_N "(cached) $ECHO_C" >&6
20816 else
20817 cat >conftest.$ac_ext <<_ACEOF
20818 /* confdefs.h. */
20819 _ACEOF
20820 cat confdefs.h >>conftest.$ac_ext
20821 cat >>conftest.$ac_ext <<_ACEOF
20822 /* end confdefs.h. */
20823 $ac_includes_default
20824 typedef int ac__type_new_;
20825 int
20826 main ()
20827 {
20828 if ((ac__type_new_ *) 0)
20829 return 0;
20830 if (sizeof (ac__type_new_))
20831 return 0;
20832 ;
20833 return 0;
20834 }
20835 _ACEOF
20836 rm -f conftest.$ac_objext
20837 if { (ac_try="$ac_compile"
20838 case "(($ac_try" in
20839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20840 *) ac_try_echo=$ac_try;;
20841 esac
20842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20843 (eval "$ac_compile") 2>conftest.er1
20844 ac_status=$?
20845 grep -v '^ *+' conftest.er1 >conftest.err
20846 rm -f conftest.er1
20847 cat conftest.err >&5
20848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20849 (exit $ac_status); } && {
20850 test -z "$ac_c_werror_flag" ||
20851 test ! -s conftest.err
20852 } && test -s conftest.$ac_objext; then
20853 ac_cv_type_int=yes
20854 else
20855 echo "$as_me: failed program was:" >&5
20856 sed 's/^/| /' conftest.$ac_ext >&5
20857
20858 ac_cv_type_int=no
20859 fi
20860
20861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20862 fi
20863 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20864 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20865
20866 # The cast to long int works around a bug in the HP C Compiler
20867 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20868 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20869 # This bug is HP SR number 8606223364.
20870 { echo "$as_me:$LINENO: checking size of int" >&5
20871 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20872 if test "${ac_cv_sizeof_int+set}" = set; then
20873 echo $ECHO_N "(cached) $ECHO_C" >&6
20874 else
20875 if test "$cross_compiling" = yes; then
20876 # Depending upon the size, compute the lo and hi bounds.
20877 cat >conftest.$ac_ext <<_ACEOF
20878 /* confdefs.h. */
20879 _ACEOF
20880 cat confdefs.h >>conftest.$ac_ext
20881 cat >>conftest.$ac_ext <<_ACEOF
20882 /* end confdefs.h. */
20883 $ac_includes_default
20884 typedef int ac__type_sizeof_;
20885 int
20886 main ()
20887 {
20888 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20889 test_array [0] = 0
20890
20891 ;
20892 return 0;
20893 }
20894 _ACEOF
20895 rm -f conftest.$ac_objext
20896 if { (ac_try="$ac_compile"
20897 case "(($ac_try" in
20898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20899 *) ac_try_echo=$ac_try;;
20900 esac
20901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20902 (eval "$ac_compile") 2>conftest.er1
20903 ac_status=$?
20904 grep -v '^ *+' conftest.er1 >conftest.err
20905 rm -f conftest.er1
20906 cat conftest.err >&5
20907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20908 (exit $ac_status); } && {
20909 test -z "$ac_c_werror_flag" ||
20910 test ! -s conftest.err
20911 } && test -s conftest.$ac_objext; then
20912 ac_lo=0 ac_mid=0
20913 while :; do
20914 cat >conftest.$ac_ext <<_ACEOF
20915 /* confdefs.h. */
20916 _ACEOF
20917 cat confdefs.h >>conftest.$ac_ext
20918 cat >>conftest.$ac_ext <<_ACEOF
20919 /* end confdefs.h. */
20920 $ac_includes_default
20921 typedef int ac__type_sizeof_;
20922 int
20923 main ()
20924 {
20925 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20926 test_array [0] = 0
20927
20928 ;
20929 return 0;
20930 }
20931 _ACEOF
20932 rm -f conftest.$ac_objext
20933 if { (ac_try="$ac_compile"
20934 case "(($ac_try" in
20935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20936 *) ac_try_echo=$ac_try;;
20937 esac
20938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20939 (eval "$ac_compile") 2>conftest.er1
20940 ac_status=$?
20941 grep -v '^ *+' conftest.er1 >conftest.err
20942 rm -f conftest.er1
20943 cat conftest.err >&5
20944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20945 (exit $ac_status); } && {
20946 test -z "$ac_c_werror_flag" ||
20947 test ! -s conftest.err
20948 } && test -s conftest.$ac_objext; then
20949 ac_hi=$ac_mid; break
20950 else
20951 echo "$as_me: failed program was:" >&5
20952 sed 's/^/| /' conftest.$ac_ext >&5
20953
20954 ac_lo=`expr $ac_mid + 1`
20955 if test $ac_lo -le $ac_mid; then
20956 ac_lo= ac_hi=
20957 break
20958 fi
20959 ac_mid=`expr 2 '*' $ac_mid + 1`
20960 fi
20961
20962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20963 done
20964 else
20965 echo "$as_me: failed program was:" >&5
20966 sed 's/^/| /' conftest.$ac_ext >&5
20967
20968 cat >conftest.$ac_ext <<_ACEOF
20969 /* confdefs.h. */
20970 _ACEOF
20971 cat confdefs.h >>conftest.$ac_ext
20972 cat >>conftest.$ac_ext <<_ACEOF
20973 /* end confdefs.h. */
20974 $ac_includes_default
20975 typedef int ac__type_sizeof_;
20976 int
20977 main ()
20978 {
20979 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20980 test_array [0] = 0
20981
20982 ;
20983 return 0;
20984 }
20985 _ACEOF
20986 rm -f conftest.$ac_objext
20987 if { (ac_try="$ac_compile"
20988 case "(($ac_try" in
20989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20990 *) ac_try_echo=$ac_try;;
20991 esac
20992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20993 (eval "$ac_compile") 2>conftest.er1
20994 ac_status=$?
20995 grep -v '^ *+' conftest.er1 >conftest.err
20996 rm -f conftest.er1
20997 cat conftest.err >&5
20998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20999 (exit $ac_status); } && {
21000 test -z "$ac_c_werror_flag" ||
21001 test ! -s conftest.err
21002 } && test -s conftest.$ac_objext; then
21003 ac_hi=-1 ac_mid=-1
21004 while :; do
21005 cat >conftest.$ac_ext <<_ACEOF
21006 /* confdefs.h. */
21007 _ACEOF
21008 cat confdefs.h >>conftest.$ac_ext
21009 cat >>conftest.$ac_ext <<_ACEOF
21010 /* end confdefs.h. */
21011 $ac_includes_default
21012 typedef int ac__type_sizeof_;
21013 int
21014 main ()
21015 {
21016 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21017 test_array [0] = 0
21018
21019 ;
21020 return 0;
21021 }
21022 _ACEOF
21023 rm -f conftest.$ac_objext
21024 if { (ac_try="$ac_compile"
21025 case "(($ac_try" in
21026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21027 *) ac_try_echo=$ac_try;;
21028 esac
21029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21030 (eval "$ac_compile") 2>conftest.er1
21031 ac_status=$?
21032 grep -v '^ *+' conftest.er1 >conftest.err
21033 rm -f conftest.er1
21034 cat conftest.err >&5
21035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21036 (exit $ac_status); } && {
21037 test -z "$ac_c_werror_flag" ||
21038 test ! -s conftest.err
21039 } && test -s conftest.$ac_objext; then
21040 ac_lo=$ac_mid; break
21041 else
21042 echo "$as_me: failed program was:" >&5
21043 sed 's/^/| /' conftest.$ac_ext >&5
21044
21045 ac_hi=`expr '(' $ac_mid ')' - 1`
21046 if test $ac_mid -le $ac_hi; then
21047 ac_lo= ac_hi=
21048 break
21049 fi
21050 ac_mid=`expr 2 '*' $ac_mid`
21051 fi
21052
21053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21054 done
21055 else
21056 echo "$as_me: failed program was:" >&5
21057 sed 's/^/| /' conftest.$ac_ext >&5
21058
21059 ac_lo= ac_hi=
21060 fi
21061
21062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21063 fi
21064
21065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21066 # Binary search between lo and hi bounds.
21067 while test "x$ac_lo" != "x$ac_hi"; do
21068 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21069 cat >conftest.$ac_ext <<_ACEOF
21070 /* confdefs.h. */
21071 _ACEOF
21072 cat confdefs.h >>conftest.$ac_ext
21073 cat >>conftest.$ac_ext <<_ACEOF
21074 /* end confdefs.h. */
21075 $ac_includes_default
21076 typedef int ac__type_sizeof_;
21077 int
21078 main ()
21079 {
21080 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21081 test_array [0] = 0
21082
21083 ;
21084 return 0;
21085 }
21086 _ACEOF
21087 rm -f conftest.$ac_objext
21088 if { (ac_try="$ac_compile"
21089 case "(($ac_try" in
21090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21091 *) ac_try_echo=$ac_try;;
21092 esac
21093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21094 (eval "$ac_compile") 2>conftest.er1
21095 ac_status=$?
21096 grep -v '^ *+' conftest.er1 >conftest.err
21097 rm -f conftest.er1
21098 cat conftest.err >&5
21099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21100 (exit $ac_status); } && {
21101 test -z "$ac_c_werror_flag" ||
21102 test ! -s conftest.err
21103 } && test -s conftest.$ac_objext; then
21104 ac_hi=$ac_mid
21105 else
21106 echo "$as_me: failed program was:" >&5
21107 sed 's/^/| /' conftest.$ac_ext >&5
21108
21109 ac_lo=`expr '(' $ac_mid ')' + 1`
21110 fi
21111
21112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21113 done
21114 case $ac_lo in
21115 ?*) ac_cv_sizeof_int=$ac_lo;;
21116 '') if test "$ac_cv_type_int" = yes; then
21117 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21118 See \`config.log' for more details." >&5
21119 echo "$as_me: error: cannot compute sizeof (int)
21120 See \`config.log' for more details." >&2;}
21121 { (exit 77); exit 77; }; }
21122 else
21123 ac_cv_sizeof_int=0
21124 fi ;;
21125 esac
21126 else
21127 cat >conftest.$ac_ext <<_ACEOF
21128 /* confdefs.h. */
21129 _ACEOF
21130 cat confdefs.h >>conftest.$ac_ext
21131 cat >>conftest.$ac_ext <<_ACEOF
21132 /* end confdefs.h. */
21133 $ac_includes_default
21134 typedef int ac__type_sizeof_;
21135 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21136 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21137 #include <stdio.h>
21138 #include <stdlib.h>
21139 int
21140 main ()
21141 {
21142
21143 FILE *f = fopen ("conftest.val", "w");
21144 if (! f)
21145 return 1;
21146 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21147 {
21148 long int i = longval ();
21149 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21150 return 1;
21151 fprintf (f, "%ld\n", i);
21152 }
21153 else
21154 {
21155 unsigned long int i = ulongval ();
21156 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21157 return 1;
21158 fprintf (f, "%lu\n", i);
21159 }
21160 return ferror (f) || fclose (f) != 0;
21161
21162 ;
21163 return 0;
21164 }
21165 _ACEOF
21166 rm -f conftest$ac_exeext
21167 if { (ac_try="$ac_link"
21168 case "(($ac_try" in
21169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21170 *) ac_try_echo=$ac_try;;
21171 esac
21172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21173 (eval "$ac_link") 2>&5
21174 ac_status=$?
21175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21176 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21177 { (case "(($ac_try" in
21178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21179 *) ac_try_echo=$ac_try;;
21180 esac
21181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21182 (eval "$ac_try") 2>&5
21183 ac_status=$?
21184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21185 (exit $ac_status); }; }; then
21186 ac_cv_sizeof_int=`cat conftest.val`
21187 else
21188 echo "$as_me: program exited with status $ac_status" >&5
21189 echo "$as_me: failed program was:" >&5
21190 sed 's/^/| /' conftest.$ac_ext >&5
21191
21192 ( exit $ac_status )
21193 if test "$ac_cv_type_int" = yes; then
21194 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21195 See \`config.log' for more details." >&5
21196 echo "$as_me: error: cannot compute sizeof (int)
21197 See \`config.log' for more details." >&2;}
21198 { (exit 77); exit 77; }; }
21199 else
21200 ac_cv_sizeof_int=0
21201 fi
21202 fi
21203 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21204 fi
21205 rm -f conftest.val
21206 fi
21207 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
21208 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
21209
21210
21211
21212 cat >>confdefs.h <<_ACEOF
21213 #define SIZEOF_INT $ac_cv_sizeof_int
21214 _ACEOF
21215
21216
21217 { echo "$as_me:$LINENO: checking for long" >&5
21218 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
21219 if test "${ac_cv_type_long+set}" = set; then
21220 echo $ECHO_N "(cached) $ECHO_C" >&6
21221 else
21222 cat >conftest.$ac_ext <<_ACEOF
21223 /* confdefs.h. */
21224 _ACEOF
21225 cat confdefs.h >>conftest.$ac_ext
21226 cat >>conftest.$ac_ext <<_ACEOF
21227 /* end confdefs.h. */
21228 $ac_includes_default
21229 typedef long ac__type_new_;
21230 int
21231 main ()
21232 {
21233 if ((ac__type_new_ *) 0)
21234 return 0;
21235 if (sizeof (ac__type_new_))
21236 return 0;
21237 ;
21238 return 0;
21239 }
21240 _ACEOF
21241 rm -f conftest.$ac_objext
21242 if { (ac_try="$ac_compile"
21243 case "(($ac_try" in
21244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21245 *) ac_try_echo=$ac_try;;
21246 esac
21247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21248 (eval "$ac_compile") 2>conftest.er1
21249 ac_status=$?
21250 grep -v '^ *+' conftest.er1 >conftest.err
21251 rm -f conftest.er1
21252 cat conftest.err >&5
21253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21254 (exit $ac_status); } && {
21255 test -z "$ac_c_werror_flag" ||
21256 test ! -s conftest.err
21257 } && test -s conftest.$ac_objext; then
21258 ac_cv_type_long=yes
21259 else
21260 echo "$as_me: failed program was:" >&5
21261 sed 's/^/| /' conftest.$ac_ext >&5
21262
21263 ac_cv_type_long=no
21264 fi
21265
21266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21267 fi
21268 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
21269 echo "${ECHO_T}$ac_cv_type_long" >&6; }
21270
21271 # The cast to long int works around a bug in the HP C Compiler
21272 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21273 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21274 # This bug is HP SR number 8606223364.
21275 { echo "$as_me:$LINENO: checking size of long" >&5
21276 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
21277 if test "${ac_cv_sizeof_long+set}" = set; then
21278 echo $ECHO_N "(cached) $ECHO_C" >&6
21279 else
21280 if test "$cross_compiling" = yes; then
21281 # Depending upon the size, compute the lo and hi bounds.
21282 cat >conftest.$ac_ext <<_ACEOF
21283 /* confdefs.h. */
21284 _ACEOF
21285 cat confdefs.h >>conftest.$ac_ext
21286 cat >>conftest.$ac_ext <<_ACEOF
21287 /* end confdefs.h. */
21288 $ac_includes_default
21289 typedef long ac__type_sizeof_;
21290 int
21291 main ()
21292 {
21293 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21294 test_array [0] = 0
21295
21296 ;
21297 return 0;
21298 }
21299 _ACEOF
21300 rm -f conftest.$ac_objext
21301 if { (ac_try="$ac_compile"
21302 case "(($ac_try" in
21303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21304 *) ac_try_echo=$ac_try;;
21305 esac
21306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21307 (eval "$ac_compile") 2>conftest.er1
21308 ac_status=$?
21309 grep -v '^ *+' conftest.er1 >conftest.err
21310 rm -f conftest.er1
21311 cat conftest.err >&5
21312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21313 (exit $ac_status); } && {
21314 test -z "$ac_c_werror_flag" ||
21315 test ! -s conftest.err
21316 } && test -s conftest.$ac_objext; then
21317 ac_lo=0 ac_mid=0
21318 while :; do
21319 cat >conftest.$ac_ext <<_ACEOF
21320 /* confdefs.h. */
21321 _ACEOF
21322 cat confdefs.h >>conftest.$ac_ext
21323 cat >>conftest.$ac_ext <<_ACEOF
21324 /* end confdefs.h. */
21325 $ac_includes_default
21326 typedef long ac__type_sizeof_;
21327 int
21328 main ()
21329 {
21330 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21331 test_array [0] = 0
21332
21333 ;
21334 return 0;
21335 }
21336 _ACEOF
21337 rm -f conftest.$ac_objext
21338 if { (ac_try="$ac_compile"
21339 case "(($ac_try" in
21340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21341 *) ac_try_echo=$ac_try;;
21342 esac
21343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21344 (eval "$ac_compile") 2>conftest.er1
21345 ac_status=$?
21346 grep -v '^ *+' conftest.er1 >conftest.err
21347 rm -f conftest.er1
21348 cat conftest.err >&5
21349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21350 (exit $ac_status); } && {
21351 test -z "$ac_c_werror_flag" ||
21352 test ! -s conftest.err
21353 } && test -s conftest.$ac_objext; then
21354 ac_hi=$ac_mid; break
21355 else
21356 echo "$as_me: failed program was:" >&5
21357 sed 's/^/| /' conftest.$ac_ext >&5
21358
21359 ac_lo=`expr $ac_mid + 1`
21360 if test $ac_lo -le $ac_mid; then
21361 ac_lo= ac_hi=
21362 break
21363 fi
21364 ac_mid=`expr 2 '*' $ac_mid + 1`
21365 fi
21366
21367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21368 done
21369 else
21370 echo "$as_me: failed program was:" >&5
21371 sed 's/^/| /' conftest.$ac_ext >&5
21372
21373 cat >conftest.$ac_ext <<_ACEOF
21374 /* confdefs.h. */
21375 _ACEOF
21376 cat confdefs.h >>conftest.$ac_ext
21377 cat >>conftest.$ac_ext <<_ACEOF
21378 /* end confdefs.h. */
21379 $ac_includes_default
21380 typedef long ac__type_sizeof_;
21381 int
21382 main ()
21383 {
21384 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21385 test_array [0] = 0
21386
21387 ;
21388 return 0;
21389 }
21390 _ACEOF
21391 rm -f conftest.$ac_objext
21392 if { (ac_try="$ac_compile"
21393 case "(($ac_try" in
21394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21395 *) ac_try_echo=$ac_try;;
21396 esac
21397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21398 (eval "$ac_compile") 2>conftest.er1
21399 ac_status=$?
21400 grep -v '^ *+' conftest.er1 >conftest.err
21401 rm -f conftest.er1
21402 cat conftest.err >&5
21403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21404 (exit $ac_status); } && {
21405 test -z "$ac_c_werror_flag" ||
21406 test ! -s conftest.err
21407 } && test -s conftest.$ac_objext; then
21408 ac_hi=-1 ac_mid=-1
21409 while :; do
21410 cat >conftest.$ac_ext <<_ACEOF
21411 /* confdefs.h. */
21412 _ACEOF
21413 cat confdefs.h >>conftest.$ac_ext
21414 cat >>conftest.$ac_ext <<_ACEOF
21415 /* end confdefs.h. */
21416 $ac_includes_default
21417 typedef long ac__type_sizeof_;
21418 int
21419 main ()
21420 {
21421 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21422 test_array [0] = 0
21423
21424 ;
21425 return 0;
21426 }
21427 _ACEOF
21428 rm -f conftest.$ac_objext
21429 if { (ac_try="$ac_compile"
21430 case "(($ac_try" in
21431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21432 *) ac_try_echo=$ac_try;;
21433 esac
21434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21435 (eval "$ac_compile") 2>conftest.er1
21436 ac_status=$?
21437 grep -v '^ *+' conftest.er1 >conftest.err
21438 rm -f conftest.er1
21439 cat conftest.err >&5
21440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21441 (exit $ac_status); } && {
21442 test -z "$ac_c_werror_flag" ||
21443 test ! -s conftest.err
21444 } && test -s conftest.$ac_objext; then
21445 ac_lo=$ac_mid; break
21446 else
21447 echo "$as_me: failed program was:" >&5
21448 sed 's/^/| /' conftest.$ac_ext >&5
21449
21450 ac_hi=`expr '(' $ac_mid ')' - 1`
21451 if test $ac_mid -le $ac_hi; then
21452 ac_lo= ac_hi=
21453 break
21454 fi
21455 ac_mid=`expr 2 '*' $ac_mid`
21456 fi
21457
21458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21459 done
21460 else
21461 echo "$as_me: failed program was:" >&5
21462 sed 's/^/| /' conftest.$ac_ext >&5
21463
21464 ac_lo= ac_hi=
21465 fi
21466
21467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21468 fi
21469
21470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21471 # Binary search between lo and hi bounds.
21472 while test "x$ac_lo" != "x$ac_hi"; do
21473 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21474 cat >conftest.$ac_ext <<_ACEOF
21475 /* confdefs.h. */
21476 _ACEOF
21477 cat confdefs.h >>conftest.$ac_ext
21478 cat >>conftest.$ac_ext <<_ACEOF
21479 /* end confdefs.h. */
21480 $ac_includes_default
21481 typedef long ac__type_sizeof_;
21482 int
21483 main ()
21484 {
21485 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21486 test_array [0] = 0
21487
21488 ;
21489 return 0;
21490 }
21491 _ACEOF
21492 rm -f conftest.$ac_objext
21493 if { (ac_try="$ac_compile"
21494 case "(($ac_try" in
21495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21496 *) ac_try_echo=$ac_try;;
21497 esac
21498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21499 (eval "$ac_compile") 2>conftest.er1
21500 ac_status=$?
21501 grep -v '^ *+' conftest.er1 >conftest.err
21502 rm -f conftest.er1
21503 cat conftest.err >&5
21504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21505 (exit $ac_status); } && {
21506 test -z "$ac_c_werror_flag" ||
21507 test ! -s conftest.err
21508 } && test -s conftest.$ac_objext; then
21509 ac_hi=$ac_mid
21510 else
21511 echo "$as_me: failed program was:" >&5
21512 sed 's/^/| /' conftest.$ac_ext >&5
21513
21514 ac_lo=`expr '(' $ac_mid ')' + 1`
21515 fi
21516
21517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21518 done
21519 case $ac_lo in
21520 ?*) ac_cv_sizeof_long=$ac_lo;;
21521 '') if test "$ac_cv_type_long" = yes; then
21522 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21523 See \`config.log' for more details." >&5
21524 echo "$as_me: error: cannot compute sizeof (long)
21525 See \`config.log' for more details." >&2;}
21526 { (exit 77); exit 77; }; }
21527 else
21528 ac_cv_sizeof_long=0
21529 fi ;;
21530 esac
21531 else
21532 cat >conftest.$ac_ext <<_ACEOF
21533 /* confdefs.h. */
21534 _ACEOF
21535 cat confdefs.h >>conftest.$ac_ext
21536 cat >>conftest.$ac_ext <<_ACEOF
21537 /* end confdefs.h. */
21538 $ac_includes_default
21539 typedef long ac__type_sizeof_;
21540 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21541 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21542 #include <stdio.h>
21543 #include <stdlib.h>
21544 int
21545 main ()
21546 {
21547
21548 FILE *f = fopen ("conftest.val", "w");
21549 if (! f)
21550 return 1;
21551 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21552 {
21553 long int i = longval ();
21554 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21555 return 1;
21556 fprintf (f, "%ld\n", i);
21557 }
21558 else
21559 {
21560 unsigned long int i = ulongval ();
21561 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21562 return 1;
21563 fprintf (f, "%lu\n", i);
21564 }
21565 return ferror (f) || fclose (f) != 0;
21566
21567 ;
21568 return 0;
21569 }
21570 _ACEOF
21571 rm -f conftest$ac_exeext
21572 if { (ac_try="$ac_link"
21573 case "(($ac_try" in
21574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21575 *) ac_try_echo=$ac_try;;
21576 esac
21577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21578 (eval "$ac_link") 2>&5
21579 ac_status=$?
21580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21581 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21582 { (case "(($ac_try" in
21583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21584 *) ac_try_echo=$ac_try;;
21585 esac
21586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21587 (eval "$ac_try") 2>&5
21588 ac_status=$?
21589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21590 (exit $ac_status); }; }; then
21591 ac_cv_sizeof_long=`cat conftest.val`
21592 else
21593 echo "$as_me: program exited with status $ac_status" >&5
21594 echo "$as_me: failed program was:" >&5
21595 sed 's/^/| /' conftest.$ac_ext >&5
21596
21597 ( exit $ac_status )
21598 if test "$ac_cv_type_long" = yes; then
21599 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21600 See \`config.log' for more details." >&5
21601 echo "$as_me: error: cannot compute sizeof (long)
21602 See \`config.log' for more details." >&2;}
21603 { (exit 77); exit 77; }; }
21604 else
21605 ac_cv_sizeof_long=0
21606 fi
21607 fi
21608 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21609 fi
21610 rm -f conftest.val
21611 fi
21612 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21613 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21614
21615
21616
21617 cat >>confdefs.h <<_ACEOF
21618 #define SIZEOF_LONG $ac_cv_sizeof_long
21619 _ACEOF
21620
21621
21622 { echo "$as_me:$LINENO: checking for size_t" >&5
21623 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21624 if test "${ac_cv_type_size_t+set}" = set; then
21625 echo $ECHO_N "(cached) $ECHO_C" >&6
21626 else
21627 cat >conftest.$ac_ext <<_ACEOF
21628 /* confdefs.h. */
21629 _ACEOF
21630 cat confdefs.h >>conftest.$ac_ext
21631 cat >>conftest.$ac_ext <<_ACEOF
21632 /* end confdefs.h. */
21633 $ac_includes_default
21634 typedef size_t ac__type_new_;
21635 int
21636 main ()
21637 {
21638 if ((ac__type_new_ *) 0)
21639 return 0;
21640 if (sizeof (ac__type_new_))
21641 return 0;
21642 ;
21643 return 0;
21644 }
21645 _ACEOF
21646 rm -f conftest.$ac_objext
21647 if { (ac_try="$ac_compile"
21648 case "(($ac_try" in
21649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21650 *) ac_try_echo=$ac_try;;
21651 esac
21652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21653 (eval "$ac_compile") 2>conftest.er1
21654 ac_status=$?
21655 grep -v '^ *+' conftest.er1 >conftest.err
21656 rm -f conftest.er1
21657 cat conftest.err >&5
21658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21659 (exit $ac_status); } && {
21660 test -z "$ac_c_werror_flag" ||
21661 test ! -s conftest.err
21662 } && test -s conftest.$ac_objext; then
21663 ac_cv_type_size_t=yes
21664 else
21665 echo "$as_me: failed program was:" >&5
21666 sed 's/^/| /' conftest.$ac_ext >&5
21667
21668 ac_cv_type_size_t=no
21669 fi
21670
21671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21672 fi
21673 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21674 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21675
21676 # The cast to long int works around a bug in the HP C Compiler
21677 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21678 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21679 # This bug is HP SR number 8606223364.
21680 { echo "$as_me:$LINENO: checking size of size_t" >&5
21681 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21682 if test "${ac_cv_sizeof_size_t+set}" = set; then
21683 echo $ECHO_N "(cached) $ECHO_C" >&6
21684 else
21685 if test "$cross_compiling" = yes; then
21686 # Depending upon the size, compute the lo and hi bounds.
21687 cat >conftest.$ac_ext <<_ACEOF
21688 /* confdefs.h. */
21689 _ACEOF
21690 cat confdefs.h >>conftest.$ac_ext
21691 cat >>conftest.$ac_ext <<_ACEOF
21692 /* end confdefs.h. */
21693 $ac_includes_default
21694 typedef size_t ac__type_sizeof_;
21695 int
21696 main ()
21697 {
21698 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21699 test_array [0] = 0
21700
21701 ;
21702 return 0;
21703 }
21704 _ACEOF
21705 rm -f conftest.$ac_objext
21706 if { (ac_try="$ac_compile"
21707 case "(($ac_try" in
21708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21709 *) ac_try_echo=$ac_try;;
21710 esac
21711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21712 (eval "$ac_compile") 2>conftest.er1
21713 ac_status=$?
21714 grep -v '^ *+' conftest.er1 >conftest.err
21715 rm -f conftest.er1
21716 cat conftest.err >&5
21717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21718 (exit $ac_status); } && {
21719 test -z "$ac_c_werror_flag" ||
21720 test ! -s conftest.err
21721 } && test -s conftest.$ac_objext; then
21722 ac_lo=0 ac_mid=0
21723 while :; do
21724 cat >conftest.$ac_ext <<_ACEOF
21725 /* confdefs.h. */
21726 _ACEOF
21727 cat confdefs.h >>conftest.$ac_ext
21728 cat >>conftest.$ac_ext <<_ACEOF
21729 /* end confdefs.h. */
21730 $ac_includes_default
21731 typedef size_t ac__type_sizeof_;
21732 int
21733 main ()
21734 {
21735 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21736 test_array [0] = 0
21737
21738 ;
21739 return 0;
21740 }
21741 _ACEOF
21742 rm -f conftest.$ac_objext
21743 if { (ac_try="$ac_compile"
21744 case "(($ac_try" in
21745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21746 *) ac_try_echo=$ac_try;;
21747 esac
21748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21749 (eval "$ac_compile") 2>conftest.er1
21750 ac_status=$?
21751 grep -v '^ *+' conftest.er1 >conftest.err
21752 rm -f conftest.er1
21753 cat conftest.err >&5
21754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21755 (exit $ac_status); } && {
21756 test -z "$ac_c_werror_flag" ||
21757 test ! -s conftest.err
21758 } && test -s conftest.$ac_objext; then
21759 ac_hi=$ac_mid; break
21760 else
21761 echo "$as_me: failed program was:" >&5
21762 sed 's/^/| /' conftest.$ac_ext >&5
21763
21764 ac_lo=`expr $ac_mid + 1`
21765 if test $ac_lo -le $ac_mid; then
21766 ac_lo= ac_hi=
21767 break
21768 fi
21769 ac_mid=`expr 2 '*' $ac_mid + 1`
21770 fi
21771
21772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21773 done
21774 else
21775 echo "$as_me: failed program was:" >&5
21776 sed 's/^/| /' conftest.$ac_ext >&5
21777
21778 cat >conftest.$ac_ext <<_ACEOF
21779 /* confdefs.h. */
21780 _ACEOF
21781 cat confdefs.h >>conftest.$ac_ext
21782 cat >>conftest.$ac_ext <<_ACEOF
21783 /* end confdefs.h. */
21784 $ac_includes_default
21785 typedef size_t ac__type_sizeof_;
21786 int
21787 main ()
21788 {
21789 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21790 test_array [0] = 0
21791
21792 ;
21793 return 0;
21794 }
21795 _ACEOF
21796 rm -f conftest.$ac_objext
21797 if { (ac_try="$ac_compile"
21798 case "(($ac_try" in
21799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21800 *) ac_try_echo=$ac_try;;
21801 esac
21802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21803 (eval "$ac_compile") 2>conftest.er1
21804 ac_status=$?
21805 grep -v '^ *+' conftest.er1 >conftest.err
21806 rm -f conftest.er1
21807 cat conftest.err >&5
21808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21809 (exit $ac_status); } && {
21810 test -z "$ac_c_werror_flag" ||
21811 test ! -s conftest.err
21812 } && test -s conftest.$ac_objext; then
21813 ac_hi=-1 ac_mid=-1
21814 while :; do
21815 cat >conftest.$ac_ext <<_ACEOF
21816 /* confdefs.h. */
21817 _ACEOF
21818 cat confdefs.h >>conftest.$ac_ext
21819 cat >>conftest.$ac_ext <<_ACEOF
21820 /* end confdefs.h. */
21821 $ac_includes_default
21822 typedef size_t ac__type_sizeof_;
21823 int
21824 main ()
21825 {
21826 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21827 test_array [0] = 0
21828
21829 ;
21830 return 0;
21831 }
21832 _ACEOF
21833 rm -f conftest.$ac_objext
21834 if { (ac_try="$ac_compile"
21835 case "(($ac_try" in
21836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21837 *) ac_try_echo=$ac_try;;
21838 esac
21839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21840 (eval "$ac_compile") 2>conftest.er1
21841 ac_status=$?
21842 grep -v '^ *+' conftest.er1 >conftest.err
21843 rm -f conftest.er1
21844 cat conftest.err >&5
21845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21846 (exit $ac_status); } && {
21847 test -z "$ac_c_werror_flag" ||
21848 test ! -s conftest.err
21849 } && test -s conftest.$ac_objext; then
21850 ac_lo=$ac_mid; break
21851 else
21852 echo "$as_me: failed program was:" >&5
21853 sed 's/^/| /' conftest.$ac_ext >&5
21854
21855 ac_hi=`expr '(' $ac_mid ')' - 1`
21856 if test $ac_mid -le $ac_hi; then
21857 ac_lo= ac_hi=
21858 break
21859 fi
21860 ac_mid=`expr 2 '*' $ac_mid`
21861 fi
21862
21863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21864 done
21865 else
21866 echo "$as_me: failed program was:" >&5
21867 sed 's/^/| /' conftest.$ac_ext >&5
21868
21869 ac_lo= ac_hi=
21870 fi
21871
21872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21873 fi
21874
21875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21876 # Binary search between lo and hi bounds.
21877 while test "x$ac_lo" != "x$ac_hi"; do
21878 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21879 cat >conftest.$ac_ext <<_ACEOF
21880 /* confdefs.h. */
21881 _ACEOF
21882 cat confdefs.h >>conftest.$ac_ext
21883 cat >>conftest.$ac_ext <<_ACEOF
21884 /* end confdefs.h. */
21885 $ac_includes_default
21886 typedef size_t ac__type_sizeof_;
21887 int
21888 main ()
21889 {
21890 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21891 test_array [0] = 0
21892
21893 ;
21894 return 0;
21895 }
21896 _ACEOF
21897 rm -f conftest.$ac_objext
21898 if { (ac_try="$ac_compile"
21899 case "(($ac_try" in
21900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21901 *) ac_try_echo=$ac_try;;
21902 esac
21903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21904 (eval "$ac_compile") 2>conftest.er1
21905 ac_status=$?
21906 grep -v '^ *+' conftest.er1 >conftest.err
21907 rm -f conftest.er1
21908 cat conftest.err >&5
21909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21910 (exit $ac_status); } && {
21911 test -z "$ac_c_werror_flag" ||
21912 test ! -s conftest.err
21913 } && test -s conftest.$ac_objext; then
21914 ac_hi=$ac_mid
21915 else
21916 echo "$as_me: failed program was:" >&5
21917 sed 's/^/| /' conftest.$ac_ext >&5
21918
21919 ac_lo=`expr '(' $ac_mid ')' + 1`
21920 fi
21921
21922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21923 done
21924 case $ac_lo in
21925 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21926 '') if test "$ac_cv_type_size_t" = yes; then
21927 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21928 See \`config.log' for more details." >&5
21929 echo "$as_me: error: cannot compute sizeof (size_t)
21930 See \`config.log' for more details." >&2;}
21931 { (exit 77); exit 77; }; }
21932 else
21933 ac_cv_sizeof_size_t=0
21934 fi ;;
21935 esac
21936 else
21937 cat >conftest.$ac_ext <<_ACEOF
21938 /* confdefs.h. */
21939 _ACEOF
21940 cat confdefs.h >>conftest.$ac_ext
21941 cat >>conftest.$ac_ext <<_ACEOF
21942 /* end confdefs.h. */
21943 $ac_includes_default
21944 typedef size_t ac__type_sizeof_;
21945 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21946 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21947 #include <stdio.h>
21948 #include <stdlib.h>
21949 int
21950 main ()
21951 {
21952
21953 FILE *f = fopen ("conftest.val", "w");
21954 if (! f)
21955 return 1;
21956 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21957 {
21958 long int i = longval ();
21959 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21960 return 1;
21961 fprintf (f, "%ld\n", i);
21962 }
21963 else
21964 {
21965 unsigned long int i = ulongval ();
21966 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21967 return 1;
21968 fprintf (f, "%lu\n", i);
21969 }
21970 return ferror (f) || fclose (f) != 0;
21971
21972 ;
21973 return 0;
21974 }
21975 _ACEOF
21976 rm -f conftest$ac_exeext
21977 if { (ac_try="$ac_link"
21978 case "(($ac_try" in
21979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21980 *) ac_try_echo=$ac_try;;
21981 esac
21982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21983 (eval "$ac_link") 2>&5
21984 ac_status=$?
21985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21986 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21987 { (case "(($ac_try" in
21988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21989 *) ac_try_echo=$ac_try;;
21990 esac
21991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21992 (eval "$ac_try") 2>&5
21993 ac_status=$?
21994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21995 (exit $ac_status); }; }; then
21996 ac_cv_sizeof_size_t=`cat conftest.val`
21997 else
21998 echo "$as_me: program exited with status $ac_status" >&5
21999 echo "$as_me: failed program was:" >&5
22000 sed 's/^/| /' conftest.$ac_ext >&5
22001
22002 ( exit $ac_status )
22003 if test "$ac_cv_type_size_t" = yes; then
22004 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22005 See \`config.log' for more details." >&5
22006 echo "$as_me: error: cannot compute sizeof (size_t)
22007 See \`config.log' for more details." >&2;}
22008 { (exit 77); exit 77; }; }
22009 else
22010 ac_cv_sizeof_size_t=0
22011 fi
22012 fi
22013 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22014 fi
22015 rm -f conftest.val
22016 fi
22017 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
22018 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
22019
22020
22021
22022 cat >>confdefs.h <<_ACEOF
22023 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
22024 _ACEOF
22025
22026
22027
22028 case "${host}" in
22029 arm-*-linux* )
22030 { echo "$as_me:$LINENO: checking for long long" >&5
22031 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22032 if test "${ac_cv_type_long_long+set}" = set; then
22033 echo $ECHO_N "(cached) $ECHO_C" >&6
22034 else
22035 cat >conftest.$ac_ext <<_ACEOF
22036 /* confdefs.h. */
22037 _ACEOF
22038 cat confdefs.h >>conftest.$ac_ext
22039 cat >>conftest.$ac_ext <<_ACEOF
22040 /* end confdefs.h. */
22041 $ac_includes_default
22042 typedef long long ac__type_new_;
22043 int
22044 main ()
22045 {
22046 if ((ac__type_new_ *) 0)
22047 return 0;
22048 if (sizeof (ac__type_new_))
22049 return 0;
22050 ;
22051 return 0;
22052 }
22053 _ACEOF
22054 rm -f conftest.$ac_objext
22055 if { (ac_try="$ac_compile"
22056 case "(($ac_try" in
22057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22058 *) ac_try_echo=$ac_try;;
22059 esac
22060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22061 (eval "$ac_compile") 2>conftest.er1
22062 ac_status=$?
22063 grep -v '^ *+' conftest.er1 >conftest.err
22064 rm -f conftest.er1
22065 cat conftest.err >&5
22066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22067 (exit $ac_status); } && {
22068 test -z "$ac_c_werror_flag" ||
22069 test ! -s conftest.err
22070 } && test -s conftest.$ac_objext; then
22071 ac_cv_type_long_long=yes
22072 else
22073 echo "$as_me: failed program was:" >&5
22074 sed 's/^/| /' conftest.$ac_ext >&5
22075
22076 ac_cv_type_long_long=no
22077 fi
22078
22079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22080 fi
22081 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22082 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22083
22084 # The cast to long int works around a bug in the HP C Compiler
22085 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22086 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22087 # This bug is HP SR number 8606223364.
22088 { echo "$as_me:$LINENO: checking size of long long" >&5
22089 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22090 if test "${ac_cv_sizeof_long_long+set}" = set; then
22091 echo $ECHO_N "(cached) $ECHO_C" >&6
22092 else
22093 if test "$cross_compiling" = yes; then
22094 # Depending upon the size, compute the lo and hi bounds.
22095 cat >conftest.$ac_ext <<_ACEOF
22096 /* confdefs.h. */
22097 _ACEOF
22098 cat confdefs.h >>conftest.$ac_ext
22099 cat >>conftest.$ac_ext <<_ACEOF
22100 /* end confdefs.h. */
22101 $ac_includes_default
22102 typedef long long ac__type_sizeof_;
22103 int
22104 main ()
22105 {
22106 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22107 test_array [0] = 0
22108
22109 ;
22110 return 0;
22111 }
22112 _ACEOF
22113 rm -f conftest.$ac_objext
22114 if { (ac_try="$ac_compile"
22115 case "(($ac_try" in
22116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22117 *) ac_try_echo=$ac_try;;
22118 esac
22119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22120 (eval "$ac_compile") 2>conftest.er1
22121 ac_status=$?
22122 grep -v '^ *+' conftest.er1 >conftest.err
22123 rm -f conftest.er1
22124 cat conftest.err >&5
22125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22126 (exit $ac_status); } && {
22127 test -z "$ac_c_werror_flag" ||
22128 test ! -s conftest.err
22129 } && test -s conftest.$ac_objext; then
22130 ac_lo=0 ac_mid=0
22131 while :; do
22132 cat >conftest.$ac_ext <<_ACEOF
22133 /* confdefs.h. */
22134 _ACEOF
22135 cat confdefs.h >>conftest.$ac_ext
22136 cat >>conftest.$ac_ext <<_ACEOF
22137 /* end confdefs.h. */
22138 $ac_includes_default
22139 typedef long long ac__type_sizeof_;
22140 int
22141 main ()
22142 {
22143 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22144 test_array [0] = 0
22145
22146 ;
22147 return 0;
22148 }
22149 _ACEOF
22150 rm -f conftest.$ac_objext
22151 if { (ac_try="$ac_compile"
22152 case "(($ac_try" in
22153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22154 *) ac_try_echo=$ac_try;;
22155 esac
22156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22157 (eval "$ac_compile") 2>conftest.er1
22158 ac_status=$?
22159 grep -v '^ *+' conftest.er1 >conftest.err
22160 rm -f conftest.er1
22161 cat conftest.err >&5
22162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22163 (exit $ac_status); } && {
22164 test -z "$ac_c_werror_flag" ||
22165 test ! -s conftest.err
22166 } && test -s conftest.$ac_objext; then
22167 ac_hi=$ac_mid; break
22168 else
22169 echo "$as_me: failed program was:" >&5
22170 sed 's/^/| /' conftest.$ac_ext >&5
22171
22172 ac_lo=`expr $ac_mid + 1`
22173 if test $ac_lo -le $ac_mid; then
22174 ac_lo= ac_hi=
22175 break
22176 fi
22177 ac_mid=`expr 2 '*' $ac_mid + 1`
22178 fi
22179
22180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22181 done
22182 else
22183 echo "$as_me: failed program was:" >&5
22184 sed 's/^/| /' conftest.$ac_ext >&5
22185
22186 cat >conftest.$ac_ext <<_ACEOF
22187 /* confdefs.h. */
22188 _ACEOF
22189 cat confdefs.h >>conftest.$ac_ext
22190 cat >>conftest.$ac_ext <<_ACEOF
22191 /* end confdefs.h. */
22192 $ac_includes_default
22193 typedef long long ac__type_sizeof_;
22194 int
22195 main ()
22196 {
22197 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22198 test_array [0] = 0
22199
22200 ;
22201 return 0;
22202 }
22203 _ACEOF
22204 rm -f conftest.$ac_objext
22205 if { (ac_try="$ac_compile"
22206 case "(($ac_try" in
22207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22208 *) ac_try_echo=$ac_try;;
22209 esac
22210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22211 (eval "$ac_compile") 2>conftest.er1
22212 ac_status=$?
22213 grep -v '^ *+' conftest.er1 >conftest.err
22214 rm -f conftest.er1
22215 cat conftest.err >&5
22216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22217 (exit $ac_status); } && {
22218 test -z "$ac_c_werror_flag" ||
22219 test ! -s conftest.err
22220 } && test -s conftest.$ac_objext; then
22221 ac_hi=-1 ac_mid=-1
22222 while :; do
22223 cat >conftest.$ac_ext <<_ACEOF
22224 /* confdefs.h. */
22225 _ACEOF
22226 cat confdefs.h >>conftest.$ac_ext
22227 cat >>conftest.$ac_ext <<_ACEOF
22228 /* end confdefs.h. */
22229 $ac_includes_default
22230 typedef long long ac__type_sizeof_;
22231 int
22232 main ()
22233 {
22234 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22235 test_array [0] = 0
22236
22237 ;
22238 return 0;
22239 }
22240 _ACEOF
22241 rm -f conftest.$ac_objext
22242 if { (ac_try="$ac_compile"
22243 case "(($ac_try" in
22244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22245 *) ac_try_echo=$ac_try;;
22246 esac
22247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22248 (eval "$ac_compile") 2>conftest.er1
22249 ac_status=$?
22250 grep -v '^ *+' conftest.er1 >conftest.err
22251 rm -f conftest.er1
22252 cat conftest.err >&5
22253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22254 (exit $ac_status); } && {
22255 test -z "$ac_c_werror_flag" ||
22256 test ! -s conftest.err
22257 } && test -s conftest.$ac_objext; then
22258 ac_lo=$ac_mid; break
22259 else
22260 echo "$as_me: failed program was:" >&5
22261 sed 's/^/| /' conftest.$ac_ext >&5
22262
22263 ac_hi=`expr '(' $ac_mid ')' - 1`
22264 if test $ac_mid -le $ac_hi; then
22265 ac_lo= ac_hi=
22266 break
22267 fi
22268 ac_mid=`expr 2 '*' $ac_mid`
22269 fi
22270
22271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22272 done
22273 else
22274 echo "$as_me: failed program was:" >&5
22275 sed 's/^/| /' conftest.$ac_ext >&5
22276
22277 ac_lo= ac_hi=
22278 fi
22279
22280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22281 fi
22282
22283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22284 # Binary search between lo and hi bounds.
22285 while test "x$ac_lo" != "x$ac_hi"; do
22286 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22287 cat >conftest.$ac_ext <<_ACEOF
22288 /* confdefs.h. */
22289 _ACEOF
22290 cat confdefs.h >>conftest.$ac_ext
22291 cat >>conftest.$ac_ext <<_ACEOF
22292 /* end confdefs.h. */
22293 $ac_includes_default
22294 typedef long long ac__type_sizeof_;
22295 int
22296 main ()
22297 {
22298 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22299 test_array [0] = 0
22300
22301 ;
22302 return 0;
22303 }
22304 _ACEOF
22305 rm -f conftest.$ac_objext
22306 if { (ac_try="$ac_compile"
22307 case "(($ac_try" in
22308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22309 *) ac_try_echo=$ac_try;;
22310 esac
22311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22312 (eval "$ac_compile") 2>conftest.er1
22313 ac_status=$?
22314 grep -v '^ *+' conftest.er1 >conftest.err
22315 rm -f conftest.er1
22316 cat conftest.err >&5
22317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22318 (exit $ac_status); } && {
22319 test -z "$ac_c_werror_flag" ||
22320 test ! -s conftest.err
22321 } && test -s conftest.$ac_objext; then
22322 ac_hi=$ac_mid
22323 else
22324 echo "$as_me: failed program was:" >&5
22325 sed 's/^/| /' conftest.$ac_ext >&5
22326
22327 ac_lo=`expr '(' $ac_mid ')' + 1`
22328 fi
22329
22330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22331 done
22332 case $ac_lo in
22333 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22334 '') if test "$ac_cv_type_long_long" = yes; then
22335 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22336 See \`config.log' for more details." >&5
22337 echo "$as_me: error: cannot compute sizeof (long long)
22338 See \`config.log' for more details." >&2;}
22339 { (exit 77); exit 77; }; }
22340 else
22341 ac_cv_sizeof_long_long=0
22342 fi ;;
22343 esac
22344 else
22345 cat >conftest.$ac_ext <<_ACEOF
22346 /* confdefs.h. */
22347 _ACEOF
22348 cat confdefs.h >>conftest.$ac_ext
22349 cat >>conftest.$ac_ext <<_ACEOF
22350 /* end confdefs.h. */
22351 $ac_includes_default
22352 typedef long long ac__type_sizeof_;
22353 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22354 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22355 #include <stdio.h>
22356 #include <stdlib.h>
22357 int
22358 main ()
22359 {
22360
22361 FILE *f = fopen ("conftest.val", "w");
22362 if (! f)
22363 return 1;
22364 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22365 {
22366 long int i = longval ();
22367 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22368 return 1;
22369 fprintf (f, "%ld\n", i);
22370 }
22371 else
22372 {
22373 unsigned long int i = ulongval ();
22374 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22375 return 1;
22376 fprintf (f, "%lu\n", i);
22377 }
22378 return ferror (f) || fclose (f) != 0;
22379
22380 ;
22381 return 0;
22382 }
22383 _ACEOF
22384 rm -f conftest$ac_exeext
22385 if { (ac_try="$ac_link"
22386 case "(($ac_try" in
22387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22388 *) ac_try_echo=$ac_try;;
22389 esac
22390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22391 (eval "$ac_link") 2>&5
22392 ac_status=$?
22393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22394 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22395 { (case "(($ac_try" in
22396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22397 *) ac_try_echo=$ac_try;;
22398 esac
22399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22400 (eval "$ac_try") 2>&5
22401 ac_status=$?
22402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22403 (exit $ac_status); }; }; then
22404 ac_cv_sizeof_long_long=`cat conftest.val`
22405 else
22406 echo "$as_me: program exited with status $ac_status" >&5
22407 echo "$as_me: failed program was:" >&5
22408 sed 's/^/| /' conftest.$ac_ext >&5
22409
22410 ( exit $ac_status )
22411 if test "$ac_cv_type_long_long" = yes; then
22412 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22413 See \`config.log' for more details." >&5
22414 echo "$as_me: error: cannot compute sizeof (long long)
22415 See \`config.log' for more details." >&2;}
22416 { (exit 77); exit 77; }; }
22417 else
22418 ac_cv_sizeof_long_long=0
22419 fi
22420 fi
22421 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22422 fi
22423 rm -f conftest.val
22424 fi
22425 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22426 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22427
22428
22429
22430 cat >>confdefs.h <<_ACEOF
22431 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22432 _ACEOF
22433
22434
22435 ;;
22436 *-hp-hpux* )
22437 { echo "$as_me:$LINENO: checking for long long" >&5
22438 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22439 if test "${ac_cv_type_long_long+set}" = set; then
22440 echo $ECHO_N "(cached) $ECHO_C" >&6
22441 else
22442 cat >conftest.$ac_ext <<_ACEOF
22443 /* confdefs.h. */
22444 _ACEOF
22445 cat confdefs.h >>conftest.$ac_ext
22446 cat >>conftest.$ac_ext <<_ACEOF
22447 /* end confdefs.h. */
22448 $ac_includes_default
22449 typedef long long ac__type_new_;
22450 int
22451 main ()
22452 {
22453 if ((ac__type_new_ *) 0)
22454 return 0;
22455 if (sizeof (ac__type_new_))
22456 return 0;
22457 ;
22458 return 0;
22459 }
22460 _ACEOF
22461 rm -f conftest.$ac_objext
22462 if { (ac_try="$ac_compile"
22463 case "(($ac_try" in
22464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22465 *) ac_try_echo=$ac_try;;
22466 esac
22467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22468 (eval "$ac_compile") 2>conftest.er1
22469 ac_status=$?
22470 grep -v '^ *+' conftest.er1 >conftest.err
22471 rm -f conftest.er1
22472 cat conftest.err >&5
22473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22474 (exit $ac_status); } && {
22475 test -z "$ac_c_werror_flag" ||
22476 test ! -s conftest.err
22477 } && test -s conftest.$ac_objext; then
22478 ac_cv_type_long_long=yes
22479 else
22480 echo "$as_me: failed program was:" >&5
22481 sed 's/^/| /' conftest.$ac_ext >&5
22482
22483 ac_cv_type_long_long=no
22484 fi
22485
22486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22487 fi
22488 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22489 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22490
22491 # The cast to long int works around a bug in the HP C Compiler
22492 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22493 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22494 # This bug is HP SR number 8606223364.
22495 { echo "$as_me:$LINENO: checking size of long long" >&5
22496 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22497 if test "${ac_cv_sizeof_long_long+set}" = set; then
22498 echo $ECHO_N "(cached) $ECHO_C" >&6
22499 else
22500 if test "$cross_compiling" = yes; then
22501 # Depending upon the size, compute the lo and hi bounds.
22502 cat >conftest.$ac_ext <<_ACEOF
22503 /* confdefs.h. */
22504 _ACEOF
22505 cat confdefs.h >>conftest.$ac_ext
22506 cat >>conftest.$ac_ext <<_ACEOF
22507 /* end confdefs.h. */
22508 $ac_includes_default
22509 typedef long long ac__type_sizeof_;
22510 int
22511 main ()
22512 {
22513 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22514 test_array [0] = 0
22515
22516 ;
22517 return 0;
22518 }
22519 _ACEOF
22520 rm -f conftest.$ac_objext
22521 if { (ac_try="$ac_compile"
22522 case "(($ac_try" in
22523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22524 *) ac_try_echo=$ac_try;;
22525 esac
22526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22527 (eval "$ac_compile") 2>conftest.er1
22528 ac_status=$?
22529 grep -v '^ *+' conftest.er1 >conftest.err
22530 rm -f conftest.er1
22531 cat conftest.err >&5
22532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22533 (exit $ac_status); } && {
22534 test -z "$ac_c_werror_flag" ||
22535 test ! -s conftest.err
22536 } && test -s conftest.$ac_objext; then
22537 ac_lo=0 ac_mid=0
22538 while :; do
22539 cat >conftest.$ac_ext <<_ACEOF
22540 /* confdefs.h. */
22541 _ACEOF
22542 cat confdefs.h >>conftest.$ac_ext
22543 cat >>conftest.$ac_ext <<_ACEOF
22544 /* end confdefs.h. */
22545 $ac_includes_default
22546 typedef long long ac__type_sizeof_;
22547 int
22548 main ()
22549 {
22550 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22551 test_array [0] = 0
22552
22553 ;
22554 return 0;
22555 }
22556 _ACEOF
22557 rm -f conftest.$ac_objext
22558 if { (ac_try="$ac_compile"
22559 case "(($ac_try" in
22560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22561 *) ac_try_echo=$ac_try;;
22562 esac
22563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22564 (eval "$ac_compile") 2>conftest.er1
22565 ac_status=$?
22566 grep -v '^ *+' conftest.er1 >conftest.err
22567 rm -f conftest.er1
22568 cat conftest.err >&5
22569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22570 (exit $ac_status); } && {
22571 test -z "$ac_c_werror_flag" ||
22572 test ! -s conftest.err
22573 } && test -s conftest.$ac_objext; then
22574 ac_hi=$ac_mid; break
22575 else
22576 echo "$as_me: failed program was:" >&5
22577 sed 's/^/| /' conftest.$ac_ext >&5
22578
22579 ac_lo=`expr $ac_mid + 1`
22580 if test $ac_lo -le $ac_mid; then
22581 ac_lo= ac_hi=
22582 break
22583 fi
22584 ac_mid=`expr 2 '*' $ac_mid + 1`
22585 fi
22586
22587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22588 done
22589 else
22590 echo "$as_me: failed program was:" >&5
22591 sed 's/^/| /' conftest.$ac_ext >&5
22592
22593 cat >conftest.$ac_ext <<_ACEOF
22594 /* confdefs.h. */
22595 _ACEOF
22596 cat confdefs.h >>conftest.$ac_ext
22597 cat >>conftest.$ac_ext <<_ACEOF
22598 /* end confdefs.h. */
22599 $ac_includes_default
22600 typedef long long ac__type_sizeof_;
22601 int
22602 main ()
22603 {
22604 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22605 test_array [0] = 0
22606
22607 ;
22608 return 0;
22609 }
22610 _ACEOF
22611 rm -f conftest.$ac_objext
22612 if { (ac_try="$ac_compile"
22613 case "(($ac_try" in
22614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22615 *) ac_try_echo=$ac_try;;
22616 esac
22617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22618 (eval "$ac_compile") 2>conftest.er1
22619 ac_status=$?
22620 grep -v '^ *+' conftest.er1 >conftest.err
22621 rm -f conftest.er1
22622 cat conftest.err >&5
22623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22624 (exit $ac_status); } && {
22625 test -z "$ac_c_werror_flag" ||
22626 test ! -s conftest.err
22627 } && test -s conftest.$ac_objext; then
22628 ac_hi=-1 ac_mid=-1
22629 while :; do
22630 cat >conftest.$ac_ext <<_ACEOF
22631 /* confdefs.h. */
22632 _ACEOF
22633 cat confdefs.h >>conftest.$ac_ext
22634 cat >>conftest.$ac_ext <<_ACEOF
22635 /* end confdefs.h. */
22636 $ac_includes_default
22637 typedef long long ac__type_sizeof_;
22638 int
22639 main ()
22640 {
22641 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22642 test_array [0] = 0
22643
22644 ;
22645 return 0;
22646 }
22647 _ACEOF
22648 rm -f conftest.$ac_objext
22649 if { (ac_try="$ac_compile"
22650 case "(($ac_try" in
22651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22652 *) ac_try_echo=$ac_try;;
22653 esac
22654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22655 (eval "$ac_compile") 2>conftest.er1
22656 ac_status=$?
22657 grep -v '^ *+' conftest.er1 >conftest.err
22658 rm -f conftest.er1
22659 cat conftest.err >&5
22660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22661 (exit $ac_status); } && {
22662 test -z "$ac_c_werror_flag" ||
22663 test ! -s conftest.err
22664 } && test -s conftest.$ac_objext; then
22665 ac_lo=$ac_mid; break
22666 else
22667 echo "$as_me: failed program was:" >&5
22668 sed 's/^/| /' conftest.$ac_ext >&5
22669
22670 ac_hi=`expr '(' $ac_mid ')' - 1`
22671 if test $ac_mid -le $ac_hi; then
22672 ac_lo= ac_hi=
22673 break
22674 fi
22675 ac_mid=`expr 2 '*' $ac_mid`
22676 fi
22677
22678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22679 done
22680 else
22681 echo "$as_me: failed program was:" >&5
22682 sed 's/^/| /' conftest.$ac_ext >&5
22683
22684 ac_lo= ac_hi=
22685 fi
22686
22687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22688 fi
22689
22690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22691 # Binary search between lo and hi bounds.
22692 while test "x$ac_lo" != "x$ac_hi"; do
22693 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22694 cat >conftest.$ac_ext <<_ACEOF
22695 /* confdefs.h. */
22696 _ACEOF
22697 cat confdefs.h >>conftest.$ac_ext
22698 cat >>conftest.$ac_ext <<_ACEOF
22699 /* end confdefs.h. */
22700 $ac_includes_default
22701 typedef long long ac__type_sizeof_;
22702 int
22703 main ()
22704 {
22705 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22706 test_array [0] = 0
22707
22708 ;
22709 return 0;
22710 }
22711 _ACEOF
22712 rm -f conftest.$ac_objext
22713 if { (ac_try="$ac_compile"
22714 case "(($ac_try" in
22715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22716 *) ac_try_echo=$ac_try;;
22717 esac
22718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22719 (eval "$ac_compile") 2>conftest.er1
22720 ac_status=$?
22721 grep -v '^ *+' conftest.er1 >conftest.err
22722 rm -f conftest.er1
22723 cat conftest.err >&5
22724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22725 (exit $ac_status); } && {
22726 test -z "$ac_c_werror_flag" ||
22727 test ! -s conftest.err
22728 } && test -s conftest.$ac_objext; then
22729 ac_hi=$ac_mid
22730 else
22731 echo "$as_me: failed program was:" >&5
22732 sed 's/^/| /' conftest.$ac_ext >&5
22733
22734 ac_lo=`expr '(' $ac_mid ')' + 1`
22735 fi
22736
22737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22738 done
22739 case $ac_lo in
22740 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22741 '') if test "$ac_cv_type_long_long" = yes; then
22742 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22743 See \`config.log' for more details." >&5
22744 echo "$as_me: error: cannot compute sizeof (long long)
22745 See \`config.log' for more details." >&2;}
22746 { (exit 77); exit 77; }; }
22747 else
22748 ac_cv_sizeof_long_long=0
22749 fi ;;
22750 esac
22751 else
22752 cat >conftest.$ac_ext <<_ACEOF
22753 /* confdefs.h. */
22754 _ACEOF
22755 cat confdefs.h >>conftest.$ac_ext
22756 cat >>conftest.$ac_ext <<_ACEOF
22757 /* end confdefs.h. */
22758 $ac_includes_default
22759 typedef long long ac__type_sizeof_;
22760 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22761 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22762 #include <stdio.h>
22763 #include <stdlib.h>
22764 int
22765 main ()
22766 {
22767
22768 FILE *f = fopen ("conftest.val", "w");
22769 if (! f)
22770 return 1;
22771 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22772 {
22773 long int i = longval ();
22774 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22775 return 1;
22776 fprintf (f, "%ld\n", i);
22777 }
22778 else
22779 {
22780 unsigned long int i = ulongval ();
22781 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22782 return 1;
22783 fprintf (f, "%lu\n", i);
22784 }
22785 return ferror (f) || fclose (f) != 0;
22786
22787 ;
22788 return 0;
22789 }
22790 _ACEOF
22791 rm -f conftest$ac_exeext
22792 if { (ac_try="$ac_link"
22793 case "(($ac_try" in
22794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22795 *) ac_try_echo=$ac_try;;
22796 esac
22797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22798 (eval "$ac_link") 2>&5
22799 ac_status=$?
22800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22801 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22802 { (case "(($ac_try" in
22803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22804 *) ac_try_echo=$ac_try;;
22805 esac
22806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22807 (eval "$ac_try") 2>&5
22808 ac_status=$?
22809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22810 (exit $ac_status); }; }; then
22811 ac_cv_sizeof_long_long=`cat conftest.val`
22812 else
22813 echo "$as_me: program exited with status $ac_status" >&5
22814 echo "$as_me: failed program was:" >&5
22815 sed 's/^/| /' conftest.$ac_ext >&5
22816
22817 ( exit $ac_status )
22818 if test "$ac_cv_type_long_long" = yes; then
22819 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22820 See \`config.log' for more details." >&5
22821 echo "$as_me: error: cannot compute sizeof (long long)
22822 See \`config.log' for more details." >&2;}
22823 { (exit 77); exit 77; }; }
22824 else
22825 ac_cv_sizeof_long_long=0
22826 fi
22827 fi
22828 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22829 fi
22830 rm -f conftest.val
22831 fi
22832 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22833 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22834
22835
22836
22837 cat >>confdefs.h <<_ACEOF
22838 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22839 _ACEOF
22840
22841
22842 if test "$ac_cv_sizeof_long_long" != 0; then
22843 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22844 fi
22845 ;;
22846 * )
22847 { echo "$as_me:$LINENO: checking for long long" >&5
22848 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22849 if test "${ac_cv_type_long_long+set}" = set; then
22850 echo $ECHO_N "(cached) $ECHO_C" >&6
22851 else
22852 cat >conftest.$ac_ext <<_ACEOF
22853 /* confdefs.h. */
22854 _ACEOF
22855 cat confdefs.h >>conftest.$ac_ext
22856 cat >>conftest.$ac_ext <<_ACEOF
22857 /* end confdefs.h. */
22858 $ac_includes_default
22859 typedef long long ac__type_new_;
22860 int
22861 main ()
22862 {
22863 if ((ac__type_new_ *) 0)
22864 return 0;
22865 if (sizeof (ac__type_new_))
22866 return 0;
22867 ;
22868 return 0;
22869 }
22870 _ACEOF
22871 rm -f conftest.$ac_objext
22872 if { (ac_try="$ac_compile"
22873 case "(($ac_try" in
22874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22875 *) ac_try_echo=$ac_try;;
22876 esac
22877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22878 (eval "$ac_compile") 2>conftest.er1
22879 ac_status=$?
22880 grep -v '^ *+' conftest.er1 >conftest.err
22881 rm -f conftest.er1
22882 cat conftest.err >&5
22883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22884 (exit $ac_status); } && {
22885 test -z "$ac_c_werror_flag" ||
22886 test ! -s conftest.err
22887 } && test -s conftest.$ac_objext; then
22888 ac_cv_type_long_long=yes
22889 else
22890 echo "$as_me: failed program was:" >&5
22891 sed 's/^/| /' conftest.$ac_ext >&5
22892
22893 ac_cv_type_long_long=no
22894 fi
22895
22896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22897 fi
22898 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22899 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22900
22901 # The cast to long int works around a bug in the HP C Compiler
22902 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22903 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22904 # This bug is HP SR number 8606223364.
22905 { echo "$as_me:$LINENO: checking size of long long" >&5
22906 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22907 if test "${ac_cv_sizeof_long_long+set}" = set; then
22908 echo $ECHO_N "(cached) $ECHO_C" >&6
22909 else
22910 if test "$cross_compiling" = yes; then
22911 # Depending upon the size, compute the lo and hi bounds.
22912 cat >conftest.$ac_ext <<_ACEOF
22913 /* confdefs.h. */
22914 _ACEOF
22915 cat confdefs.h >>conftest.$ac_ext
22916 cat >>conftest.$ac_ext <<_ACEOF
22917 /* end confdefs.h. */
22918 $ac_includes_default
22919 typedef long long ac__type_sizeof_;
22920 int
22921 main ()
22922 {
22923 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22924 test_array [0] = 0
22925
22926 ;
22927 return 0;
22928 }
22929 _ACEOF
22930 rm -f conftest.$ac_objext
22931 if { (ac_try="$ac_compile"
22932 case "(($ac_try" in
22933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22934 *) ac_try_echo=$ac_try;;
22935 esac
22936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22937 (eval "$ac_compile") 2>conftest.er1
22938 ac_status=$?
22939 grep -v '^ *+' conftest.er1 >conftest.err
22940 rm -f conftest.er1
22941 cat conftest.err >&5
22942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22943 (exit $ac_status); } && {
22944 test -z "$ac_c_werror_flag" ||
22945 test ! -s conftest.err
22946 } && test -s conftest.$ac_objext; then
22947 ac_lo=0 ac_mid=0
22948 while :; do
22949 cat >conftest.$ac_ext <<_ACEOF
22950 /* confdefs.h. */
22951 _ACEOF
22952 cat confdefs.h >>conftest.$ac_ext
22953 cat >>conftest.$ac_ext <<_ACEOF
22954 /* end confdefs.h. */
22955 $ac_includes_default
22956 typedef long long ac__type_sizeof_;
22957 int
22958 main ()
22959 {
22960 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22961 test_array [0] = 0
22962
22963 ;
22964 return 0;
22965 }
22966 _ACEOF
22967 rm -f conftest.$ac_objext
22968 if { (ac_try="$ac_compile"
22969 case "(($ac_try" in
22970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22971 *) ac_try_echo=$ac_try;;
22972 esac
22973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22974 (eval "$ac_compile") 2>conftest.er1
22975 ac_status=$?
22976 grep -v '^ *+' conftest.er1 >conftest.err
22977 rm -f conftest.er1
22978 cat conftest.err >&5
22979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22980 (exit $ac_status); } && {
22981 test -z "$ac_c_werror_flag" ||
22982 test ! -s conftest.err
22983 } && test -s conftest.$ac_objext; then
22984 ac_hi=$ac_mid; break
22985 else
22986 echo "$as_me: failed program was:" >&5
22987 sed 's/^/| /' conftest.$ac_ext >&5
22988
22989 ac_lo=`expr $ac_mid + 1`
22990 if test $ac_lo -le $ac_mid; then
22991 ac_lo= ac_hi=
22992 break
22993 fi
22994 ac_mid=`expr 2 '*' $ac_mid + 1`
22995 fi
22996
22997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22998 done
22999 else
23000 echo "$as_me: failed program was:" >&5
23001 sed 's/^/| /' conftest.$ac_ext >&5
23002
23003 cat >conftest.$ac_ext <<_ACEOF
23004 /* confdefs.h. */
23005 _ACEOF
23006 cat confdefs.h >>conftest.$ac_ext
23007 cat >>conftest.$ac_ext <<_ACEOF
23008 /* end confdefs.h. */
23009 $ac_includes_default
23010 typedef long long ac__type_sizeof_;
23011 int
23012 main ()
23013 {
23014 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23015 test_array [0] = 0
23016
23017 ;
23018 return 0;
23019 }
23020 _ACEOF
23021 rm -f conftest.$ac_objext
23022 if { (ac_try="$ac_compile"
23023 case "(($ac_try" in
23024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23025 *) ac_try_echo=$ac_try;;
23026 esac
23027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23028 (eval "$ac_compile") 2>conftest.er1
23029 ac_status=$?
23030 grep -v '^ *+' conftest.er1 >conftest.err
23031 rm -f conftest.er1
23032 cat conftest.err >&5
23033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23034 (exit $ac_status); } && {
23035 test -z "$ac_c_werror_flag" ||
23036 test ! -s conftest.err
23037 } && test -s conftest.$ac_objext; then
23038 ac_hi=-1 ac_mid=-1
23039 while :; do
23040 cat >conftest.$ac_ext <<_ACEOF
23041 /* confdefs.h. */
23042 _ACEOF
23043 cat confdefs.h >>conftest.$ac_ext
23044 cat >>conftest.$ac_ext <<_ACEOF
23045 /* end confdefs.h. */
23046 $ac_includes_default
23047 typedef long long ac__type_sizeof_;
23048 int
23049 main ()
23050 {
23051 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23052 test_array [0] = 0
23053
23054 ;
23055 return 0;
23056 }
23057 _ACEOF
23058 rm -f conftest.$ac_objext
23059 if { (ac_try="$ac_compile"
23060 case "(($ac_try" in
23061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23062 *) ac_try_echo=$ac_try;;
23063 esac
23064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23065 (eval "$ac_compile") 2>conftest.er1
23066 ac_status=$?
23067 grep -v '^ *+' conftest.er1 >conftest.err
23068 rm -f conftest.er1
23069 cat conftest.err >&5
23070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23071 (exit $ac_status); } && {
23072 test -z "$ac_c_werror_flag" ||
23073 test ! -s conftest.err
23074 } && test -s conftest.$ac_objext; then
23075 ac_lo=$ac_mid; break
23076 else
23077 echo "$as_me: failed program was:" >&5
23078 sed 's/^/| /' conftest.$ac_ext >&5
23079
23080 ac_hi=`expr '(' $ac_mid ')' - 1`
23081 if test $ac_mid -le $ac_hi; then
23082 ac_lo= ac_hi=
23083 break
23084 fi
23085 ac_mid=`expr 2 '*' $ac_mid`
23086 fi
23087
23088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23089 done
23090 else
23091 echo "$as_me: failed program was:" >&5
23092 sed 's/^/| /' conftest.$ac_ext >&5
23093
23094 ac_lo= ac_hi=
23095 fi
23096
23097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23098 fi
23099
23100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23101 # Binary search between lo and hi bounds.
23102 while test "x$ac_lo" != "x$ac_hi"; do
23103 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23104 cat >conftest.$ac_ext <<_ACEOF
23105 /* confdefs.h. */
23106 _ACEOF
23107 cat confdefs.h >>conftest.$ac_ext
23108 cat >>conftest.$ac_ext <<_ACEOF
23109 /* end confdefs.h. */
23110 $ac_includes_default
23111 typedef long long ac__type_sizeof_;
23112 int
23113 main ()
23114 {
23115 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23116 test_array [0] = 0
23117
23118 ;
23119 return 0;
23120 }
23121 _ACEOF
23122 rm -f conftest.$ac_objext
23123 if { (ac_try="$ac_compile"
23124 case "(($ac_try" in
23125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23126 *) ac_try_echo=$ac_try;;
23127 esac
23128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23129 (eval "$ac_compile") 2>conftest.er1
23130 ac_status=$?
23131 grep -v '^ *+' conftest.er1 >conftest.err
23132 rm -f conftest.er1
23133 cat conftest.err >&5
23134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23135 (exit $ac_status); } && {
23136 test -z "$ac_c_werror_flag" ||
23137 test ! -s conftest.err
23138 } && test -s conftest.$ac_objext; then
23139 ac_hi=$ac_mid
23140 else
23141 echo "$as_me: failed program was:" >&5
23142 sed 's/^/| /' conftest.$ac_ext >&5
23143
23144 ac_lo=`expr '(' $ac_mid ')' + 1`
23145 fi
23146
23147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23148 done
23149 case $ac_lo in
23150 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23151 '') if test "$ac_cv_type_long_long" = yes; then
23152 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23153 See \`config.log' for more details." >&5
23154 echo "$as_me: error: cannot compute sizeof (long long)
23155 See \`config.log' for more details." >&2;}
23156 { (exit 77); exit 77; }; }
23157 else
23158 ac_cv_sizeof_long_long=0
23159 fi ;;
23160 esac
23161 else
23162 cat >conftest.$ac_ext <<_ACEOF
23163 /* confdefs.h. */
23164 _ACEOF
23165 cat confdefs.h >>conftest.$ac_ext
23166 cat >>conftest.$ac_ext <<_ACEOF
23167 /* end confdefs.h. */
23168 $ac_includes_default
23169 typedef long long ac__type_sizeof_;
23170 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23171 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23172 #include <stdio.h>
23173 #include <stdlib.h>
23174 int
23175 main ()
23176 {
23177
23178 FILE *f = fopen ("conftest.val", "w");
23179 if (! f)
23180 return 1;
23181 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23182 {
23183 long int i = longval ();
23184 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23185 return 1;
23186 fprintf (f, "%ld\n", i);
23187 }
23188 else
23189 {
23190 unsigned long int i = ulongval ();
23191 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23192 return 1;
23193 fprintf (f, "%lu\n", i);
23194 }
23195 return ferror (f) || fclose (f) != 0;
23196
23197 ;
23198 return 0;
23199 }
23200 _ACEOF
23201 rm -f conftest$ac_exeext
23202 if { (ac_try="$ac_link"
23203 case "(($ac_try" in
23204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23205 *) ac_try_echo=$ac_try;;
23206 esac
23207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23208 (eval "$ac_link") 2>&5
23209 ac_status=$?
23210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23211 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23212 { (case "(($ac_try" in
23213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23214 *) ac_try_echo=$ac_try;;
23215 esac
23216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23217 (eval "$ac_try") 2>&5
23218 ac_status=$?
23219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23220 (exit $ac_status); }; }; then
23221 ac_cv_sizeof_long_long=`cat conftest.val`
23222 else
23223 echo "$as_me: program exited with status $ac_status" >&5
23224 echo "$as_me: failed program was:" >&5
23225 sed 's/^/| /' conftest.$ac_ext >&5
23226
23227 ( exit $ac_status )
23228 if test "$ac_cv_type_long_long" = yes; then
23229 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23230 See \`config.log' for more details." >&5
23231 echo "$as_me: error: cannot compute sizeof (long long)
23232 See \`config.log' for more details." >&2;}
23233 { (exit 77); exit 77; }; }
23234 else
23235 ac_cv_sizeof_long_long=0
23236 fi
23237 fi
23238 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23239 fi
23240 rm -f conftest.val
23241 fi
23242 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23243 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23244
23245
23246
23247 cat >>confdefs.h <<_ACEOF
23248 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23249 _ACEOF
23250
23251
23252 esac
23253
23254 { echo "$as_me:$LINENO: checking for wchar_t" >&5
23255 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
23256 if test "${ac_cv_type_wchar_t+set}" = set; then
23257 echo $ECHO_N "(cached) $ECHO_C" >&6
23258 else
23259 cat >conftest.$ac_ext <<_ACEOF
23260 /* confdefs.h. */
23261 _ACEOF
23262 cat confdefs.h >>conftest.$ac_ext
23263 cat >>conftest.$ac_ext <<_ACEOF
23264 /* end confdefs.h. */
23265
23266 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23267 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23268 # error "fake wchar_t"
23269 #endif
23270 #ifdef HAVE_WCHAR_H
23271 # ifdef __CYGWIN__
23272 # include <stddef.h>
23273 # endif
23274 # include <wchar.h>
23275 #endif
23276 #ifdef HAVE_STDLIB_H
23277 # include <stdlib.h>
23278 #endif
23279 #include <stdio.h>
23280
23281
23282
23283 typedef wchar_t ac__type_new_;
23284 int
23285 main ()
23286 {
23287 if ((ac__type_new_ *) 0)
23288 return 0;
23289 if (sizeof (ac__type_new_))
23290 return 0;
23291 ;
23292 return 0;
23293 }
23294 _ACEOF
23295 rm -f conftest.$ac_objext
23296 if { (ac_try="$ac_compile"
23297 case "(($ac_try" in
23298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23299 *) ac_try_echo=$ac_try;;
23300 esac
23301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23302 (eval "$ac_compile") 2>conftest.er1
23303 ac_status=$?
23304 grep -v '^ *+' conftest.er1 >conftest.err
23305 rm -f conftest.er1
23306 cat conftest.err >&5
23307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23308 (exit $ac_status); } && {
23309 test -z "$ac_c_werror_flag" ||
23310 test ! -s conftest.err
23311 } && test -s conftest.$ac_objext; then
23312 ac_cv_type_wchar_t=yes
23313 else
23314 echo "$as_me: failed program was:" >&5
23315 sed 's/^/| /' conftest.$ac_ext >&5
23316
23317 ac_cv_type_wchar_t=no
23318 fi
23319
23320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23321 fi
23322 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
23323 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
23324
23325 # The cast to long int works around a bug in the HP C Compiler
23326 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23327 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23328 # This bug is HP SR number 8606223364.
23329 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
23330 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
23331 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
23332 echo $ECHO_N "(cached) $ECHO_C" >&6
23333 else
23334 if test "$cross_compiling" = yes; then
23335 # Depending upon the size, compute the lo and hi bounds.
23336 cat >conftest.$ac_ext <<_ACEOF
23337 /* confdefs.h. */
23338 _ACEOF
23339 cat confdefs.h >>conftest.$ac_ext
23340 cat >>conftest.$ac_ext <<_ACEOF
23341 /* end confdefs.h. */
23342
23343 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23344 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23345 # error "fake wchar_t"
23346 #endif
23347 #ifdef HAVE_WCHAR_H
23348 # ifdef __CYGWIN__
23349 # include <stddef.h>
23350 # endif
23351 # include <wchar.h>
23352 #endif
23353 #ifdef HAVE_STDLIB_H
23354 # include <stdlib.h>
23355 #endif
23356 #include <stdio.h>
23357
23358
23359
23360 typedef wchar_t ac__type_sizeof_;
23361 int
23362 main ()
23363 {
23364 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23365 test_array [0] = 0
23366
23367 ;
23368 return 0;
23369 }
23370 _ACEOF
23371 rm -f conftest.$ac_objext
23372 if { (ac_try="$ac_compile"
23373 case "(($ac_try" in
23374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23375 *) ac_try_echo=$ac_try;;
23376 esac
23377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23378 (eval "$ac_compile") 2>conftest.er1
23379 ac_status=$?
23380 grep -v '^ *+' conftest.er1 >conftest.err
23381 rm -f conftest.er1
23382 cat conftest.err >&5
23383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23384 (exit $ac_status); } && {
23385 test -z "$ac_c_werror_flag" ||
23386 test ! -s conftest.err
23387 } && test -s conftest.$ac_objext; then
23388 ac_lo=0 ac_mid=0
23389 while :; do
23390 cat >conftest.$ac_ext <<_ACEOF
23391 /* confdefs.h. */
23392 _ACEOF
23393 cat confdefs.h >>conftest.$ac_ext
23394 cat >>conftest.$ac_ext <<_ACEOF
23395 /* end confdefs.h. */
23396
23397 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23398 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23399 # error "fake wchar_t"
23400 #endif
23401 #ifdef HAVE_WCHAR_H
23402 # ifdef __CYGWIN__
23403 # include <stddef.h>
23404 # endif
23405 # include <wchar.h>
23406 #endif
23407 #ifdef HAVE_STDLIB_H
23408 # include <stdlib.h>
23409 #endif
23410 #include <stdio.h>
23411
23412
23413
23414 typedef wchar_t ac__type_sizeof_;
23415 int
23416 main ()
23417 {
23418 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23419 test_array [0] = 0
23420
23421 ;
23422 return 0;
23423 }
23424 _ACEOF
23425 rm -f conftest.$ac_objext
23426 if { (ac_try="$ac_compile"
23427 case "(($ac_try" in
23428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23429 *) ac_try_echo=$ac_try;;
23430 esac
23431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23432 (eval "$ac_compile") 2>conftest.er1
23433 ac_status=$?
23434 grep -v '^ *+' conftest.er1 >conftest.err
23435 rm -f conftest.er1
23436 cat conftest.err >&5
23437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23438 (exit $ac_status); } && {
23439 test -z "$ac_c_werror_flag" ||
23440 test ! -s conftest.err
23441 } && test -s conftest.$ac_objext; then
23442 ac_hi=$ac_mid; break
23443 else
23444 echo "$as_me: failed program was:" >&5
23445 sed 's/^/| /' conftest.$ac_ext >&5
23446
23447 ac_lo=`expr $ac_mid + 1`
23448 if test $ac_lo -le $ac_mid; then
23449 ac_lo= ac_hi=
23450 break
23451 fi
23452 ac_mid=`expr 2 '*' $ac_mid + 1`
23453 fi
23454
23455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23456 done
23457 else
23458 echo "$as_me: failed program was:" >&5
23459 sed 's/^/| /' conftest.$ac_ext >&5
23460
23461 cat >conftest.$ac_ext <<_ACEOF
23462 /* confdefs.h. */
23463 _ACEOF
23464 cat confdefs.h >>conftest.$ac_ext
23465 cat >>conftest.$ac_ext <<_ACEOF
23466 /* end confdefs.h. */
23467
23468 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23469 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23470 # error "fake wchar_t"
23471 #endif
23472 #ifdef HAVE_WCHAR_H
23473 # ifdef __CYGWIN__
23474 # include <stddef.h>
23475 # endif
23476 # include <wchar.h>
23477 #endif
23478 #ifdef HAVE_STDLIB_H
23479 # include <stdlib.h>
23480 #endif
23481 #include <stdio.h>
23482
23483
23484
23485 typedef wchar_t ac__type_sizeof_;
23486 int
23487 main ()
23488 {
23489 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23490 test_array [0] = 0
23491
23492 ;
23493 return 0;
23494 }
23495 _ACEOF
23496 rm -f conftest.$ac_objext
23497 if { (ac_try="$ac_compile"
23498 case "(($ac_try" in
23499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23500 *) ac_try_echo=$ac_try;;
23501 esac
23502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23503 (eval "$ac_compile") 2>conftest.er1
23504 ac_status=$?
23505 grep -v '^ *+' conftest.er1 >conftest.err
23506 rm -f conftest.er1
23507 cat conftest.err >&5
23508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23509 (exit $ac_status); } && {
23510 test -z "$ac_c_werror_flag" ||
23511 test ! -s conftest.err
23512 } && test -s conftest.$ac_objext; then
23513 ac_hi=-1 ac_mid=-1
23514 while :; do
23515 cat >conftest.$ac_ext <<_ACEOF
23516 /* confdefs.h. */
23517 _ACEOF
23518 cat confdefs.h >>conftest.$ac_ext
23519 cat >>conftest.$ac_ext <<_ACEOF
23520 /* end confdefs.h. */
23521
23522 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23523 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23524 # error "fake wchar_t"
23525 #endif
23526 #ifdef HAVE_WCHAR_H
23527 # ifdef __CYGWIN__
23528 # include <stddef.h>
23529 # endif
23530 # include <wchar.h>
23531 #endif
23532 #ifdef HAVE_STDLIB_H
23533 # include <stdlib.h>
23534 #endif
23535 #include <stdio.h>
23536
23537
23538
23539 typedef wchar_t ac__type_sizeof_;
23540 int
23541 main ()
23542 {
23543 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23544 test_array [0] = 0
23545
23546 ;
23547 return 0;
23548 }
23549 _ACEOF
23550 rm -f conftest.$ac_objext
23551 if { (ac_try="$ac_compile"
23552 case "(($ac_try" in
23553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23554 *) ac_try_echo=$ac_try;;
23555 esac
23556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23557 (eval "$ac_compile") 2>conftest.er1
23558 ac_status=$?
23559 grep -v '^ *+' conftest.er1 >conftest.err
23560 rm -f conftest.er1
23561 cat conftest.err >&5
23562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23563 (exit $ac_status); } && {
23564 test -z "$ac_c_werror_flag" ||
23565 test ! -s conftest.err
23566 } && test -s conftest.$ac_objext; then
23567 ac_lo=$ac_mid; break
23568 else
23569 echo "$as_me: failed program was:" >&5
23570 sed 's/^/| /' conftest.$ac_ext >&5
23571
23572 ac_hi=`expr '(' $ac_mid ')' - 1`
23573 if test $ac_mid -le $ac_hi; then
23574 ac_lo= ac_hi=
23575 break
23576 fi
23577 ac_mid=`expr 2 '*' $ac_mid`
23578 fi
23579
23580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23581 done
23582 else
23583 echo "$as_me: failed program was:" >&5
23584 sed 's/^/| /' conftest.$ac_ext >&5
23585
23586 ac_lo= ac_hi=
23587 fi
23588
23589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23590 fi
23591
23592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23593 # Binary search between lo and hi bounds.
23594 while test "x$ac_lo" != "x$ac_hi"; do
23595 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23596 cat >conftest.$ac_ext <<_ACEOF
23597 /* confdefs.h. */
23598 _ACEOF
23599 cat confdefs.h >>conftest.$ac_ext
23600 cat >>conftest.$ac_ext <<_ACEOF
23601 /* end confdefs.h. */
23602
23603 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23604 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23605 # error "fake wchar_t"
23606 #endif
23607 #ifdef HAVE_WCHAR_H
23608 # ifdef __CYGWIN__
23609 # include <stddef.h>
23610 # endif
23611 # include <wchar.h>
23612 #endif
23613 #ifdef HAVE_STDLIB_H
23614 # include <stdlib.h>
23615 #endif
23616 #include <stdio.h>
23617
23618
23619
23620 typedef wchar_t ac__type_sizeof_;
23621 int
23622 main ()
23623 {
23624 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23625 test_array [0] = 0
23626
23627 ;
23628 return 0;
23629 }
23630 _ACEOF
23631 rm -f conftest.$ac_objext
23632 if { (ac_try="$ac_compile"
23633 case "(($ac_try" in
23634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23635 *) ac_try_echo=$ac_try;;
23636 esac
23637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23638 (eval "$ac_compile") 2>conftest.er1
23639 ac_status=$?
23640 grep -v '^ *+' conftest.er1 >conftest.err
23641 rm -f conftest.er1
23642 cat conftest.err >&5
23643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23644 (exit $ac_status); } && {
23645 test -z "$ac_c_werror_flag" ||
23646 test ! -s conftest.err
23647 } && test -s conftest.$ac_objext; then
23648 ac_hi=$ac_mid
23649 else
23650 echo "$as_me: failed program was:" >&5
23651 sed 's/^/| /' conftest.$ac_ext >&5
23652
23653 ac_lo=`expr '(' $ac_mid ')' + 1`
23654 fi
23655
23656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23657 done
23658 case $ac_lo in
23659 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23660 '') if test "$ac_cv_type_wchar_t" = yes; then
23661 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23662 See \`config.log' for more details." >&5
23663 echo "$as_me: error: cannot compute sizeof (wchar_t)
23664 See \`config.log' for more details." >&2;}
23665 { (exit 77); exit 77; }; }
23666 else
23667 ac_cv_sizeof_wchar_t=0
23668 fi ;;
23669 esac
23670 else
23671 cat >conftest.$ac_ext <<_ACEOF
23672 /* confdefs.h. */
23673 _ACEOF
23674 cat confdefs.h >>conftest.$ac_ext
23675 cat >>conftest.$ac_ext <<_ACEOF
23676 /* end confdefs.h. */
23677
23678 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23679 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23680 # error "fake wchar_t"
23681 #endif
23682 #ifdef HAVE_WCHAR_H
23683 # ifdef __CYGWIN__
23684 # include <stddef.h>
23685 # endif
23686 # include <wchar.h>
23687 #endif
23688 #ifdef HAVE_STDLIB_H
23689 # include <stdlib.h>
23690 #endif
23691 #include <stdio.h>
23692
23693
23694
23695 typedef wchar_t ac__type_sizeof_;
23696 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23697 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23698 #include <stdio.h>
23699 #include <stdlib.h>
23700 int
23701 main ()
23702 {
23703
23704 FILE *f = fopen ("conftest.val", "w");
23705 if (! f)
23706 return 1;
23707 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23708 {
23709 long int i = longval ();
23710 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23711 return 1;
23712 fprintf (f, "%ld\n", i);
23713 }
23714 else
23715 {
23716 unsigned long int i = ulongval ();
23717 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23718 return 1;
23719 fprintf (f, "%lu\n", i);
23720 }
23721 return ferror (f) || fclose (f) != 0;
23722
23723 ;
23724 return 0;
23725 }
23726 _ACEOF
23727 rm -f conftest$ac_exeext
23728 if { (ac_try="$ac_link"
23729 case "(($ac_try" in
23730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23731 *) ac_try_echo=$ac_try;;
23732 esac
23733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23734 (eval "$ac_link") 2>&5
23735 ac_status=$?
23736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23737 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23738 { (case "(($ac_try" in
23739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23740 *) ac_try_echo=$ac_try;;
23741 esac
23742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23743 (eval "$ac_try") 2>&5
23744 ac_status=$?
23745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23746 (exit $ac_status); }; }; then
23747 ac_cv_sizeof_wchar_t=`cat conftest.val`
23748 else
23749 echo "$as_me: program exited with status $ac_status" >&5
23750 echo "$as_me: failed program was:" >&5
23751 sed 's/^/| /' conftest.$ac_ext >&5
23752
23753 ( exit $ac_status )
23754 if test "$ac_cv_type_wchar_t" = yes; then
23755 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23756 See \`config.log' for more details." >&5
23757 echo "$as_me: error: cannot compute sizeof (wchar_t)
23758 See \`config.log' for more details." >&2;}
23759 { (exit 77); exit 77; }; }
23760 else
23761 ac_cv_sizeof_wchar_t=0
23762 fi
23763 fi
23764 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23765 fi
23766 rm -f conftest.val
23767 fi
23768 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23769 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23770
23771
23772
23773 cat >>confdefs.h <<_ACEOF
23774 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23775 _ACEOF
23776
23777
23778 if test "$ac_cv_sizeof_wchar_t" != 0; then
23779 wxUSE_WCHAR_T=yes
23780 else
23781 wxUSE_WCHAR_T=no
23782 fi
23783
23784 { echo "$as_me:$LINENO: checking for va_copy" >&5
23785 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23786 if test "${wx_cv_func_va_copy+set}" = set; then
23787 echo $ECHO_N "(cached) $ECHO_C" >&6
23788 else
23789
23790 ac_ext=cpp
23791 ac_cpp='$CXXCPP $CPPFLAGS'
23792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23795
23796 cat >conftest.$ac_ext <<_ACEOF
23797
23798 #include <stdarg.h>
23799 void foo(char *f, ...)
23800 {
23801 va_list ap1, ap2;
23802 va_start(ap1, f);
23803 va_copy(ap2, ap1);
23804 va_end(ap2);
23805 va_end(ap1);
23806 }
23807 int main()
23808 {
23809 foo("hi", 17);
23810 return 0;
23811 }
23812 _ACEOF
23813 rm -f conftest.$ac_objext conftest$ac_exeext
23814 if { (ac_try="$ac_link"
23815 case "(($ac_try" in
23816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23817 *) ac_try_echo=$ac_try;;
23818 esac
23819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23820 (eval "$ac_link") 2>conftest.er1
23821 ac_status=$?
23822 grep -v '^ *+' conftest.er1 >conftest.err
23823 rm -f conftest.er1
23824 cat conftest.err >&5
23825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23826 (exit $ac_status); } && {
23827 test -z "$ac_cxx_werror_flag" ||
23828 test ! -s conftest.err
23829 } && test -s conftest$ac_exeext &&
23830 $as_test_x conftest$ac_exeext; then
23831 wx_cv_func_va_copy=yes
23832 else
23833 echo "$as_me: failed program was:" >&5
23834 sed 's/^/| /' conftest.$ac_ext >&5
23835
23836 wx_cv_func_va_copy=no
23837
23838 fi
23839
23840 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23841 conftest$ac_exeext conftest.$ac_ext
23842 ac_ext=c
23843 ac_cpp='$CPP $CPPFLAGS'
23844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23847
23848
23849
23850 fi
23851 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23852 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23853
23854 if test $wx_cv_func_va_copy = "yes"; then
23855 cat >>confdefs.h <<\_ACEOF
23856 #define HAVE_VA_COPY 1
23857 _ACEOF
23858
23859 else
23860 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23861 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23862 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23863 echo $ECHO_N "(cached) $ECHO_C" >&6
23864 else
23865
23866 if test "$cross_compiling" = yes; then
23867 wx_cv_type_va_list_lvalue=yes
23868
23869 else
23870 cat >conftest.$ac_ext <<_ACEOF
23871
23872 #include <stdarg.h>
23873 int foo(char *f, ...)
23874 {
23875 va_list ap1, ap2;
23876 va_start(ap1, f);
23877 ap2 = ap1;
23878 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23879 return 1;
23880 va_end(ap2);
23881 va_end(ap1);
23882 return 0;
23883 }
23884 int main()
23885 {
23886 return foo("hi", 17);
23887 }
23888 _ACEOF
23889 rm -f conftest$ac_exeext
23890 if { (ac_try="$ac_link"
23891 case "(($ac_try" in
23892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23893 *) ac_try_echo=$ac_try;;
23894 esac
23895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23896 (eval "$ac_link") 2>&5
23897 ac_status=$?
23898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23899 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23900 { (case "(($ac_try" in
23901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23902 *) ac_try_echo=$ac_try;;
23903 esac
23904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23905 (eval "$ac_try") 2>&5
23906 ac_status=$?
23907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23908 (exit $ac_status); }; }; then
23909 wx_cv_type_va_list_lvalue=yes
23910 else
23911 echo "$as_me: program exited with status $ac_status" >&5
23912 echo "$as_me: failed program was:" >&5
23913 sed 's/^/| /' conftest.$ac_ext >&5
23914
23915 ( exit $ac_status )
23916 wx_cv_type_va_list_lvalue=no
23917 fi
23918 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23919 fi
23920
23921
23922
23923
23924 fi
23925 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23926 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23927
23928 if test $wx_cv_type_va_list_lvalue != "yes"; then
23929 cat >>confdefs.h <<\_ACEOF
23930 #define VA_LIST_IS_ARRAY 1
23931 _ACEOF
23932
23933 fi
23934 fi
23935
23936 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23937
23938 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23939 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23940 if test "${wx_cv_have_variadic_macros+set}" = set; then
23941 echo $ECHO_N "(cached) $ECHO_C" >&6
23942 else
23943
23944 ac_ext=cpp
23945 ac_cpp='$CXXCPP $CPPFLAGS'
23946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23949
23950 cat >conftest.$ac_ext <<_ACEOF
23951 /* confdefs.h. */
23952 _ACEOF
23953 cat confdefs.h >>conftest.$ac_ext
23954 cat >>conftest.$ac_ext <<_ACEOF
23955 /* end confdefs.h. */
23956
23957 #include <stdio.h>
23958 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23959
23960 int
23961 main ()
23962 {
23963
23964 test("%s %d %p", "test", 1, 0);
23965
23966
23967 ;
23968 return 0;
23969 }
23970 _ACEOF
23971 rm -f conftest.$ac_objext
23972 if { (ac_try="$ac_compile"
23973 case "(($ac_try" in
23974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23975 *) ac_try_echo=$ac_try;;
23976 esac
23977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23978 (eval "$ac_compile") 2>conftest.er1
23979 ac_status=$?
23980 grep -v '^ *+' conftest.er1 >conftest.err
23981 rm -f conftest.er1
23982 cat conftest.err >&5
23983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23984 (exit $ac_status); } && {
23985 test -z "$ac_cxx_werror_flag" ||
23986 test ! -s conftest.err
23987 } && test -s conftest.$ac_objext; then
23988 wx_cv_have_variadic_macros=yes
23989 else
23990 echo "$as_me: failed program was:" >&5
23991 sed 's/^/| /' conftest.$ac_ext >&5
23992
23993 wx_cv_have_variadic_macros=no
23994
23995 fi
23996
23997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23998 ac_ext=c
23999 ac_cpp='$CPP $CPPFLAGS'
24000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24003
24004
24005
24006 fi
24007 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
24008 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
24009
24010 if test $wx_cv_have_variadic_macros = "yes"; then
24011 cat >>confdefs.h <<\_ACEOF
24012 #define HAVE_VARIADIC_MACROS 1
24013 _ACEOF
24014
24015 fi
24016
24017 fi
24018
24019 LARGEFILE_CPPFLAGS=
24020 # Check whether --enable-largefile was given.
24021 if test "${enable_largefile+set}" = set; then
24022 enableval=$enable_largefile;
24023 fi
24024
24025 if test "$enable_largefile" != no; then
24026 wx_largefile=no
24027
24028 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
24029 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
24030 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
24031 echo $ECHO_N "(cached) $ECHO_C" >&6
24032 else
24033
24034 cat >conftest.$ac_ext <<_ACEOF
24035 /* confdefs.h. */
24036 _ACEOF
24037 cat confdefs.h >>conftest.$ac_ext
24038 cat >>conftest.$ac_ext <<_ACEOF
24039 /* end confdefs.h. */
24040 #define _FILE_OFFSET_BITS 64
24041 #include <sys/types.h>
24042 int
24043 main ()
24044 {
24045 typedef struct {
24046 unsigned int field: sizeof(off_t) == 8;
24047 } wxlf;
24048
24049 ;
24050 return 0;
24051 }
24052 _ACEOF
24053 rm -f conftest.$ac_objext
24054 if { (ac_try="$ac_compile"
24055 case "(($ac_try" in
24056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24057 *) ac_try_echo=$ac_try;;
24058 esac
24059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24060 (eval "$ac_compile") 2>conftest.er1
24061 ac_status=$?
24062 grep -v '^ *+' conftest.er1 >conftest.err
24063 rm -f conftest.er1
24064 cat conftest.err >&5
24065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24066 (exit $ac_status); } && {
24067 test -z "$ac_c_werror_flag" ||
24068 test ! -s conftest.err
24069 } && test -s conftest.$ac_objext; then
24070 ac_cv_sys_file_offset_bits=64
24071 else
24072 echo "$as_me: failed program was:" >&5
24073 sed 's/^/| /' conftest.$ac_ext >&5
24074
24075 ac_cv_sys_file_offset_bits=no
24076 fi
24077
24078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24079
24080
24081 fi
24082 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
24083 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
24084
24085 if test "$ac_cv_sys_file_offset_bits" != no; then
24086 wx_largefile=yes
24087 cat >>confdefs.h <<_ACEOF
24088 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
24089 _ACEOF
24090
24091 fi
24092
24093 if test "x$wx_largefile" != "xyes"; then
24094
24095 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
24096 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
24097 if test "${ac_cv_sys_large_files+set}" = set; then
24098 echo $ECHO_N "(cached) $ECHO_C" >&6
24099 else
24100
24101 cat >conftest.$ac_ext <<_ACEOF
24102 /* confdefs.h. */
24103 _ACEOF
24104 cat confdefs.h >>conftest.$ac_ext
24105 cat >>conftest.$ac_ext <<_ACEOF
24106 /* end confdefs.h. */
24107 #define _LARGE_FILES 1
24108 #include <sys/types.h>
24109 int
24110 main ()
24111 {
24112 typedef struct {
24113 unsigned int field: sizeof(off_t) == 8;
24114 } wxlf;
24115
24116 ;
24117 return 0;
24118 }
24119 _ACEOF
24120 rm -f conftest.$ac_objext
24121 if { (ac_try="$ac_compile"
24122 case "(($ac_try" in
24123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24124 *) ac_try_echo=$ac_try;;
24125 esac
24126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24127 (eval "$ac_compile") 2>conftest.er1
24128 ac_status=$?
24129 grep -v '^ *+' conftest.er1 >conftest.err
24130 rm -f conftest.er1
24131 cat conftest.err >&5
24132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24133 (exit $ac_status); } && {
24134 test -z "$ac_c_werror_flag" ||
24135 test ! -s conftest.err
24136 } && test -s conftest.$ac_objext; then
24137 ac_cv_sys_large_files=1
24138 else
24139 echo "$as_me: failed program was:" >&5
24140 sed 's/^/| /' conftest.$ac_ext >&5
24141
24142 ac_cv_sys_large_files=no
24143 fi
24144
24145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24146
24147
24148 fi
24149 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
24150 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
24151
24152 if test "$ac_cv_sys_large_files" != no; then
24153 wx_largefile=yes
24154 cat >>confdefs.h <<_ACEOF
24155 #define _LARGE_FILES $ac_cv_sys_large_files
24156 _ACEOF
24157
24158 fi
24159
24160 fi
24161
24162 { echo "$as_me:$LINENO: checking if large file support is available" >&5
24163 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
24164 if test "x$wx_largefile" = "xyes"; then
24165 cat >>confdefs.h <<\_ACEOF
24166 #define HAVE_LARGEFILE_SUPPORT 1
24167 _ACEOF
24168
24169 fi
24170 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
24171 echo "${ECHO_T}$wx_largefile" >&6; }
24172 fi
24173
24174 if test "$ac_cv_sys_file_offset_bits" = "64"; then
24175 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
24176 elif test "$ac_cv_sys_large_files" = 1; then
24177 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
24178 fi
24179
24180 if test -n "$LARGEFILE_CPPFLAGS"; then
24181 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
24182
24183 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
24184 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
24185 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
24186 if test "${wx_cv_STDC_EXT_required+set}" = set; then
24187 echo $ECHO_N "(cached) $ECHO_C" >&6
24188 else
24189
24190 ac_ext=cpp
24191 ac_cpp='$CXXCPP $CPPFLAGS'
24192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24195
24196 cat >conftest.$ac_ext <<_ACEOF
24197 /* confdefs.h. */
24198 _ACEOF
24199 cat confdefs.h >>conftest.$ac_ext
24200 cat >>conftest.$ac_ext <<_ACEOF
24201 /* end confdefs.h. */
24202
24203 int
24204 main ()
24205 {
24206
24207 #ifndef __STDC_EXT__
24208 choke me
24209 #endif
24210
24211 ;
24212 return 0;
24213 }
24214 _ACEOF
24215 rm -f conftest.$ac_objext
24216 if { (ac_try="$ac_compile"
24217 case "(($ac_try" in
24218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24219 *) ac_try_echo=$ac_try;;
24220 esac
24221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24222 (eval "$ac_compile") 2>conftest.er1
24223 ac_status=$?
24224 grep -v '^ *+' conftest.er1 >conftest.err
24225 rm -f conftest.er1
24226 cat conftest.err >&5
24227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24228 (exit $ac_status); } && {
24229 test -z "$ac_cxx_werror_flag" ||
24230 test ! -s conftest.err
24231 } && test -s conftest.$ac_objext; then
24232 wx_cv_STDC_EXT_required=no
24233 else
24234 echo "$as_me: failed program was:" >&5
24235 sed 's/^/| /' conftest.$ac_ext >&5
24236
24237 wx_cv_STDC_EXT_required=yes
24238
24239 fi
24240
24241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24242 ac_ext=c
24243 ac_cpp='$CPP $CPPFLAGS'
24244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24247
24248
24249
24250 fi
24251 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
24252 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
24253 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
24254 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
24255 fi
24256 fi
24257 fi
24258
24259 ac_ext=cpp
24260 ac_cpp='$CXXCPP $CPPFLAGS'
24261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24264
24265 old_CPPFLAGS="$CPPFLAGS"
24266 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
24267 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
24268 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
24269 if test "${ac_cv_sys_largefile_source+set}" = set; then
24270 echo $ECHO_N "(cached) $ECHO_C" >&6
24271 else
24272 while :; do
24273 cat >conftest.$ac_ext <<_ACEOF
24274 /* confdefs.h. */
24275 _ACEOF
24276 cat confdefs.h >>conftest.$ac_ext
24277 cat >>conftest.$ac_ext <<_ACEOF
24278 /* end confdefs.h. */
24279 #include <sys/types.h> /* for off_t */
24280 #include <stdio.h>
24281 int
24282 main ()
24283 {
24284 int (*fp) (FILE *, off_t, int) = fseeko;
24285 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24286 ;
24287 return 0;
24288 }
24289 _ACEOF
24290 rm -f conftest.$ac_objext conftest$ac_exeext
24291 if { (ac_try="$ac_link"
24292 case "(($ac_try" in
24293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24294 *) ac_try_echo=$ac_try;;
24295 esac
24296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24297 (eval "$ac_link") 2>conftest.er1
24298 ac_status=$?
24299 grep -v '^ *+' conftest.er1 >conftest.err
24300 rm -f conftest.er1
24301 cat conftest.err >&5
24302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24303 (exit $ac_status); } && {
24304 test -z "$ac_cxx_werror_flag" ||
24305 test ! -s conftest.err
24306 } && test -s conftest$ac_exeext &&
24307 $as_test_x conftest$ac_exeext; then
24308 ac_cv_sys_largefile_source=no; break
24309 else
24310 echo "$as_me: failed program was:" >&5
24311 sed 's/^/| /' conftest.$ac_ext >&5
24312
24313
24314 fi
24315
24316 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24317 conftest$ac_exeext conftest.$ac_ext
24318 cat >conftest.$ac_ext <<_ACEOF
24319 /* confdefs.h. */
24320 _ACEOF
24321 cat confdefs.h >>conftest.$ac_ext
24322 cat >>conftest.$ac_ext <<_ACEOF
24323 /* end confdefs.h. */
24324 #define _LARGEFILE_SOURCE 1
24325 #include <sys/types.h> /* for off_t */
24326 #include <stdio.h>
24327 int
24328 main ()
24329 {
24330 int (*fp) (FILE *, off_t, int) = fseeko;
24331 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24332 ;
24333 return 0;
24334 }
24335 _ACEOF
24336 rm -f conftest.$ac_objext conftest$ac_exeext
24337 if { (ac_try="$ac_link"
24338 case "(($ac_try" in
24339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24340 *) ac_try_echo=$ac_try;;
24341 esac
24342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24343 (eval "$ac_link") 2>conftest.er1
24344 ac_status=$?
24345 grep -v '^ *+' conftest.er1 >conftest.err
24346 rm -f conftest.er1
24347 cat conftest.err >&5
24348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24349 (exit $ac_status); } && {
24350 test -z "$ac_cxx_werror_flag" ||
24351 test ! -s conftest.err
24352 } && test -s conftest$ac_exeext &&
24353 $as_test_x conftest$ac_exeext; then
24354 ac_cv_sys_largefile_source=1; break
24355 else
24356 echo "$as_me: failed program was:" >&5
24357 sed 's/^/| /' conftest.$ac_ext >&5
24358
24359
24360 fi
24361
24362 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24363 conftest$ac_exeext conftest.$ac_ext
24364 ac_cv_sys_largefile_source=unknown
24365 break
24366 done
24367 fi
24368 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
24369 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
24370 case $ac_cv_sys_largefile_source in #(
24371 no | unknown) ;;
24372 *)
24373 cat >>confdefs.h <<_ACEOF
24374 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
24375 _ACEOF
24376 ;;
24377 esac
24378 rm -f conftest*
24379
24380 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
24381 # in glibc 2.1.3, but that breaks too many other things.
24382 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
24383 if test $ac_cv_sys_largefile_source != unknown; then
24384
24385 cat >>confdefs.h <<\_ACEOF
24386 #define HAVE_FSEEKO 1
24387 _ACEOF
24388
24389 fi
24390
24391 CPPFLAGS="$old_CPPFLAGS"
24392 ac_ext=c
24393 ac_cpp='$CPP $CPPFLAGS'
24394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24397
24398 if test "$ac_cv_sys_largefile_source" != no; then
24399 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
24400 fi
24401
24402 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24403 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
24404 if test "${ac_cv_c_bigendian+set}" = set; then
24405 echo $ECHO_N "(cached) $ECHO_C" >&6
24406 else
24407 ac_cv_c_bigendian=unknown
24408 # See if sys/param.h defines the BYTE_ORDER macro.
24409 cat >conftest.$ac_ext <<_ACEOF
24410 /* confdefs.h. */
24411 _ACEOF
24412 cat confdefs.h >>conftest.$ac_ext
24413 cat >>conftest.$ac_ext <<_ACEOF
24414 /* end confdefs.h. */
24415 #include <sys/types.h>
24416 #include <sys/param.h>
24417 int
24418 main ()
24419 {
24420
24421 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24422 bogus endian macros
24423 #endif
24424 ;
24425 return 0;
24426 }
24427 _ACEOF
24428 rm -f conftest.$ac_objext
24429 if { (ac_try="$ac_compile"
24430 case "(($ac_try" in
24431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24432 *) ac_try_echo=$ac_try;;
24433 esac
24434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24435 (eval "$ac_compile") 2>conftest.er1
24436 ac_status=$?
24437 grep -v '^ *+' conftest.er1 >conftest.err
24438 rm -f conftest.er1
24439 cat conftest.err >&5
24440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24441 (exit $ac_status); } && {
24442 test -z "$ac_c_werror_flag" ||
24443 test ! -s conftest.err
24444 } && test -s conftest.$ac_objext; then
24445 # It does; now see whether it defined to BIG_ENDIAN or not.
24446 cat >conftest.$ac_ext <<_ACEOF
24447 /* confdefs.h. */
24448 _ACEOF
24449 cat confdefs.h >>conftest.$ac_ext
24450 cat >>conftest.$ac_ext <<_ACEOF
24451 /* end confdefs.h. */
24452 #include <sys/types.h>
24453 #include <sys/param.h>
24454 int
24455 main ()
24456 {
24457
24458 #if BYTE_ORDER != BIG_ENDIAN
24459 not big endian
24460 #endif
24461 ;
24462 return 0;
24463 }
24464 _ACEOF
24465 rm -f conftest.$ac_objext
24466 if { (ac_try="$ac_compile"
24467 case "(($ac_try" in
24468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24469 *) ac_try_echo=$ac_try;;
24470 esac
24471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24472 (eval "$ac_compile") 2>conftest.er1
24473 ac_status=$?
24474 grep -v '^ *+' conftest.er1 >conftest.err
24475 rm -f conftest.er1
24476 cat conftest.err >&5
24477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24478 (exit $ac_status); } && {
24479 test -z "$ac_c_werror_flag" ||
24480 test ! -s conftest.err
24481 } && test -s conftest.$ac_objext; then
24482 ac_cv_c_bigendian=yes
24483 else
24484 echo "$as_me: failed program was:" >&5
24485 sed 's/^/| /' conftest.$ac_ext >&5
24486
24487 ac_cv_c_bigendian=no
24488 fi
24489
24490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24491 else
24492 echo "$as_me: failed program was:" >&5
24493 sed 's/^/| /' conftest.$ac_ext >&5
24494
24495
24496 fi
24497
24498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24499 if test $ac_cv_c_bigendian = unknown; then
24500 if test "$cross_compiling" = yes; then
24501 ac_cv_c_bigendian=unknown
24502 else
24503 cat >conftest.$ac_ext <<_ACEOF
24504 /* confdefs.h. */
24505 _ACEOF
24506 cat confdefs.h >>conftest.$ac_ext
24507 cat >>conftest.$ac_ext <<_ACEOF
24508 /* end confdefs.h. */
24509 main () {
24510 /* Are we little or big endian? From Harbison&Steele. */
24511 union
24512 {
24513 long l;
24514 char c[sizeof (long)];
24515 } u;
24516 u.l = 1;
24517 exit (u.c[sizeof (long) - 1] == 1);
24518 }
24519 _ACEOF
24520 rm -f conftest$ac_exeext
24521 if { (ac_try="$ac_link"
24522 case "(($ac_try" in
24523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24524 *) ac_try_echo=$ac_try;;
24525 esac
24526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24527 (eval "$ac_link") 2>&5
24528 ac_status=$?
24529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24530 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24531 { (case "(($ac_try" in
24532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24533 *) ac_try_echo=$ac_try;;
24534 esac
24535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24536 (eval "$ac_try") 2>&5
24537 ac_status=$?
24538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24539 (exit $ac_status); }; }; then
24540 ac_cv_c_bigendian=no
24541 else
24542 echo "$as_me: program exited with status $ac_status" >&5
24543 echo "$as_me: failed program was:" >&5
24544 sed 's/^/| /' conftest.$ac_ext >&5
24545
24546 ( exit $ac_status )
24547 ac_cv_c_bigendian=yes
24548 fi
24549 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24550 fi
24551
24552
24553 fi
24554 fi
24555 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24556 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24557 if test $ac_cv_c_bigendian = unknown; then
24558 { 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
24559 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;}
24560 fi
24561 if test $ac_cv_c_bigendian = yes; then
24562 cat >>confdefs.h <<\_ACEOF
24563 #define WORDS_BIGENDIAN 1
24564 _ACEOF
24565
24566 fi
24567
24568
24569
24570
24571 ac_ext=cpp
24572 ac_cpp='$CXXCPP $CPPFLAGS'
24573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24576
24577
24578
24579 for ac_header in iostream
24580 do
24581 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24582 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24583 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24584 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24585 echo $ECHO_N "(cached) $ECHO_C" >&6
24586 else
24587 cat >conftest.$ac_ext <<_ACEOF
24588 /* confdefs.h. */
24589 _ACEOF
24590 cat confdefs.h >>conftest.$ac_ext
24591 cat >>conftest.$ac_ext <<_ACEOF
24592 /* end confdefs.h. */
24593
24594
24595 #include <$ac_header>
24596 _ACEOF
24597 rm -f conftest.$ac_objext
24598 if { (ac_try="$ac_compile"
24599 case "(($ac_try" in
24600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24601 *) ac_try_echo=$ac_try;;
24602 esac
24603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24604 (eval "$ac_compile") 2>conftest.er1
24605 ac_status=$?
24606 grep -v '^ *+' conftest.er1 >conftest.err
24607 rm -f conftest.er1
24608 cat conftest.err >&5
24609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24610 (exit $ac_status); } && {
24611 test -z "$ac_cxx_werror_flag" ||
24612 test ! -s conftest.err
24613 } && test -s conftest.$ac_objext; then
24614 eval "$as_ac_Header=yes"
24615 else
24616 echo "$as_me: failed program was:" >&5
24617 sed 's/^/| /' conftest.$ac_ext >&5
24618
24619 eval "$as_ac_Header=no"
24620 fi
24621
24622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24623 fi
24624 ac_res=`eval echo '${'$as_ac_Header'}'`
24625 { echo "$as_me:$LINENO: result: $ac_res" >&5
24626 echo "${ECHO_T}$ac_res" >&6; }
24627 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24628 cat >>confdefs.h <<_ACEOF
24629 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24630 _ACEOF
24631
24632 fi
24633
24634 done
24635
24636
24637 if test "$ac_cv_header_iostream" = "yes" ; then
24638 :
24639 else
24640 cat >>confdefs.h <<\_ACEOF
24641 #define wxUSE_IOSTREAMH 1
24642 _ACEOF
24643
24644 fi
24645
24646 ac_ext=c
24647 ac_cpp='$CPP $CPPFLAGS'
24648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24651
24652
24653
24654
24655 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24656 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24657 if test "${wx_cv_explicit+set}" = set; then
24658 echo $ECHO_N "(cached) $ECHO_C" >&6
24659 else
24660
24661
24662 ac_ext=cpp
24663 ac_cpp='$CXXCPP $CPPFLAGS'
24664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24667
24668
24669 cat >conftest.$ac_ext <<_ACEOF
24670 /* confdefs.h. */
24671 _ACEOF
24672 cat confdefs.h >>conftest.$ac_ext
24673 cat >>conftest.$ac_ext <<_ACEOF
24674 /* end confdefs.h. */
24675
24676 class Foo { public: explicit Foo(int) {} };
24677
24678 int
24679 main ()
24680 {
24681
24682 return 0;
24683
24684 ;
24685 return 0;
24686 }
24687 _ACEOF
24688 rm -f conftest.$ac_objext
24689 if { (ac_try="$ac_compile"
24690 case "(($ac_try" in
24691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24692 *) ac_try_echo=$ac_try;;
24693 esac
24694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24695 (eval "$ac_compile") 2>conftest.er1
24696 ac_status=$?
24697 grep -v '^ *+' conftest.er1 >conftest.err
24698 rm -f conftest.er1
24699 cat conftest.err >&5
24700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24701 (exit $ac_status); } && {
24702 test -z "$ac_cxx_werror_flag" ||
24703 test ! -s conftest.err
24704 } && test -s conftest.$ac_objext; then
24705
24706 cat >conftest.$ac_ext <<_ACEOF
24707 /* confdefs.h. */
24708 _ACEOF
24709 cat confdefs.h >>conftest.$ac_ext
24710 cat >>conftest.$ac_ext <<_ACEOF
24711 /* end confdefs.h. */
24712
24713 class Foo { public: explicit Foo(int) {} };
24714 static void TakeFoo(const Foo& foo) { }
24715
24716 int
24717 main ()
24718 {
24719
24720 TakeFoo(17);
24721 return 0;
24722
24723 ;
24724 return 0;
24725 }
24726 _ACEOF
24727 rm -f conftest.$ac_objext
24728 if { (ac_try="$ac_compile"
24729 case "(($ac_try" in
24730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24731 *) ac_try_echo=$ac_try;;
24732 esac
24733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24734 (eval "$ac_compile") 2>conftest.er1
24735 ac_status=$?
24736 grep -v '^ *+' conftest.er1 >conftest.err
24737 rm -f conftest.er1
24738 cat conftest.err >&5
24739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24740 (exit $ac_status); } && {
24741 test -z "$ac_cxx_werror_flag" ||
24742 test ! -s conftest.err
24743 } && test -s conftest.$ac_objext; then
24744 wx_cv_explicit=no
24745 else
24746 echo "$as_me: failed program was:" >&5
24747 sed 's/^/| /' conftest.$ac_ext >&5
24748
24749 wx_cv_explicit=yes
24750
24751 fi
24752
24753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24754
24755 else
24756 echo "$as_me: failed program was:" >&5
24757 sed 's/^/| /' conftest.$ac_ext >&5
24758
24759 wx_cv_explicit=no
24760
24761 fi
24762
24763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24764
24765 ac_ext=c
24766 ac_cpp='$CPP $CPPFLAGS'
24767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24770
24771
24772 fi
24773 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24774 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24775
24776 if test "$wx_cv_explicit" = "yes"; then
24777 cat >>confdefs.h <<\_ACEOF
24778 #define HAVE_EXPLICIT 1
24779 _ACEOF
24780
24781 fi
24782
24783
24784 if test "x$SUNCXX" = xyes; then
24785 CXXFLAGS="-features=tmplife $CXXFLAGS"
24786 fi
24787
24788 if test "x$SUNCC" = xyes; then
24789 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24790 fi
24791
24792 if test "x$SGICC" = "xyes"; then
24793 { echo "$as_me:$LINENO: checking if cc version is 7.4.4 or greater" >&5
24794 echo $ECHO_N "checking if cc version is 7.4.4 or greater... $ECHO_C" >&6; }
24795 if test "${wx_cv_prog_sgicc744+set}" = set; then
24796 echo $ECHO_N "(cached) $ECHO_C" >&6
24797 else
24798
24799 cat >conftest.$ac_ext <<_ACEOF
24800 /* confdefs.h. */
24801 _ACEOF
24802 cat confdefs.h >>conftest.$ac_ext
24803 cat >>conftest.$ac_ext <<_ACEOF
24804 /* end confdefs.h. */
24805
24806 int
24807 main ()
24808 {
24809
24810 #if _SGI_COMPILER_VERSION >= 744
24811 chock me: mipsPro is 7.4.4 or later
24812 #endif
24813
24814 ;
24815 return 0;
24816 }
24817 _ACEOF
24818 rm -f conftest.$ac_objext
24819 if { (ac_try="$ac_compile"
24820 case "(($ac_try" in
24821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24822 *) ac_try_echo=$ac_try;;
24823 esac
24824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24825 (eval "$ac_compile") 2>conftest.er1
24826 ac_status=$?
24827 grep -v '^ *+' conftest.er1 >conftest.err
24828 rm -f conftest.er1
24829 cat conftest.err >&5
24830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24831 (exit $ac_status); } && {
24832 test -z "$ac_c_werror_flag" ||
24833 test ! -s conftest.err
24834 } && test -s conftest.$ac_objext; then
24835 wx_cv_prog_sgicc744=no
24836 else
24837 echo "$as_me: failed program was:" >&5
24838 sed 's/^/| /' conftest.$ac_ext >&5
24839
24840 wx_cv_prog_sgicc744=yes
24841
24842 fi
24843
24844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24845
24846
24847 fi
24848 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicc744" >&5
24849 echo "${ECHO_T}$wx_cv_prog_sgicc744" >&6; }
24850
24851 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
24852 CFLAGS="-woff 3970 $CFLAGS"
24853 fi
24854 fi
24855 if test "x$SGICXX" = "xyes"; then
24856 { echo "$as_me:$LINENO: checking if CC version is 7.4.4 or greater" >&5
24857 echo $ECHO_N "checking if CC version is 7.4.4 or greater... $ECHO_C" >&6; }
24858 if test "${wx_cv_prog_sgicxx744+set}" = set; then
24859 echo $ECHO_N "(cached) $ECHO_C" >&6
24860 else
24861
24862 ac_ext=cpp
24863 ac_cpp='$CXXCPP $CPPFLAGS'
24864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24867
24868 cat >conftest.$ac_ext <<_ACEOF
24869 /* confdefs.h. */
24870 _ACEOF
24871 cat confdefs.h >>conftest.$ac_ext
24872 cat >>conftest.$ac_ext <<_ACEOF
24873 /* end confdefs.h. */
24874
24875 int
24876 main ()
24877 {
24878
24879 #if _SGI_COMPILER_VERSION >= 744
24880 chock me: mipsPro is 7.4.4 or later
24881 #endif
24882
24883 ;
24884 return 0;
24885 }
24886 _ACEOF
24887 rm -f conftest.$ac_objext
24888 if { (ac_try="$ac_compile"
24889 case "(($ac_try" in
24890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24891 *) ac_try_echo=$ac_try;;
24892 esac
24893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24894 (eval "$ac_compile") 2>conftest.er1
24895 ac_status=$?
24896 grep -v '^ *+' conftest.er1 >conftest.err
24897 rm -f conftest.er1
24898 cat conftest.err >&5
24899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24900 (exit $ac_status); } && {
24901 test -z "$ac_cxx_werror_flag" ||
24902 test ! -s conftest.err
24903 } && test -s conftest.$ac_objext; then
24904 wx_cv_prog_sgicxx744=no
24905 else
24906 echo "$as_me: failed program was:" >&5
24907 sed 's/^/| /' conftest.$ac_ext >&5
24908
24909 wx_cv_prog_sgicxx744=yes
24910
24911 fi
24912
24913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24914 ac_ext=c
24915 ac_cpp='$CPP $CPPFLAGS'
24916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24919
24920
24921
24922 fi
24923 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicxx744" >&5
24924 echo "${ECHO_T}$wx_cv_prog_sgicxx744" >&6; }
24925
24926 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
24927 CXXFLAGS="-woff 3970 $CXXFLAGS"
24928 fi
24929 fi
24930
24931 if test "x$HPCC" = "xyes"; then
24932 CFLAGS="+W 2011,2450 $CFLAGS"
24933 fi
24934 if test "x$HPCXX" = "xyes"; then
24935 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
24936 fi
24937
24938 if test "x$COMPAQCXX" = "xyes"; then
24939 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24940 fi
24941
24942 ac_ext=cpp
24943 ac_cpp='$CXXCPP $CPPFLAGS'
24944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24947
24948
24949 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24950 if test "$wxUSE_UNICODE" = "yes"; then
24951 std_string="std::wstring"
24952 char_type="wchar_t"
24953 else
24954 std_string="std::string"
24955 char_type="char"
24956 fi
24957
24958 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24959 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24960 if test "${wx_cv_class_stdstring+set}" = set; then
24961 echo $ECHO_N "(cached) $ECHO_C" >&6
24962 else
24963
24964 cat >conftest.$ac_ext <<_ACEOF
24965 /* confdefs.h. */
24966 _ACEOF
24967 cat confdefs.h >>conftest.$ac_ext
24968 cat >>conftest.$ac_ext <<_ACEOF
24969 /* end confdefs.h. */
24970 #include <string>
24971 int
24972 main ()
24973 {
24974 $std_string foo;
24975 ;
24976 return 0;
24977 }
24978 _ACEOF
24979 rm -f conftest.$ac_objext
24980 if { (ac_try="$ac_compile"
24981 case "(($ac_try" in
24982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24983 *) ac_try_echo=$ac_try;;
24984 esac
24985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24986 (eval "$ac_compile") 2>conftest.er1
24987 ac_status=$?
24988 grep -v '^ *+' conftest.er1 >conftest.err
24989 rm -f conftest.er1
24990 cat conftest.err >&5
24991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24992 (exit $ac_status); } && {
24993 test -z "$ac_cxx_werror_flag" ||
24994 test ! -s conftest.err
24995 } && test -s conftest.$ac_objext; then
24996 wx_cv_class_stdstring=yes
24997 else
24998 echo "$as_me: failed program was:" >&5
24999 sed 's/^/| /' conftest.$ac_ext >&5
25000
25001 wx_cv_class_stdstring=no
25002
25003 fi
25004
25005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25006
25007
25008 fi
25009 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
25010 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
25011
25012 if test "$wx_cv_class_stdstring" = yes; then
25013 if test "$wxUSE_UNICODE" = "yes"; then
25014 cat >>confdefs.h <<\_ACEOF
25015 #define HAVE_STD_WSTRING 1
25016 _ACEOF
25017
25018 fi
25019 else
25020 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
25021 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
25022 if test "${wx_cv_class_stdbasicstring+set}" = set; then
25023 echo $ECHO_N "(cached) $ECHO_C" >&6
25024 else
25025
25026 cat >conftest.$ac_ext <<_ACEOF
25027 /* confdefs.h. */
25028 _ACEOF
25029 cat confdefs.h >>conftest.$ac_ext
25030 cat >>conftest.$ac_ext <<_ACEOF
25031 /* end confdefs.h. */
25032
25033 #ifdef HAVE_WCHAR_H
25034 # ifdef __CYGWIN__
25035 # include <stddef.h>
25036 # endif
25037 # include <wchar.h>
25038 #endif
25039 #ifdef HAVE_STDLIB_H
25040 # include <stdlib.h>
25041 #endif
25042 #include <stdio.h>
25043 #include <string>
25044
25045 int
25046 main ()
25047 {
25048 std::basic_string<$char_type> foo;
25049 const $char_type* dummy = foo.c_str();
25050 ;
25051 return 0;
25052 }
25053 _ACEOF
25054 rm -f conftest.$ac_objext
25055 if { (ac_try="$ac_compile"
25056 case "(($ac_try" in
25057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25058 *) ac_try_echo=$ac_try;;
25059 esac
25060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25061 (eval "$ac_compile") 2>conftest.er1
25062 ac_status=$?
25063 grep -v '^ *+' conftest.er1 >conftest.err
25064 rm -f conftest.er1
25065 cat conftest.err >&5
25066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25067 (exit $ac_status); } && {
25068 test -z "$ac_cxx_werror_flag" ||
25069 test ! -s conftest.err
25070 } && test -s conftest.$ac_objext; then
25071 wx_cv_class_stdbasicstring=yes
25072 else
25073 echo "$as_me: failed program was:" >&5
25074 sed 's/^/| /' conftest.$ac_ext >&5
25075
25076 wx_cv_class_stdbasicstring=no
25077
25078 fi
25079
25080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25081
25082
25083 fi
25084 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
25085 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
25086
25087 if test "$wx_cv_class_stdbasicstring" != yes; then
25088 if test "$wxUSE_STL" = "yes"; then
25089 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
25090 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
25091 { (exit 1); exit 1; }; }
25092 elif test "$wxUSE_STD_STRING" = "yes"; then
25093 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
25094 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
25095 { (exit 1); exit 1; }; }
25096 else
25097 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
25098 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
25099 wxUSE_STD_STRING=no
25100 fi
25101 fi
25102 fi
25103 fi
25104
25105 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25106 { echo "$as_me:$LINENO: checking for std::istream" >&5
25107 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
25108 if test "${ac_cv_type_std__istream+set}" = set; then
25109 echo $ECHO_N "(cached) $ECHO_C" >&6
25110 else
25111 cat >conftest.$ac_ext <<_ACEOF
25112 /* confdefs.h. */
25113 _ACEOF
25114 cat confdefs.h >>conftest.$ac_ext
25115 cat >>conftest.$ac_ext <<_ACEOF
25116 /* end confdefs.h. */
25117 #include <iostream>
25118
25119 typedef std::istream ac__type_new_;
25120 int
25121 main ()
25122 {
25123 if ((ac__type_new_ *) 0)
25124 return 0;
25125 if (sizeof (ac__type_new_))
25126 return 0;
25127 ;
25128 return 0;
25129 }
25130 _ACEOF
25131 rm -f conftest.$ac_objext
25132 if { (ac_try="$ac_compile"
25133 case "(($ac_try" in
25134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25135 *) ac_try_echo=$ac_try;;
25136 esac
25137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25138 (eval "$ac_compile") 2>conftest.er1
25139 ac_status=$?
25140 grep -v '^ *+' conftest.er1 >conftest.err
25141 rm -f conftest.er1
25142 cat conftest.err >&5
25143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25144 (exit $ac_status); } && {
25145 test -z "$ac_cxx_werror_flag" ||
25146 test ! -s conftest.err
25147 } && test -s conftest.$ac_objext; then
25148 ac_cv_type_std__istream=yes
25149 else
25150 echo "$as_me: failed program was:" >&5
25151 sed 's/^/| /' conftest.$ac_ext >&5
25152
25153 ac_cv_type_std__istream=no
25154 fi
25155
25156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25157 fi
25158 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
25159 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
25160 if test $ac_cv_type_std__istream = yes; then
25161
25162 cat >>confdefs.h <<_ACEOF
25163 #define HAVE_STD__ISTREAM 1
25164 _ACEOF
25165
25166
25167 else
25168 wxUSE_STD_IOSTREAM=no
25169 fi
25170 { echo "$as_me:$LINENO: checking for std::ostream" >&5
25171 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
25172 if test "${ac_cv_type_std__ostream+set}" = set; then
25173 echo $ECHO_N "(cached) $ECHO_C" >&6
25174 else
25175 cat >conftest.$ac_ext <<_ACEOF
25176 /* confdefs.h. */
25177 _ACEOF
25178 cat confdefs.h >>conftest.$ac_ext
25179 cat >>conftest.$ac_ext <<_ACEOF
25180 /* end confdefs.h. */
25181 #include <iostream>
25182
25183 typedef std::ostream ac__type_new_;
25184 int
25185 main ()
25186 {
25187 if ((ac__type_new_ *) 0)
25188 return 0;
25189 if (sizeof (ac__type_new_))
25190 return 0;
25191 ;
25192 return 0;
25193 }
25194 _ACEOF
25195 rm -f conftest.$ac_objext
25196 if { (ac_try="$ac_compile"
25197 case "(($ac_try" in
25198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25199 *) ac_try_echo=$ac_try;;
25200 esac
25201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25202 (eval "$ac_compile") 2>conftest.er1
25203 ac_status=$?
25204 grep -v '^ *+' conftest.er1 >conftest.err
25205 rm -f conftest.er1
25206 cat conftest.err >&5
25207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25208 (exit $ac_status); } && {
25209 test -z "$ac_cxx_werror_flag" ||
25210 test ! -s conftest.err
25211 } && test -s conftest.$ac_objext; then
25212 ac_cv_type_std__ostream=yes
25213 else
25214 echo "$as_me: failed program was:" >&5
25215 sed 's/^/| /' conftest.$ac_ext >&5
25216
25217 ac_cv_type_std__ostream=no
25218 fi
25219
25220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25221 fi
25222 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
25223 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
25224 if test $ac_cv_type_std__ostream = yes; then
25225
25226 cat >>confdefs.h <<_ACEOF
25227 #define HAVE_STD__OSTREAM 1
25228 _ACEOF
25229
25230
25231 else
25232 wxUSE_STD_IOSTREAM=no
25233 fi
25234
25235
25236 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
25237 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25238 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
25239 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
25240 { (exit 1); exit 1; }; }
25241 else
25242 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
25243 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
25244 fi
25245 fi
25246 fi
25247
25248 if test "$wxUSE_STL" = "yes"; then
25249 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
25250 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
25251 if test "${wx_cv_lib_stl+set}" = set; then
25252 echo $ECHO_N "(cached) $ECHO_C" >&6
25253 else
25254 cat >conftest.$ac_ext <<_ACEOF
25255 /* confdefs.h. */
25256 _ACEOF
25257 cat confdefs.h >>conftest.$ac_ext
25258 cat >>conftest.$ac_ext <<_ACEOF
25259 /* end confdefs.h. */
25260 #include <string>
25261 #include <functional>
25262 #include <algorithm>
25263 #include <vector>
25264 #include <list>
25265 int
25266 main ()
25267 {
25268 std::vector<int> moo;
25269 std::list<int> foo;
25270 std::vector<int>::iterator it =
25271 std::find_if(moo.begin(), moo.end(),
25272 std::bind2nd(std::less<int>(), 3));
25273 ;
25274 return 0;
25275 }
25276 _ACEOF
25277 rm -f conftest.$ac_objext
25278 if { (ac_try="$ac_compile"
25279 case "(($ac_try" in
25280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25281 *) ac_try_echo=$ac_try;;
25282 esac
25283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25284 (eval "$ac_compile") 2>conftest.er1
25285 ac_status=$?
25286 grep -v '^ *+' conftest.er1 >conftest.err
25287 rm -f conftest.er1
25288 cat conftest.err >&5
25289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25290 (exit $ac_status); } && {
25291 test -z "$ac_cxx_werror_flag" ||
25292 test ! -s conftest.err
25293 } && test -s conftest.$ac_objext; then
25294 wx_cv_lib_stl=yes
25295 else
25296 echo "$as_me: failed program was:" >&5
25297 sed 's/^/| /' conftest.$ac_ext >&5
25298
25299 wx_cv_lib_stl=no
25300
25301 fi
25302
25303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25304
25305 fi
25306 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
25307 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
25308
25309 if test "$wx_cv_lib_stl" != yes; then
25310 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
25311 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
25312 { (exit 1); exit 1; }; }
25313 fi
25314
25315 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
25316 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
25317 if test "${wx_cv_func_stdstring_compare+set}" = set; then
25318 echo $ECHO_N "(cached) $ECHO_C" >&6
25319 else
25320 cat >conftest.$ac_ext <<_ACEOF
25321 /* confdefs.h. */
25322 _ACEOF
25323 cat confdefs.h >>conftest.$ac_ext
25324 cat >>conftest.$ac_ext <<_ACEOF
25325 /* end confdefs.h. */
25326 #include <string>
25327 int
25328 main ()
25329 {
25330 std::string foo, bar;
25331 foo.compare(bar);
25332 foo.compare(1, 1, bar);
25333 foo.compare(1, 1, bar, 1, 1);
25334 foo.compare("");
25335 foo.compare(1, 1, "");
25336 foo.compare(1, 1, "", 2);
25337 ;
25338 return 0;
25339 }
25340 _ACEOF
25341 rm -f conftest.$ac_objext
25342 if { (ac_try="$ac_compile"
25343 case "(($ac_try" in
25344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25345 *) ac_try_echo=$ac_try;;
25346 esac
25347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25348 (eval "$ac_compile") 2>conftest.er1
25349 ac_status=$?
25350 grep -v '^ *+' conftest.er1 >conftest.err
25351 rm -f conftest.er1
25352 cat conftest.err >&5
25353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25354 (exit $ac_status); } && {
25355 test -z "$ac_cxx_werror_flag" ||
25356 test ! -s conftest.err
25357 } && test -s conftest.$ac_objext; then
25358 wx_cv_func_stdstring_compare=yes
25359 else
25360 echo "$as_me: failed program was:" >&5
25361 sed 's/^/| /' conftest.$ac_ext >&5
25362
25363 wx_cv_func_stdstring_compare=no
25364
25365 fi
25366
25367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25368
25369 fi
25370 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
25371 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
25372
25373 if test "$wx_cv_func_stdstring_compare" = yes; then
25374 cat >>confdefs.h <<\_ACEOF
25375 #define HAVE_STD_STRING_COMPARE 1
25376 _ACEOF
25377
25378 fi
25379
25380 if test "$wx_cv_class_gnuhashmapset" = yes; then
25381 cat >>confdefs.h <<\_ACEOF
25382 #define HAVE_EXT_HASH_MAP 1
25383 _ACEOF
25384
25385 cat >>confdefs.h <<\_ACEOF
25386 #define HAVE_GNU_CXX_HASH_MAP 1
25387 _ACEOF
25388
25389 fi
25390
25391 { echo "$as_me:$LINENO: checking for unordered_map" >&5
25392 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
25393 if test "${ac_cv_header_unordered_map+set}" = set; then
25394 echo $ECHO_N "(cached) $ECHO_C" >&6
25395 else
25396 cat >conftest.$ac_ext <<_ACEOF
25397 /* confdefs.h. */
25398 _ACEOF
25399 cat confdefs.h >>conftest.$ac_ext
25400 cat >>conftest.$ac_ext <<_ACEOF
25401 /* end confdefs.h. */
25402
25403
25404
25405 #include <unordered_map>
25406 _ACEOF
25407 rm -f conftest.$ac_objext
25408 if { (ac_try="$ac_compile"
25409 case "(($ac_try" in
25410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25411 *) ac_try_echo=$ac_try;;
25412 esac
25413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25414 (eval "$ac_compile") 2>conftest.er1
25415 ac_status=$?
25416 grep -v '^ *+' conftest.er1 >conftest.err
25417 rm -f conftest.er1
25418 cat conftest.err >&5
25419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25420 (exit $ac_status); } && {
25421 test -z "$ac_cxx_werror_flag" ||
25422 test ! -s conftest.err
25423 } && test -s conftest.$ac_objext; then
25424 ac_cv_header_unordered_map=yes
25425 else
25426 echo "$as_me: failed program was:" >&5
25427 sed 's/^/| /' conftest.$ac_ext >&5
25428
25429 ac_cv_header_unordered_map=no
25430 fi
25431
25432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25433 fi
25434 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
25435 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
25436 if test $ac_cv_header_unordered_map = yes; then
25437 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
25438 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
25439 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
25440 echo $ECHO_N "(cached) $ECHO_C" >&6
25441 else
25442 cat >conftest.$ac_ext <<_ACEOF
25443 /* confdefs.h. */
25444 _ACEOF
25445 cat confdefs.h >>conftest.$ac_ext
25446 cat >>conftest.$ac_ext <<_ACEOF
25447 /* end confdefs.h. */
25448 #include <unordered_map>
25449 #include <unordered_set>
25450 int
25451 main ()
25452 {
25453 std::unordered_map<double*, char*> test1;
25454 std::unordered_set<char*> test2;
25455 ;
25456 return 0;
25457 }
25458 _ACEOF
25459 rm -f conftest.$ac_objext
25460 if { (ac_try="$ac_compile"
25461 case "(($ac_try" in
25462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25463 *) ac_try_echo=$ac_try;;
25464 esac
25465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25466 (eval "$ac_compile") 2>conftest.er1
25467 ac_status=$?
25468 grep -v '^ *+' conftest.er1 >conftest.err
25469 rm -f conftest.er1
25470 cat conftest.err >&5
25471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25472 (exit $ac_status); } && {
25473 test -z "$ac_cxx_werror_flag" ||
25474 test ! -s conftest.err
25475 } && test -s conftest.$ac_objext; then
25476 wx_cv_class_stdunorderedmapset=yes
25477 else
25478 echo "$as_me: failed program was:" >&5
25479 sed 's/^/| /' conftest.$ac_ext >&5
25480
25481 wx_cv_class_stdunorderedmapset=no
25482 fi
25483
25484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25485
25486
25487 fi
25488 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
25489 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
25490 fi
25491
25492
25493
25494 if test "$wx_cv_class_stdunorderedmapset" = yes; then
25495 cat >>confdefs.h <<\_ACEOF
25496 #define HAVE_STD_UNORDERED_MAP 1
25497 _ACEOF
25498
25499 cat >>confdefs.h <<\_ACEOF
25500 #define HAVE_STD_UNORDERED_SET 1
25501 _ACEOF
25502
25503 else
25504 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
25505 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
25506 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
25507 echo $ECHO_N "(cached) $ECHO_C" >&6
25508 else
25509 cat >conftest.$ac_ext <<_ACEOF
25510 /* confdefs.h. */
25511 _ACEOF
25512 cat confdefs.h >>conftest.$ac_ext
25513 cat >>conftest.$ac_ext <<_ACEOF
25514 /* end confdefs.h. */
25515
25516
25517
25518 #include <tr1/unordered_map>
25519 _ACEOF
25520 rm -f conftest.$ac_objext
25521 if { (ac_try="$ac_compile"
25522 case "(($ac_try" in
25523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25524 *) ac_try_echo=$ac_try;;
25525 esac
25526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25527 (eval "$ac_compile") 2>conftest.er1
25528 ac_status=$?
25529 grep -v '^ *+' conftest.er1 >conftest.err
25530 rm -f conftest.er1
25531 cat conftest.err >&5
25532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25533 (exit $ac_status); } && {
25534 test -z "$ac_cxx_werror_flag" ||
25535 test ! -s conftest.err
25536 } && test -s conftest.$ac_objext; then
25537 ac_cv_header_tr1_unordered_map=yes
25538 else
25539 echo "$as_me: failed program was:" >&5
25540 sed 's/^/| /' conftest.$ac_ext >&5
25541
25542 ac_cv_header_tr1_unordered_map=no
25543 fi
25544
25545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25546 fi
25547 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
25548 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
25549 if test $ac_cv_header_tr1_unordered_map = yes; then
25550 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
25551 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
25552 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
25553 echo $ECHO_N "(cached) $ECHO_C" >&6
25554 else
25555 cat >conftest.$ac_ext <<_ACEOF
25556 /* confdefs.h. */
25557 _ACEOF
25558 cat confdefs.h >>conftest.$ac_ext
25559 cat >>conftest.$ac_ext <<_ACEOF
25560 /* end confdefs.h. */
25561 #include <tr1/unordered_map>
25562 #include <tr1/unordered_set>
25563 int
25564 main ()
25565 {
25566 std::tr1::unordered_map<double*, char*> test1;
25567 std::tr1::unordered_set<char*> test2;
25568 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
25569 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
25570 #endif
25571 ;
25572 return 0;
25573 }
25574 _ACEOF
25575 rm -f conftest.$ac_objext
25576 if { (ac_try="$ac_compile"
25577 case "(($ac_try" in
25578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25579 *) ac_try_echo=$ac_try;;
25580 esac
25581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25582 (eval "$ac_compile") 2>conftest.er1
25583 ac_status=$?
25584 grep -v '^ *+' conftest.er1 >conftest.err
25585 rm -f conftest.er1
25586 cat conftest.err >&5
25587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25588 (exit $ac_status); } && {
25589 test -z "$ac_cxx_werror_flag" ||
25590 test ! -s conftest.err
25591 } && test -s conftest.$ac_objext; then
25592 wx_cv_class_tr1unorderedmapset=yes
25593 else
25594 echo "$as_me: failed program was:" >&5
25595 sed 's/^/| /' conftest.$ac_ext >&5
25596
25597 wx_cv_class_tr1unorderedmapset=no
25598 fi
25599
25600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25601
25602
25603 fi
25604 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25605 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25606 fi
25607
25608
25609
25610 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25611 cat >>confdefs.h <<\_ACEOF
25612 #define HAVE_TR1_UNORDERED_MAP 1
25613 _ACEOF
25614
25615 cat >>confdefs.h <<\_ACEOF
25616 #define HAVE_TR1_UNORDERED_SET 1
25617 _ACEOF
25618
25619 else
25620 { echo "$as_me:$LINENO: checking for hash_map" >&5
25621 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25622 if test "${ac_cv_header_hash_map+set}" = set; then
25623 echo $ECHO_N "(cached) $ECHO_C" >&6
25624 else
25625 cat >conftest.$ac_ext <<_ACEOF
25626 /* confdefs.h. */
25627 _ACEOF
25628 cat confdefs.h >>conftest.$ac_ext
25629 cat >>conftest.$ac_ext <<_ACEOF
25630 /* end confdefs.h. */
25631
25632
25633
25634 #include <hash_map>
25635 _ACEOF
25636 rm -f conftest.$ac_objext
25637 if { (ac_try="$ac_compile"
25638 case "(($ac_try" in
25639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25640 *) ac_try_echo=$ac_try;;
25641 esac
25642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25643 (eval "$ac_compile") 2>conftest.er1
25644 ac_status=$?
25645 grep -v '^ *+' conftest.er1 >conftest.err
25646 rm -f conftest.er1
25647 cat conftest.err >&5
25648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25649 (exit $ac_status); } && {
25650 test -z "$ac_cxx_werror_flag" ||
25651 test ! -s conftest.err
25652 } && test -s conftest.$ac_objext; then
25653 ac_cv_header_hash_map=yes
25654 else
25655 echo "$as_me: failed program was:" >&5
25656 sed 's/^/| /' conftest.$ac_ext >&5
25657
25658 ac_cv_header_hash_map=no
25659 fi
25660
25661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25662 fi
25663 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25664 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25665 if test $ac_cv_header_hash_map = yes; then
25666 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25667 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25668 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25669 echo $ECHO_N "(cached) $ECHO_C" >&6
25670 else
25671 cat >conftest.$ac_ext <<_ACEOF
25672 /* confdefs.h. */
25673 _ACEOF
25674 cat confdefs.h >>conftest.$ac_ext
25675 cat >>conftest.$ac_ext <<_ACEOF
25676 /* end confdefs.h. */
25677 #include <hash_map>
25678 #include <hash_set>
25679 int
25680 main ()
25681 {
25682 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25683 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25684 ;
25685 return 0;
25686 }
25687 _ACEOF
25688 rm -f conftest.$ac_objext
25689 if { (ac_try="$ac_compile"
25690 case "(($ac_try" in
25691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25692 *) ac_try_echo=$ac_try;;
25693 esac
25694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25695 (eval "$ac_compile") 2>conftest.er1
25696 ac_status=$?
25697 grep -v '^ *+' conftest.er1 >conftest.err
25698 rm -f conftest.er1
25699 cat conftest.err >&5
25700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25701 (exit $ac_status); } && {
25702 test -z "$ac_cxx_werror_flag" ||
25703 test ! -s conftest.err
25704 } && test -s conftest.$ac_objext; then
25705 wx_cv_class_stdhashmapset=yes
25706 else
25707 echo "$as_me: failed program was:" >&5
25708 sed 's/^/| /' conftest.$ac_ext >&5
25709
25710 wx_cv_class_stdhashmapset=no
25711 fi
25712
25713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25714
25715
25716 fi
25717 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25718 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25719 fi
25720
25721
25722
25723 if test "$wx_cv_class_stdhashmapset" = yes; then
25724 cat >>confdefs.h <<\_ACEOF
25725 #define HAVE_HASH_MAP 1
25726 _ACEOF
25727
25728 cat >>confdefs.h <<\_ACEOF
25729 #define HAVE_STD_HASH_MAP 1
25730 _ACEOF
25731
25732 fi
25733
25734 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25735 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25736 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25737 echo $ECHO_N "(cached) $ECHO_C" >&6
25738 else
25739 cat >conftest.$ac_ext <<_ACEOF
25740 /* confdefs.h. */
25741 _ACEOF
25742 cat confdefs.h >>conftest.$ac_ext
25743 cat >>conftest.$ac_ext <<_ACEOF
25744 /* end confdefs.h. */
25745
25746
25747
25748 #include <ext/hash_map>
25749 _ACEOF
25750 rm -f conftest.$ac_objext
25751 if { (ac_try="$ac_compile"
25752 case "(($ac_try" in
25753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25754 *) ac_try_echo=$ac_try;;
25755 esac
25756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25757 (eval "$ac_compile") 2>conftest.er1
25758 ac_status=$?
25759 grep -v '^ *+' conftest.er1 >conftest.err
25760 rm -f conftest.er1
25761 cat conftest.err >&5
25762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25763 (exit $ac_status); } && {
25764 test -z "$ac_cxx_werror_flag" ||
25765 test ! -s conftest.err
25766 } && test -s conftest.$ac_objext; then
25767 ac_cv_header_ext_hash_map=yes
25768 else
25769 echo "$as_me: failed program was:" >&5
25770 sed 's/^/| /' conftest.$ac_ext >&5
25771
25772 ac_cv_header_ext_hash_map=no
25773 fi
25774
25775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25776 fi
25777 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25778 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25779 if test $ac_cv_header_ext_hash_map = yes; then
25780 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25781 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25782 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25783 echo $ECHO_N "(cached) $ECHO_C" >&6
25784 else
25785 cat >conftest.$ac_ext <<_ACEOF
25786 /* confdefs.h. */
25787 _ACEOF
25788 cat confdefs.h >>conftest.$ac_ext
25789 cat >>conftest.$ac_ext <<_ACEOF
25790 /* end confdefs.h. */
25791 #include <ext/hash_map>
25792 #include <ext/hash_set>
25793 int
25794 main ()
25795 {
25796 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25797 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25798 ;
25799 return 0;
25800 }
25801 _ACEOF
25802 rm -f conftest.$ac_objext
25803 if { (ac_try="$ac_compile"
25804 case "(($ac_try" in
25805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25806 *) ac_try_echo=$ac_try;;
25807 esac
25808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25809 (eval "$ac_compile") 2>conftest.er1
25810 ac_status=$?
25811 grep -v '^ *+' conftest.er1 >conftest.err
25812 rm -f conftest.er1
25813 cat conftest.err >&5
25814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25815 (exit $ac_status); } && {
25816 test -z "$ac_cxx_werror_flag" ||
25817 test ! -s conftest.err
25818 } && test -s conftest.$ac_objext; then
25819 wx_cv_class_gnuhashmapset=yes
25820 else
25821 echo "$as_me: failed program was:" >&5
25822 sed 's/^/| /' conftest.$ac_ext >&5
25823
25824 wx_cv_class_gnuhashmapset=no
25825 fi
25826
25827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25828
25829
25830 fi
25831 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25832 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25833 fi
25834
25835
25836
25837 fi
25838 fi
25839 fi
25840
25841
25842
25843 if test -n "$GCC"; then
25844 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
25845 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
25846 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
25847 echo $ECHO_N "(cached) $ECHO_C" >&6
25848 else
25849
25850 cat >conftest.$ac_ext <<_ACEOF
25851 /* confdefs.h. */
25852 _ACEOF
25853 cat confdefs.h >>conftest.$ac_ext
25854 cat >>conftest.$ac_ext <<_ACEOF
25855 /* end confdefs.h. */
25856
25857 int
25858 main ()
25859 {
25860
25861 unsigned int value=0;
25862 /* wxAtomicInc doesn't use return value here */
25863 __sync_fetch_and_add(&value, 2);
25864 __sync_sub_and_fetch(&value, 1);
25865 /* but wxAtomicDec does, so mimic that: */
25866 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
25867
25868 ;
25869 return 0;
25870 }
25871 _ACEOF
25872 rm -f conftest.$ac_objext conftest$ac_exeext
25873 if { (ac_try="$ac_link"
25874 case "(($ac_try" in
25875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25876 *) ac_try_echo=$ac_try;;
25877 esac
25878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25879 (eval "$ac_link") 2>conftest.er1
25880 ac_status=$?
25881 grep -v '^ *+' conftest.er1 >conftest.err
25882 rm -f conftest.er1
25883 cat conftest.err >&5
25884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25885 (exit $ac_status); } && {
25886 test -z "$ac_cxx_werror_flag" ||
25887 test ! -s conftest.err
25888 } && test -s conftest$ac_exeext &&
25889 $as_test_x conftest$ac_exeext; then
25890 wx_cv_cc_gcc_atomic_builtins=yes
25891 else
25892 echo "$as_me: failed program was:" >&5
25893 sed 's/^/| /' conftest.$ac_ext >&5
25894
25895 wx_cv_cc_gcc_atomic_builtins=no
25896 fi
25897
25898 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25899 conftest$ac_exeext conftest.$ac_ext
25900
25901 fi
25902
25903 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25904 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
25905 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25906 cat >>confdefs.h <<\_ACEOF
25907 #define HAVE_GCC_ATOMIC_BUILTINS 1
25908 _ACEOF
25909
25910 fi
25911 fi
25912
25913
25914 ac_ext=c
25915 ac_cpp='$CPP $CPPFLAGS'
25916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25919
25920
25921
25922 SEARCH_INCLUDE="\
25923 /usr/local/include \
25924 /usr/local/X11/include \
25925 /usr/local/include/X11 \
25926 /usr/local/X11R7/include \
25927 /usr/local/X11R6/include \
25928 /usr/local/include/X11R7 \
25929 /usr/local/include/X11R6 \
25930 \
25931 /usr/Motif-2.1/include \
25932 /usr/Motif-1.2/include \
25933 /usr/include/Motif1.2 \
25934 \
25935 /usr/dt/include \
25936 /usr/openwin/include \
25937 \
25938 /usr/include/Xm \
25939 \
25940 /usr/X11R7/include \
25941 /usr/X11R6/include \
25942 /usr/X11R6.4/include \
25943 \
25944 /usr/include/X11R7 \
25945 /usr/include/X11R6 \
25946 \
25947 /usr/X11/include \
25948 /usr/include/X11 \
25949 \
25950 /usr/XFree86/include/X11 \
25951 /usr/pkg/include \
25952 \
25953 /usr/local/X1R5/include \
25954 /usr/local/include/X11R5 \
25955 /usr/X11R5/include \
25956 /usr/include/X11R5 \
25957 \
25958 /usr/local/X11R4/include \
25959 /usr/local/include/X11R4 \
25960 /usr/X11R4/include \
25961 /usr/include/X11R4 \
25962 \
25963 /usr/openwin/share/include"
25964
25965 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25966 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25967
25968 case "${host}" in
25969 *-*-irix6* )
25970 if test "${wx_cv_std_libpath+set}" = set; then
25971 echo $ECHO_N "(cached) $ECHO_C" >&6
25972 else
25973
25974 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
25975 for e in a so sl dylib dll.a; do
25976 libc="$d/libc.$e"
25977 if test -f $libc; then
25978 save_LIBS="$LIBS"
25979 LIBS="$libc"
25980 cat >conftest.$ac_ext <<_ACEOF
25981 int main() { return 0; }
25982 _ACEOF
25983 rm -f conftest.$ac_objext conftest$ac_exeext
25984 if { (ac_try="$ac_link"
25985 case "(($ac_try" in
25986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25987 *) ac_try_echo=$ac_try;;
25988 esac
25989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25990 (eval "$ac_link") 2>conftest.er1
25991 ac_status=$?
25992 grep -v '^ *+' conftest.er1 >conftest.err
25993 rm -f conftest.er1
25994 cat conftest.err >&5
25995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25996 (exit $ac_status); } && {
25997 test -z "$ac_c_werror_flag" ||
25998 test ! -s conftest.err
25999 } && test -s conftest$ac_exeext &&
26000 $as_test_x conftest$ac_exeext; then
26001 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
26002 else
26003 echo "$as_me: failed program was:" >&5
26004 sed 's/^/| /' conftest.$ac_ext >&5
26005
26006
26007 fi
26008
26009 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26010 conftest$ac_exeext conftest.$ac_ext
26011 LIBS="$save_LIBS"
26012 if test "x$wx_cv_std_libpath" != "x"; then
26013 break 2
26014 fi
26015 fi
26016 done
26017 done
26018 if test "x$wx_cv_std_libpath" = "x"; then
26019 wx_cv_std_libpath="lib"
26020 fi
26021
26022
26023 fi
26024
26025 ;;
26026
26027 *-*-solaris2* )
26028 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
26029 wx_cv_std_libpath="lib/64"
26030 else
26031 wx_cv_std_libpath="lib"
26032 fi
26033 ;;
26034
26035 *-*-linux* )
26036 if test "$ac_cv_sizeof_void_p" = 8 -a \
26037 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
26038 wx_cv_std_libpath="lib64"
26039 else
26040 wx_cv_std_libpath="lib"
26041 fi
26042 ;;
26043
26044 *)
26045 wx_cv_std_libpath="lib";
26046 ;;
26047 esac
26048
26049 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
26050 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
26051
26052 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
26053
26054 if test "$build" != "$host" -a "$GCC" = yes; then
26055 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
26056 cross_root=`dirname $cross_root`
26057 cross_root=`dirname $cross_root`
26058
26059 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26060 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26061 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
26062
26063 if test -z "$PKG_CONFIG_PATH"; then
26064 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
26065 export PKG_CONFIG_PATH
26066 fi
26067
26068 if test -z "$x_includes" -o "$x_includes" = NONE; then
26069
26070 ac_find_includes=
26071 for ac_dir in $SEARCH_INCLUDE /usr/include;
26072 do
26073 if test -f "$ac_dir/X11/Intrinsic.h"; then
26074 ac_find_includes=$ac_dir
26075 break
26076 fi
26077 done
26078
26079 x_includes=$ac_find_includes
26080 fi
26081 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
26082
26083 ac_find_libraries=
26084 for ac_dir in $SEARCH_LIB;
26085 do
26086 for ac_extension in a so sl dylib dll.a; do
26087 if test -f "$ac_dir/libXt.$ac_extension"; then
26088 ac_find_libraries=$ac_dir
26089 break 2
26090 fi
26091 done
26092 done
26093
26094 x_libraries=$ac_find_libraries
26095 fi
26096 fi
26097 fi
26098
26099
26100 cat >confcache <<\_ACEOF
26101 # This file is a shell script that caches the results of configure
26102 # tests run on this system so they can be shared between configure
26103 # scripts and configure runs, see configure's option --config-cache.
26104 # It is not useful on other systems. If it contains results you don't
26105 # want to keep, you may remove or edit it.
26106 #
26107 # config.status only pays attention to the cache file if you give it
26108 # the --recheck option to rerun configure.
26109 #
26110 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26111 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26112 # following values.
26113
26114 _ACEOF
26115
26116 # The following way of writing the cache mishandles newlines in values,
26117 # but we know of no workaround that is simple, portable, and efficient.
26118 # So, we kill variables containing newlines.
26119 # Ultrix sh set writes to stderr and can't be redirected directly,
26120 # and sets the high bit in the cache file unless we assign to the vars.
26121 (
26122 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26123 eval ac_val=\$$ac_var
26124 case $ac_val in #(
26125 *${as_nl}*)
26126 case $ac_var in #(
26127 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
26128 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
26129 esac
26130 case $ac_var in #(
26131 _ | IFS | as_nl) ;; #(
26132 *) $as_unset $ac_var ;;
26133 esac ;;
26134 esac
26135 done
26136
26137 (set) 2>&1 |
26138 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26139 *${as_nl}ac_space=\ *)
26140 # `set' does not quote correctly, so add quotes (double-quote
26141 # substitution turns \\\\ into \\, and sed turns \\ into \).
26142 sed -n \
26143 "s/'/'\\\\''/g;
26144 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26145 ;; #(
26146 *)
26147 # `set' quotes correctly as required by POSIX, so do not add quotes.
26148 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26149 ;;
26150 esac |
26151 sort
26152 ) |
26153 sed '
26154 /^ac_cv_env_/b end
26155 t clear
26156 :clear
26157 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26158 t end
26159 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26160 :end' >>confcache
26161 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
26162 if test -w "$cache_file"; then
26163 test "x$cache_file" != "x/dev/null" &&
26164 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
26165 echo "$as_me: updating cache $cache_file" >&6;}
26166 cat confcache >$cache_file
26167 else
26168 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
26169 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26170 fi
26171 fi
26172 rm -f confcache
26173
26174 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
26175 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
26176 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
26177 if test "${wx_cv_lib_glibc21+set}" = set; then
26178 echo $ECHO_N "(cached) $ECHO_C" >&6
26179 else
26180
26181 cat >conftest.$ac_ext <<_ACEOF
26182 /* confdefs.h. */
26183 _ACEOF
26184 cat confdefs.h >>conftest.$ac_ext
26185 cat >>conftest.$ac_ext <<_ACEOF
26186 /* end confdefs.h. */
26187 #include <features.h>
26188 int
26189 main ()
26190 {
26191
26192 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
26193 not glibc 2.1
26194 #endif
26195
26196 ;
26197 return 0;
26198 }
26199 _ACEOF
26200 rm -f conftest.$ac_objext
26201 if { (ac_try="$ac_compile"
26202 case "(($ac_try" in
26203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26204 *) ac_try_echo=$ac_try;;
26205 esac
26206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26207 (eval "$ac_compile") 2>conftest.er1
26208 ac_status=$?
26209 grep -v '^ *+' conftest.er1 >conftest.err
26210 rm -f conftest.er1
26211 cat conftest.err >&5
26212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26213 (exit $ac_status); } && {
26214 test -z "$ac_c_werror_flag" ||
26215 test ! -s conftest.err
26216 } && test -s conftest.$ac_objext; then
26217
26218 wx_cv_lib_glibc21=yes
26219
26220 else
26221 echo "$as_me: failed program was:" >&5
26222 sed 's/^/| /' conftest.$ac_ext >&5
26223
26224
26225 wx_cv_lib_glibc21=no
26226
26227
26228 fi
26229
26230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26231
26232 fi
26233 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
26234 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
26235 if test "$wx_cv_lib_glibc21" = "yes"; then
26236 cat >>confdefs.h <<\_ACEOF
26237 #define wxHAVE_GLIBC2 1
26238 _ACEOF
26239
26240 fi
26241 fi
26242
26243 if test "x$wx_cv_lib_glibc21" = "xyes"; then
26244 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
26245 cat >>confdefs.h <<\_ACEOF
26246 #define _GNU_SOURCE 1
26247 _ACEOF
26248
26249 fi
26250 fi
26251
26252 have_cos=0
26253 have_floor=0
26254
26255 for ac_func in cos
26256 do
26257 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26258 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26259 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26260 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26261 echo $ECHO_N "(cached) $ECHO_C" >&6
26262 else
26263 cat >conftest.$ac_ext <<_ACEOF
26264 /* confdefs.h. */
26265 _ACEOF
26266 cat confdefs.h >>conftest.$ac_ext
26267 cat >>conftest.$ac_ext <<_ACEOF
26268 /* end confdefs.h. */
26269 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26270 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26271 #define $ac_func innocuous_$ac_func
26272
26273 /* System header to define __stub macros and hopefully few prototypes,
26274 which can conflict with char $ac_func (); below.
26275 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26276 <limits.h> exists even on freestanding compilers. */
26277
26278 #ifdef __STDC__
26279 # include <limits.h>
26280 #else
26281 # include <assert.h>
26282 #endif
26283
26284 #undef $ac_func
26285
26286 /* Override any GCC internal prototype to avoid an error.
26287 Use char because int might match the return type of a GCC
26288 builtin and then its argument prototype would still apply. */
26289 #ifdef __cplusplus
26290 extern "C"
26291 #endif
26292 char $ac_func ();
26293 /* The GNU C library defines this for functions which it implements
26294 to always fail with ENOSYS. Some functions are actually named
26295 something starting with __ and the normal name is an alias. */
26296 #if defined __stub_$ac_func || defined __stub___$ac_func
26297 choke me
26298 #endif
26299
26300 int
26301 main ()
26302 {
26303 return $ac_func ();
26304 ;
26305 return 0;
26306 }
26307 _ACEOF
26308 rm -f conftest.$ac_objext conftest$ac_exeext
26309 if { (ac_try="$ac_link"
26310 case "(($ac_try" in
26311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26312 *) ac_try_echo=$ac_try;;
26313 esac
26314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26315 (eval "$ac_link") 2>conftest.er1
26316 ac_status=$?
26317 grep -v '^ *+' conftest.er1 >conftest.err
26318 rm -f conftest.er1
26319 cat conftest.err >&5
26320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26321 (exit $ac_status); } && {
26322 test -z "$ac_c_werror_flag" ||
26323 test ! -s conftest.err
26324 } && test -s conftest$ac_exeext &&
26325 $as_test_x conftest$ac_exeext; then
26326 eval "$as_ac_var=yes"
26327 else
26328 echo "$as_me: failed program was:" >&5
26329 sed 's/^/| /' conftest.$ac_ext >&5
26330
26331 eval "$as_ac_var=no"
26332 fi
26333
26334 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26335 conftest$ac_exeext conftest.$ac_ext
26336 fi
26337 ac_res=`eval echo '${'$as_ac_var'}'`
26338 { echo "$as_me:$LINENO: result: $ac_res" >&5
26339 echo "${ECHO_T}$ac_res" >&6; }
26340 if test `eval echo '${'$as_ac_var'}'` = yes; then
26341 cat >>confdefs.h <<_ACEOF
26342 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26343 _ACEOF
26344 have_cos=1
26345 fi
26346 done
26347
26348
26349 for ac_func in floor
26350 do
26351 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26352 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26353 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26354 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26355 echo $ECHO_N "(cached) $ECHO_C" >&6
26356 else
26357 cat >conftest.$ac_ext <<_ACEOF
26358 /* confdefs.h. */
26359 _ACEOF
26360 cat confdefs.h >>conftest.$ac_ext
26361 cat >>conftest.$ac_ext <<_ACEOF
26362 /* end confdefs.h. */
26363 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26364 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26365 #define $ac_func innocuous_$ac_func
26366
26367 /* System header to define __stub macros and hopefully few prototypes,
26368 which can conflict with char $ac_func (); below.
26369 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26370 <limits.h> exists even on freestanding compilers. */
26371
26372 #ifdef __STDC__
26373 # include <limits.h>
26374 #else
26375 # include <assert.h>
26376 #endif
26377
26378 #undef $ac_func
26379
26380 /* Override any GCC internal prototype to avoid an error.
26381 Use char because int might match the return type of a GCC
26382 builtin and then its argument prototype would still apply. */
26383 #ifdef __cplusplus
26384 extern "C"
26385 #endif
26386 char $ac_func ();
26387 /* The GNU C library defines this for functions which it implements
26388 to always fail with ENOSYS. Some functions are actually named
26389 something starting with __ and the normal name is an alias. */
26390 #if defined __stub_$ac_func || defined __stub___$ac_func
26391 choke me
26392 #endif
26393
26394 int
26395 main ()
26396 {
26397 return $ac_func ();
26398 ;
26399 return 0;
26400 }
26401 _ACEOF
26402 rm -f conftest.$ac_objext conftest$ac_exeext
26403 if { (ac_try="$ac_link"
26404 case "(($ac_try" in
26405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26406 *) ac_try_echo=$ac_try;;
26407 esac
26408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26409 (eval "$ac_link") 2>conftest.er1
26410 ac_status=$?
26411 grep -v '^ *+' conftest.er1 >conftest.err
26412 rm -f conftest.er1
26413 cat conftest.err >&5
26414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26415 (exit $ac_status); } && {
26416 test -z "$ac_c_werror_flag" ||
26417 test ! -s conftest.err
26418 } && test -s conftest$ac_exeext &&
26419 $as_test_x conftest$ac_exeext; then
26420 eval "$as_ac_var=yes"
26421 else
26422 echo "$as_me: failed program was:" >&5
26423 sed 's/^/| /' conftest.$ac_ext >&5
26424
26425 eval "$as_ac_var=no"
26426 fi
26427
26428 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26429 conftest$ac_exeext conftest.$ac_ext
26430 fi
26431 ac_res=`eval echo '${'$as_ac_var'}'`
26432 { echo "$as_me:$LINENO: result: $ac_res" >&5
26433 echo "${ECHO_T}$ac_res" >&6; }
26434 if test `eval echo '${'$as_ac_var'}'` = yes; then
26435 cat >>confdefs.h <<_ACEOF
26436 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26437 _ACEOF
26438 have_floor=1
26439 fi
26440 done
26441
26442 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
26443 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
26444 if test "$have_cos" = 1 -a "$have_floor" = 1; then
26445 { echo "$as_me:$LINENO: result: yes" >&5
26446 echo "${ECHO_T}yes" >&6; }
26447 else
26448 { echo "$as_me:$LINENO: result: no" >&5
26449 echo "${ECHO_T}no" >&6; }
26450 LIBS="$LIBS -lm"
26451 # use different functions to avoid configure caching
26452 have_sin=0
26453 have_ceil=0
26454
26455 for ac_func in sin
26456 do
26457 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26458 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26459 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26460 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26461 echo $ECHO_N "(cached) $ECHO_C" >&6
26462 else
26463 cat >conftest.$ac_ext <<_ACEOF
26464 /* confdefs.h. */
26465 _ACEOF
26466 cat confdefs.h >>conftest.$ac_ext
26467 cat >>conftest.$ac_ext <<_ACEOF
26468 /* end confdefs.h. */
26469 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26470 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26471 #define $ac_func innocuous_$ac_func
26472
26473 /* System header to define __stub macros and hopefully few prototypes,
26474 which can conflict with char $ac_func (); below.
26475 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26476 <limits.h> exists even on freestanding compilers. */
26477
26478 #ifdef __STDC__
26479 # include <limits.h>
26480 #else
26481 # include <assert.h>
26482 #endif
26483
26484 #undef $ac_func
26485
26486 /* Override any GCC internal prototype to avoid an error.
26487 Use char because int might match the return type of a GCC
26488 builtin and then its argument prototype would still apply. */
26489 #ifdef __cplusplus
26490 extern "C"
26491 #endif
26492 char $ac_func ();
26493 /* The GNU C library defines this for functions which it implements
26494 to always fail with ENOSYS. Some functions are actually named
26495 something starting with __ and the normal name is an alias. */
26496 #if defined __stub_$ac_func || defined __stub___$ac_func
26497 choke me
26498 #endif
26499
26500 int
26501 main ()
26502 {
26503 return $ac_func ();
26504 ;
26505 return 0;
26506 }
26507 _ACEOF
26508 rm -f conftest.$ac_objext conftest$ac_exeext
26509 if { (ac_try="$ac_link"
26510 case "(($ac_try" in
26511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26512 *) ac_try_echo=$ac_try;;
26513 esac
26514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26515 (eval "$ac_link") 2>conftest.er1
26516 ac_status=$?
26517 grep -v '^ *+' conftest.er1 >conftest.err
26518 rm -f conftest.er1
26519 cat conftest.err >&5
26520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26521 (exit $ac_status); } && {
26522 test -z "$ac_c_werror_flag" ||
26523 test ! -s conftest.err
26524 } && test -s conftest$ac_exeext &&
26525 $as_test_x conftest$ac_exeext; then
26526 eval "$as_ac_var=yes"
26527 else
26528 echo "$as_me: failed program was:" >&5
26529 sed 's/^/| /' conftest.$ac_ext >&5
26530
26531 eval "$as_ac_var=no"
26532 fi
26533
26534 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26535 conftest$ac_exeext conftest.$ac_ext
26536 fi
26537 ac_res=`eval echo '${'$as_ac_var'}'`
26538 { echo "$as_me:$LINENO: result: $ac_res" >&5
26539 echo "${ECHO_T}$ac_res" >&6; }
26540 if test `eval echo '${'$as_ac_var'}'` = yes; then
26541 cat >>confdefs.h <<_ACEOF
26542 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26543 _ACEOF
26544 have_sin=1
26545 fi
26546 done
26547
26548
26549 for ac_func in ceil
26550 do
26551 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26552 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26553 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26554 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26555 echo $ECHO_N "(cached) $ECHO_C" >&6
26556 else
26557 cat >conftest.$ac_ext <<_ACEOF
26558 /* confdefs.h. */
26559 _ACEOF
26560 cat confdefs.h >>conftest.$ac_ext
26561 cat >>conftest.$ac_ext <<_ACEOF
26562 /* end confdefs.h. */
26563 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26564 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26565 #define $ac_func innocuous_$ac_func
26566
26567 /* System header to define __stub macros and hopefully few prototypes,
26568 which can conflict with char $ac_func (); below.
26569 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26570 <limits.h> exists even on freestanding compilers. */
26571
26572 #ifdef __STDC__
26573 # include <limits.h>
26574 #else
26575 # include <assert.h>
26576 #endif
26577
26578 #undef $ac_func
26579
26580 /* Override any GCC internal prototype to avoid an error.
26581 Use char because int might match the return type of a GCC
26582 builtin and then its argument prototype would still apply. */
26583 #ifdef __cplusplus
26584 extern "C"
26585 #endif
26586 char $ac_func ();
26587 /* The GNU C library defines this for functions which it implements
26588 to always fail with ENOSYS. Some functions are actually named
26589 something starting with __ and the normal name is an alias. */
26590 #if defined __stub_$ac_func || defined __stub___$ac_func
26591 choke me
26592 #endif
26593
26594 int
26595 main ()
26596 {
26597 return $ac_func ();
26598 ;
26599 return 0;
26600 }
26601 _ACEOF
26602 rm -f conftest.$ac_objext conftest$ac_exeext
26603 if { (ac_try="$ac_link"
26604 case "(($ac_try" in
26605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26606 *) ac_try_echo=$ac_try;;
26607 esac
26608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26609 (eval "$ac_link") 2>conftest.er1
26610 ac_status=$?
26611 grep -v '^ *+' conftest.er1 >conftest.err
26612 rm -f conftest.er1
26613 cat conftest.err >&5
26614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26615 (exit $ac_status); } && {
26616 test -z "$ac_c_werror_flag" ||
26617 test ! -s conftest.err
26618 } && test -s conftest$ac_exeext &&
26619 $as_test_x conftest$ac_exeext; then
26620 eval "$as_ac_var=yes"
26621 else
26622 echo "$as_me: failed program was:" >&5
26623 sed 's/^/| /' conftest.$ac_ext >&5
26624
26625 eval "$as_ac_var=no"
26626 fi
26627
26628 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26629 conftest$ac_exeext conftest.$ac_ext
26630 fi
26631 ac_res=`eval echo '${'$as_ac_var'}'`
26632 { echo "$as_me:$LINENO: result: $ac_res" >&5
26633 echo "${ECHO_T}$ac_res" >&6; }
26634 if test `eval echo '${'$as_ac_var'}'` = yes; then
26635 cat >>confdefs.h <<_ACEOF
26636 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26637 _ACEOF
26638 have_ceil=1
26639 fi
26640 done
26641
26642 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
26643 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
26644 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
26645 { echo "$as_me:$LINENO: result: yes" >&5
26646 echo "${ECHO_T}yes" >&6; }
26647 else
26648 { echo "$as_me:$LINENO: result: no" >&5
26649 echo "${ECHO_T}no" >&6; }
26650 # not sure we should warn the user, crash, etc.
26651 fi
26652 fi
26653
26654 ac_ext=cpp
26655 ac_cpp='$CXXCPP $CPPFLAGS'
26656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26659
26660 if test "wxUSE_UNICODE" = "yes"; then
26661
26662 for wx_func in wcstoull
26663 do
26664 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26665 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26666 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26667 echo $ECHO_N "(cached) $ECHO_C" >&6
26668 else
26669
26670 cat >conftest.$ac_ext <<_ACEOF
26671
26672 /* confdefs.h. */
26673 _ACEOF
26674 cat confdefs.h >>conftest.$ac_ext
26675 cat >>conftest.$ac_ext <<_ACEOF
26676 /* end confdefs.h. */
26677
26678
26679 $ac_includes_default
26680
26681 int
26682 main ()
26683 {
26684
26685 #ifndef $wx_func
26686 &$wx_func;
26687 #endif
26688
26689
26690 ;
26691 return 0;
26692 }
26693
26694 _ACEOF
26695 rm -f conftest.$ac_objext conftest$ac_exeext
26696 if { (ac_try="$ac_link"
26697 case "(($ac_try" in
26698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26699 *) ac_try_echo=$ac_try;;
26700 esac
26701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26702 (eval "$ac_link") 2>conftest.er1
26703 ac_status=$?
26704 grep -v '^ *+' conftest.er1 >conftest.err
26705 rm -f conftest.er1
26706 cat conftest.err >&5
26707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26708 (exit $ac_status); } && {
26709 test -z "$ac_cxx_werror_flag" ||
26710 test ! -s conftest.err
26711 } && test -s conftest$ac_exeext &&
26712 $as_test_x conftest$ac_exeext; then
26713 eval wx_cv_func_$wx_func=yes
26714 else
26715 echo "$as_me: failed program was:" >&5
26716 sed 's/^/| /' conftest.$ac_ext >&5
26717
26718 eval wx_cv_func_$wx_func=no
26719 fi
26720
26721 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26722 conftest$ac_exeext conftest.$ac_ext
26723
26724 fi
26725 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26726 { echo "$as_me:$LINENO: result: $ac_res" >&5
26727 echo "${ECHO_T}$ac_res" >&6; }
26728
26729 if eval test \$wx_cv_func_$wx_func = yes
26730 then
26731 cat >>confdefs.h <<_ACEOF
26732 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26733 _ACEOF
26734
26735
26736 else
26737 :
26738
26739 fi
26740 done
26741
26742 else
26743
26744 for wx_func in strtoull
26745 do
26746 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26747 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26748 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26749 echo $ECHO_N "(cached) $ECHO_C" >&6
26750 else
26751
26752 cat >conftest.$ac_ext <<_ACEOF
26753
26754 /* confdefs.h. */
26755 _ACEOF
26756 cat confdefs.h >>conftest.$ac_ext
26757 cat >>conftest.$ac_ext <<_ACEOF
26758 /* end confdefs.h. */
26759
26760
26761 $ac_includes_default
26762
26763 int
26764 main ()
26765 {
26766
26767 #ifndef $wx_func
26768 &$wx_func;
26769 #endif
26770
26771
26772 ;
26773 return 0;
26774 }
26775
26776 _ACEOF
26777 rm -f conftest.$ac_objext conftest$ac_exeext
26778 if { (ac_try="$ac_link"
26779 case "(($ac_try" in
26780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26781 *) ac_try_echo=$ac_try;;
26782 esac
26783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26784 (eval "$ac_link") 2>conftest.er1
26785 ac_status=$?
26786 grep -v '^ *+' conftest.er1 >conftest.err
26787 rm -f conftest.er1
26788 cat conftest.err >&5
26789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26790 (exit $ac_status); } && {
26791 test -z "$ac_cxx_werror_flag" ||
26792 test ! -s conftest.err
26793 } && test -s conftest$ac_exeext &&
26794 $as_test_x conftest$ac_exeext; then
26795 eval wx_cv_func_$wx_func=yes
26796 else
26797 echo "$as_me: failed program was:" >&5
26798 sed 's/^/| /' conftest.$ac_ext >&5
26799
26800 eval wx_cv_func_$wx_func=no
26801 fi
26802
26803 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26804 conftest$ac_exeext conftest.$ac_ext
26805
26806 fi
26807 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26808 { echo "$as_me:$LINENO: result: $ac_res" >&5
26809 echo "${ECHO_T}$ac_res" >&6; }
26810
26811 if eval test \$wx_cv_func_$wx_func = yes
26812 then
26813 cat >>confdefs.h <<_ACEOF
26814 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26815 _ACEOF
26816
26817
26818 else
26819 :
26820
26821 fi
26822 done
26823
26824 fi
26825 ac_ext=c
26826 ac_cpp='$CPP $CPPFLAGS'
26827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26830
26831
26832
26833
26834 if test "$wxUSE_REGEX" != "no"; then
26835 cat >>confdefs.h <<\_ACEOF
26836 #define wxUSE_REGEX 1
26837 _ACEOF
26838
26839
26840 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26841 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
26842 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
26843 wxUSE_REGEX=builtin
26844 fi
26845
26846 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26847 { echo "$as_me:$LINENO: checking for regex.h" >&5
26848 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26849 if test "${ac_cv_header_regex_h+set}" = set; then
26850 echo $ECHO_N "(cached) $ECHO_C" >&6
26851 else
26852 cat >conftest.$ac_ext <<_ACEOF
26853 /* confdefs.h. */
26854 _ACEOF
26855 cat confdefs.h >>conftest.$ac_ext
26856 cat >>conftest.$ac_ext <<_ACEOF
26857 /* end confdefs.h. */
26858
26859
26860 #include <regex.h>
26861 _ACEOF
26862 rm -f conftest.$ac_objext
26863 if { (ac_try="$ac_compile"
26864 case "(($ac_try" in
26865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26866 *) ac_try_echo=$ac_try;;
26867 esac
26868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26869 (eval "$ac_compile") 2>conftest.er1
26870 ac_status=$?
26871 grep -v '^ *+' conftest.er1 >conftest.err
26872 rm -f conftest.er1
26873 cat conftest.err >&5
26874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26875 (exit $ac_status); } && {
26876 test -z "$ac_c_werror_flag" ||
26877 test ! -s conftest.err
26878 } && test -s conftest.$ac_objext; then
26879 ac_cv_header_regex_h=yes
26880 else
26881 echo "$as_me: failed program was:" >&5
26882 sed 's/^/| /' conftest.$ac_ext >&5
26883
26884 ac_cv_header_regex_h=no
26885 fi
26886
26887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26888 fi
26889 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26890 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26891 if test $ac_cv_header_regex_h = yes; then
26892
26893
26894 for ac_func in regcomp re_search
26895 do
26896 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26897 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26898 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26899 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26900 echo $ECHO_N "(cached) $ECHO_C" >&6
26901 else
26902 cat >conftest.$ac_ext <<_ACEOF
26903 /* confdefs.h. */
26904 _ACEOF
26905 cat confdefs.h >>conftest.$ac_ext
26906 cat >>conftest.$ac_ext <<_ACEOF
26907 /* end confdefs.h. */
26908 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26909 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26910 #define $ac_func innocuous_$ac_func
26911
26912 /* System header to define __stub macros and hopefully few prototypes,
26913 which can conflict with char $ac_func (); below.
26914 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26915 <limits.h> exists even on freestanding compilers. */
26916
26917 #ifdef __STDC__
26918 # include <limits.h>
26919 #else
26920 # include <assert.h>
26921 #endif
26922
26923 #undef $ac_func
26924
26925 /* Override any GCC internal prototype to avoid an error.
26926 Use char because int might match the return type of a GCC
26927 builtin and then its argument prototype would still apply. */
26928 #ifdef __cplusplus
26929 extern "C"
26930 #endif
26931 char $ac_func ();
26932 /* The GNU C library defines this for functions which it implements
26933 to always fail with ENOSYS. Some functions are actually named
26934 something starting with __ and the normal name is an alias. */
26935 #if defined __stub_$ac_func || defined __stub___$ac_func
26936 choke me
26937 #endif
26938
26939 int
26940 main ()
26941 {
26942 return $ac_func ();
26943 ;
26944 return 0;
26945 }
26946 _ACEOF
26947 rm -f conftest.$ac_objext conftest$ac_exeext
26948 if { (ac_try="$ac_link"
26949 case "(($ac_try" in
26950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26951 *) ac_try_echo=$ac_try;;
26952 esac
26953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26954 (eval "$ac_link") 2>conftest.er1
26955 ac_status=$?
26956 grep -v '^ *+' conftest.er1 >conftest.err
26957 rm -f conftest.er1
26958 cat conftest.err >&5
26959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26960 (exit $ac_status); } && {
26961 test -z "$ac_c_werror_flag" ||
26962 test ! -s conftest.err
26963 } && test -s conftest$ac_exeext &&
26964 $as_test_x conftest$ac_exeext; then
26965 eval "$as_ac_var=yes"
26966 else
26967 echo "$as_me: failed program was:" >&5
26968 sed 's/^/| /' conftest.$ac_ext >&5
26969
26970 eval "$as_ac_var=no"
26971 fi
26972
26973 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26974 conftest$ac_exeext conftest.$ac_ext
26975 fi
26976 ac_res=`eval echo '${'$as_ac_var'}'`
26977 { echo "$as_me:$LINENO: result: $ac_res" >&5
26978 echo "${ECHO_T}$ac_res" >&6; }
26979 if test `eval echo '${'$as_ac_var'}'` = yes; then
26980 cat >>confdefs.h <<_ACEOF
26981 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26982 _ACEOF
26983
26984 fi
26985 done
26986
26987 fi
26988
26989
26990
26991 if test "x$ac_cv_func_regcomp" != "xyes"; then
26992 if test "$wxUSE_REGEX" = "sys" ; then
26993 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26994 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26995 { (exit 1); exit 1; }; }
26996 else
26997 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26998 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26999 wxUSE_REGEX=builtin
27000 fi
27001 else
27002 wxUSE_REGEX=sys
27003 cat >>confdefs.h <<\_ACEOF
27004 #define WX_NO_REGEX_ADVANCED 1
27005 _ACEOF
27006
27007 fi
27008 fi
27009 fi
27010
27011
27012 ZLIB_LINK=
27013 if test "$wxUSE_ZLIB" != "no" ; then
27014 cat >>confdefs.h <<\_ACEOF
27015 #define wxUSE_ZLIB 1
27016 _ACEOF
27017
27018
27019 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
27020 if test "$USE_DARWIN" = 1; then
27021 system_zlib_h_ok="yes"
27022 else
27023 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
27024 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
27025 if test "${ac_cv_header_zlib_h+set}" = set; then
27026 echo $ECHO_N "(cached) $ECHO_C" >&6
27027 else
27028 if test "$cross_compiling" = yes; then
27029 unset ac_cv_header_zlib_h
27030
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
27039 #include <zlib.h>
27040 #include <stdio.h>
27041
27042 int main()
27043 {
27044 FILE *f=fopen("conftestval", "w");
27045 if (!f) exit(1);
27046 fprintf(f, "%s",
27047 ZLIB_VERSION[0] == '1' &&
27048 (ZLIB_VERSION[2] > '1' ||
27049 (ZLIB_VERSION[2] == '1' &&
27050 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
27051 exit(0);
27052 }
27053
27054 _ACEOF
27055 rm -f conftest$ac_exeext
27056 if { (ac_try="$ac_link"
27057 case "(($ac_try" in
27058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27059 *) ac_try_echo=$ac_try;;
27060 esac
27061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27062 (eval "$ac_link") 2>&5
27063 ac_status=$?
27064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27065 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27066 { (case "(($ac_try" in
27067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27068 *) ac_try_echo=$ac_try;;
27069 esac
27070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27071 (eval "$ac_try") 2>&5
27072 ac_status=$?
27073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27074 (exit $ac_status); }; }; then
27075 ac_cv_header_zlib_h=`cat conftestval`
27076 else
27077 echo "$as_me: program exited with status $ac_status" >&5
27078 echo "$as_me: failed program was:" >&5
27079 sed 's/^/| /' conftest.$ac_ext >&5
27080
27081 ( exit $ac_status )
27082 ac_cv_header_zlib_h=no
27083 fi
27084 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27085 fi
27086
27087
27088
27089 fi
27090 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27091 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27092 { echo "$as_me:$LINENO: checking for zlib.h" >&5
27093 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
27094 if test "${ac_cv_header_zlib_h+set}" = set; then
27095 echo $ECHO_N "(cached) $ECHO_C" >&6
27096 else
27097 cat >conftest.$ac_ext <<_ACEOF
27098 /* confdefs.h. */
27099 _ACEOF
27100 cat confdefs.h >>conftest.$ac_ext
27101 cat >>conftest.$ac_ext <<_ACEOF
27102 /* end confdefs.h. */
27103
27104
27105 #include <zlib.h>
27106 _ACEOF
27107 rm -f conftest.$ac_objext
27108 if { (ac_try="$ac_compile"
27109 case "(($ac_try" in
27110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27111 *) ac_try_echo=$ac_try;;
27112 esac
27113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27114 (eval "$ac_compile") 2>conftest.er1
27115 ac_status=$?
27116 grep -v '^ *+' conftest.er1 >conftest.err
27117 rm -f conftest.er1
27118 cat conftest.err >&5
27119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27120 (exit $ac_status); } && {
27121 test -z "$ac_c_werror_flag" ||
27122 test ! -s conftest.err
27123 } && test -s conftest.$ac_objext; then
27124 ac_cv_header_zlib_h=yes
27125 else
27126 echo "$as_me: failed program was:" >&5
27127 sed 's/^/| /' conftest.$ac_ext >&5
27128
27129 ac_cv_header_zlib_h=no
27130 fi
27131
27132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27133 fi
27134 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27135 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27136
27137
27138
27139 system_zlib_h_ok=$ac_cv_header_zlib_h
27140 fi
27141
27142 if test "$system_zlib_h_ok" = "yes"; then
27143 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
27144 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
27145 if test "${ac_cv_lib_z_deflate+set}" = set; then
27146 echo $ECHO_N "(cached) $ECHO_C" >&6
27147 else
27148 ac_check_lib_save_LIBS=$LIBS
27149 LIBS="-lz $LIBS"
27150 cat >conftest.$ac_ext <<_ACEOF
27151 /* confdefs.h. */
27152 _ACEOF
27153 cat confdefs.h >>conftest.$ac_ext
27154 cat >>conftest.$ac_ext <<_ACEOF
27155 /* end confdefs.h. */
27156
27157 /* Override any GCC internal prototype to avoid an error.
27158 Use char because int might match the return type of a GCC
27159 builtin and then its argument prototype would still apply. */
27160 #ifdef __cplusplus
27161 extern "C"
27162 #endif
27163 char deflate ();
27164 int
27165 main ()
27166 {
27167 return deflate ();
27168 ;
27169 return 0;
27170 }
27171 _ACEOF
27172 rm -f conftest.$ac_objext conftest$ac_exeext
27173 if { (ac_try="$ac_link"
27174 case "(($ac_try" in
27175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27176 *) ac_try_echo=$ac_try;;
27177 esac
27178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27179 (eval "$ac_link") 2>conftest.er1
27180 ac_status=$?
27181 grep -v '^ *+' conftest.er1 >conftest.err
27182 rm -f conftest.er1
27183 cat conftest.err >&5
27184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27185 (exit $ac_status); } && {
27186 test -z "$ac_c_werror_flag" ||
27187 test ! -s conftest.err
27188 } && test -s conftest$ac_exeext &&
27189 $as_test_x conftest$ac_exeext; then
27190 ac_cv_lib_z_deflate=yes
27191 else
27192 echo "$as_me: failed program was:" >&5
27193 sed 's/^/| /' conftest.$ac_ext >&5
27194
27195 ac_cv_lib_z_deflate=no
27196 fi
27197
27198 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27199 conftest$ac_exeext conftest.$ac_ext
27200 LIBS=$ac_check_lib_save_LIBS
27201 fi
27202 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
27203 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
27204 if test $ac_cv_lib_z_deflate = yes; then
27205 ZLIB_LINK=" -lz"
27206 fi
27207
27208 fi
27209
27210 if test "x$ZLIB_LINK" = "x" ; then
27211 if test "$wxUSE_ZLIB" = "sys" ; then
27212 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
27213 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
27214 { (exit 1); exit 1; }; }
27215 else
27216 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
27217 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
27218 wxUSE_ZLIB=builtin
27219 fi
27220 else
27221 wxUSE_ZLIB=sys
27222 fi
27223 fi
27224 fi
27225
27226
27227 PNG_LINK=
27228 if test "$wxUSE_LIBPNG" != "no" ; then
27229 cat >>confdefs.h <<\_ACEOF
27230 #define wxUSE_LIBPNG 1
27231 _ACEOF
27232
27233
27234 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
27235 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
27236 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
27237 wxUSE_LIBPNG=sys
27238 fi
27239
27240 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
27241 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
27242 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
27243 wxUSE_LIBPNG=builtin
27244 fi
27245
27246 if test "$wxUSE_MGL" != 1 ; then
27247 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
27248 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
27249 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
27250 if test "${ac_cv_header_png_h+set}" = set; then
27251 echo $ECHO_N "(cached) $ECHO_C" >&6
27252 else
27253 if test "$cross_compiling" = yes; then
27254 unset ac_cv_header_png_h
27255
27256 else
27257 cat >conftest.$ac_ext <<_ACEOF
27258 /* confdefs.h. */
27259 _ACEOF
27260 cat confdefs.h >>conftest.$ac_ext
27261 cat >>conftest.$ac_ext <<_ACEOF
27262 /* end confdefs.h. */
27263
27264 #include <png.h>
27265 #include <stdio.h>
27266
27267 int main()
27268 {
27269 FILE *f=fopen("conftestval", "w");
27270 if (!f) exit(1);
27271 fprintf(f, "%s",
27272 PNG_LIBPNG_VER > 90 ? "yes" : "no");
27273 exit(0);
27274 }
27275
27276 _ACEOF
27277 rm -f conftest$ac_exeext
27278 if { (ac_try="$ac_link"
27279 case "(($ac_try" in
27280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27281 *) ac_try_echo=$ac_try;;
27282 esac
27283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27284 (eval "$ac_link") 2>&5
27285 ac_status=$?
27286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27287 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27288 { (case "(($ac_try" in
27289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27290 *) ac_try_echo=$ac_try;;
27291 esac
27292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27293 (eval "$ac_try") 2>&5
27294 ac_status=$?
27295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27296 (exit $ac_status); }; }; then
27297 ac_cv_header_png_h=`cat conftestval`
27298 else
27299 echo "$as_me: program exited with status $ac_status" >&5
27300 echo "$as_me: failed program was:" >&5
27301 sed 's/^/| /' conftest.$ac_ext >&5
27302
27303 ( exit $ac_status )
27304 ac_cv_header_png_h=no
27305 fi
27306 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27307 fi
27308
27309
27310
27311 fi
27312 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27313 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
27314 { echo "$as_me:$LINENO: checking for png.h" >&5
27315 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
27316 if test "${ac_cv_header_png_h+set}" = set; then
27317 echo $ECHO_N "(cached) $ECHO_C" >&6
27318 else
27319 cat >conftest.$ac_ext <<_ACEOF
27320 /* confdefs.h. */
27321 _ACEOF
27322 cat confdefs.h >>conftest.$ac_ext
27323 cat >>conftest.$ac_ext <<_ACEOF
27324 /* end confdefs.h. */
27325
27326
27327 #include <png.h>
27328 _ACEOF
27329 rm -f conftest.$ac_objext
27330 if { (ac_try="$ac_compile"
27331 case "(($ac_try" in
27332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27333 *) ac_try_echo=$ac_try;;
27334 esac
27335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27336 (eval "$ac_compile") 2>conftest.er1
27337 ac_status=$?
27338 grep -v '^ *+' conftest.er1 >conftest.err
27339 rm -f conftest.er1
27340 cat conftest.err >&5
27341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27342 (exit $ac_status); } && {
27343 test -z "$ac_c_werror_flag" ||
27344 test ! -s conftest.err
27345 } && test -s conftest.$ac_objext; then
27346 ac_cv_header_png_h=yes
27347 else
27348 echo "$as_me: failed program was:" >&5
27349 sed 's/^/| /' conftest.$ac_ext >&5
27350
27351 ac_cv_header_png_h=no
27352 fi
27353
27354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27355 fi
27356 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27357 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
27358
27359
27360
27361 if test "$ac_cv_header_png_h" = "yes"; then
27362 { echo "$as_me:$LINENO: checking for png_sig_cmp in -lpng" >&5
27363 echo $ECHO_N "checking for png_sig_cmp in -lpng... $ECHO_C" >&6; }
27364 if test "${ac_cv_lib_png_png_sig_cmp+set}" = set; then
27365 echo $ECHO_N "(cached) $ECHO_C" >&6
27366 else
27367 ac_check_lib_save_LIBS=$LIBS
27368 LIBS="-lpng -lz -lm $LIBS"
27369 cat >conftest.$ac_ext <<_ACEOF
27370 /* confdefs.h. */
27371 _ACEOF
27372 cat confdefs.h >>conftest.$ac_ext
27373 cat >>conftest.$ac_ext <<_ACEOF
27374 /* end confdefs.h. */
27375
27376 /* Override any GCC internal prototype to avoid an error.
27377 Use char because int might match the return type of a GCC
27378 builtin and then its argument prototype would still apply. */
27379 #ifdef __cplusplus
27380 extern "C"
27381 #endif
27382 char png_sig_cmp ();
27383 int
27384 main ()
27385 {
27386 return png_sig_cmp ();
27387 ;
27388 return 0;
27389 }
27390 _ACEOF
27391 rm -f conftest.$ac_objext conftest$ac_exeext
27392 if { (ac_try="$ac_link"
27393 case "(($ac_try" in
27394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27395 *) ac_try_echo=$ac_try;;
27396 esac
27397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27398 (eval "$ac_link") 2>conftest.er1
27399 ac_status=$?
27400 grep -v '^ *+' conftest.er1 >conftest.err
27401 rm -f conftest.er1
27402 cat conftest.err >&5
27403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27404 (exit $ac_status); } && {
27405 test -z "$ac_c_werror_flag" ||
27406 test ! -s conftest.err
27407 } && test -s conftest$ac_exeext &&
27408 $as_test_x conftest$ac_exeext; then
27409 ac_cv_lib_png_png_sig_cmp=yes
27410 else
27411 echo "$as_me: failed program was:" >&5
27412 sed 's/^/| /' conftest.$ac_ext >&5
27413
27414 ac_cv_lib_png_png_sig_cmp=no
27415 fi
27416
27417 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27418 conftest$ac_exeext conftest.$ac_ext
27419 LIBS=$ac_check_lib_save_LIBS
27420 fi
27421 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_sig_cmp" >&5
27422 echo "${ECHO_T}$ac_cv_lib_png_png_sig_cmp" >&6; }
27423 if test $ac_cv_lib_png_png_sig_cmp = yes; then
27424 PNG_LINK=" -lpng -lz"
27425 fi
27426
27427 fi
27428
27429 if test "x$PNG_LINK" = "x" ; then
27430 if test "$wxUSE_LIBPNG" = "sys" ; then
27431 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
27432 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
27433 { (exit 1); exit 1; }; }
27434 else
27435 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
27436 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
27437 wxUSE_LIBPNG=builtin
27438 fi
27439 else
27440 wxUSE_LIBPNG=sys
27441 fi
27442 fi
27443 fi
27444 fi
27445
27446
27447 JPEG_LINK=
27448 if test "$wxUSE_LIBJPEG" != "no" ; then
27449 cat >>confdefs.h <<\_ACEOF
27450 #define wxUSE_LIBJPEG 1
27451 _ACEOF
27452
27453
27454 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
27455 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
27456 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
27457 wxUSE_LIBJPEG=sys
27458 fi
27459
27460 if test "$wxUSE_MGL" != 1 ; then
27461 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
27462 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
27463 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
27464 if test "${ac_cv_header_jpeglib_h+set}" = set; then
27465 echo $ECHO_N "(cached) $ECHO_C" >&6
27466 else
27467 cat >conftest.$ac_ext <<_ACEOF
27468 /* confdefs.h. */
27469 _ACEOF
27470 cat confdefs.h >>conftest.$ac_ext
27471 cat >>conftest.$ac_ext <<_ACEOF
27472 /* end confdefs.h. */
27473
27474 #undef HAVE_STDLIB_H
27475 #include <stdio.h>
27476 #include <jpeglib.h>
27477
27478 int
27479 main ()
27480 {
27481
27482
27483 ;
27484 return 0;
27485 }
27486 _ACEOF
27487 rm -f conftest.$ac_objext
27488 if { (ac_try="$ac_compile"
27489 case "(($ac_try" in
27490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27491 *) ac_try_echo=$ac_try;;
27492 esac
27493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27494 (eval "$ac_compile") 2>conftest.er1
27495 ac_status=$?
27496 grep -v '^ *+' conftest.er1 >conftest.err
27497 rm -f conftest.er1
27498 cat conftest.err >&5
27499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27500 (exit $ac_status); } && {
27501 test -z "$ac_c_werror_flag" ||
27502 test ! -s conftest.err
27503 } && test -s conftest.$ac_objext; then
27504 ac_cv_header_jpeglib_h=yes
27505 else
27506 echo "$as_me: failed program was:" >&5
27507 sed 's/^/| /' conftest.$ac_ext >&5
27508
27509 ac_cv_header_jpeglib_h=no
27510
27511 fi
27512
27513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27514
27515 fi
27516
27517 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
27518 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
27519
27520 if test "$ac_cv_header_jpeglib_h" = "yes"; then
27521 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
27522 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
27523 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
27524 echo $ECHO_N "(cached) $ECHO_C" >&6
27525 else
27526 ac_check_lib_save_LIBS=$LIBS
27527 LIBS="-ljpeg $LIBS"
27528 cat >conftest.$ac_ext <<_ACEOF
27529 /* confdefs.h. */
27530 _ACEOF
27531 cat confdefs.h >>conftest.$ac_ext
27532 cat >>conftest.$ac_ext <<_ACEOF
27533 /* end confdefs.h. */
27534
27535 /* Override any GCC internal prototype to avoid an error.
27536 Use char because int might match the return type of a GCC
27537 builtin and then its argument prototype would still apply. */
27538 #ifdef __cplusplus
27539 extern "C"
27540 #endif
27541 char jpeg_read_header ();
27542 int
27543 main ()
27544 {
27545 return jpeg_read_header ();
27546 ;
27547 return 0;
27548 }
27549 _ACEOF
27550 rm -f conftest.$ac_objext conftest$ac_exeext
27551 if { (ac_try="$ac_link"
27552 case "(($ac_try" in
27553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27554 *) ac_try_echo=$ac_try;;
27555 esac
27556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27557 (eval "$ac_link") 2>conftest.er1
27558 ac_status=$?
27559 grep -v '^ *+' conftest.er1 >conftest.err
27560 rm -f conftest.er1
27561 cat conftest.err >&5
27562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27563 (exit $ac_status); } && {
27564 test -z "$ac_c_werror_flag" ||
27565 test ! -s conftest.err
27566 } && test -s conftest$ac_exeext &&
27567 $as_test_x conftest$ac_exeext; then
27568 ac_cv_lib_jpeg_jpeg_read_header=yes
27569 else
27570 echo "$as_me: failed program was:" >&5
27571 sed 's/^/| /' conftest.$ac_ext >&5
27572
27573 ac_cv_lib_jpeg_jpeg_read_header=no
27574 fi
27575
27576 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27577 conftest$ac_exeext conftest.$ac_ext
27578 LIBS=$ac_check_lib_save_LIBS
27579 fi
27580 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
27581 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
27582 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
27583 JPEG_LINK=" -ljpeg"
27584 fi
27585
27586 fi
27587
27588 if test "x$JPEG_LINK" = "x" ; then
27589 if test "$wxUSE_LIBJPEG" = "sys" ; then
27590 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
27591 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
27592 { (exit 1); exit 1; }; }
27593 else
27594 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
27595 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
27596 wxUSE_LIBJPEG=builtin
27597 fi
27598 else
27599 wxUSE_LIBJPEG=sys
27600
27601 if test "$wxUSE_MSW" = 1; then
27602 { echo "$as_me:$LINENO: checking for boolean" >&5
27603 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27604 if test "${ac_cv_type_boolean+set}" = set; then
27605 echo $ECHO_N "(cached) $ECHO_C" >&6
27606 else
27607 cat >conftest.$ac_ext <<_ACEOF
27608 /* confdefs.h. */
27609 _ACEOF
27610 cat confdefs.h >>conftest.$ac_ext
27611 cat >>conftest.$ac_ext <<_ACEOF
27612 /* end confdefs.h. */
27613 #include <windows.h>
27614
27615 typedef boolean ac__type_new_;
27616 int
27617 main ()
27618 {
27619 if ((ac__type_new_ *) 0)
27620 return 0;
27621 if (sizeof (ac__type_new_))
27622 return 0;
27623 ;
27624 return 0;
27625 }
27626 _ACEOF
27627 rm -f conftest.$ac_objext
27628 if { (ac_try="$ac_compile"
27629 case "(($ac_try" in
27630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27631 *) ac_try_echo=$ac_try;;
27632 esac
27633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27634 (eval "$ac_compile") 2>conftest.er1
27635 ac_status=$?
27636 grep -v '^ *+' conftest.er1 >conftest.err
27637 rm -f conftest.er1
27638 cat conftest.err >&5
27639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27640 (exit $ac_status); } && {
27641 test -z "$ac_c_werror_flag" ||
27642 test ! -s conftest.err
27643 } && test -s conftest.$ac_objext; then
27644 ac_cv_type_boolean=yes
27645 else
27646 echo "$as_me: failed program was:" >&5
27647 sed 's/^/| /' conftest.$ac_ext >&5
27648
27649 ac_cv_type_boolean=no
27650 fi
27651
27652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27653 fi
27654 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27655 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27656 if test $ac_cv_type_boolean = yes; then
27657
27658 cat >>confdefs.h <<_ACEOF
27659 #define HAVE_BOOLEAN 1
27660 _ACEOF
27661
27662
27663 { echo "$as_me:$LINENO: checking for boolean" >&5
27664 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27665 if test "${ac_cv_type_boolean+set}" = set; then
27666 echo $ECHO_N "(cached) $ECHO_C" >&6
27667 else
27668 cat >conftest.$ac_ext <<_ACEOF
27669 /* confdefs.h. */
27670 _ACEOF
27671 cat confdefs.h >>conftest.$ac_ext
27672 cat >>conftest.$ac_ext <<_ACEOF
27673 /* end confdefs.h. */
27674
27675 #undef HAVE_BOOLEAN
27676 #include <stdio.h>
27677 #include <jpeglib.h>
27678
27679
27680 typedef boolean ac__type_new_;
27681 int
27682 main ()
27683 {
27684 if ((ac__type_new_ *) 0)
27685 return 0;
27686 if (sizeof (ac__type_new_))
27687 return 0;
27688 ;
27689 return 0;
27690 }
27691 _ACEOF
27692 rm -f conftest.$ac_objext
27693 if { (ac_try="$ac_compile"
27694 case "(($ac_try" in
27695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27696 *) ac_try_echo=$ac_try;;
27697 esac
27698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27699 (eval "$ac_compile") 2>conftest.er1
27700 ac_status=$?
27701 grep -v '^ *+' conftest.er1 >conftest.err
27702 rm -f conftest.er1
27703 cat conftest.err >&5
27704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27705 (exit $ac_status); } && {
27706 test -z "$ac_c_werror_flag" ||
27707 test ! -s conftest.err
27708 } && test -s conftest.$ac_objext; then
27709 ac_cv_type_boolean=yes
27710 else
27711 echo "$as_me: failed program was:" >&5
27712 sed 's/^/| /' conftest.$ac_ext >&5
27713
27714 ac_cv_type_boolean=no
27715 fi
27716
27717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27718 fi
27719 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27720 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27721
27722 # The cast to long int works around a bug in the HP C Compiler
27723 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27724 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27725 # This bug is HP SR number 8606223364.
27726 { echo "$as_me:$LINENO: checking size of boolean" >&5
27727 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
27728 if test "${ac_cv_sizeof_boolean+set}" = set; then
27729 echo $ECHO_N "(cached) $ECHO_C" >&6
27730 else
27731 if test "$cross_compiling" = yes; then
27732 # Depending upon the size, compute the lo and hi bounds.
27733 cat >conftest.$ac_ext <<_ACEOF
27734 /* confdefs.h. */
27735 _ACEOF
27736 cat confdefs.h >>conftest.$ac_ext
27737 cat >>conftest.$ac_ext <<_ACEOF
27738 /* end confdefs.h. */
27739
27740 #undef HAVE_BOOLEAN
27741 #include <stdio.h>
27742 #include <jpeglib.h>
27743
27744
27745 typedef boolean ac__type_sizeof_;
27746 int
27747 main ()
27748 {
27749 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27750 test_array [0] = 0
27751
27752 ;
27753 return 0;
27754 }
27755 _ACEOF
27756 rm -f conftest.$ac_objext
27757 if { (ac_try="$ac_compile"
27758 case "(($ac_try" in
27759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27760 *) ac_try_echo=$ac_try;;
27761 esac
27762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27763 (eval "$ac_compile") 2>conftest.er1
27764 ac_status=$?
27765 grep -v '^ *+' conftest.er1 >conftest.err
27766 rm -f conftest.er1
27767 cat conftest.err >&5
27768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27769 (exit $ac_status); } && {
27770 test -z "$ac_c_werror_flag" ||
27771 test ! -s conftest.err
27772 } && test -s conftest.$ac_objext; then
27773 ac_lo=0 ac_mid=0
27774 while :; do
27775 cat >conftest.$ac_ext <<_ACEOF
27776 /* confdefs.h. */
27777 _ACEOF
27778 cat confdefs.h >>conftest.$ac_ext
27779 cat >>conftest.$ac_ext <<_ACEOF
27780 /* end confdefs.h. */
27781
27782 #undef HAVE_BOOLEAN
27783 #include <stdio.h>
27784 #include <jpeglib.h>
27785
27786
27787 typedef boolean ac__type_sizeof_;
27788 int
27789 main ()
27790 {
27791 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27792 test_array [0] = 0
27793
27794 ;
27795 return 0;
27796 }
27797 _ACEOF
27798 rm -f conftest.$ac_objext
27799 if { (ac_try="$ac_compile"
27800 case "(($ac_try" in
27801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27802 *) ac_try_echo=$ac_try;;
27803 esac
27804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27805 (eval "$ac_compile") 2>conftest.er1
27806 ac_status=$?
27807 grep -v '^ *+' conftest.er1 >conftest.err
27808 rm -f conftest.er1
27809 cat conftest.err >&5
27810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27811 (exit $ac_status); } && {
27812 test -z "$ac_c_werror_flag" ||
27813 test ! -s conftest.err
27814 } && test -s conftest.$ac_objext; then
27815 ac_hi=$ac_mid; break
27816 else
27817 echo "$as_me: failed program was:" >&5
27818 sed 's/^/| /' conftest.$ac_ext >&5
27819
27820 ac_lo=`expr $ac_mid + 1`
27821 if test $ac_lo -le $ac_mid; then
27822 ac_lo= ac_hi=
27823 break
27824 fi
27825 ac_mid=`expr 2 '*' $ac_mid + 1`
27826 fi
27827
27828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27829 done
27830 else
27831 echo "$as_me: failed program was:" >&5
27832 sed 's/^/| /' conftest.$ac_ext >&5
27833
27834 cat >conftest.$ac_ext <<_ACEOF
27835 /* confdefs.h. */
27836 _ACEOF
27837 cat confdefs.h >>conftest.$ac_ext
27838 cat >>conftest.$ac_ext <<_ACEOF
27839 /* end confdefs.h. */
27840
27841 #undef HAVE_BOOLEAN
27842 #include <stdio.h>
27843 #include <jpeglib.h>
27844
27845
27846 typedef boolean ac__type_sizeof_;
27847 int
27848 main ()
27849 {
27850 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27851 test_array [0] = 0
27852
27853 ;
27854 return 0;
27855 }
27856 _ACEOF
27857 rm -f conftest.$ac_objext
27858 if { (ac_try="$ac_compile"
27859 case "(($ac_try" in
27860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27861 *) ac_try_echo=$ac_try;;
27862 esac
27863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27864 (eval "$ac_compile") 2>conftest.er1
27865 ac_status=$?
27866 grep -v '^ *+' conftest.er1 >conftest.err
27867 rm -f conftest.er1
27868 cat conftest.err >&5
27869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27870 (exit $ac_status); } && {
27871 test -z "$ac_c_werror_flag" ||
27872 test ! -s conftest.err
27873 } && test -s conftest.$ac_objext; then
27874 ac_hi=-1 ac_mid=-1
27875 while :; do
27876 cat >conftest.$ac_ext <<_ACEOF
27877 /* confdefs.h. */
27878 _ACEOF
27879 cat confdefs.h >>conftest.$ac_ext
27880 cat >>conftest.$ac_ext <<_ACEOF
27881 /* end confdefs.h. */
27882
27883 #undef HAVE_BOOLEAN
27884 #include <stdio.h>
27885 #include <jpeglib.h>
27886
27887
27888 typedef boolean ac__type_sizeof_;
27889 int
27890 main ()
27891 {
27892 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27893 test_array [0] = 0
27894
27895 ;
27896 return 0;
27897 }
27898 _ACEOF
27899 rm -f conftest.$ac_objext
27900 if { (ac_try="$ac_compile"
27901 case "(($ac_try" in
27902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27903 *) ac_try_echo=$ac_try;;
27904 esac
27905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27906 (eval "$ac_compile") 2>conftest.er1
27907 ac_status=$?
27908 grep -v '^ *+' conftest.er1 >conftest.err
27909 rm -f conftest.er1
27910 cat conftest.err >&5
27911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27912 (exit $ac_status); } && {
27913 test -z "$ac_c_werror_flag" ||
27914 test ! -s conftest.err
27915 } && test -s conftest.$ac_objext; then
27916 ac_lo=$ac_mid; break
27917 else
27918 echo "$as_me: failed program was:" >&5
27919 sed 's/^/| /' conftest.$ac_ext >&5
27920
27921 ac_hi=`expr '(' $ac_mid ')' - 1`
27922 if test $ac_mid -le $ac_hi; then
27923 ac_lo= ac_hi=
27924 break
27925 fi
27926 ac_mid=`expr 2 '*' $ac_mid`
27927 fi
27928
27929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27930 done
27931 else
27932 echo "$as_me: failed program was:" >&5
27933 sed 's/^/| /' conftest.$ac_ext >&5
27934
27935 ac_lo= ac_hi=
27936 fi
27937
27938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27939 fi
27940
27941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27942 # Binary search between lo and hi bounds.
27943 while test "x$ac_lo" != "x$ac_hi"; do
27944 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27945 cat >conftest.$ac_ext <<_ACEOF
27946 /* confdefs.h. */
27947 _ACEOF
27948 cat confdefs.h >>conftest.$ac_ext
27949 cat >>conftest.$ac_ext <<_ACEOF
27950 /* end confdefs.h. */
27951
27952 #undef HAVE_BOOLEAN
27953 #include <stdio.h>
27954 #include <jpeglib.h>
27955
27956
27957 typedef boolean ac__type_sizeof_;
27958 int
27959 main ()
27960 {
27961 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27962 test_array [0] = 0
27963
27964 ;
27965 return 0;
27966 }
27967 _ACEOF
27968 rm -f conftest.$ac_objext
27969 if { (ac_try="$ac_compile"
27970 case "(($ac_try" in
27971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27972 *) ac_try_echo=$ac_try;;
27973 esac
27974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27975 (eval "$ac_compile") 2>conftest.er1
27976 ac_status=$?
27977 grep -v '^ *+' conftest.er1 >conftest.err
27978 rm -f conftest.er1
27979 cat conftest.err >&5
27980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27981 (exit $ac_status); } && {
27982 test -z "$ac_c_werror_flag" ||
27983 test ! -s conftest.err
27984 } && test -s conftest.$ac_objext; then
27985 ac_hi=$ac_mid
27986 else
27987 echo "$as_me: failed program was:" >&5
27988 sed 's/^/| /' conftest.$ac_ext >&5
27989
27990 ac_lo=`expr '(' $ac_mid ')' + 1`
27991 fi
27992
27993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27994 done
27995 case $ac_lo in
27996 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27997 '') if test "$ac_cv_type_boolean" = yes; then
27998 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27999 See \`config.log' for more details." >&5
28000 echo "$as_me: error: cannot compute sizeof (boolean)
28001 See \`config.log' for more details." >&2;}
28002 { (exit 77); exit 77; }; }
28003 else
28004 ac_cv_sizeof_boolean=0
28005 fi ;;
28006 esac
28007 else
28008 cat >conftest.$ac_ext <<_ACEOF
28009 /* confdefs.h. */
28010 _ACEOF
28011 cat confdefs.h >>conftest.$ac_ext
28012 cat >>conftest.$ac_ext <<_ACEOF
28013 /* end confdefs.h. */
28014
28015 #undef HAVE_BOOLEAN
28016 #include <stdio.h>
28017 #include <jpeglib.h>
28018
28019
28020 typedef boolean ac__type_sizeof_;
28021 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
28022 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
28023 #include <stdio.h>
28024 #include <stdlib.h>
28025 int
28026 main ()
28027 {
28028
28029 FILE *f = fopen ("conftest.val", "w");
28030 if (! f)
28031 return 1;
28032 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
28033 {
28034 long int i = longval ();
28035 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28036 return 1;
28037 fprintf (f, "%ld\n", i);
28038 }
28039 else
28040 {
28041 unsigned long int i = ulongval ();
28042 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28043 return 1;
28044 fprintf (f, "%lu\n", i);
28045 }
28046 return ferror (f) || fclose (f) != 0;
28047
28048 ;
28049 return 0;
28050 }
28051 _ACEOF
28052 rm -f conftest$ac_exeext
28053 if { (ac_try="$ac_link"
28054 case "(($ac_try" in
28055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28056 *) ac_try_echo=$ac_try;;
28057 esac
28058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28059 (eval "$ac_link") 2>&5
28060 ac_status=$?
28061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28062 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28063 { (case "(($ac_try" in
28064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28065 *) ac_try_echo=$ac_try;;
28066 esac
28067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28068 (eval "$ac_try") 2>&5
28069 ac_status=$?
28070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28071 (exit $ac_status); }; }; then
28072 ac_cv_sizeof_boolean=`cat conftest.val`
28073 else
28074 echo "$as_me: program exited with status $ac_status" >&5
28075 echo "$as_me: failed program was:" >&5
28076 sed 's/^/| /' conftest.$ac_ext >&5
28077
28078 ( exit $ac_status )
28079 if test "$ac_cv_type_boolean" = yes; then
28080 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28081 See \`config.log' for more details." >&5
28082 echo "$as_me: error: cannot compute sizeof (boolean)
28083 See \`config.log' for more details." >&2;}
28084 { (exit 77); exit 77; }; }
28085 else
28086 ac_cv_sizeof_boolean=0
28087 fi
28088 fi
28089 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28090 fi
28091 rm -f conftest.val
28092 fi
28093 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
28094 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
28095
28096
28097
28098 cat >>confdefs.h <<_ACEOF
28099 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
28100 _ACEOF
28101
28102
28103 cat >>confdefs.h <<_ACEOF
28104 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
28105 _ACEOF
28106
28107
28108 fi
28109
28110 fi
28111 fi
28112 fi
28113 fi
28114 fi
28115
28116
28117 TIFF_LINK=
28118 TIFF_PREREQ_LINKS=-lm
28119 if test "$wxUSE_LIBTIFF" != "no" ; then
28120 cat >>confdefs.h <<\_ACEOF
28121 #define wxUSE_LIBTIFF 1
28122 _ACEOF
28123
28124
28125 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
28126 if test "$wxUSE_LIBJPEG" = "sys"; then
28127 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
28128 fi
28129 if test "$wxUSE_ZLIB" = "sys"; then
28130 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
28131 fi
28132 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
28133 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
28134 if test "${ac_cv_header_tiffio_h+set}" = set; then
28135 echo $ECHO_N "(cached) $ECHO_C" >&6
28136 else
28137 cat >conftest.$ac_ext <<_ACEOF
28138 /* confdefs.h. */
28139 _ACEOF
28140 cat confdefs.h >>conftest.$ac_ext
28141 cat >>conftest.$ac_ext <<_ACEOF
28142 /* end confdefs.h. */
28143
28144
28145
28146 #include <tiffio.h>
28147 _ACEOF
28148 rm -f conftest.$ac_objext
28149 if { (ac_try="$ac_compile"
28150 case "(($ac_try" in
28151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28152 *) ac_try_echo=$ac_try;;
28153 esac
28154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28155 (eval "$ac_compile") 2>conftest.er1
28156 ac_status=$?
28157 grep -v '^ *+' conftest.er1 >conftest.err
28158 rm -f conftest.er1
28159 cat conftest.err >&5
28160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28161 (exit $ac_status); } && {
28162 test -z "$ac_c_werror_flag" ||
28163 test ! -s conftest.err
28164 } && test -s conftest.$ac_objext; then
28165 ac_cv_header_tiffio_h=yes
28166 else
28167 echo "$as_me: failed program was:" >&5
28168 sed 's/^/| /' conftest.$ac_ext >&5
28169
28170 ac_cv_header_tiffio_h=no
28171 fi
28172
28173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28174 fi
28175 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
28176 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
28177 if test $ac_cv_header_tiffio_h = yes; then
28178
28179 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
28180 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
28181 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
28182 echo $ECHO_N "(cached) $ECHO_C" >&6
28183 else
28184 ac_check_lib_save_LIBS=$LIBS
28185 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
28186 cat >conftest.$ac_ext <<_ACEOF
28187 /* confdefs.h. */
28188 _ACEOF
28189 cat confdefs.h >>conftest.$ac_ext
28190 cat >>conftest.$ac_ext <<_ACEOF
28191 /* end confdefs.h. */
28192
28193 /* Override any GCC internal prototype to avoid an error.
28194 Use char because int might match the return type of a GCC
28195 builtin and then its argument prototype would still apply. */
28196 #ifdef __cplusplus
28197 extern "C"
28198 #endif
28199 char TIFFError ();
28200 int
28201 main ()
28202 {
28203 return TIFFError ();
28204 ;
28205 return 0;
28206 }
28207 _ACEOF
28208 rm -f conftest.$ac_objext conftest$ac_exeext
28209 if { (ac_try="$ac_link"
28210 case "(($ac_try" in
28211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28212 *) ac_try_echo=$ac_try;;
28213 esac
28214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28215 (eval "$ac_link") 2>conftest.er1
28216 ac_status=$?
28217 grep -v '^ *+' conftest.er1 >conftest.err
28218 rm -f conftest.er1
28219 cat conftest.err >&5
28220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28221 (exit $ac_status); } && {
28222 test -z "$ac_c_werror_flag" ||
28223 test ! -s conftest.err
28224 } && test -s conftest$ac_exeext &&
28225 $as_test_x conftest$ac_exeext; then
28226 ac_cv_lib_tiff_TIFFError=yes
28227 else
28228 echo "$as_me: failed program was:" >&5
28229 sed 's/^/| /' conftest.$ac_ext >&5
28230
28231 ac_cv_lib_tiff_TIFFError=no
28232 fi
28233
28234 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28235 conftest$ac_exeext conftest.$ac_ext
28236 LIBS=$ac_check_lib_save_LIBS
28237 fi
28238 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
28239 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
28240 if test $ac_cv_lib_tiff_TIFFError = yes; then
28241 TIFF_LINK=" -ltiff"
28242 fi
28243
28244
28245 fi
28246
28247
28248
28249 if test "x$TIFF_LINK" = "x" ; then
28250 if test "$wxUSE_LIBTIFF" = "sys" ; then
28251 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
28252 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
28253 { (exit 1); exit 1; }; }
28254 else
28255 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
28256 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
28257 wxUSE_LIBTIFF=builtin
28258 fi
28259 else
28260 wxUSE_LIBTIFF=sys
28261 fi
28262 fi
28263 if test "$wxUSE_LIBTIFF" = "builtin" ; then
28264 if test "$wxUSE_LIBJPEG" = "no"; then
28265 ac_configure_args="$ac_configure_args --disable-jpeg"
28266 fi
28267 subdirs="$subdirs src/tiff"
28268
28269 fi
28270 fi
28271
28272
28273 if test "$wxUSE_WCHAR_T" != "yes"; then
28274 if test "$wxUSE_EXPAT" != "no"; then
28275 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
28276 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
28277 wxUSE_EXPAT=no
28278 fi
28279 if test "$wxUSE_XML" != "no"; then
28280 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
28281 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
28282 wxUSE_XML=no
28283 fi
28284 fi
28285
28286 if test "$wxUSE_EXPAT" != "no"; then
28287 wxUSE_XML=yes
28288 cat >>confdefs.h <<\_ACEOF
28289 #define wxUSE_EXPAT 1
28290 _ACEOF
28291
28292 cat >>confdefs.h <<\_ACEOF
28293 #define wxUSE_XML 1
28294 _ACEOF
28295
28296
28297 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
28298 { echo "$as_me:$LINENO: checking for expat.h" >&5
28299 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
28300 if test "${ac_cv_header_expat_h+set}" = set; then
28301 echo $ECHO_N "(cached) $ECHO_C" >&6
28302 else
28303 cat >conftest.$ac_ext <<_ACEOF
28304 /* confdefs.h. */
28305 _ACEOF
28306 cat confdefs.h >>conftest.$ac_ext
28307 cat >>conftest.$ac_ext <<_ACEOF
28308 /* end confdefs.h. */
28309
28310
28311 #include <expat.h>
28312 _ACEOF
28313 rm -f conftest.$ac_objext
28314 if { (ac_try="$ac_compile"
28315 case "(($ac_try" in
28316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28317 *) ac_try_echo=$ac_try;;
28318 esac
28319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28320 (eval "$ac_compile") 2>conftest.er1
28321 ac_status=$?
28322 grep -v '^ *+' conftest.er1 >conftest.err
28323 rm -f conftest.er1
28324 cat conftest.err >&5
28325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28326 (exit $ac_status); } && {
28327 test -z "$ac_c_werror_flag" ||
28328 test ! -s conftest.err
28329 } && test -s conftest.$ac_objext; then
28330 ac_cv_header_expat_h=yes
28331 else
28332 echo "$as_me: failed program was:" >&5
28333 sed 's/^/| /' conftest.$ac_ext >&5
28334
28335 ac_cv_header_expat_h=no
28336 fi
28337
28338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28339 fi
28340 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
28341 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
28342 if test $ac_cv_header_expat_h = yes; then
28343 found_expat_h=1
28344 fi
28345
28346
28347 if test "x$found_expat_h" = "x1"; then
28348 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
28349 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
28350 if test "${wx_cv_expat_is_not_broken+set}" = set; then
28351 echo $ECHO_N "(cached) $ECHO_C" >&6
28352 else
28353
28354 ac_ext=cpp
28355 ac_cpp='$CXXCPP $CPPFLAGS'
28356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28359
28360 cat >conftest.$ac_ext <<_ACEOF
28361 /* confdefs.h. */
28362 _ACEOF
28363 cat confdefs.h >>conftest.$ac_ext
28364 cat >>conftest.$ac_ext <<_ACEOF
28365 /* end confdefs.h. */
28366 #include <expat.h>
28367 int
28368 main ()
28369 {
28370
28371 ;
28372 return 0;
28373 }
28374 _ACEOF
28375 rm -f conftest.$ac_objext
28376 if { (ac_try="$ac_compile"
28377 case "(($ac_try" in
28378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28379 *) ac_try_echo=$ac_try;;
28380 esac
28381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28382 (eval "$ac_compile") 2>conftest.er1
28383 ac_status=$?
28384 grep -v '^ *+' conftest.er1 >conftest.err
28385 rm -f conftest.er1
28386 cat conftest.err >&5
28387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28388 (exit $ac_status); } && {
28389 test -z "$ac_cxx_werror_flag" ||
28390 test ! -s conftest.err
28391 } && test -s conftest.$ac_objext; then
28392 wx_cv_expat_is_not_broken=yes
28393 else
28394 echo "$as_me: failed program was:" >&5
28395 sed 's/^/| /' conftest.$ac_ext >&5
28396
28397 wx_cv_expat_is_not_broken=no
28398
28399 fi
28400
28401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28402 ac_ext=c
28403 ac_cpp='$CPP $CPPFLAGS'
28404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28407
28408
28409
28410 fi
28411 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
28412 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
28413 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
28414 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
28415 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
28416 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
28417 echo $ECHO_N "(cached) $ECHO_C" >&6
28418 else
28419 ac_check_lib_save_LIBS=$LIBS
28420 LIBS="-lexpat $LIBS"
28421 cat >conftest.$ac_ext <<_ACEOF
28422 /* confdefs.h. */
28423 _ACEOF
28424 cat confdefs.h >>conftest.$ac_ext
28425 cat >>conftest.$ac_ext <<_ACEOF
28426 /* end confdefs.h. */
28427
28428 /* Override any GCC internal prototype to avoid an error.
28429 Use char because int might match the return type of a GCC
28430 builtin and then its argument prototype would still apply. */
28431 #ifdef __cplusplus
28432 extern "C"
28433 #endif
28434 char XML_ParserCreate ();
28435 int
28436 main ()
28437 {
28438 return XML_ParserCreate ();
28439 ;
28440 return 0;
28441 }
28442 _ACEOF
28443 rm -f conftest.$ac_objext conftest$ac_exeext
28444 if { (ac_try="$ac_link"
28445 case "(($ac_try" in
28446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28447 *) ac_try_echo=$ac_try;;
28448 esac
28449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28450 (eval "$ac_link") 2>conftest.er1
28451 ac_status=$?
28452 grep -v '^ *+' conftest.er1 >conftest.err
28453 rm -f conftest.er1
28454 cat conftest.err >&5
28455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28456 (exit $ac_status); } && {
28457 test -z "$ac_c_werror_flag" ||
28458 test ! -s conftest.err
28459 } && test -s conftest$ac_exeext &&
28460 $as_test_x conftest$ac_exeext; then
28461 ac_cv_lib_expat_XML_ParserCreate=yes
28462 else
28463 echo "$as_me: failed program was:" >&5
28464 sed 's/^/| /' conftest.$ac_ext >&5
28465
28466 ac_cv_lib_expat_XML_ParserCreate=no
28467 fi
28468
28469 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28470 conftest$ac_exeext conftest.$ac_ext
28471 LIBS=$ac_check_lib_save_LIBS
28472 fi
28473 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
28474 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
28475 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
28476 EXPAT_LINK=" -lexpat"
28477 fi
28478
28479 fi
28480 fi
28481 if test "x$EXPAT_LINK" = "x" ; then
28482 if test "$wxUSE_EXPAT" = "sys" ; then
28483 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
28484 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
28485 { (exit 1); exit 1; }; }
28486 else
28487 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
28488 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
28489 wxUSE_EXPAT=builtin
28490 fi
28491 else
28492 wxUSE_EXPAT=sys
28493 fi
28494 fi
28495 if test "$wxUSE_EXPAT" = "builtin" ; then
28496 subdirs="$subdirs src/expat"
28497
28498 fi
28499 fi
28500
28501
28502
28503 if test "$wxUSE_LIBMSPACK" != "no"; then
28504 { echo "$as_me:$LINENO: checking for mspack.h" >&5
28505 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
28506 if test "${ac_cv_header_mspack_h+set}" = set; then
28507 echo $ECHO_N "(cached) $ECHO_C" >&6
28508 else
28509 cat >conftest.$ac_ext <<_ACEOF
28510 /* confdefs.h. */
28511 _ACEOF
28512 cat confdefs.h >>conftest.$ac_ext
28513 cat >>conftest.$ac_ext <<_ACEOF
28514 /* end confdefs.h. */
28515
28516
28517 #include <mspack.h>
28518 _ACEOF
28519 rm -f conftest.$ac_objext
28520 if { (ac_try="$ac_compile"
28521 case "(($ac_try" in
28522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28523 *) ac_try_echo=$ac_try;;
28524 esac
28525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28526 (eval "$ac_compile") 2>conftest.er1
28527 ac_status=$?
28528 grep -v '^ *+' conftest.er1 >conftest.err
28529 rm -f conftest.er1
28530 cat conftest.err >&5
28531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28532 (exit $ac_status); } && {
28533 test -z "$ac_c_werror_flag" ||
28534 test ! -s conftest.err
28535 } && test -s conftest.$ac_objext; then
28536 ac_cv_header_mspack_h=yes
28537 else
28538 echo "$as_me: failed program was:" >&5
28539 sed 's/^/| /' conftest.$ac_ext >&5
28540
28541 ac_cv_header_mspack_h=no
28542 fi
28543
28544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28545 fi
28546 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
28547 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
28548 if test $ac_cv_header_mspack_h = yes; then
28549 found_mspack_h=1
28550 fi
28551
28552
28553 if test "x$found_mspack_h" = "x1"; then
28554 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
28555 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
28556 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
28557 echo $ECHO_N "(cached) $ECHO_C" >&6
28558 else
28559 ac_check_lib_save_LIBS=$LIBS
28560 LIBS="-lmspack $LIBS"
28561 cat >conftest.$ac_ext <<_ACEOF
28562 /* confdefs.h. */
28563 _ACEOF
28564 cat confdefs.h >>conftest.$ac_ext
28565 cat >>conftest.$ac_ext <<_ACEOF
28566 /* end confdefs.h. */
28567
28568 /* Override any GCC internal prototype to avoid an error.
28569 Use char because int might match the return type of a GCC
28570 builtin and then its argument prototype would still apply. */
28571 #ifdef __cplusplus
28572 extern "C"
28573 #endif
28574 char mspack_create_chm_decompressor ();
28575 int
28576 main ()
28577 {
28578 return mspack_create_chm_decompressor ();
28579 ;
28580 return 0;
28581 }
28582 _ACEOF
28583 rm -f conftest.$ac_objext conftest$ac_exeext
28584 if { (ac_try="$ac_link"
28585 case "(($ac_try" in
28586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28587 *) ac_try_echo=$ac_try;;
28588 esac
28589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28590 (eval "$ac_link") 2>conftest.er1
28591 ac_status=$?
28592 grep -v '^ *+' conftest.er1 >conftest.err
28593 rm -f conftest.er1
28594 cat conftest.err >&5
28595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28596 (exit $ac_status); } && {
28597 test -z "$ac_c_werror_flag" ||
28598 test ! -s conftest.err
28599 } && test -s conftest$ac_exeext &&
28600 $as_test_x conftest$ac_exeext; then
28601 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
28602 else
28603 echo "$as_me: failed program was:" >&5
28604 sed 's/^/| /' conftest.$ac_ext >&5
28605
28606 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
28607 fi
28608
28609 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28610 conftest$ac_exeext conftest.$ac_ext
28611 LIBS=$ac_check_lib_save_LIBS
28612 fi
28613 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
28614 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
28615 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
28616 MSPACK_LINK=" -lmspack"
28617 fi
28618
28619 fi
28620 if test "x$MSPACK_LINK" = "x" ; then
28621 wxUSE_LIBMSPACK=no
28622 fi
28623 fi
28624
28625 if test "$wxUSE_LIBMSPACK" != "no"; then
28626 cat >>confdefs.h <<\_ACEOF
28627 #define wxUSE_LIBMSPACK 1
28628 _ACEOF
28629
28630 fi
28631
28632
28633
28634 AFMINSTALL=
28635 WIN32INSTALL=
28636
28637 TOOLKIT=
28638 TOOLKIT_INCLUDE=
28639 WIDGET_SET=
28640
28641 if test "$USE_WIN32" = 1 ; then
28642
28643 for ac_header in w32api.h
28644 do
28645 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28646 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28647 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28648 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28649 echo $ECHO_N "(cached) $ECHO_C" >&6
28650 else
28651 cat >conftest.$ac_ext <<_ACEOF
28652 /* confdefs.h. */
28653 _ACEOF
28654 cat confdefs.h >>conftest.$ac_ext
28655 cat >>conftest.$ac_ext <<_ACEOF
28656 /* end confdefs.h. */
28657
28658
28659 #include <$ac_header>
28660 _ACEOF
28661 rm -f conftest.$ac_objext
28662 if { (ac_try="$ac_compile"
28663 case "(($ac_try" in
28664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28665 *) ac_try_echo=$ac_try;;
28666 esac
28667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28668 (eval "$ac_compile") 2>conftest.er1
28669 ac_status=$?
28670 grep -v '^ *+' conftest.er1 >conftest.err
28671 rm -f conftest.er1
28672 cat conftest.err >&5
28673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28674 (exit $ac_status); } && {
28675 test -z "$ac_c_werror_flag" ||
28676 test ! -s conftest.err
28677 } && test -s conftest.$ac_objext; then
28678 eval "$as_ac_Header=yes"
28679 else
28680 echo "$as_me: failed program was:" >&5
28681 sed 's/^/| /' conftest.$ac_ext >&5
28682
28683 eval "$as_ac_Header=no"
28684 fi
28685
28686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28687 fi
28688 ac_res=`eval echo '${'$as_ac_Header'}'`
28689 { echo "$as_me:$LINENO: result: $ac_res" >&5
28690 echo "${ECHO_T}$ac_res" >&6; }
28691 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28692 cat >>confdefs.h <<_ACEOF
28693 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28694 _ACEOF
28695
28696 fi
28697
28698 done
28699
28700 { echo "$as_me:$LINENO: checking for windows.h" >&5
28701 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
28702 if test "${ac_cv_header_windows_h+set}" = set; then
28703 echo $ECHO_N "(cached) $ECHO_C" >&6
28704 else
28705 cat >conftest.$ac_ext <<_ACEOF
28706 /* confdefs.h. */
28707 _ACEOF
28708 cat confdefs.h >>conftest.$ac_ext
28709 cat >>conftest.$ac_ext <<_ACEOF
28710 /* end confdefs.h. */
28711
28712
28713 #include <windows.h>
28714 _ACEOF
28715 rm -f conftest.$ac_objext
28716 if { (ac_try="$ac_compile"
28717 case "(($ac_try" in
28718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28719 *) ac_try_echo=$ac_try;;
28720 esac
28721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28722 (eval "$ac_compile") 2>conftest.er1
28723 ac_status=$?
28724 grep -v '^ *+' conftest.er1 >conftest.err
28725 rm -f conftest.er1
28726 cat conftest.err >&5
28727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28728 (exit $ac_status); } && {
28729 test -z "$ac_c_werror_flag" ||
28730 test ! -s conftest.err
28731 } && test -s conftest.$ac_objext; then
28732 ac_cv_header_windows_h=yes
28733 else
28734 echo "$as_me: failed program was:" >&5
28735 sed 's/^/| /' conftest.$ac_ext >&5
28736
28737 ac_cv_header_windows_h=no
28738 fi
28739
28740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28741 fi
28742 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
28743 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28744 if test $ac_cv_header_windows_h = yes; then
28745 :
28746 else
28747
28748 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
28749 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
28750 { (exit 1); exit 1; }; }
28751
28752 fi
28753
28754
28755
28756 case "${host}" in
28757 x86_64-*-mingw32* )
28758 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28759
28760 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
28761 ;;
28762 * )
28763 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28764 ;;
28765 esac
28766 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28767 LIBS="$LIBS -loleacc"
28768 fi
28769
28770 case "${host}" in
28771 *-*-cygwin* )
28772 LIBS="$LIBS -lkernel32 -luser32"
28773 esac
28774
28775 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28776 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
28777
28778 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28779
28780 WIN32INSTALL=win32install
28781
28782 { echo "$as_me:$LINENO: checking for pbt.h" >&5
28783 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
28784 if test "${ac_cv_header_pbt_h+set}" = set; then
28785 echo $ECHO_N "(cached) $ECHO_C" >&6
28786 else
28787 cat >conftest.$ac_ext <<_ACEOF
28788 /* confdefs.h. */
28789 _ACEOF
28790 cat confdefs.h >>conftest.$ac_ext
28791 cat >>conftest.$ac_ext <<_ACEOF
28792 /* end confdefs.h. */
28793
28794
28795 #include <pbt.h>
28796 _ACEOF
28797 rm -f conftest.$ac_objext
28798 if { (ac_try="$ac_compile"
28799 case "(($ac_try" in
28800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28801 *) ac_try_echo=$ac_try;;
28802 esac
28803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28804 (eval "$ac_compile") 2>conftest.er1
28805 ac_status=$?
28806 grep -v '^ *+' conftest.er1 >conftest.err
28807 rm -f conftest.er1
28808 cat conftest.err >&5
28809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28810 (exit $ac_status); } && {
28811 test -z "$ac_c_werror_flag" ||
28812 test ! -s conftest.err
28813 } && test -s conftest.$ac_objext; then
28814 ac_cv_header_pbt_h=yes
28815 else
28816 echo "$as_me: failed program was:" >&5
28817 sed 's/^/| /' conftest.$ac_ext >&5
28818
28819 ac_cv_header_pbt_h=no
28820 fi
28821
28822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28823 fi
28824 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
28825 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
28826 if test $ac_cv_header_pbt_h = yes; then
28827 :
28828 else
28829 cat >>confdefs.h <<\_ACEOF
28830 #define NEED_PBT_H 1
28831 _ACEOF
28832
28833 fi
28834
28835
28836 fi
28837
28838 if test "$wxUSE_GUI" = "yes"; then
28839 USE_GUI=1
28840
28841 GUI_TK_LIBRARY=
28842
28843 WXGTK12=
28844 WXGTK127=
28845 WXGTK2=
28846 WXGPE=
28847
28848 if test "$wxUSE_OLD_COCOA" = 1 ; then
28849 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28850 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
28851 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
28852 wxUSE_PRINTING_ARCHITECTURE=no
28853 fi
28854 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28855 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
28856 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
28857 wxUSE_DRAG_AND_DROP=no
28858 fi
28859 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28860 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
28861 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
28862 wxUSE_DRAGIMAGE=no
28863 fi
28864 fi
28865
28866 if test "$wxUSE_MSW" = 1 ; then
28867 TOOLKIT=MSW
28868 GUIDIST=MSW_DIST
28869
28870 case "${host}" in
28871 *-*-mingw32* )
28872 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
28873 esac
28874 fi
28875
28876 if test "$wxUSE_GTK" = 1; then
28877 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
28878 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
28879
28880 gtk_version_cached=1
28881 if test "${wx_cv_lib_gtk+set}" = set; then
28882 echo $ECHO_N "(cached) $ECHO_C" >&6
28883 else
28884
28885 gtk_version_cached=0
28886 { echo "$as_me:$LINENO: result: " >&5
28887 echo "${ECHO_T}" >&6; }
28888
28889 GTK_MODULES=
28890 if test "$wxUSE_THREADS" = "yes"; then
28891 GTK_MODULES=gthread
28892 fi
28893
28894 wx_cv_lib_gtk=
28895 if test "x$wxGTK_VERSION" != "x1"
28896 then
28897 case "${host}" in
28898 *-*-solaris2* )
28899 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28900 enable_gtktest=no
28901 fi
28902 esac
28903
28904 # Check whether --enable-gtktest was given.
28905 if test "${enable_gtktest+set}" = set; then
28906 enableval=$enable_gtktest;
28907 else
28908 enable_gtktest=yes
28909 fi
28910
28911
28912 pkg_config_args=gtk+-2.0
28913 for module in . $GTK_MODULES
28914 do
28915 case "$module" in
28916 gthread)
28917 pkg_config_args="$pkg_config_args gthread-2.0"
28918 ;;
28919 esac
28920 done
28921
28922 no_gtk=""
28923
28924 # Extract the first word of "pkg-config", so it can be a program name with args.
28925 set dummy pkg-config; ac_word=$2
28926 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28927 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28928 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28929 echo $ECHO_N "(cached) $ECHO_C" >&6
28930 else
28931 case $PKG_CONFIG in
28932 [\\/]* | ?:[\\/]*)
28933 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28934 ;;
28935 *)
28936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28937 for as_dir in $PATH
28938 do
28939 IFS=$as_save_IFS
28940 test -z "$as_dir" && as_dir=.
28941 for ac_exec_ext in '' $ac_executable_extensions; do
28942 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28943 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28944 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28945 break 2
28946 fi
28947 done
28948 done
28949 IFS=$as_save_IFS
28950
28951 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28952 ;;
28953 esac
28954 fi
28955 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28956 if test -n "$PKG_CONFIG"; then
28957 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28958 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28959 else
28960 { echo "$as_me:$LINENO: result: no" >&5
28961 echo "${ECHO_T}no" >&6; }
28962 fi
28963
28964
28965
28966 if test x$PKG_CONFIG != xno ; then
28967 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28968 :
28969 else
28970 echo "*** pkg-config too old; version 0.7 or better required."
28971 no_gtk=yes
28972 PKG_CONFIG=no
28973 fi
28974 else
28975 no_gtk=yes
28976 fi
28977
28978 min_gtk_version=2.4.0
28979 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
28980 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
28981
28982 if test x$PKG_CONFIG != xno ; then
28983 ## don't try to run the test against uninstalled libtool libs
28984 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28985 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
28986 enable_gtktest=no
28987 fi
28988
28989 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28990 :
28991 else
28992 no_gtk=yes
28993 fi
28994 fi
28995
28996 if test x"$no_gtk" = x ; then
28997 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28998 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28999 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29000 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29001 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29002 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29003 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29004 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29005 if test "x$enable_gtktest" = "xyes" ; then
29006 ac_save_CFLAGS="$CFLAGS"
29007 ac_save_LIBS="$LIBS"
29008 CFLAGS="$CFLAGS $GTK_CFLAGS"
29009 LIBS="$GTK_LIBS $LIBS"
29010 rm -f conf.gtktest
29011 if test "$cross_compiling" = yes; then
29012 echo $ac_n "cross compiling; assumed OK... $ac_c"
29013 else
29014 cat >conftest.$ac_ext <<_ACEOF
29015 /* confdefs.h. */
29016 _ACEOF
29017 cat confdefs.h >>conftest.$ac_ext
29018 cat >>conftest.$ac_ext <<_ACEOF
29019 /* end confdefs.h. */
29020
29021 #include <gtk/gtk.h>
29022 #include <stdio.h>
29023 #include <stdlib.h>
29024
29025 int
29026 main ()
29027 {
29028 int major, minor, micro;
29029 char *tmp_version;
29030
29031 system ("touch conf.gtktest");
29032
29033 /* HP/UX 9 (%@#!) writes to sscanf strings */
29034 tmp_version = g_strdup("$min_gtk_version");
29035 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29036 printf("%s, bad version string\n", "$min_gtk_version");
29037 exit(1);
29038 }
29039
29040 if ((gtk_major_version != $gtk_config_major_version) ||
29041 (gtk_minor_version != $gtk_config_minor_version) ||
29042 (gtk_micro_version != $gtk_config_micro_version))
29043 {
29044 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29045 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29046 gtk_major_version, gtk_minor_version, gtk_micro_version);
29047 printf ("*** was found! If pkg-config was correct, then it is best\n");
29048 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29049 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29050 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29051 printf("*** required on your system.\n");
29052 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
29053 printf("*** to point to the correct configuration files\n");
29054 }
29055 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29056 (gtk_minor_version != GTK_MINOR_VERSION) ||
29057 (gtk_micro_version != GTK_MICRO_VERSION))
29058 {
29059 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29060 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29061 printf("*** library (version %d.%d.%d)\n",
29062 gtk_major_version, gtk_minor_version, gtk_micro_version);
29063 }
29064 else
29065 {
29066 if ((gtk_major_version > major) ||
29067 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29068 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29069 {
29070 return 0;
29071 }
29072 else
29073 {
29074 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29075 gtk_major_version, gtk_minor_version, gtk_micro_version);
29076 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29077 major, minor, micro);
29078 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29079 printf("***\n");
29080 printf("*** If you have already installed a sufficiently new version, this error\n");
29081 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
29082 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29083 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
29084 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
29085 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29086 printf("*** so that the correct libraries are found at run-time))\n");
29087 }
29088 }
29089 return 1;
29090 }
29091
29092 _ACEOF
29093 rm -f conftest$ac_exeext
29094 if { (ac_try="$ac_link"
29095 case "(($ac_try" in
29096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29097 *) ac_try_echo=$ac_try;;
29098 esac
29099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29100 (eval "$ac_link") 2>&5
29101 ac_status=$?
29102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29103 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29104 { (case "(($ac_try" in
29105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29106 *) ac_try_echo=$ac_try;;
29107 esac
29108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29109 (eval "$ac_try") 2>&5
29110 ac_status=$?
29111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29112 (exit $ac_status); }; }; then
29113 :
29114 else
29115 echo "$as_me: program exited with status $ac_status" >&5
29116 echo "$as_me: failed program was:" >&5
29117 sed 's/^/| /' conftest.$ac_ext >&5
29118
29119 ( exit $ac_status )
29120 no_gtk=yes
29121 fi
29122 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29123 fi
29124
29125
29126 CFLAGS="$ac_save_CFLAGS"
29127 LIBS="$ac_save_LIBS"
29128 fi
29129 fi
29130 if test "x$no_gtk" = x ; then
29131 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
29132 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
29133 wx_cv_lib_gtk=2.0
29134 else
29135 { echo "$as_me:$LINENO: result: no" >&5
29136 echo "${ECHO_T}no" >&6; }
29137 if test "$PKG_CONFIG" = "no" ; then
29138 echo "*** A new enough version of pkg-config was not found."
29139 echo "*** See http://pkgconfig.sourceforge.net"
29140 else
29141 if test -f conf.gtktest ; then
29142 :
29143 else
29144 echo "*** Could not run GTK+ test program, checking why..."
29145 ac_save_CFLAGS="$CFLAGS"
29146 ac_save_LIBS="$LIBS"
29147 CFLAGS="$CFLAGS $GTK_CFLAGS"
29148 LIBS="$LIBS $GTK_LIBS"
29149 cat >conftest.$ac_ext <<_ACEOF
29150 /* confdefs.h. */
29151 _ACEOF
29152 cat confdefs.h >>conftest.$ac_ext
29153 cat >>conftest.$ac_ext <<_ACEOF
29154 /* end confdefs.h. */
29155
29156 #include <gtk/gtk.h>
29157 #include <stdio.h>
29158
29159 int
29160 main ()
29161 {
29162 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29163 ;
29164 return 0;
29165 }
29166 _ACEOF
29167 rm -f conftest.$ac_objext conftest$ac_exeext
29168 if { (ac_try="$ac_link"
29169 case "(($ac_try" in
29170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29171 *) ac_try_echo=$ac_try;;
29172 esac
29173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29174 (eval "$ac_link") 2>conftest.er1
29175 ac_status=$?
29176 grep -v '^ *+' conftest.er1 >conftest.err
29177 rm -f conftest.er1
29178 cat conftest.err >&5
29179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29180 (exit $ac_status); } && {
29181 test -z "$ac_c_werror_flag" ||
29182 test ! -s conftest.err
29183 } && test -s conftest$ac_exeext &&
29184 $as_test_x conftest$ac_exeext; then
29185 echo "*** The test program compiled, but did not run. This usually means"
29186 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
29187 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
29188 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29189 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29190 echo "*** is required on your system"
29191 echo "***"
29192 echo "*** If you have an old version installed, it is best to remove it, although"
29193 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29194 else
29195 echo "$as_me: failed program was:" >&5
29196 sed 's/^/| /' conftest.$ac_ext >&5
29197
29198 echo "*** The test program failed to compile or link. See the file config.log for the"
29199 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
29200 fi
29201
29202 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29203 conftest$ac_exeext conftest.$ac_ext
29204 CFLAGS="$ac_save_CFLAGS"
29205 LIBS="$ac_save_LIBS"
29206 fi
29207 fi
29208 GTK_CFLAGS=""
29209 GTK_LIBS=""
29210 :
29211 fi
29212
29213
29214 rm -f conf.gtktest
29215
29216
29217 case "${host}" in
29218 *-*-solaris2* )
29219 if test "$wxUSE_SHARED" != "yes"; then
29220 GTK_LIBS="$GTK_LIBS -lX11"
29221 fi
29222 esac
29223 fi
29224
29225 if test -z "$wx_cv_lib_gtk"; then
29226 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
29227
29228 # Check whether --with-gtk-prefix was given.
29229 if test "${with_gtk_prefix+set}" = set; then
29230 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29231 else
29232 gtk_config_prefix=""
29233 fi
29234
29235
29236 # Check whether --with-gtk-exec-prefix was given.
29237 if test "${with_gtk_exec_prefix+set}" = set; then
29238 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29239 else
29240 gtk_config_exec_prefix=""
29241 fi
29242
29243 # Check whether --enable-gtktest was given.
29244 if test "${enable_gtktest+set}" = set; then
29245 enableval=$enable_gtktest;
29246 else
29247 enable_gtktest=yes
29248 fi
29249
29250
29251 for module in . $GTK_MODULES
29252 do
29253 case "$module" in
29254 gthread)
29255 gtk_config_args="$gtk_config_args gthread"
29256 ;;
29257 esac
29258 done
29259
29260 if test x$gtk_config_exec_prefix != x ; then
29261 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29262 if test x${GTK_CONFIG+set} != xset ; then
29263 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29264 fi
29265 fi
29266 if test x$gtk_config_prefix != x ; then
29267 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29268 if test x${GTK_CONFIG+set} != xset ; then
29269 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29270 fi
29271 fi
29272
29273 # Extract the first word of "gtk-config", so it can be a program name with args.
29274 set dummy gtk-config; ac_word=$2
29275 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29276 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29277 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29278 echo $ECHO_N "(cached) $ECHO_C" >&6
29279 else
29280 case $GTK_CONFIG in
29281 [\\/]* | ?:[\\/]*)
29282 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29283 ;;
29284 *)
29285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29286 for as_dir in $PATH
29287 do
29288 IFS=$as_save_IFS
29289 test -z "$as_dir" && as_dir=.
29290 for ac_exec_ext in '' $ac_executable_extensions; do
29291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29292 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29293 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29294 break 2
29295 fi
29296 done
29297 done
29298 IFS=$as_save_IFS
29299
29300 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29301 ;;
29302 esac
29303 fi
29304 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29305 if test -n "$GTK_CONFIG"; then
29306 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29307 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29308 else
29309 { echo "$as_me:$LINENO: result: no" >&5
29310 echo "${ECHO_T}no" >&6; }
29311 fi
29312
29313
29314 min_gtk_version=1.2.7
29315 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29316 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
29317 no_gtk=""
29318 if test "$GTK_CONFIG" = "no" ; then
29319 no_gtk=yes
29320 else
29321 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29322 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29323 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29324 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29325 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29326 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29327 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29328 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29329 if test "x$enable_gtktest" = "xyes" ; then
29330 ac_save_CFLAGS="$CFLAGS"
29331 ac_save_LIBS="$LIBS"
29332 CFLAGS="$CFLAGS $GTK_CFLAGS"
29333 LIBS="$GTK_LIBS $LIBS"
29334 rm -f conf.gtktest
29335 if test "$cross_compiling" = yes; then
29336 echo $ac_n "cross compiling; assumed OK... $ac_c"
29337 else
29338 cat >conftest.$ac_ext <<_ACEOF
29339 /* confdefs.h. */
29340 _ACEOF
29341 cat confdefs.h >>conftest.$ac_ext
29342 cat >>conftest.$ac_ext <<_ACEOF
29343 /* end confdefs.h. */
29344
29345 #include <gtk/gtk.h>
29346 #include <stdio.h>
29347 #include <stdlib.h>
29348
29349 int
29350 main ()
29351 {
29352 int major, minor, micro;
29353 char *tmp_version;
29354
29355 system ("touch conf.gtktest");
29356
29357 /* HP/UX 9 (%@#!) writes to sscanf strings */
29358 tmp_version = g_strdup("$min_gtk_version");
29359 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29360 printf("%s, bad version string\n", "$min_gtk_version");
29361 exit(1);
29362 }
29363
29364 if ((gtk_major_version != $gtk_config_major_version) ||
29365 (gtk_minor_version != $gtk_config_minor_version) ||
29366 (gtk_micro_version != $gtk_config_micro_version))
29367 {
29368 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29369 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29370 gtk_major_version, gtk_minor_version, gtk_micro_version);
29371 printf ("*** was found! If gtk-config was correct, then it is best\n");
29372 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29373 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29374 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29375 printf("*** required on your system.\n");
29376 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29377 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29378 printf("*** before re-running configure\n");
29379 }
29380 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29381 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29382 (gtk_minor_version != GTK_MINOR_VERSION) ||
29383 (gtk_micro_version != GTK_MICRO_VERSION))
29384 {
29385 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29386 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29387 printf("*** library (version %d.%d.%d)\n",
29388 gtk_major_version, gtk_minor_version, gtk_micro_version);
29389 }
29390 #endif /* defined (GTK_MAJOR_VERSION) ... */
29391 else
29392 {
29393 if ((gtk_major_version > major) ||
29394 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29395 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29396 {
29397 return 0;
29398 }
29399 else
29400 {
29401 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29402 gtk_major_version, gtk_minor_version, gtk_micro_version);
29403 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29404 major, minor, micro);
29405 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29406 printf("***\n");
29407 printf("*** If you have already installed a sufficiently new version, this error\n");
29408 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29409 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29410 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29411 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29412 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29413 printf("*** so that the correct libraries are found at run-time))\n");
29414 }
29415 }
29416 return 1;
29417 }
29418
29419 _ACEOF
29420 rm -f conftest$ac_exeext
29421 if { (ac_try="$ac_link"
29422 case "(($ac_try" in
29423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29424 *) ac_try_echo=$ac_try;;
29425 esac
29426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29427 (eval "$ac_link") 2>&5
29428 ac_status=$?
29429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29430 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29431 { (case "(($ac_try" in
29432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29433 *) ac_try_echo=$ac_try;;
29434 esac
29435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29436 (eval "$ac_try") 2>&5
29437 ac_status=$?
29438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29439 (exit $ac_status); }; }; then
29440 :
29441 else
29442 echo "$as_me: program exited with status $ac_status" >&5
29443 echo "$as_me: failed program was:" >&5
29444 sed 's/^/| /' conftest.$ac_ext >&5
29445
29446 ( exit $ac_status )
29447 no_gtk=yes
29448 fi
29449 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29450 fi
29451
29452
29453 CFLAGS="$ac_save_CFLAGS"
29454 LIBS="$ac_save_LIBS"
29455 fi
29456 fi
29457 if test "x$no_gtk" = x ; then
29458 { echo "$as_me:$LINENO: result: yes" >&5
29459 echo "${ECHO_T}yes" >&6; }
29460 wx_cv_lib_gtk=1.2.7
29461 else
29462 { echo "$as_me:$LINENO: result: no" >&5
29463 echo "${ECHO_T}no" >&6; }
29464 if test "$GTK_CONFIG" = "no" ; then
29465 echo "*** The gtk-config script installed by GTK could not be found"
29466 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29467 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29468 echo "*** full path to gtk-config."
29469 else
29470 if test -f conf.gtktest ; then
29471 :
29472 else
29473 echo "*** Could not run GTK test program, checking why..."
29474 CFLAGS="$CFLAGS $GTK_CFLAGS"
29475 LIBS="$LIBS $GTK_LIBS"
29476 cat >conftest.$ac_ext <<_ACEOF
29477 /* confdefs.h. */
29478 _ACEOF
29479 cat confdefs.h >>conftest.$ac_ext
29480 cat >>conftest.$ac_ext <<_ACEOF
29481 /* end confdefs.h. */
29482
29483 #include <gtk/gtk.h>
29484 #include <stdio.h>
29485
29486 int
29487 main ()
29488 {
29489 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29490 ;
29491 return 0;
29492 }
29493 _ACEOF
29494 rm -f conftest.$ac_objext conftest$ac_exeext
29495 if { (ac_try="$ac_link"
29496 case "(($ac_try" in
29497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29498 *) ac_try_echo=$ac_try;;
29499 esac
29500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29501 (eval "$ac_link") 2>conftest.er1
29502 ac_status=$?
29503 grep -v '^ *+' conftest.er1 >conftest.err
29504 rm -f conftest.er1
29505 cat conftest.err >&5
29506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29507 (exit $ac_status); } && {
29508 test -z "$ac_c_werror_flag" ||
29509 test ! -s conftest.err
29510 } && test -s conftest$ac_exeext &&
29511 $as_test_x conftest$ac_exeext; then
29512 echo "*** The test program compiled, but did not run. This usually means"
29513 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29514 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29515 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29516 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29517 echo "*** is required on your system"
29518 echo "***"
29519 echo "*** If you have an old version installed, it is best to remove it, although"
29520 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29521 echo "***"
29522 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29523 echo "*** came with the system with the command"
29524 echo "***"
29525 echo "*** rpm --erase --nodeps gtk gtk-devel"
29526 else
29527 echo "$as_me: failed program was:" >&5
29528 sed 's/^/| /' conftest.$ac_ext >&5
29529
29530 echo "*** The test program failed to compile or link. See the file config.log for the"
29531 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29532 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29533 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29534 fi
29535
29536 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29537 conftest$ac_exeext conftest.$ac_ext
29538 CFLAGS="$ac_save_CFLAGS"
29539 LIBS="$ac_save_LIBS"
29540 fi
29541 fi
29542 GTK_CFLAGS=""
29543 GTK_LIBS=""
29544 :
29545 fi
29546
29547
29548 rm -f conf.gtktest
29549
29550
29551 if test -z "$wx_cv_lib_gtk"; then
29552
29553 # Check whether --with-gtk-prefix was given.
29554 if test "${with_gtk_prefix+set}" = set; then
29555 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29556 else
29557 gtk_config_prefix=""
29558 fi
29559
29560
29561 # Check whether --with-gtk-exec-prefix was given.
29562 if test "${with_gtk_exec_prefix+set}" = set; then
29563 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29564 else
29565 gtk_config_exec_prefix=""
29566 fi
29567
29568 # Check whether --enable-gtktest was given.
29569 if test "${enable_gtktest+set}" = set; then
29570 enableval=$enable_gtktest;
29571 else
29572 enable_gtktest=yes
29573 fi
29574
29575
29576 for module in . $GTK_MODULES
29577 do
29578 case "$module" in
29579 gthread)
29580 gtk_config_args="$gtk_config_args gthread"
29581 ;;
29582 esac
29583 done
29584
29585 if test x$gtk_config_exec_prefix != x ; then
29586 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29587 if test x${GTK_CONFIG+set} != xset ; then
29588 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29589 fi
29590 fi
29591 if test x$gtk_config_prefix != x ; then
29592 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29593 if test x${GTK_CONFIG+set} != xset ; then
29594 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29595 fi
29596 fi
29597
29598 # Extract the first word of "gtk-config", so it can be a program name with args.
29599 set dummy gtk-config; ac_word=$2
29600 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29601 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29602 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29603 echo $ECHO_N "(cached) $ECHO_C" >&6
29604 else
29605 case $GTK_CONFIG in
29606 [\\/]* | ?:[\\/]*)
29607 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29608 ;;
29609 *)
29610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29611 for as_dir in $PATH
29612 do
29613 IFS=$as_save_IFS
29614 test -z "$as_dir" && as_dir=.
29615 for ac_exec_ext in '' $ac_executable_extensions; do
29616 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29617 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29618 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29619 break 2
29620 fi
29621 done
29622 done
29623 IFS=$as_save_IFS
29624
29625 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29626 ;;
29627 esac
29628 fi
29629 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29630 if test -n "$GTK_CONFIG"; then
29631 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29632 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29633 else
29634 { echo "$as_me:$LINENO: result: no" >&5
29635 echo "${ECHO_T}no" >&6; }
29636 fi
29637
29638
29639 min_gtk_version=1.2.3
29640 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29641 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
29642 no_gtk=""
29643 if test "$GTK_CONFIG" = "no" ; then
29644 no_gtk=yes
29645 else
29646 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29647 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29648 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29649 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29650 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29651 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29652 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29653 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29654 if test "x$enable_gtktest" = "xyes" ; then
29655 ac_save_CFLAGS="$CFLAGS"
29656 ac_save_LIBS="$LIBS"
29657 CFLAGS="$CFLAGS $GTK_CFLAGS"
29658 LIBS="$GTK_LIBS $LIBS"
29659 rm -f conf.gtktest
29660 if test "$cross_compiling" = yes; then
29661 echo $ac_n "cross compiling; assumed OK... $ac_c"
29662 else
29663 cat >conftest.$ac_ext <<_ACEOF
29664 /* confdefs.h. */
29665 _ACEOF
29666 cat confdefs.h >>conftest.$ac_ext
29667 cat >>conftest.$ac_ext <<_ACEOF
29668 /* end confdefs.h. */
29669
29670 #include <gtk/gtk.h>
29671 #include <stdio.h>
29672 #include <stdlib.h>
29673
29674 int
29675 main ()
29676 {
29677 int major, minor, micro;
29678 char *tmp_version;
29679
29680 system ("touch conf.gtktest");
29681
29682 /* HP/UX 9 (%@#!) writes to sscanf strings */
29683 tmp_version = g_strdup("$min_gtk_version");
29684 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29685 printf("%s, bad version string\n", "$min_gtk_version");
29686 exit(1);
29687 }
29688
29689 if ((gtk_major_version != $gtk_config_major_version) ||
29690 (gtk_minor_version != $gtk_config_minor_version) ||
29691 (gtk_micro_version != $gtk_config_micro_version))
29692 {
29693 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29694 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29695 gtk_major_version, gtk_minor_version, gtk_micro_version);
29696 printf ("*** was found! If gtk-config was correct, then it is best\n");
29697 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29698 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29699 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29700 printf("*** required on your system.\n");
29701 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29702 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29703 printf("*** before re-running configure\n");
29704 }
29705 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29706 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29707 (gtk_minor_version != GTK_MINOR_VERSION) ||
29708 (gtk_micro_version != GTK_MICRO_VERSION))
29709 {
29710 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29711 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29712 printf("*** library (version %d.%d.%d)\n",
29713 gtk_major_version, gtk_minor_version, gtk_micro_version);
29714 }
29715 #endif /* defined (GTK_MAJOR_VERSION) ... */
29716 else
29717 {
29718 if ((gtk_major_version > major) ||
29719 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29720 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29721 {
29722 return 0;
29723 }
29724 else
29725 {
29726 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29727 gtk_major_version, gtk_minor_version, gtk_micro_version);
29728 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29729 major, minor, micro);
29730 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29731 printf("***\n");
29732 printf("*** If you have already installed a sufficiently new version, this error\n");
29733 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29734 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29735 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29736 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29737 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29738 printf("*** so that the correct libraries are found at run-time))\n");
29739 }
29740 }
29741 return 1;
29742 }
29743
29744 _ACEOF
29745 rm -f conftest$ac_exeext
29746 if { (ac_try="$ac_link"
29747 case "(($ac_try" in
29748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29749 *) ac_try_echo=$ac_try;;
29750 esac
29751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29752 (eval "$ac_link") 2>&5
29753 ac_status=$?
29754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29755 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29756 { (case "(($ac_try" in
29757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29758 *) ac_try_echo=$ac_try;;
29759 esac
29760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29761 (eval "$ac_try") 2>&5
29762 ac_status=$?
29763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29764 (exit $ac_status); }; }; then
29765 :
29766 else
29767 echo "$as_me: program exited with status $ac_status" >&5
29768 echo "$as_me: failed program was:" >&5
29769 sed 's/^/| /' conftest.$ac_ext >&5
29770
29771 ( exit $ac_status )
29772 no_gtk=yes
29773 fi
29774 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29775 fi
29776
29777
29778 CFLAGS="$ac_save_CFLAGS"
29779 LIBS="$ac_save_LIBS"
29780 fi
29781 fi
29782 if test "x$no_gtk" = x ; then
29783 { echo "$as_me:$LINENO: result: yes" >&5
29784 echo "${ECHO_T}yes" >&6; }
29785 wx_cv_lib_gtk=1.2.3
29786 else
29787 { echo "$as_me:$LINENO: result: no" >&5
29788 echo "${ECHO_T}no" >&6; }
29789 if test "$GTK_CONFIG" = "no" ; then
29790 echo "*** The gtk-config script installed by GTK could not be found"
29791 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29792 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29793 echo "*** full path to gtk-config."
29794 else
29795 if test -f conf.gtktest ; then
29796 :
29797 else
29798 echo "*** Could not run GTK test program, checking why..."
29799 CFLAGS="$CFLAGS $GTK_CFLAGS"
29800 LIBS="$LIBS $GTK_LIBS"
29801 cat >conftest.$ac_ext <<_ACEOF
29802 /* confdefs.h. */
29803 _ACEOF
29804 cat confdefs.h >>conftest.$ac_ext
29805 cat >>conftest.$ac_ext <<_ACEOF
29806 /* end confdefs.h. */
29807
29808 #include <gtk/gtk.h>
29809 #include <stdio.h>
29810
29811 int
29812 main ()
29813 {
29814 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29815 ;
29816 return 0;
29817 }
29818 _ACEOF
29819 rm -f conftest.$ac_objext conftest$ac_exeext
29820 if { (ac_try="$ac_link"
29821 case "(($ac_try" in
29822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29823 *) ac_try_echo=$ac_try;;
29824 esac
29825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29826 (eval "$ac_link") 2>conftest.er1
29827 ac_status=$?
29828 grep -v '^ *+' conftest.er1 >conftest.err
29829 rm -f conftest.er1
29830 cat conftest.err >&5
29831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29832 (exit $ac_status); } && {
29833 test -z "$ac_c_werror_flag" ||
29834 test ! -s conftest.err
29835 } && test -s conftest$ac_exeext &&
29836 $as_test_x conftest$ac_exeext; then
29837 echo "*** The test program compiled, but did not run. This usually means"
29838 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29839 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29840 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29841 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29842 echo "*** is required on your system"
29843 echo "***"
29844 echo "*** If you have an old version installed, it is best to remove it, although"
29845 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29846 echo "***"
29847 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29848 echo "*** came with the system with the command"
29849 echo "***"
29850 echo "*** rpm --erase --nodeps gtk gtk-devel"
29851 else
29852 echo "$as_me: failed program was:" >&5
29853 sed 's/^/| /' conftest.$ac_ext >&5
29854
29855 echo "*** The test program failed to compile or link. See the file config.log for the"
29856 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29857 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29858 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29859 fi
29860
29861 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29862 conftest$ac_exeext conftest.$ac_ext
29863 CFLAGS="$ac_save_CFLAGS"
29864 LIBS="$ac_save_LIBS"
29865 fi
29866 fi
29867 GTK_CFLAGS=""
29868 GTK_LIBS=""
29869 :
29870 fi
29871
29872
29873 rm -f conf.gtktest
29874
29875 fi
29876 fi
29877 fi
29878
29879 if test -z "$wx_cv_lib_gtk"; then
29880 wx_cv_lib_gtk=none
29881 else
29882 wx_cv_cflags_gtk=$GTK_CFLAGS
29883 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
29884 fi
29885
29886
29887 fi
29888
29889
29890 if test "$gtk_version_cached" = 1; then
29891 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29892 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29893 fi
29894
29895 case "$wx_cv_lib_gtk" in
29896 2.0) WXGTK2=1
29897 TOOLKIT_VERSION=2
29898 ;;
29899 1.2.7) WXGTK127=1
29900 WXGTK12=1
29901 ;;
29902 1.2.3) WXGTK12=1
29903 ;;
29904 *) { { echo "$as_me:$LINENO: error:
29905 The development files for GTK+ were not found. For GTK+ 2, please
29906 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29907 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29908 and that the version is 1.2.3 or above. Also check that the
29909 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29910 --libs' are in the LD_LIBRARY_PATH or equivalent.
29911 " >&5
29912 echo "$as_me: error:
29913 The development files for GTK+ were not found. For GTK+ 2, please
29914 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29915 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29916 and that the version is 1.2.3 or above. Also check that the
29917 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29918 --libs' are in the LD_LIBRARY_PATH or equivalent.
29919 " >&2;}
29920 { (exit 1); exit 1; }; }
29921 ;;
29922 esac
29923
29924 if test "$WXGTK2" = 1; then
29925 save_CFLAGS="$CFLAGS"
29926 save_LIBS="$LIBS"
29927 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29928 LIBS="$LIBS $wx_cv_libs_gtk"
29929
29930 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.18" >&5
29931 echo $ECHO_N "checking if GTK+ is version >= 2.18... $ECHO_C" >&6; }
29932 cat >conftest.$ac_ext <<_ACEOF
29933 /* confdefs.h. */
29934 _ACEOF
29935 cat confdefs.h >>conftest.$ac_ext
29936 cat >>conftest.$ac_ext <<_ACEOF
29937 /* end confdefs.h. */
29938
29939 #include <gtk/gtk.h>
29940
29941 int
29942 main ()
29943 {
29944
29945 #if !GTK_CHECK_VERSION(2,18,0)
29946 Not GTK+ 2.18
29947 #endif
29948
29949 ;
29950 return 0;
29951 }
29952 _ACEOF
29953 rm -f conftest.$ac_objext
29954 if { (ac_try="$ac_compile"
29955 case "(($ac_try" in
29956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29957 *) ac_try_echo=$ac_try;;
29958 esac
29959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29960 (eval "$ac_compile") 2>conftest.er1
29961 ac_status=$?
29962 grep -v '^ *+' conftest.er1 >conftest.err
29963 rm -f conftest.er1
29964 cat conftest.err >&5
29965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29966 (exit $ac_status); } && {
29967 test -z "$ac_c_werror_flag" ||
29968 test ! -s conftest.err
29969 } && test -s conftest.$ac_objext; then
29970
29971 cat >>confdefs.h <<\_ACEOF
29972 #define __WXGTK218__ 1
29973 _ACEOF
29974
29975 cat >>confdefs.h <<\_ACEOF
29976 #define __WXGTK210__ 1
29977 _ACEOF
29978
29979 cat >>confdefs.h <<\_ACEOF
29980 #define __WXGTK26__ 1
29981 _ACEOF
29982
29983 { echo "$as_me:$LINENO: result: yes" >&5
29984 echo "${ECHO_T}yes" >&6; }
29985 ac_wxgtk218=1
29986
29987 else
29988 echo "$as_me: failed program was:" >&5
29989 sed 's/^/| /' conftest.$ac_ext >&5
29990
29991
29992 { echo "$as_me:$LINENO: result: no" >&5
29993 echo "${ECHO_T}no" >&6; }
29994 ac_wxgtk218=0
29995
29996 fi
29997
29998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29999
30000 if test "$ac_wxgtk218" = 0; then
30001 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
30002 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
30003 cat >conftest.$ac_ext <<_ACEOF
30004 /* confdefs.h. */
30005 _ACEOF
30006 cat confdefs.h >>conftest.$ac_ext
30007 cat >>conftest.$ac_ext <<_ACEOF
30008 /* end confdefs.h. */
30009
30010 #include <gtk/gtk.h>
30011
30012 int
30013 main ()
30014 {
30015
30016 #if !GTK_CHECK_VERSION(2,10,0)
30017 Not GTK+ 2.10
30018 #endif
30019
30020 ;
30021 return 0;
30022 }
30023 _ACEOF
30024 rm -f conftest.$ac_objext
30025 if { (ac_try="$ac_compile"
30026 case "(($ac_try" in
30027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30028 *) ac_try_echo=$ac_try;;
30029 esac
30030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30031 (eval "$ac_compile") 2>conftest.er1
30032 ac_status=$?
30033 grep -v '^ *+' conftest.er1 >conftest.err
30034 rm -f conftest.er1
30035 cat conftest.err >&5
30036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30037 (exit $ac_status); } && {
30038 test -z "$ac_c_werror_flag" ||
30039 test ! -s conftest.err
30040 } && test -s conftest.$ac_objext; then
30041
30042 cat >>confdefs.h <<\_ACEOF
30043 #define __WXGTK210__ 1
30044 _ACEOF
30045
30046 cat >>confdefs.h <<\_ACEOF
30047 #define __WXGTK26__ 1
30048 _ACEOF
30049
30050 { echo "$as_me:$LINENO: result: yes" >&5
30051 echo "${ECHO_T}yes" >&6; }
30052 ac_wxgtk210=1
30053
30054 else
30055 echo "$as_me: failed program was:" >&5
30056 sed 's/^/| /' conftest.$ac_ext >&5
30057
30058
30059 { echo "$as_me:$LINENO: result: no" >&5
30060 echo "${ECHO_T}no" >&6; }
30061 ac_wxgtk210=0
30062
30063 fi
30064
30065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30066
30067 if test "$ac_wxgtk210" = 0; then
30068 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
30069 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
30070 cat >conftest.$ac_ext <<_ACEOF
30071 /* confdefs.h. */
30072 _ACEOF
30073 cat confdefs.h >>conftest.$ac_ext
30074 cat >>conftest.$ac_ext <<_ACEOF
30075 /* end confdefs.h. */
30076
30077 #include <gtk/gtk.h>
30078
30079 int
30080 main ()
30081 {
30082
30083 #if !GTK_CHECK_VERSION(2,6,0)
30084 Not GTK+ 2.6
30085 #endif
30086
30087 ;
30088 return 0;
30089 }
30090 _ACEOF
30091 rm -f conftest.$ac_objext
30092 if { (ac_try="$ac_compile"
30093 case "(($ac_try" in
30094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30095 *) ac_try_echo=$ac_try;;
30096 esac
30097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30098 (eval "$ac_compile") 2>conftest.er1
30099 ac_status=$?
30100 grep -v '^ *+' conftest.er1 >conftest.err
30101 rm -f conftest.er1
30102 cat conftest.err >&5
30103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30104 (exit $ac_status); } && {
30105 test -z "$ac_c_werror_flag" ||
30106 test ! -s conftest.err
30107 } && test -s conftest.$ac_objext; then
30108
30109 cat >>confdefs.h <<\_ACEOF
30110 #define __WXGTK26__ 1
30111 _ACEOF
30112
30113 { echo "$as_me:$LINENO: result: yes" >&5
30114 echo "${ECHO_T}yes" >&6; }
30115 ac_wxgtk26=1
30116
30117 else
30118 echo "$as_me: failed program was:" >&5
30119 sed 's/^/| /' conftest.$ac_ext >&5
30120
30121
30122 { echo "$as_me:$LINENO: result: no" >&5
30123 echo "${ECHO_T}no" >&6; }
30124 ac_wxgtk26=0
30125
30126 fi
30127
30128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30129 fi
30130 fi
30131
30132 CFLAGS="$save_CFLAGS"
30133 LIBS="$save_LIBS"
30134 else
30135 if test "$wxUSE_UNICODE" = "yes"; then
30136 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
30137 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
30138 wxUSE_UNICODE=no
30139 fi
30140
30141 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
30142 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
30143 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
30144 echo $ECHO_N "(cached) $ECHO_C" >&6
30145 else
30146 ac_check_lib_save_LIBS=$LIBS
30147 LIBS="-lgdk $LIBS"
30148 cat >conftest.$ac_ext <<_ACEOF
30149 /* confdefs.h. */
30150 _ACEOF
30151 cat confdefs.h >>conftest.$ac_ext
30152 cat >>conftest.$ac_ext <<_ACEOF
30153 /* end confdefs.h. */
30154
30155 /* Override any GCC internal prototype to avoid an error.
30156 Use char because int might match the return type of a GCC
30157 builtin and then its argument prototype would still apply. */
30158 #ifdef __cplusplus
30159 extern "C"
30160 #endif
30161 char gdk_im_open ();
30162 int
30163 main ()
30164 {
30165 return gdk_im_open ();
30166 ;
30167 return 0;
30168 }
30169 _ACEOF
30170 rm -f conftest.$ac_objext conftest$ac_exeext
30171 if { (ac_try="$ac_link"
30172 case "(($ac_try" in
30173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30174 *) ac_try_echo=$ac_try;;
30175 esac
30176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30177 (eval "$ac_link") 2>conftest.er1
30178 ac_status=$?
30179 grep -v '^ *+' conftest.er1 >conftest.err
30180 rm -f conftest.er1
30181 cat conftest.err >&5
30182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30183 (exit $ac_status); } && {
30184 test -z "$ac_c_werror_flag" ||
30185 test ! -s conftest.err
30186 } && test -s conftest$ac_exeext &&
30187 $as_test_x conftest$ac_exeext; then
30188 ac_cv_lib_gdk_gdk_im_open=yes
30189 else
30190 echo "$as_me: failed program was:" >&5
30191 sed 's/^/| /' conftest.$ac_ext >&5
30192
30193 ac_cv_lib_gdk_gdk_im_open=no
30194 fi
30195
30196 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30197 conftest$ac_exeext conftest.$ac_ext
30198 LIBS=$ac_check_lib_save_LIBS
30199 fi
30200 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
30201 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
30202 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
30203 cat >>confdefs.h <<\_ACEOF
30204 #define HAVE_XIM 1
30205 _ACEOF
30206
30207 fi
30208
30209
30210 if test "$USE_DARWIN" != 1; then
30211
30212 for ac_func in poll
30213 do
30214 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30215 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30216 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30217 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30218 echo $ECHO_N "(cached) $ECHO_C" >&6
30219 else
30220 cat >conftest.$ac_ext <<_ACEOF
30221 /* confdefs.h. */
30222 _ACEOF
30223 cat confdefs.h >>conftest.$ac_ext
30224 cat >>conftest.$ac_ext <<_ACEOF
30225 /* end confdefs.h. */
30226 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30227 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30228 #define $ac_func innocuous_$ac_func
30229
30230 /* System header to define __stub macros and hopefully few prototypes,
30231 which can conflict with char $ac_func (); below.
30232 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30233 <limits.h> exists even on freestanding compilers. */
30234
30235 #ifdef __STDC__
30236 # include <limits.h>
30237 #else
30238 # include <assert.h>
30239 #endif
30240
30241 #undef $ac_func
30242
30243 /* Override any GCC internal prototype to avoid an error.
30244 Use char because int might match the return type of a GCC
30245 builtin and then its argument prototype would still apply. */
30246 #ifdef __cplusplus
30247 extern "C"
30248 #endif
30249 char $ac_func ();
30250 /* The GNU C library defines this for functions which it implements
30251 to always fail with ENOSYS. Some functions are actually named
30252 something starting with __ and the normal name is an alias. */
30253 #if defined __stub_$ac_func || defined __stub___$ac_func
30254 choke me
30255 #endif
30256
30257 int
30258 main ()
30259 {
30260 return $ac_func ();
30261 ;
30262 return 0;
30263 }
30264 _ACEOF
30265 rm -f conftest.$ac_objext conftest$ac_exeext
30266 if { (ac_try="$ac_link"
30267 case "(($ac_try" in
30268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30269 *) ac_try_echo=$ac_try;;
30270 esac
30271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30272 (eval "$ac_link") 2>conftest.er1
30273 ac_status=$?
30274 grep -v '^ *+' conftest.er1 >conftest.err
30275 rm -f conftest.er1
30276 cat conftest.err >&5
30277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30278 (exit $ac_status); } && {
30279 test -z "$ac_c_werror_flag" ||
30280 test ! -s conftest.err
30281 } && test -s conftest$ac_exeext &&
30282 $as_test_x conftest$ac_exeext; then
30283 eval "$as_ac_var=yes"
30284 else
30285 echo "$as_me: failed program was:" >&5
30286 sed 's/^/| /' conftest.$ac_ext >&5
30287
30288 eval "$as_ac_var=no"
30289 fi
30290
30291 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30292 conftest$ac_exeext conftest.$ac_ext
30293 fi
30294 ac_res=`eval echo '${'$as_ac_var'}'`
30295 { echo "$as_me:$LINENO: result: $ac_res" >&5
30296 echo "${ECHO_T}$ac_res" >&6; }
30297 if test `eval echo '${'$as_ac_var'}'` = yes; then
30298 cat >>confdefs.h <<_ACEOF
30299 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30300 _ACEOF
30301
30302 fi
30303 done
30304
30305 fi
30306 fi
30307
30308 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
30309 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
30310
30311 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE -DG_DISABLE_CAST_CHECKS"
30312
30313 AFMINSTALL=afminstall
30314 TOOLKIT=GTK
30315 GUIDIST=GTK_DIST
30316
30317 if test "$wxUSE_GPE" = "yes"; then
30318 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
30319 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
30320
30321 ac_find_libraries=
30322 for ac_dir in $SEARCH_LIB;
30323 do
30324 for ac_extension in a so sl dylib dll.a; do
30325 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
30326 ac_find_libraries=$ac_dir
30327 break 2
30328 fi
30329 done
30330 done
30331
30332 if test "$ac_find_libraries" != "" ; then
30333
30334 if test "$ac_find_libraries" = "default location"; then
30335 ac_path_to_link=""
30336 else
30337 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
30338 result=$?
30339 if test $result = 0; then
30340 ac_path_to_link=""
30341 else
30342 ac_path_to_link=" -L$ac_find_libraries"
30343 fi
30344 fi
30345
30346 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
30347 WXGPE=1
30348 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30349 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
30350 else
30351 { echo "$as_me:$LINENO: result: not found" >&5
30352 echo "${ECHO_T}not found" >&6; }
30353 fi
30354
30355 fi
30356 fi
30357
30358 if test "$wxUSE_MGL" = 1; then
30359 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
30360 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
30361 if test "x$MGL_ROOT" = x ; then
30362 { echo "$as_me:$LINENO: result: not found" >&5
30363 echo "${ECHO_T}not found" >&6; }
30364 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
30365 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
30366 { (exit 1); exit 1; }; }
30367 else
30368 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
30369 echo "${ECHO_T}$MGL_ROOT" >&6; }
30370 fi
30371
30372 { echo "$as_me:$LINENO: checking for libmgl location" >&5
30373 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
30374 case "${host}" in
30375 *-*-linux* )
30376 if test "x$wxUSE_SHARED" = xyes ; then
30377 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
30378 else
30379 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
30380 fi
30381 ;;
30382 *-pc-msdosdjgpp )
30383 mgl_os_candidates="dos32/dj2"
30384 ;;
30385 *)
30386 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
30387 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
30388 { (exit 1); exit 1; }; }
30389 esac
30390
30391 mgl_lib_type=""
30392 mgl_os=""
30393
30394 for mgl_os_i in $mgl_os_candidates ; do
30395 if test "x$mgl_os" = x ; then
30396 if test "$wxUSE_DEBUG_FLAG" = yes ; then
30397 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
30398 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
30399 mgl_lib_type=debug
30400 mgl_os=$mgl_os_i
30401 fi
30402 fi
30403 if test "x$mgl_lib_type" = x ; then
30404 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
30405 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
30406 mgl_lib_type=release
30407 mgl_os=$mgl_os_i
30408 fi
30409 fi
30410 fi
30411 done
30412
30413 if test "x$mgl_os" = x ; then
30414 { echo "$as_me:$LINENO: result: not found" >&5
30415 echo "${ECHO_T}not found" >&6; }
30416 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
30417 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
30418 { (exit 1); exit 1; }; }
30419 fi
30420 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
30421 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
30422
30423 wxUSE_UNIVERSAL="yes"
30424
30425 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
30426 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
30427
30428 AFMINSTALL=afminstall
30429 TOOLKIT=MGL
30430 GUIDIST=MGL_DIST
30431 fi
30432
30433 if test "$wxUSE_DFB" = 1; then
30434
30435
30436 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30437 if test -n "$ac_tool_prefix"; then
30438 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30439 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30440 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30441 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30442 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30443 echo $ECHO_N "(cached) $ECHO_C" >&6
30444 else
30445 case $PKG_CONFIG in
30446 [\\/]* | ?:[\\/]*)
30447 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30448 ;;
30449 *)
30450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30451 for as_dir in $PATH
30452 do
30453 IFS=$as_save_IFS
30454 test -z "$as_dir" && as_dir=.
30455 for ac_exec_ext in '' $ac_executable_extensions; do
30456 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30457 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30458 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30459 break 2
30460 fi
30461 done
30462 done
30463 IFS=$as_save_IFS
30464
30465 ;;
30466 esac
30467 fi
30468 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30469 if test -n "$PKG_CONFIG"; then
30470 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30471 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30472 else
30473 { echo "$as_me:$LINENO: result: no" >&5
30474 echo "${ECHO_T}no" >&6; }
30475 fi
30476
30477
30478 fi
30479 if test -z "$ac_cv_path_PKG_CONFIG"; then
30480 ac_pt_PKG_CONFIG=$PKG_CONFIG
30481 # Extract the first word of "pkg-config", so it can be a program name with args.
30482 set dummy pkg-config; ac_word=$2
30483 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30484 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30485 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30486 echo $ECHO_N "(cached) $ECHO_C" >&6
30487 else
30488 case $ac_pt_PKG_CONFIG in
30489 [\\/]* | ?:[\\/]*)
30490 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30491 ;;
30492 *)
30493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30494 for as_dir in $PATH
30495 do
30496 IFS=$as_save_IFS
30497 test -z "$as_dir" && as_dir=.
30498 for ac_exec_ext in '' $ac_executable_extensions; do
30499 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30500 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30501 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30502 break 2
30503 fi
30504 done
30505 done
30506 IFS=$as_save_IFS
30507
30508 ;;
30509 esac
30510 fi
30511 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30512 if test -n "$ac_pt_PKG_CONFIG"; then
30513 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30514 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30515 else
30516 { echo "$as_me:$LINENO: result: no" >&5
30517 echo "${ECHO_T}no" >&6; }
30518 fi
30519
30520 if test "x$ac_pt_PKG_CONFIG" = x; then
30521 PKG_CONFIG=""
30522 else
30523 case $cross_compiling:$ac_tool_warned in
30524 yes:)
30525 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30526 whose name does not start with the host triplet. If you think this
30527 configuration is useful to you, please write to autoconf@gnu.org." >&5
30528 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30529 whose name does not start with the host triplet. If you think this
30530 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30531 ac_tool_warned=yes ;;
30532 esac
30533 PKG_CONFIG=$ac_pt_PKG_CONFIG
30534 fi
30535 else
30536 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
30537 fi
30538
30539 fi
30540 if test -n "$PKG_CONFIG"; then
30541 _pkg_min_version=0.9.0
30542 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30543 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
30544 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30545 { echo "$as_me:$LINENO: result: yes" >&5
30546 echo "${ECHO_T}yes" >&6; }
30547 else
30548 { echo "$as_me:$LINENO: result: no" >&5
30549 echo "${ECHO_T}no" >&6; }
30550 PKG_CONFIG=""
30551 fi
30552
30553 fi
30554
30555
30556 pkg_failed=no
30557 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
30558 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
30559
30560 if test -n "$PKG_CONFIG"; then
30561 if test -n "$DIRECTFB_CFLAGS"; then
30562 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
30563 else
30564 if test -n "$PKG_CONFIG" && \
30565 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30566 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30567 ac_status=$?
30568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30569 (exit $ac_status); }; then
30570 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
30571 else
30572 pkg_failed=yes
30573 fi
30574 fi
30575 else
30576 pkg_failed=untried
30577 fi
30578 if test -n "$PKG_CONFIG"; then
30579 if test -n "$DIRECTFB_LIBS"; then
30580 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
30581 else
30582 if test -n "$PKG_CONFIG" && \
30583 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30584 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30585 ac_status=$?
30586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30587 (exit $ac_status); }; then
30588 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
30589 else
30590 pkg_failed=yes
30591 fi
30592 fi
30593 else
30594 pkg_failed=untried
30595 fi
30596
30597
30598
30599 if test $pkg_failed = yes; then
30600
30601 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30602 _pkg_short_errors_supported=yes
30603 else
30604 _pkg_short_errors_supported=no
30605 fi
30606 if test $_pkg_short_errors_supported = yes; then
30607 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30608 else
30609 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30610 fi
30611 # Put the nasty error message in config.log where it belongs
30612 echo "$DIRECTFB_PKG_ERRORS" >&5
30613
30614
30615 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30616 echo "$as_me: error: DirectFB not found." >&2;}
30617 { (exit 1); exit 1; }; }
30618
30619
30620 elif test $pkg_failed = untried; then
30621
30622 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30623 echo "$as_me: error: DirectFB not found." >&2;}
30624 { (exit 1); exit 1; }; }
30625
30626
30627 else
30628 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
30629 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
30630 { echo "$as_me:$LINENO: result: yes" >&5
30631 echo "${ECHO_T}yes" >&6; }
30632
30633 wxUSE_UNIVERSAL="yes"
30634 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
30635 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
30636 TOOLKIT=DFB
30637 GUIDIST=DFB_DIST
30638
30639 fi
30640 fi
30641
30642 if test "$wxUSE_MICROWIN" = 1; then
30643 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
30644 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
30645 if test "x$MICROWINDOWS" = x ; then
30646 { echo "$as_me:$LINENO: result: not found" >&5
30647 echo "${ECHO_T}not found" >&6; }
30648 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
30649 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
30650 { (exit 1); exit 1; }; }
30651 else
30652 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
30653 echo "${ECHO_T}$MICROWINDOWS" >&6; }
30654 fi
30655
30656 if test -f $MICROWINDOWS/lib/libmwin.a; then
30657 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
30658 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
30659 else
30660 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
30661 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
30662 { (exit 1); exit 1; }; }
30663 fi
30664
30665 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
30666 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
30667
30668 wxUSE_UNIVERSAL="yes"
30669
30670 AFMINSTALL=afminstall
30671 TOOLKIT=MICROWIN
30672 GUIDIST=MICROWIN_DIST
30673
30674 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
30675 fi
30676
30677 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30678 { echo "$as_me:$LINENO: checking for X" >&5
30679 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
30680
30681
30682 # Check whether --with-x was given.
30683 if test "${with_x+set}" = set; then
30684 withval=$with_x;
30685 fi
30686
30687 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
30688 if test "x$with_x" = xno; then
30689 # The user explicitly disabled X.
30690 have_x=disabled
30691 else
30692 case $x_includes,$x_libraries in #(
30693 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
30694 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
30695 { (exit 1); exit 1; }; };; #(
30696 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
30697 echo $ECHO_N "(cached) $ECHO_C" >&6
30698 else
30699 # One or both of the vars are not set, and there is no cached value.
30700 ac_x_includes=no ac_x_libraries=no
30701 rm -f -r conftest.dir
30702 if mkdir conftest.dir; then
30703 cd conftest.dir
30704 cat >Imakefile <<'_ACEOF'
30705 incroot:
30706 @echo incroot='${INCROOT}'
30707 usrlibdir:
30708 @echo usrlibdir='${USRLIBDIR}'
30709 libdir:
30710 @echo libdir='${LIBDIR}'
30711 _ACEOF
30712 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
30713 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
30714 for ac_var in incroot usrlibdir libdir; do
30715 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
30716 done
30717 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
30718 for ac_extension in a so sl; do
30719 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
30720 test -f "$ac_im_libdir/libX11.$ac_extension"; then
30721 ac_im_usrlibdir=$ac_im_libdir; break
30722 fi
30723 done
30724 # Screen out bogus values from the imake configuration. They are
30725 # bogus both because they are the default anyway, and because
30726 # using them would break gcc on systems where it needs fixed includes.
30727 case $ac_im_incroot in
30728 /usr/include) ac_x_includes= ;;
30729 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
30730 esac
30731 case $ac_im_usrlibdir in
30732 /usr/lib | /lib) ;;
30733 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
30734 esac
30735 fi
30736 cd ..
30737 rm -f -r conftest.dir
30738 fi
30739
30740 # Standard set of common directories for X headers.
30741 # Check X11 before X11Rn because it is often a symlink to the current release.
30742 ac_x_header_dirs='
30743 /usr/X11/include
30744 /usr/X11R6/include
30745 /usr/X11R5/include
30746 /usr/X11R4/include
30747
30748 /usr/include/X11
30749 /usr/include/X11R6
30750 /usr/include/X11R5
30751 /usr/include/X11R4
30752
30753 /usr/local/X11/include
30754 /usr/local/X11R6/include
30755 /usr/local/X11R5/include
30756 /usr/local/X11R4/include
30757
30758 /usr/local/include/X11
30759 /usr/local/include/X11R6
30760 /usr/local/include/X11R5
30761 /usr/local/include/X11R4
30762
30763 /usr/X386/include
30764 /usr/x386/include
30765 /usr/XFree86/include/X11
30766
30767 /usr/include
30768 /usr/local/include
30769 /usr/unsupported/include
30770 /usr/athena/include
30771 /usr/local/x11r5/include
30772 /usr/lpp/Xamples/include
30773
30774 /usr/openwin/include
30775 /usr/openwin/share/include'
30776
30777 if test "$ac_x_includes" = no; then
30778 # Guess where to find include files, by looking for Xlib.h.
30779 # First, try using that file with no special directory specified.
30780 cat >conftest.$ac_ext <<_ACEOF
30781 /* confdefs.h. */
30782 _ACEOF
30783 cat confdefs.h >>conftest.$ac_ext
30784 cat >>conftest.$ac_ext <<_ACEOF
30785 /* end confdefs.h. */
30786 #include <X11/Xlib.h>
30787 _ACEOF
30788 if { (ac_try="$ac_cpp conftest.$ac_ext"
30789 case "(($ac_try" in
30790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30791 *) ac_try_echo=$ac_try;;
30792 esac
30793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30794 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30795 ac_status=$?
30796 grep -v '^ *+' conftest.er1 >conftest.err
30797 rm -f conftest.er1
30798 cat conftest.err >&5
30799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30800 (exit $ac_status); } >/dev/null && {
30801 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30802 test ! -s conftest.err
30803 }; then
30804 # We can compile using X headers with no special include directory.
30805 ac_x_includes=
30806 else
30807 echo "$as_me: failed program was:" >&5
30808 sed 's/^/| /' conftest.$ac_ext >&5
30809
30810 for ac_dir in $ac_x_header_dirs; do
30811 if test -r "$ac_dir/X11/Xlib.h"; then
30812 ac_x_includes=$ac_dir
30813 break
30814 fi
30815 done
30816 fi
30817
30818 rm -f conftest.err conftest.$ac_ext
30819 fi # $ac_x_includes = no
30820
30821 if test "$ac_x_libraries" = no; then
30822 # Check for the libraries.
30823 # See if we find them without any special options.
30824 # Don't add to $LIBS permanently.
30825 ac_save_LIBS=$LIBS
30826 LIBS="-lX11 $LIBS"
30827 cat >conftest.$ac_ext <<_ACEOF
30828 /* confdefs.h. */
30829 _ACEOF
30830 cat confdefs.h >>conftest.$ac_ext
30831 cat >>conftest.$ac_ext <<_ACEOF
30832 /* end confdefs.h. */
30833 #include <X11/Xlib.h>
30834 int
30835 main ()
30836 {
30837 XrmInitialize ()
30838 ;
30839 return 0;
30840 }
30841 _ACEOF
30842 rm -f conftest.$ac_objext conftest$ac_exeext
30843 if { (ac_try="$ac_link"
30844 case "(($ac_try" in
30845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30846 *) ac_try_echo=$ac_try;;
30847 esac
30848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30849 (eval "$ac_link") 2>conftest.er1
30850 ac_status=$?
30851 grep -v '^ *+' conftest.er1 >conftest.err
30852 rm -f conftest.er1
30853 cat conftest.err >&5
30854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30855 (exit $ac_status); } && {
30856 test -z "$ac_c_werror_flag" ||
30857 test ! -s conftest.err
30858 } && test -s conftest$ac_exeext &&
30859 $as_test_x conftest$ac_exeext; then
30860 LIBS=$ac_save_LIBS
30861 # We can link X programs with no special library path.
30862 ac_x_libraries=
30863 else
30864 echo "$as_me: failed program was:" >&5
30865 sed 's/^/| /' conftest.$ac_ext >&5
30866
30867 LIBS=$ac_save_LIBS
30868 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
30869 do
30870 # Don't even attempt the hair of trying to link an X program!
30871 for ac_extension in a so sl; do
30872 if test -r "$ac_dir/libX11.$ac_extension"; then
30873 ac_x_libraries=$ac_dir
30874 break 2
30875 fi
30876 done
30877 done
30878 fi
30879
30880 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30881 conftest$ac_exeext conftest.$ac_ext
30882 fi # $ac_x_libraries = no
30883
30884 case $ac_x_includes,$ac_x_libraries in #(
30885 no,* | *,no | *\'*)
30886 # Didn't find X, or a directory has "'" in its name.
30887 ac_cv_have_x="have_x=no";; #(
30888 *)
30889 # Record where we found X for the cache.
30890 ac_cv_have_x="have_x=yes\
30891 ac_x_includes='$ac_x_includes'\
30892 ac_x_libraries='$ac_x_libraries'"
30893 esac
30894 fi
30895 ;; #(
30896 *) have_x=yes;;
30897 esac
30898 eval "$ac_cv_have_x"
30899 fi # $with_x != no
30900
30901 if test "$have_x" != yes; then
30902 { echo "$as_me:$LINENO: result: $have_x" >&5
30903 echo "${ECHO_T}$have_x" >&6; }
30904 no_x=yes
30905 else
30906 # If each of the values was on the command line, it overrides each guess.
30907 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30908 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30909 # Update the cache value to reflect the command line values.
30910 ac_cv_have_x="have_x=yes\
30911 ac_x_includes='$x_includes'\
30912 ac_x_libraries='$x_libraries'"
30913 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30914 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
30915 fi
30916
30917 if test "$no_x" = yes; then
30918 # Not all programs may use this symbol, but it does not hurt to define it.
30919
30920 cat >>confdefs.h <<\_ACEOF
30921 #define X_DISPLAY_MISSING 1
30922 _ACEOF
30923
30924 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30925 else
30926 if test -n "$x_includes"; then
30927 X_CFLAGS="$X_CFLAGS -I$x_includes"
30928 fi
30929
30930 # It would also be nice to do this for all -L options, not just this one.
30931 if test -n "$x_libraries"; then
30932 X_LIBS="$X_LIBS -L$x_libraries"
30933 # For Solaris; some versions of Sun CC require a space after -R and
30934 # others require no space. Words are not sufficient . . . .
30935 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30936 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
30937 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30938 ac_xsave_c_werror_flag=$ac_c_werror_flag
30939 ac_c_werror_flag=yes
30940 cat >conftest.$ac_ext <<_ACEOF
30941 /* confdefs.h. */
30942 _ACEOF
30943 cat confdefs.h >>conftest.$ac_ext
30944 cat >>conftest.$ac_ext <<_ACEOF
30945 /* end confdefs.h. */
30946
30947 int
30948 main ()
30949 {
30950
30951 ;
30952 return 0;
30953 }
30954 _ACEOF
30955 rm -f conftest.$ac_objext conftest$ac_exeext
30956 if { (ac_try="$ac_link"
30957 case "(($ac_try" in
30958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30959 *) ac_try_echo=$ac_try;;
30960 esac
30961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30962 (eval "$ac_link") 2>conftest.er1
30963 ac_status=$?
30964 grep -v '^ *+' conftest.er1 >conftest.err
30965 rm -f conftest.er1
30966 cat conftest.err >&5
30967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30968 (exit $ac_status); } && {
30969 test -z "$ac_c_werror_flag" ||
30970 test ! -s conftest.err
30971 } && test -s conftest$ac_exeext &&
30972 $as_test_x conftest$ac_exeext; then
30973 { echo "$as_me:$LINENO: result: no" >&5
30974 echo "${ECHO_T}no" >&6; }
30975 X_LIBS="$X_LIBS -R$x_libraries"
30976 else
30977 echo "$as_me: failed program was:" >&5
30978 sed 's/^/| /' conftest.$ac_ext >&5
30979
30980 LIBS="$ac_xsave_LIBS -R $x_libraries"
30981 cat >conftest.$ac_ext <<_ACEOF
30982 /* confdefs.h. */
30983 _ACEOF
30984 cat confdefs.h >>conftest.$ac_ext
30985 cat >>conftest.$ac_ext <<_ACEOF
30986 /* end confdefs.h. */
30987
30988 int
30989 main ()
30990 {
30991
30992 ;
30993 return 0;
30994 }
30995 _ACEOF
30996 rm -f conftest.$ac_objext conftest$ac_exeext
30997 if { (ac_try="$ac_link"
30998 case "(($ac_try" in
30999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31000 *) ac_try_echo=$ac_try;;
31001 esac
31002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31003 (eval "$ac_link") 2>conftest.er1
31004 ac_status=$?
31005 grep -v '^ *+' conftest.er1 >conftest.err
31006 rm -f conftest.er1
31007 cat conftest.err >&5
31008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31009 (exit $ac_status); } && {
31010 test -z "$ac_c_werror_flag" ||
31011 test ! -s conftest.err
31012 } && test -s conftest$ac_exeext &&
31013 $as_test_x conftest$ac_exeext; then
31014 { echo "$as_me:$LINENO: result: yes" >&5
31015 echo "${ECHO_T}yes" >&6; }
31016 X_LIBS="$X_LIBS -R $x_libraries"
31017 else
31018 echo "$as_me: failed program was:" >&5
31019 sed 's/^/| /' conftest.$ac_ext >&5
31020
31021 { echo "$as_me:$LINENO: result: neither works" >&5
31022 echo "${ECHO_T}neither works" >&6; }
31023 fi
31024
31025 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31026 conftest$ac_exeext conftest.$ac_ext
31027 fi
31028
31029 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31030 conftest$ac_exeext conftest.$ac_ext
31031 ac_c_werror_flag=$ac_xsave_c_werror_flag
31032 LIBS=$ac_xsave_LIBS
31033 fi
31034
31035 # Check for system-dependent libraries X programs must link with.
31036 # Do this before checking for the system-independent R6 libraries
31037 # (-lICE), since we may need -lsocket or whatever for X linking.
31038
31039 if test "$ISC" = yes; then
31040 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
31041 else
31042 # Martyn Johnson says this is needed for Ultrix, if the X
31043 # libraries were built with DECnet support. And Karl Berry says
31044 # the Alpha needs dnet_stub (dnet does not exist).
31045 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
31046 cat >conftest.$ac_ext <<_ACEOF
31047 /* confdefs.h. */
31048 _ACEOF
31049 cat confdefs.h >>conftest.$ac_ext
31050 cat >>conftest.$ac_ext <<_ACEOF
31051 /* end confdefs.h. */
31052
31053 /* Override any GCC internal prototype to avoid an error.
31054 Use char because int might match the return type of a GCC
31055 builtin and then its argument prototype would still apply. */
31056 #ifdef __cplusplus
31057 extern "C"
31058 #endif
31059 char XOpenDisplay ();
31060 int
31061 main ()
31062 {
31063 return XOpenDisplay ();
31064 ;
31065 return 0;
31066 }
31067 _ACEOF
31068 rm -f conftest.$ac_objext conftest$ac_exeext
31069 if { (ac_try="$ac_link"
31070 case "(($ac_try" in
31071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31072 *) ac_try_echo=$ac_try;;
31073 esac
31074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31075 (eval "$ac_link") 2>conftest.er1
31076 ac_status=$?
31077 grep -v '^ *+' conftest.er1 >conftest.err
31078 rm -f conftest.er1
31079 cat conftest.err >&5
31080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31081 (exit $ac_status); } && {
31082 test -z "$ac_c_werror_flag" ||
31083 test ! -s conftest.err
31084 } && test -s conftest$ac_exeext &&
31085 $as_test_x conftest$ac_exeext; then
31086 :
31087 else
31088 echo "$as_me: failed program was:" >&5
31089 sed 's/^/| /' conftest.$ac_ext >&5
31090
31091 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
31092 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
31093 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
31094 echo $ECHO_N "(cached) $ECHO_C" >&6
31095 else
31096 ac_check_lib_save_LIBS=$LIBS
31097 LIBS="-ldnet $LIBS"
31098 cat >conftest.$ac_ext <<_ACEOF
31099 /* confdefs.h. */
31100 _ACEOF
31101 cat confdefs.h >>conftest.$ac_ext
31102 cat >>conftest.$ac_ext <<_ACEOF
31103 /* end confdefs.h. */
31104
31105 /* Override any GCC internal prototype to avoid an error.
31106 Use char because int might match the return type of a GCC
31107 builtin and then its argument prototype would still apply. */
31108 #ifdef __cplusplus
31109 extern "C"
31110 #endif
31111 char dnet_ntoa ();
31112 int
31113 main ()
31114 {
31115 return dnet_ntoa ();
31116 ;
31117 return 0;
31118 }
31119 _ACEOF
31120 rm -f conftest.$ac_objext conftest$ac_exeext
31121 if { (ac_try="$ac_link"
31122 case "(($ac_try" in
31123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31124 *) ac_try_echo=$ac_try;;
31125 esac
31126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31127 (eval "$ac_link") 2>conftest.er1
31128 ac_status=$?
31129 grep -v '^ *+' conftest.er1 >conftest.err
31130 rm -f conftest.er1
31131 cat conftest.err >&5
31132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31133 (exit $ac_status); } && {
31134 test -z "$ac_c_werror_flag" ||
31135 test ! -s conftest.err
31136 } && test -s conftest$ac_exeext &&
31137 $as_test_x conftest$ac_exeext; then
31138 ac_cv_lib_dnet_dnet_ntoa=yes
31139 else
31140 echo "$as_me: failed program was:" >&5
31141 sed 's/^/| /' conftest.$ac_ext >&5
31142
31143 ac_cv_lib_dnet_dnet_ntoa=no
31144 fi
31145
31146 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31147 conftest$ac_exeext conftest.$ac_ext
31148 LIBS=$ac_check_lib_save_LIBS
31149 fi
31150 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
31151 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
31152 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
31153 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
31154 fi
31155
31156 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
31157 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
31158 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
31159 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
31160 echo $ECHO_N "(cached) $ECHO_C" >&6
31161 else
31162 ac_check_lib_save_LIBS=$LIBS
31163 LIBS="-ldnet_stub $LIBS"
31164 cat >conftest.$ac_ext <<_ACEOF
31165 /* confdefs.h. */
31166 _ACEOF
31167 cat confdefs.h >>conftest.$ac_ext
31168 cat >>conftest.$ac_ext <<_ACEOF
31169 /* end confdefs.h. */
31170
31171 /* Override any GCC internal prototype to avoid an error.
31172 Use char because int might match the return type of a GCC
31173 builtin and then its argument prototype would still apply. */
31174 #ifdef __cplusplus
31175 extern "C"
31176 #endif
31177 char dnet_ntoa ();
31178 int
31179 main ()
31180 {
31181 return dnet_ntoa ();
31182 ;
31183 return 0;
31184 }
31185 _ACEOF
31186 rm -f conftest.$ac_objext conftest$ac_exeext
31187 if { (ac_try="$ac_link"
31188 case "(($ac_try" in
31189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31190 *) ac_try_echo=$ac_try;;
31191 esac
31192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31193 (eval "$ac_link") 2>conftest.er1
31194 ac_status=$?
31195 grep -v '^ *+' conftest.er1 >conftest.err
31196 rm -f conftest.er1
31197 cat conftest.err >&5
31198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31199 (exit $ac_status); } && {
31200 test -z "$ac_c_werror_flag" ||
31201 test ! -s conftest.err
31202 } && test -s conftest$ac_exeext &&
31203 $as_test_x conftest$ac_exeext; then
31204 ac_cv_lib_dnet_stub_dnet_ntoa=yes
31205 else
31206 echo "$as_me: failed program was:" >&5
31207 sed 's/^/| /' conftest.$ac_ext >&5
31208
31209 ac_cv_lib_dnet_stub_dnet_ntoa=no
31210 fi
31211
31212 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31213 conftest$ac_exeext conftest.$ac_ext
31214 LIBS=$ac_check_lib_save_LIBS
31215 fi
31216 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
31217 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
31218 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
31219 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
31220 fi
31221
31222 fi
31223 fi
31224
31225 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31226 conftest$ac_exeext conftest.$ac_ext
31227 LIBS="$ac_xsave_LIBS"
31228
31229 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
31230 # to get the SysV transport functions.
31231 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
31232 # needs -lnsl.
31233 # The nsl library prevents programs from opening the X display
31234 # on Irix 5.2, according to T.E. Dickey.
31235 # The functions gethostbyname, getservbyname, and inet_addr are
31236 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
31237 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
31238 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
31239 if test "${ac_cv_func_gethostbyname+set}" = set; then
31240 echo $ECHO_N "(cached) $ECHO_C" >&6
31241 else
31242 cat >conftest.$ac_ext <<_ACEOF
31243 /* confdefs.h. */
31244 _ACEOF
31245 cat confdefs.h >>conftest.$ac_ext
31246 cat >>conftest.$ac_ext <<_ACEOF
31247 /* end confdefs.h. */
31248 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
31249 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31250 #define gethostbyname innocuous_gethostbyname
31251
31252 /* System header to define __stub macros and hopefully few prototypes,
31253 which can conflict with char gethostbyname (); below.
31254 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31255 <limits.h> exists even on freestanding compilers. */
31256
31257 #ifdef __STDC__
31258 # include <limits.h>
31259 #else
31260 # include <assert.h>
31261 #endif
31262
31263 #undef gethostbyname
31264
31265 /* Override any GCC internal prototype to avoid an error.
31266 Use char because int might match the return type of a GCC
31267 builtin and then its argument prototype would still apply. */
31268 #ifdef __cplusplus
31269 extern "C"
31270 #endif
31271 char gethostbyname ();
31272 /* The GNU C library defines this for functions which it implements
31273 to always fail with ENOSYS. Some functions are actually named
31274 something starting with __ and the normal name is an alias. */
31275 #if defined __stub_gethostbyname || defined __stub___gethostbyname
31276 choke me
31277 #endif
31278
31279 int
31280 main ()
31281 {
31282 return gethostbyname ();
31283 ;
31284 return 0;
31285 }
31286 _ACEOF
31287 rm -f conftest.$ac_objext conftest$ac_exeext
31288 if { (ac_try="$ac_link"
31289 case "(($ac_try" in
31290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31291 *) ac_try_echo=$ac_try;;
31292 esac
31293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31294 (eval "$ac_link") 2>conftest.er1
31295 ac_status=$?
31296 grep -v '^ *+' conftest.er1 >conftest.err
31297 rm -f conftest.er1
31298 cat conftest.err >&5
31299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31300 (exit $ac_status); } && {
31301 test -z "$ac_c_werror_flag" ||
31302 test ! -s conftest.err
31303 } && test -s conftest$ac_exeext &&
31304 $as_test_x conftest$ac_exeext; then
31305 ac_cv_func_gethostbyname=yes
31306 else
31307 echo "$as_me: failed program was:" >&5
31308 sed 's/^/| /' conftest.$ac_ext >&5
31309
31310 ac_cv_func_gethostbyname=no
31311 fi
31312
31313 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31314 conftest$ac_exeext conftest.$ac_ext
31315 fi
31316 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
31317 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
31318
31319 if test $ac_cv_func_gethostbyname = no; then
31320 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
31321 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
31322 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
31323 echo $ECHO_N "(cached) $ECHO_C" >&6
31324 else
31325 ac_check_lib_save_LIBS=$LIBS
31326 LIBS="-lnsl $LIBS"
31327 cat >conftest.$ac_ext <<_ACEOF
31328 /* confdefs.h. */
31329 _ACEOF
31330 cat confdefs.h >>conftest.$ac_ext
31331 cat >>conftest.$ac_ext <<_ACEOF
31332 /* end confdefs.h. */
31333
31334 /* Override any GCC internal prototype to avoid an error.
31335 Use char because int might match the return type of a GCC
31336 builtin and then its argument prototype would still apply. */
31337 #ifdef __cplusplus
31338 extern "C"
31339 #endif
31340 char gethostbyname ();
31341 int
31342 main ()
31343 {
31344 return gethostbyname ();
31345 ;
31346 return 0;
31347 }
31348 _ACEOF
31349 rm -f conftest.$ac_objext conftest$ac_exeext
31350 if { (ac_try="$ac_link"
31351 case "(($ac_try" in
31352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31353 *) ac_try_echo=$ac_try;;
31354 esac
31355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31356 (eval "$ac_link") 2>conftest.er1
31357 ac_status=$?
31358 grep -v '^ *+' conftest.er1 >conftest.err
31359 rm -f conftest.er1
31360 cat conftest.err >&5
31361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31362 (exit $ac_status); } && {
31363 test -z "$ac_c_werror_flag" ||
31364 test ! -s conftest.err
31365 } && test -s conftest$ac_exeext &&
31366 $as_test_x conftest$ac_exeext; then
31367 ac_cv_lib_nsl_gethostbyname=yes
31368 else
31369 echo "$as_me: failed program was:" >&5
31370 sed 's/^/| /' conftest.$ac_ext >&5
31371
31372 ac_cv_lib_nsl_gethostbyname=no
31373 fi
31374
31375 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31376 conftest$ac_exeext conftest.$ac_ext
31377 LIBS=$ac_check_lib_save_LIBS
31378 fi
31379 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
31380 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
31381 if test $ac_cv_lib_nsl_gethostbyname = yes; then
31382 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
31383 fi
31384
31385 if test $ac_cv_lib_nsl_gethostbyname = no; then
31386 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
31387 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
31388 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
31389 echo $ECHO_N "(cached) $ECHO_C" >&6
31390 else
31391 ac_check_lib_save_LIBS=$LIBS
31392 LIBS="-lbsd $LIBS"
31393 cat >conftest.$ac_ext <<_ACEOF
31394 /* confdefs.h. */
31395 _ACEOF
31396 cat confdefs.h >>conftest.$ac_ext
31397 cat >>conftest.$ac_ext <<_ACEOF
31398 /* end confdefs.h. */
31399
31400 /* Override any GCC internal prototype to avoid an error.
31401 Use char because int might match the return type of a GCC
31402 builtin and then its argument prototype would still apply. */
31403 #ifdef __cplusplus
31404 extern "C"
31405 #endif
31406 char gethostbyname ();
31407 int
31408 main ()
31409 {
31410 return gethostbyname ();
31411 ;
31412 return 0;
31413 }
31414 _ACEOF
31415 rm -f conftest.$ac_objext conftest$ac_exeext
31416 if { (ac_try="$ac_link"
31417 case "(($ac_try" in
31418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31419 *) ac_try_echo=$ac_try;;
31420 esac
31421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31422 (eval "$ac_link") 2>conftest.er1
31423 ac_status=$?
31424 grep -v '^ *+' conftest.er1 >conftest.err
31425 rm -f conftest.er1
31426 cat conftest.err >&5
31427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31428 (exit $ac_status); } && {
31429 test -z "$ac_c_werror_flag" ||
31430 test ! -s conftest.err
31431 } && test -s conftest$ac_exeext &&
31432 $as_test_x conftest$ac_exeext; then
31433 ac_cv_lib_bsd_gethostbyname=yes
31434 else
31435 echo "$as_me: failed program was:" >&5
31436 sed 's/^/| /' conftest.$ac_ext >&5
31437
31438 ac_cv_lib_bsd_gethostbyname=no
31439 fi
31440
31441 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31442 conftest$ac_exeext conftest.$ac_ext
31443 LIBS=$ac_check_lib_save_LIBS
31444 fi
31445 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
31446 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
31447 if test $ac_cv_lib_bsd_gethostbyname = yes; then
31448 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
31449 fi
31450
31451 fi
31452 fi
31453
31454 # lieder@skyler.mavd.honeywell.com says without -lsocket,
31455 # socket/setsockopt and other routines are undefined under SCO ODT
31456 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
31457 # on later versions), says Simon Leinen: it contains gethostby*
31458 # variants that don't use the name server (or something). -lsocket
31459 # must be given before -lnsl if both are needed. We assume that
31460 # if connect needs -lnsl, so does gethostbyname.
31461 { echo "$as_me:$LINENO: checking for connect" >&5
31462 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
31463 if test "${ac_cv_func_connect+set}" = set; then
31464 echo $ECHO_N "(cached) $ECHO_C" >&6
31465 else
31466 cat >conftest.$ac_ext <<_ACEOF
31467 /* confdefs.h. */
31468 _ACEOF
31469 cat confdefs.h >>conftest.$ac_ext
31470 cat >>conftest.$ac_ext <<_ACEOF
31471 /* end confdefs.h. */
31472 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
31473 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31474 #define connect innocuous_connect
31475
31476 /* System header to define __stub macros and hopefully few prototypes,
31477 which can conflict with char connect (); below.
31478 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31479 <limits.h> exists even on freestanding compilers. */
31480
31481 #ifdef __STDC__
31482 # include <limits.h>
31483 #else
31484 # include <assert.h>
31485 #endif
31486
31487 #undef connect
31488
31489 /* Override any GCC internal prototype to avoid an error.
31490 Use char because int might match the return type of a GCC
31491 builtin and then its argument prototype would still apply. */
31492 #ifdef __cplusplus
31493 extern "C"
31494 #endif
31495 char connect ();
31496 /* The GNU C library defines this for functions which it implements
31497 to always fail with ENOSYS. Some functions are actually named
31498 something starting with __ and the normal name is an alias. */
31499 #if defined __stub_connect || defined __stub___connect
31500 choke me
31501 #endif
31502
31503 int
31504 main ()
31505 {
31506 return connect ();
31507 ;
31508 return 0;
31509 }
31510 _ACEOF
31511 rm -f conftest.$ac_objext conftest$ac_exeext
31512 if { (ac_try="$ac_link"
31513 case "(($ac_try" in
31514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31515 *) ac_try_echo=$ac_try;;
31516 esac
31517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31518 (eval "$ac_link") 2>conftest.er1
31519 ac_status=$?
31520 grep -v '^ *+' conftest.er1 >conftest.err
31521 rm -f conftest.er1
31522 cat conftest.err >&5
31523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31524 (exit $ac_status); } && {
31525 test -z "$ac_c_werror_flag" ||
31526 test ! -s conftest.err
31527 } && test -s conftest$ac_exeext &&
31528 $as_test_x conftest$ac_exeext; then
31529 ac_cv_func_connect=yes
31530 else
31531 echo "$as_me: failed program was:" >&5
31532 sed 's/^/| /' conftest.$ac_ext >&5
31533
31534 ac_cv_func_connect=no
31535 fi
31536
31537 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31538 conftest$ac_exeext conftest.$ac_ext
31539 fi
31540 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
31541 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
31542
31543 if test $ac_cv_func_connect = no; then
31544 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
31545 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
31546 if test "${ac_cv_lib_socket_connect+set}" = set; then
31547 echo $ECHO_N "(cached) $ECHO_C" >&6
31548 else
31549 ac_check_lib_save_LIBS=$LIBS
31550 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
31551 cat >conftest.$ac_ext <<_ACEOF
31552 /* confdefs.h. */
31553 _ACEOF
31554 cat confdefs.h >>conftest.$ac_ext
31555 cat >>conftest.$ac_ext <<_ACEOF
31556 /* end confdefs.h. */
31557
31558 /* Override any GCC internal prototype to avoid an error.
31559 Use char because int might match the return type of a GCC
31560 builtin and then its argument prototype would still apply. */
31561 #ifdef __cplusplus
31562 extern "C"
31563 #endif
31564 char connect ();
31565 int
31566 main ()
31567 {
31568 return connect ();
31569 ;
31570 return 0;
31571 }
31572 _ACEOF
31573 rm -f conftest.$ac_objext conftest$ac_exeext
31574 if { (ac_try="$ac_link"
31575 case "(($ac_try" in
31576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31577 *) ac_try_echo=$ac_try;;
31578 esac
31579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31580 (eval "$ac_link") 2>conftest.er1
31581 ac_status=$?
31582 grep -v '^ *+' conftest.er1 >conftest.err
31583 rm -f conftest.er1
31584 cat conftest.err >&5
31585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31586 (exit $ac_status); } && {
31587 test -z "$ac_c_werror_flag" ||
31588 test ! -s conftest.err
31589 } && test -s conftest$ac_exeext &&
31590 $as_test_x conftest$ac_exeext; then
31591 ac_cv_lib_socket_connect=yes
31592 else
31593 echo "$as_me: failed program was:" >&5
31594 sed 's/^/| /' conftest.$ac_ext >&5
31595
31596 ac_cv_lib_socket_connect=no
31597 fi
31598
31599 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31600 conftest$ac_exeext conftest.$ac_ext
31601 LIBS=$ac_check_lib_save_LIBS
31602 fi
31603 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
31604 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
31605 if test $ac_cv_lib_socket_connect = yes; then
31606 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
31607 fi
31608
31609 fi
31610
31611 # Guillermo Gomez says -lposix is necessary on A/UX.
31612 { echo "$as_me:$LINENO: checking for remove" >&5
31613 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
31614 if test "${ac_cv_func_remove+set}" = set; then
31615 echo $ECHO_N "(cached) $ECHO_C" >&6
31616 else
31617 cat >conftest.$ac_ext <<_ACEOF
31618 /* confdefs.h. */
31619 _ACEOF
31620 cat confdefs.h >>conftest.$ac_ext
31621 cat >>conftest.$ac_ext <<_ACEOF
31622 /* end confdefs.h. */
31623 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
31624 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31625 #define remove innocuous_remove
31626
31627 /* System header to define __stub macros and hopefully few prototypes,
31628 which can conflict with char remove (); below.
31629 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31630 <limits.h> exists even on freestanding compilers. */
31631
31632 #ifdef __STDC__
31633 # include <limits.h>
31634 #else
31635 # include <assert.h>
31636 #endif
31637
31638 #undef remove
31639
31640 /* Override any GCC internal prototype to avoid an error.
31641 Use char because int might match the return type of a GCC
31642 builtin and then its argument prototype would still apply. */
31643 #ifdef __cplusplus
31644 extern "C"
31645 #endif
31646 char remove ();
31647 /* The GNU C library defines this for functions which it implements
31648 to always fail with ENOSYS. Some functions are actually named
31649 something starting with __ and the normal name is an alias. */
31650 #if defined __stub_remove || defined __stub___remove
31651 choke me
31652 #endif
31653
31654 int
31655 main ()
31656 {
31657 return remove ();
31658 ;
31659 return 0;
31660 }
31661 _ACEOF
31662 rm -f conftest.$ac_objext conftest$ac_exeext
31663 if { (ac_try="$ac_link"
31664 case "(($ac_try" in
31665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31666 *) ac_try_echo=$ac_try;;
31667 esac
31668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31669 (eval "$ac_link") 2>conftest.er1
31670 ac_status=$?
31671 grep -v '^ *+' conftest.er1 >conftest.err
31672 rm -f conftest.er1
31673 cat conftest.err >&5
31674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31675 (exit $ac_status); } && {
31676 test -z "$ac_c_werror_flag" ||
31677 test ! -s conftest.err
31678 } && test -s conftest$ac_exeext &&
31679 $as_test_x conftest$ac_exeext; then
31680 ac_cv_func_remove=yes
31681 else
31682 echo "$as_me: failed program was:" >&5
31683 sed 's/^/| /' conftest.$ac_ext >&5
31684
31685 ac_cv_func_remove=no
31686 fi
31687
31688 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31689 conftest$ac_exeext conftest.$ac_ext
31690 fi
31691 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
31692 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
31693
31694 if test $ac_cv_func_remove = no; then
31695 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
31696 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
31697 if test "${ac_cv_lib_posix_remove+set}" = set; then
31698 echo $ECHO_N "(cached) $ECHO_C" >&6
31699 else
31700 ac_check_lib_save_LIBS=$LIBS
31701 LIBS="-lposix $LIBS"
31702 cat >conftest.$ac_ext <<_ACEOF
31703 /* confdefs.h. */
31704 _ACEOF
31705 cat confdefs.h >>conftest.$ac_ext
31706 cat >>conftest.$ac_ext <<_ACEOF
31707 /* end confdefs.h. */
31708
31709 /* Override any GCC internal prototype to avoid an error.
31710 Use char because int might match the return type of a GCC
31711 builtin and then its argument prototype would still apply. */
31712 #ifdef __cplusplus
31713 extern "C"
31714 #endif
31715 char remove ();
31716 int
31717 main ()
31718 {
31719 return remove ();
31720 ;
31721 return 0;
31722 }
31723 _ACEOF
31724 rm -f conftest.$ac_objext conftest$ac_exeext
31725 if { (ac_try="$ac_link"
31726 case "(($ac_try" in
31727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31728 *) ac_try_echo=$ac_try;;
31729 esac
31730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31731 (eval "$ac_link") 2>conftest.er1
31732 ac_status=$?
31733 grep -v '^ *+' conftest.er1 >conftest.err
31734 rm -f conftest.er1
31735 cat conftest.err >&5
31736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31737 (exit $ac_status); } && {
31738 test -z "$ac_c_werror_flag" ||
31739 test ! -s conftest.err
31740 } && test -s conftest$ac_exeext &&
31741 $as_test_x conftest$ac_exeext; then
31742 ac_cv_lib_posix_remove=yes
31743 else
31744 echo "$as_me: failed program was:" >&5
31745 sed 's/^/| /' conftest.$ac_ext >&5
31746
31747 ac_cv_lib_posix_remove=no
31748 fi
31749
31750 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31751 conftest$ac_exeext conftest.$ac_ext
31752 LIBS=$ac_check_lib_save_LIBS
31753 fi
31754 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31755 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
31756 if test $ac_cv_lib_posix_remove = yes; then
31757 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31758 fi
31759
31760 fi
31761
31762 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31763 { echo "$as_me:$LINENO: checking for shmat" >&5
31764 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
31765 if test "${ac_cv_func_shmat+set}" = set; then
31766 echo $ECHO_N "(cached) $ECHO_C" >&6
31767 else
31768 cat >conftest.$ac_ext <<_ACEOF
31769 /* confdefs.h. */
31770 _ACEOF
31771 cat confdefs.h >>conftest.$ac_ext
31772 cat >>conftest.$ac_ext <<_ACEOF
31773 /* end confdefs.h. */
31774 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31775 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31776 #define shmat innocuous_shmat
31777
31778 /* System header to define __stub macros and hopefully few prototypes,
31779 which can conflict with char shmat (); below.
31780 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31781 <limits.h> exists even on freestanding compilers. */
31782
31783 #ifdef __STDC__
31784 # include <limits.h>
31785 #else
31786 # include <assert.h>
31787 #endif
31788
31789 #undef shmat
31790
31791 /* Override any GCC internal prototype to avoid an error.
31792 Use char because int might match the return type of a GCC
31793 builtin and then its argument prototype would still apply. */
31794 #ifdef __cplusplus
31795 extern "C"
31796 #endif
31797 char shmat ();
31798 /* The GNU C library defines this for functions which it implements
31799 to always fail with ENOSYS. Some functions are actually named
31800 something starting with __ and the normal name is an alias. */
31801 #if defined __stub_shmat || defined __stub___shmat
31802 choke me
31803 #endif
31804
31805 int
31806 main ()
31807 {
31808 return shmat ();
31809 ;
31810 return 0;
31811 }
31812 _ACEOF
31813 rm -f conftest.$ac_objext conftest$ac_exeext
31814 if { (ac_try="$ac_link"
31815 case "(($ac_try" in
31816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31817 *) ac_try_echo=$ac_try;;
31818 esac
31819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31820 (eval "$ac_link") 2>conftest.er1
31821 ac_status=$?
31822 grep -v '^ *+' conftest.er1 >conftest.err
31823 rm -f conftest.er1
31824 cat conftest.err >&5
31825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31826 (exit $ac_status); } && {
31827 test -z "$ac_c_werror_flag" ||
31828 test ! -s conftest.err
31829 } && test -s conftest$ac_exeext &&
31830 $as_test_x conftest$ac_exeext; then
31831 ac_cv_func_shmat=yes
31832 else
31833 echo "$as_me: failed program was:" >&5
31834 sed 's/^/| /' conftest.$ac_ext >&5
31835
31836 ac_cv_func_shmat=no
31837 fi
31838
31839 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31840 conftest$ac_exeext conftest.$ac_ext
31841 fi
31842 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31843 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
31844
31845 if test $ac_cv_func_shmat = no; then
31846 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31847 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
31848 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31849 echo $ECHO_N "(cached) $ECHO_C" >&6
31850 else
31851 ac_check_lib_save_LIBS=$LIBS
31852 LIBS="-lipc $LIBS"
31853 cat >conftest.$ac_ext <<_ACEOF
31854 /* confdefs.h. */
31855 _ACEOF
31856 cat confdefs.h >>conftest.$ac_ext
31857 cat >>conftest.$ac_ext <<_ACEOF
31858 /* end confdefs.h. */
31859
31860 /* Override any GCC internal prototype to avoid an error.
31861 Use char because int might match the return type of a GCC
31862 builtin and then its argument prototype would still apply. */
31863 #ifdef __cplusplus
31864 extern "C"
31865 #endif
31866 char shmat ();
31867 int
31868 main ()
31869 {
31870 return shmat ();
31871 ;
31872 return 0;
31873 }
31874 _ACEOF
31875 rm -f conftest.$ac_objext conftest$ac_exeext
31876 if { (ac_try="$ac_link"
31877 case "(($ac_try" in
31878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31879 *) ac_try_echo=$ac_try;;
31880 esac
31881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31882 (eval "$ac_link") 2>conftest.er1
31883 ac_status=$?
31884 grep -v '^ *+' conftest.er1 >conftest.err
31885 rm -f conftest.er1
31886 cat conftest.err >&5
31887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31888 (exit $ac_status); } && {
31889 test -z "$ac_c_werror_flag" ||
31890 test ! -s conftest.err
31891 } && test -s conftest$ac_exeext &&
31892 $as_test_x conftest$ac_exeext; then
31893 ac_cv_lib_ipc_shmat=yes
31894 else
31895 echo "$as_me: failed program was:" >&5
31896 sed 's/^/| /' conftest.$ac_ext >&5
31897
31898 ac_cv_lib_ipc_shmat=no
31899 fi
31900
31901 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31902 conftest$ac_exeext conftest.$ac_ext
31903 LIBS=$ac_check_lib_save_LIBS
31904 fi
31905 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31906 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
31907 if test $ac_cv_lib_ipc_shmat = yes; then
31908 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31909 fi
31910
31911 fi
31912 fi
31913
31914 # Check for libraries that X11R6 Xt/Xaw programs need.
31915 ac_save_LDFLAGS=$LDFLAGS
31916 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31917 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31918 # check for ICE first), but we must link in the order -lSM -lICE or
31919 # we get undefined symbols. So assume we have SM if we have ICE.
31920 # These have to be linked with before -lX11, unlike the other
31921 # libraries we check for below, so use a different variable.
31922 # John Interrante, Karl Berry
31923 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31924 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
31925 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31926 echo $ECHO_N "(cached) $ECHO_C" >&6
31927 else
31928 ac_check_lib_save_LIBS=$LIBS
31929 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31930 cat >conftest.$ac_ext <<_ACEOF
31931 /* confdefs.h. */
31932 _ACEOF
31933 cat confdefs.h >>conftest.$ac_ext
31934 cat >>conftest.$ac_ext <<_ACEOF
31935 /* end confdefs.h. */
31936
31937 /* Override any GCC internal prototype to avoid an error.
31938 Use char because int might match the return type of a GCC
31939 builtin and then its argument prototype would still apply. */
31940 #ifdef __cplusplus
31941 extern "C"
31942 #endif
31943 char IceConnectionNumber ();
31944 int
31945 main ()
31946 {
31947 return IceConnectionNumber ();
31948 ;
31949 return 0;
31950 }
31951 _ACEOF
31952 rm -f conftest.$ac_objext conftest$ac_exeext
31953 if { (ac_try="$ac_link"
31954 case "(($ac_try" in
31955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31956 *) ac_try_echo=$ac_try;;
31957 esac
31958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31959 (eval "$ac_link") 2>conftest.er1
31960 ac_status=$?
31961 grep -v '^ *+' conftest.er1 >conftest.err
31962 rm -f conftest.er1
31963 cat conftest.err >&5
31964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31965 (exit $ac_status); } && {
31966 test -z "$ac_c_werror_flag" ||
31967 test ! -s conftest.err
31968 } && test -s conftest$ac_exeext &&
31969 $as_test_x conftest$ac_exeext; then
31970 ac_cv_lib_ICE_IceConnectionNumber=yes
31971 else
31972 echo "$as_me: failed program was:" >&5
31973 sed 's/^/| /' conftest.$ac_ext >&5
31974
31975 ac_cv_lib_ICE_IceConnectionNumber=no
31976 fi
31977
31978 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31979 conftest$ac_exeext conftest.$ac_ext
31980 LIBS=$ac_check_lib_save_LIBS
31981 fi
31982 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31983 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31984 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31985 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
31986 fi
31987
31988 LDFLAGS=$ac_save_LDFLAGS
31989
31990 fi
31991
31992
31993 if test "$no_x" = "yes"; then
31994 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31995 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31996 { (exit 1); exit 1; }; }
31997 fi
31998
31999 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
32000 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
32001 AFMINSTALL=afminstall
32002 COMPILED_X_PROGRAM=0
32003
32004 fi
32005
32006 if test "$wxUSE_X11" = 1; then
32007 if test "$wxUSE_NANOX" = "yes"; then
32008 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
32009 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
32010 if test "x$MICROWIN" = x ; then
32011 { echo "$as_me:$LINENO: result: not found" >&5
32012 echo "${ECHO_T}not found" >&6; }
32013 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
32014 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
32015 { (exit 1); exit 1; }; }
32016 else
32017 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
32018 echo "${ECHO_T}$MICROWIN" >&6; }
32019 cat >>confdefs.h <<\_ACEOF
32020 #define wxUSE_NANOX 1
32021 _ACEOF
32022
32023 fi
32024 fi
32025
32026 if test "$wxUSE_UNICODE" = "yes"; then
32027
32028
32029 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32030 if test -n "$ac_tool_prefix"; then
32031 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32032 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32033 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32034 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32035 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32036 echo $ECHO_N "(cached) $ECHO_C" >&6
32037 else
32038 case $PKG_CONFIG in
32039 [\\/]* | ?:[\\/]*)
32040 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
32041 ;;
32042 *)
32043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32044 for as_dir in $PATH
32045 do
32046 IFS=$as_save_IFS
32047 test -z "$as_dir" && as_dir=.
32048 for ac_exec_ext in '' $ac_executable_extensions; do
32049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32050 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32051 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32052 break 2
32053 fi
32054 done
32055 done
32056 IFS=$as_save_IFS
32057
32058 ;;
32059 esac
32060 fi
32061 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
32062 if test -n "$PKG_CONFIG"; then
32063 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32064 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32065 else
32066 { echo "$as_me:$LINENO: result: no" >&5
32067 echo "${ECHO_T}no" >&6; }
32068 fi
32069
32070
32071 fi
32072 if test -z "$ac_cv_path_PKG_CONFIG"; then
32073 ac_pt_PKG_CONFIG=$PKG_CONFIG
32074 # Extract the first word of "pkg-config", so it can be a program name with args.
32075 set dummy pkg-config; ac_word=$2
32076 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32077 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32078 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32079 echo $ECHO_N "(cached) $ECHO_C" >&6
32080 else
32081 case $ac_pt_PKG_CONFIG in
32082 [\\/]* | ?:[\\/]*)
32083 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32084 ;;
32085 *)
32086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32087 for as_dir in $PATH
32088 do
32089 IFS=$as_save_IFS
32090 test -z "$as_dir" && as_dir=.
32091 for ac_exec_ext in '' $ac_executable_extensions; do
32092 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32093 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32094 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32095 break 2
32096 fi
32097 done
32098 done
32099 IFS=$as_save_IFS
32100
32101 ;;
32102 esac
32103 fi
32104 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
32105 if test -n "$ac_pt_PKG_CONFIG"; then
32106 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32107 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32108 else
32109 { echo "$as_me:$LINENO: result: no" >&5
32110 echo "${ECHO_T}no" >&6; }
32111 fi
32112
32113 if test "x$ac_pt_PKG_CONFIG" = x; then
32114 PKG_CONFIG=""
32115 else
32116 case $cross_compiling:$ac_tool_warned in
32117 yes:)
32118 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32119 whose name does not start with the host triplet. If you think this
32120 configuration is useful to you, please write to autoconf@gnu.org." >&5
32121 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32122 whose name does not start with the host triplet. If you think this
32123 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32124 ac_tool_warned=yes ;;
32125 esac
32126 PKG_CONFIG=$ac_pt_PKG_CONFIG
32127 fi
32128 else
32129 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
32130 fi
32131
32132 fi
32133 if test -n "$PKG_CONFIG"; then
32134 _pkg_min_version=0.9.0
32135 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32136 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32137 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32138 { echo "$as_me:$LINENO: result: yes" >&5
32139 echo "${ECHO_T}yes" >&6; }
32140 else
32141 { echo "$as_me:$LINENO: result: no" >&5
32142 echo "${ECHO_T}no" >&6; }
32143 PKG_CONFIG=""
32144 fi
32145
32146 fi
32147
32148
32149 pkg_failed=no
32150 { echo "$as_me:$LINENO: checking for PANGOX" >&5
32151 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
32152
32153 if test -n "$PKG_CONFIG"; then
32154 if test -n "$PANGOX_CFLAGS"; then
32155 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
32156 else
32157 if test -n "$PKG_CONFIG" && \
32158 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32159 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32160 ac_status=$?
32161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32162 (exit $ac_status); }; then
32163 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
32164 else
32165 pkg_failed=yes
32166 fi
32167 fi
32168 else
32169 pkg_failed=untried
32170 fi
32171 if test -n "$PKG_CONFIG"; then
32172 if test -n "$PANGOX_LIBS"; then
32173 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
32174 else
32175 if test -n "$PKG_CONFIG" && \
32176 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32177 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32178 ac_status=$?
32179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32180 (exit $ac_status); }; then
32181 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
32182 else
32183 pkg_failed=yes
32184 fi
32185 fi
32186 else
32187 pkg_failed=untried
32188 fi
32189
32190
32191
32192 if test $pkg_failed = yes; then
32193
32194 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32195 _pkg_short_errors_supported=yes
32196 else
32197 _pkg_short_errors_supported=no
32198 fi
32199 if test $_pkg_short_errors_supported = yes; then
32200 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
32201 else
32202 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
32203 fi
32204 # Put the nasty error message in config.log where it belongs
32205 echo "$PANGOX_PKG_ERRORS" >&5
32206
32207
32208 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32209 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32210 { (exit 1); exit 1; }; }
32211
32212
32213 elif test $pkg_failed = untried; then
32214
32215 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32216 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32217 { (exit 1); exit 1; }; }
32218
32219
32220 else
32221 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
32222 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
32223 { echo "$as_me:$LINENO: result: yes" >&5
32224 echo "${ECHO_T}yes" >&6; }
32225
32226 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
32227 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
32228 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
32229
32230 fi
32231
32232 pkg_failed=no
32233 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
32234 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
32235
32236 if test -n "$PKG_CONFIG"; then
32237 if test -n "$PANGOFT2_CFLAGS"; then
32238 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
32239 else
32240 if test -n "$PKG_CONFIG" && \
32241 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32242 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32243 ac_status=$?
32244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32245 (exit $ac_status); }; then
32246 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
32247 else
32248 pkg_failed=yes
32249 fi
32250 fi
32251 else
32252 pkg_failed=untried
32253 fi
32254 if test -n "$PKG_CONFIG"; then
32255 if test -n "$PANGOFT2_LIBS"; then
32256 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
32257 else
32258 if test -n "$PKG_CONFIG" && \
32259 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32260 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32261 ac_status=$?
32262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32263 (exit $ac_status); }; then
32264 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
32265 else
32266 pkg_failed=yes
32267 fi
32268 fi
32269 else
32270 pkg_failed=untried
32271 fi
32272
32273
32274
32275 if test $pkg_failed = yes; then
32276
32277 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32278 _pkg_short_errors_supported=yes
32279 else
32280 _pkg_short_errors_supported=no
32281 fi
32282 if test $_pkg_short_errors_supported = yes; then
32283 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
32284 else
32285 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
32286 fi
32287 # Put the nasty error message in config.log where it belongs
32288 echo "$PANGOFT2_PKG_ERRORS" >&5
32289
32290
32291 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32292 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32293 wxUSE_PRINTING_ARCHITECTURE="no"
32294
32295
32296 elif test $pkg_failed = untried; then
32297
32298 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32299 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32300 wxUSE_PRINTING_ARCHITECTURE="no"
32301
32302
32303 else
32304 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
32305 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
32306 { echo "$as_me:$LINENO: result: yes" >&5
32307 echo "${ECHO_T}yes" >&6; }
32308
32309 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
32310 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
32311 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
32312
32313 fi
32314
32315 pkg_failed=no
32316 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
32317 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
32318
32319 if test -n "$PKG_CONFIG"; then
32320 if test -n "$PANGOXFT_CFLAGS"; then
32321 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
32322 else
32323 if test -n "$PKG_CONFIG" && \
32324 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32325 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32326 ac_status=$?
32327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32328 (exit $ac_status); }; then
32329 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
32330 else
32331 pkg_failed=yes
32332 fi
32333 fi
32334 else
32335 pkg_failed=untried
32336 fi
32337 if test -n "$PKG_CONFIG"; then
32338 if test -n "$PANGOXFT_LIBS"; then
32339 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
32340 else
32341 if test -n "$PKG_CONFIG" && \
32342 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32343 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32344 ac_status=$?
32345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32346 (exit $ac_status); }; then
32347 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
32348 else
32349 pkg_failed=yes
32350 fi
32351 fi
32352 else
32353 pkg_failed=untried
32354 fi
32355
32356
32357
32358 if test $pkg_failed = yes; then
32359
32360 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32361 _pkg_short_errors_supported=yes
32362 else
32363 _pkg_short_errors_supported=no
32364 fi
32365 if test $_pkg_short_errors_supported = yes; then
32366 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
32367 else
32368 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
32369 fi
32370 # Put the nasty error message in config.log where it belongs
32371 echo "$PANGOXFT_PKG_ERRORS" >&5
32372
32373
32374 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32375 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32376
32377
32378 elif test $pkg_failed = untried; then
32379
32380 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32381 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32382
32383
32384 else
32385 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
32386 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
32387 { echo "$as_me:$LINENO: result: yes" >&5
32388 echo "${ECHO_T}yes" >&6; }
32389
32390 cat >>confdefs.h <<\_ACEOF
32391 #define HAVE_PANGO_XFT 1
32392 _ACEOF
32393
32394 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
32395 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
32396 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
32397
32398 fi
32399 save_LIBS="$LIBS"
32400 LIBS="$LIBS $PANGOX_LIBS"
32401
32402 for ac_func in pango_font_family_is_monospace
32403 do
32404 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32405 { echo "$as_me:$LINENO: checking for $ac_func" >&5
32406 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
32407 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
32408 echo $ECHO_N "(cached) $ECHO_C" >&6
32409 else
32410 cat >conftest.$ac_ext <<_ACEOF
32411 /* confdefs.h. */
32412 _ACEOF
32413 cat confdefs.h >>conftest.$ac_ext
32414 cat >>conftest.$ac_ext <<_ACEOF
32415 /* end confdefs.h. */
32416 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32417 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32418 #define $ac_func innocuous_$ac_func
32419
32420 /* System header to define __stub macros and hopefully few prototypes,
32421 which can conflict with char $ac_func (); below.
32422 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32423 <limits.h> exists even on freestanding compilers. */
32424
32425 #ifdef __STDC__
32426 # include <limits.h>
32427 #else
32428 # include <assert.h>
32429 #endif
32430
32431 #undef $ac_func
32432
32433 /* Override any GCC internal prototype to avoid an error.
32434 Use char because int might match the return type of a GCC
32435 builtin and then its argument prototype would still apply. */
32436 #ifdef __cplusplus
32437 extern "C"
32438 #endif
32439 char $ac_func ();
32440 /* The GNU C library defines this for functions which it implements
32441 to always fail with ENOSYS. Some functions are actually named
32442 something starting with __ and the normal name is an alias. */
32443 #if defined __stub_$ac_func || defined __stub___$ac_func
32444 choke me
32445 #endif
32446
32447 int
32448 main ()
32449 {
32450 return $ac_func ();
32451 ;
32452 return 0;
32453 }
32454 _ACEOF
32455 rm -f conftest.$ac_objext conftest$ac_exeext
32456 if { (ac_try="$ac_link"
32457 case "(($ac_try" in
32458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32459 *) ac_try_echo=$ac_try;;
32460 esac
32461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32462 (eval "$ac_link") 2>conftest.er1
32463 ac_status=$?
32464 grep -v '^ *+' conftest.er1 >conftest.err
32465 rm -f conftest.er1
32466 cat conftest.err >&5
32467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32468 (exit $ac_status); } && {
32469 test -z "$ac_c_werror_flag" ||
32470 test ! -s conftest.err
32471 } && test -s conftest$ac_exeext &&
32472 $as_test_x conftest$ac_exeext; then
32473 eval "$as_ac_var=yes"
32474 else
32475 echo "$as_me: failed program was:" >&5
32476 sed 's/^/| /' conftest.$ac_ext >&5
32477
32478 eval "$as_ac_var=no"
32479 fi
32480
32481 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32482 conftest$ac_exeext conftest.$ac_ext
32483 fi
32484 ac_res=`eval echo '${'$as_ac_var'}'`
32485 { echo "$as_me:$LINENO: result: $ac_res" >&5
32486 echo "${ECHO_T}$ac_res" >&6; }
32487 if test `eval echo '${'$as_ac_var'}'` = yes; then
32488 cat >>confdefs.h <<_ACEOF
32489 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32490 _ACEOF
32491
32492 fi
32493 done
32494
32495 LIBS="$save_LIBS"
32496 fi
32497
32498 wxUSE_UNIVERSAL="yes"
32499
32500 if test "$wxUSE_NANOX" = "yes"; then
32501 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
32502 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"
32503 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
32504 else
32505 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
32506 fi
32507
32508 TOOLKIT=X11
32509 GUIDIST=X11_DIST
32510 fi
32511
32512 if test "$wxUSE_MOTIF" = 1; then
32513 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
32514 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
32515
32516 ac_find_includes=
32517 for ac_dir in $SEARCH_INCLUDE /usr/include;
32518 do
32519 if test -f "$ac_dir/Xm/Xm.h"; then
32520 ac_find_includes=$ac_dir
32521 break
32522 fi
32523 done
32524
32525 if test "$ac_find_includes" != "" ; then
32526 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32527 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32528
32529 if test "x$ac_find_includes" = "x/usr/include"; then
32530 ac_path_to_include=""
32531 else
32532 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
32533 result=$?
32534 if test $result = 0; then
32535 ac_path_to_include=""
32536 else
32537 ac_path_to_include=" -I$ac_find_includes"
32538 fi
32539 fi
32540
32541 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
32542 else
32543 save_CFLAGS=$CFLAGS
32544 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32545
32546 cat >conftest.$ac_ext <<_ACEOF
32547 /* confdefs.h. */
32548 _ACEOF
32549 cat confdefs.h >>conftest.$ac_ext
32550 cat >>conftest.$ac_ext <<_ACEOF
32551 /* end confdefs.h. */
32552
32553 #include <Xm/Xm.h>
32554
32555 int
32556 main ()
32557 {
32558
32559 int version;
32560 version = xmUseVersion;
32561
32562 ;
32563 return 0;
32564 }
32565 _ACEOF
32566 rm -f conftest.$ac_objext
32567 if { (ac_try="$ac_compile"
32568 case "(($ac_try" in
32569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32570 *) ac_try_echo=$ac_try;;
32571 esac
32572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32573 (eval "$ac_compile") 2>conftest.er1
32574 ac_status=$?
32575 grep -v '^ *+' conftest.er1 >conftest.err
32576 rm -f conftest.er1
32577 cat conftest.err >&5
32578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32579 (exit $ac_status); } && {
32580 test -z "$ac_c_werror_flag" ||
32581 test ! -s conftest.err
32582 } && test -s conftest.$ac_objext; then
32583
32584 { echo "$as_me:$LINENO: result: found in default search path" >&5
32585 echo "${ECHO_T}found in default search path" >&6; }
32586 COMPILED_X_PROGRAM=1
32587
32588 else
32589 echo "$as_me: failed program was:" >&5
32590 sed 's/^/| /' conftest.$ac_ext >&5
32591
32592
32593 { echo "$as_me:$LINENO: result: no" >&5
32594 echo "${ECHO_T}no" >&6; }
32595 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
32596 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
32597 { (exit 1); exit 1; }; }
32598
32599
32600 fi
32601
32602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32603
32604 CFLAGS=$save_CFLAGS
32605 fi
32606
32607
32608 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
32609 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
32610
32611 ac_find_libraries=
32612 for ac_dir in $SEARCH_LIB;
32613 do
32614 for ac_extension in a so sl dylib dll.a; do
32615 if test -f "$ac_dir/libXm.$ac_extension"; then
32616 ac_find_libraries=$ac_dir
32617 break 2
32618 fi
32619 done
32620 done
32621
32622
32623 if test "x$ac_find_libraries" != "x" ; then
32624 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32625 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32626
32627
32628 if test "$ac_find_libraries" = "default location"; then
32629 ac_path_to_link=""
32630 else
32631 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32632 result=$?
32633 if test $result = 0; then
32634 ac_path_to_link=""
32635 else
32636 ac_path_to_link=" -L$ac_find_libraries"
32637 fi
32638 fi
32639
32640 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32641 else
32642 save_CFLAGS=$CFLAGS
32643 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32644 save_LIBS="$LIBS"
32645 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
32646
32647 cat >conftest.$ac_ext <<_ACEOF
32648 /* confdefs.h. */
32649 _ACEOF
32650 cat confdefs.h >>conftest.$ac_ext
32651 cat >>conftest.$ac_ext <<_ACEOF
32652 /* end confdefs.h. */
32653
32654 #include <Xm/Xm.h>
32655
32656 int
32657 main ()
32658 {
32659
32660 int version;
32661 version = xmUseVersion;
32662
32663 ;
32664 return 0;
32665 }
32666 _ACEOF
32667 rm -f conftest.$ac_objext conftest$ac_exeext
32668 if { (ac_try="$ac_link"
32669 case "(($ac_try" in
32670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32671 *) ac_try_echo=$ac_try;;
32672 esac
32673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32674 (eval "$ac_link") 2>conftest.er1
32675 ac_status=$?
32676 grep -v '^ *+' conftest.er1 >conftest.err
32677 rm -f conftest.er1
32678 cat conftest.err >&5
32679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32680 (exit $ac_status); } && {
32681 test -z "$ac_c_werror_flag" ||
32682 test ! -s conftest.err
32683 } && test -s conftest$ac_exeext &&
32684 $as_test_x conftest$ac_exeext; then
32685
32686 { echo "$as_me:$LINENO: result: found in default search path" >&5
32687 echo "${ECHO_T}found in default search path" >&6; }
32688 COMPILED_X_PROGRAM=1
32689
32690 else
32691 echo "$as_me: failed program was:" >&5
32692 sed 's/^/| /' conftest.$ac_ext >&5
32693
32694
32695 { echo "$as_me:$LINENO: result: no" >&5
32696 echo "${ECHO_T}no" >&6; }
32697 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
32698 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
32699 { (exit 1); exit 1; }; }
32700
32701
32702 fi
32703
32704 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32705 conftest$ac_exeext conftest.$ac_ext
32706
32707 CFLAGS=$save_CFLAGS
32708 LIBS="$save_LIBS"
32709 fi
32710
32711 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
32712 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
32713 libp_link=""
32714 libsm_ice_link=""
32715 libs_found=0
32716 for libp in "" " -lXp"; do
32717 if test "$libs_found" = 0; then
32718 for libsm_ice in "" " -lSM -lICE"; do
32719 if test "$libs_found" = 0; then
32720 save_LIBS="$LIBS"
32721 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
32722 save_CFLAGS=$CFLAGS
32723 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32724
32725 cat >conftest.$ac_ext <<_ACEOF
32726 /* confdefs.h. */
32727 _ACEOF
32728 cat confdefs.h >>conftest.$ac_ext
32729 cat >>conftest.$ac_ext <<_ACEOF
32730 /* end confdefs.h. */
32731
32732 #include <Xm/Xm.h>
32733 #include <Xm/List.h>
32734
32735 int
32736 main ()
32737 {
32738
32739 XmString string = NULL;
32740 Widget w = NULL;
32741 int position = 0;
32742 XmListAddItem(w, string, position);
32743
32744 ;
32745 return 0;
32746 }
32747 _ACEOF
32748 rm -f conftest.$ac_objext conftest$ac_exeext
32749 if { (ac_try="$ac_link"
32750 case "(($ac_try" in
32751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32752 *) ac_try_echo=$ac_try;;
32753 esac
32754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32755 (eval "$ac_link") 2>conftest.er1
32756 ac_status=$?
32757 grep -v '^ *+' conftest.er1 >conftest.err
32758 rm -f conftest.er1
32759 cat conftest.err >&5
32760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32761 (exit $ac_status); } && {
32762 test -z "$ac_c_werror_flag" ||
32763 test ! -s conftest.err
32764 } && test -s conftest$ac_exeext &&
32765 $as_test_x conftest$ac_exeext; then
32766
32767 libp_link="$libp"
32768 libsm_ice_link="$libsm_ice"
32769 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32770 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
32771 libs_found=1
32772
32773 else
32774 echo "$as_me: failed program was:" >&5
32775 sed 's/^/| /' conftest.$ac_ext >&5
32776
32777
32778
32779 fi
32780
32781 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32782 conftest$ac_exeext conftest.$ac_ext
32783
32784 LIBS="$save_LIBS"
32785 CFLAGS=$save_CFLAGS
32786 fi
32787 done
32788 fi
32789 done
32790
32791 if test "$libs_found" = 0; then
32792 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32793 echo "${ECHO_T}can't find the right libraries" >&6; }
32794 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32795 echo "$as_me: error: can't link a simple motif program" >&2;}
32796 { (exit 1); exit 1; }; }
32797 fi
32798
32799 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32800 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
32801 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32802 echo $ECHO_N "(cached) $ECHO_C" >&6
32803 else
32804 ac_check_lib_save_LIBS=$LIBS
32805 LIBS="-lSgm $LIBS"
32806 cat >conftest.$ac_ext <<_ACEOF
32807 /* confdefs.h. */
32808 _ACEOF
32809 cat confdefs.h >>conftest.$ac_ext
32810 cat >>conftest.$ac_ext <<_ACEOF
32811 /* end confdefs.h. */
32812
32813 /* Override any GCC internal prototype to avoid an error.
32814 Use char because int might match the return type of a GCC
32815 builtin and then its argument prototype would still apply. */
32816 #ifdef __cplusplus
32817 extern "C"
32818 #endif
32819 char SgCreateList ();
32820 int
32821 main ()
32822 {
32823 return SgCreateList ();
32824 ;
32825 return 0;
32826 }
32827 _ACEOF
32828 rm -f conftest.$ac_objext conftest$ac_exeext
32829 if { (ac_try="$ac_link"
32830 case "(($ac_try" in
32831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32832 *) ac_try_echo=$ac_try;;
32833 esac
32834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32835 (eval "$ac_link") 2>conftest.er1
32836 ac_status=$?
32837 grep -v '^ *+' conftest.er1 >conftest.err
32838 rm -f conftest.er1
32839 cat conftest.err >&5
32840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32841 (exit $ac_status); } && {
32842 test -z "$ac_c_werror_flag" ||
32843 test ! -s conftest.err
32844 } && test -s conftest$ac_exeext &&
32845 $as_test_x conftest$ac_exeext; then
32846 ac_cv_lib_Sgm_SgCreateList=yes
32847 else
32848 echo "$as_me: failed program was:" >&5
32849 sed 's/^/| /' conftest.$ac_ext >&5
32850
32851 ac_cv_lib_Sgm_SgCreateList=no
32852 fi
32853
32854 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32855 conftest$ac_exeext conftest.$ac_ext
32856 LIBS=$ac_check_lib_save_LIBS
32857 fi
32858 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32859 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
32860 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32861 libsgm_link=" -lSgm"
32862 fi
32863
32864
32865 save_CFLAGS=$CFLAGS
32866 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32867
32868 { echo "$as_me:$LINENO: checking for Motif 2" >&5
32869 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
32870 if test "${wx_cv_lib_motif2+set}" = set; then
32871 echo $ECHO_N "(cached) $ECHO_C" >&6
32872 else
32873 cat >conftest.$ac_ext <<_ACEOF
32874 /* confdefs.h. */
32875 _ACEOF
32876 cat confdefs.h >>conftest.$ac_ext
32877 cat >>conftest.$ac_ext <<_ACEOF
32878 /* end confdefs.h. */
32879
32880 #include <Xm/Xm.h>
32881
32882 int
32883 main ()
32884 {
32885
32886 #if XmVersion < 2000
32887 Not Motif 2
32888 #endif
32889
32890 ;
32891 return 0;
32892 }
32893 _ACEOF
32894 rm -f conftest.$ac_objext
32895 if { (ac_try="$ac_compile"
32896 case "(($ac_try" in
32897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32898 *) ac_try_echo=$ac_try;;
32899 esac
32900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32901 (eval "$ac_compile") 2>conftest.er1
32902 ac_status=$?
32903 grep -v '^ *+' conftest.er1 >conftest.err
32904 rm -f conftest.er1
32905 cat conftest.err >&5
32906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32907 (exit $ac_status); } && {
32908 test -z "$ac_c_werror_flag" ||
32909 test ! -s conftest.err
32910 } && test -s conftest.$ac_objext; then
32911 wx_cv_lib_motif2="yes"
32912 else
32913 echo "$as_me: failed program was:" >&5
32914 sed 's/^/| /' conftest.$ac_ext >&5
32915
32916 wx_cv_lib_motif2="no"
32917 fi
32918
32919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32920 fi
32921 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32922 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
32923 if test "$wx_cv_lib_motif2" = "yes"; then
32924 cat >>confdefs.h <<\_ACEOF
32925 #define __WXMOTIF20__ 1
32926 _ACEOF
32927
32928 else
32929 cat >>confdefs.h <<\_ACEOF
32930 #define __WXMOTIF20__ 0
32931 _ACEOF
32932
32933 fi
32934
32935 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32936 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
32937 if test "${wx_cv_lib_lesstif+set}" = set; then
32938 echo $ECHO_N "(cached) $ECHO_C" >&6
32939 else
32940 cat >conftest.$ac_ext <<_ACEOF
32941 /* confdefs.h. */
32942 _ACEOF
32943 cat confdefs.h >>conftest.$ac_ext
32944 cat >>conftest.$ac_ext <<_ACEOF
32945 /* end confdefs.h. */
32946
32947 #include <Xm/Xm.h>
32948
32949 int
32950 main ()
32951 {
32952
32953 #if !defined(LesstifVersion) || LesstifVersion <= 0
32954 Not Lesstif
32955 #endif
32956
32957 ;
32958 return 0;
32959 }
32960 _ACEOF
32961 rm -f conftest.$ac_objext
32962 if { (ac_try="$ac_compile"
32963 case "(($ac_try" in
32964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32965 *) ac_try_echo=$ac_try;;
32966 esac
32967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32968 (eval "$ac_compile") 2>conftest.er1
32969 ac_status=$?
32970 grep -v '^ *+' conftest.er1 >conftest.err
32971 rm -f conftest.er1
32972 cat conftest.err >&5
32973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32974 (exit $ac_status); } && {
32975 test -z "$ac_c_werror_flag" ||
32976 test ! -s conftest.err
32977 } && test -s conftest.$ac_objext; then
32978 wx_cv_lib_lesstif="yes"
32979 else
32980 echo "$as_me: failed program was:" >&5
32981 sed 's/^/| /' conftest.$ac_ext >&5
32982
32983 wx_cv_lib_lesstif="no"
32984 fi
32985
32986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32987
32988 fi
32989 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32990 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32991 if test "$wx_cv_lib_lesstif" = "yes"; then
32992 cat >>confdefs.h <<\_ACEOF
32993 #define __WXLESSTIF__ 1
32994 _ACEOF
32995
32996 else
32997 cat >>confdefs.h <<\_ACEOF
32998 #define __WXLESSTIF__ 0
32999 _ACEOF
33000
33001 fi
33002
33003 CFLAGS=$save_CFLAGS
33004
33005 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
33006 TOOLKIT=MOTIF
33007 GUIDIST=MOTIF_DIST
33008 fi
33009
33010 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
33011 if test "$wxUSE_LIBXPM" = "sys"; then
33012 { echo "$as_me:$LINENO: checking for Xpm library" >&5
33013 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
33014
33015 ac_find_libraries=
33016 for ac_dir in $SEARCH_LIB;
33017 do
33018 for ac_extension in a so sl dylib dll.a; do
33019 if test -f "$ac_dir/libXpm.$ac_extension"; then
33020 ac_find_libraries=$ac_dir
33021 break 2
33022 fi
33023 done
33024 done
33025
33026 if test "$ac_find_libraries" != "" ; then
33027
33028 if test "$ac_find_libraries" = "default location"; then
33029 ac_path_to_link=""
33030 else
33031 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33032 result=$?
33033 if test $result = 0; then
33034 ac_path_to_link=""
33035 else
33036 ac_path_to_link=" -L$ac_find_libraries"
33037 fi
33038 fi
33039
33040 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33041 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33042 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33043
33044 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
33045 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
33046 if test "${wx_cv_x11_xpm_h+set}" = set; then
33047 echo $ECHO_N "(cached) $ECHO_C" >&6
33048 else
33049
33050 save_CFLAGS=$CFLAGS
33051 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33052
33053 cat >conftest.$ac_ext <<_ACEOF
33054 /* confdefs.h. */
33055 _ACEOF
33056 cat confdefs.h >>conftest.$ac_ext
33057 cat >>conftest.$ac_ext <<_ACEOF
33058 /* end confdefs.h. */
33059
33060 #include <X11/xpm.h>
33061
33062 int
33063 main ()
33064 {
33065
33066 int version;
33067 version = XpmLibraryVersion();
33068
33069 ;
33070 return 0;
33071 }
33072 _ACEOF
33073 rm -f conftest.$ac_objext
33074 if { (ac_try="$ac_compile"
33075 case "(($ac_try" in
33076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33077 *) ac_try_echo=$ac_try;;
33078 esac
33079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33080 (eval "$ac_compile") 2>conftest.er1
33081 ac_status=$?
33082 grep -v '^ *+' conftest.er1 >conftest.err
33083 rm -f conftest.er1
33084 cat conftest.err >&5
33085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33086 (exit $ac_status); } && {
33087 test -z "$ac_c_werror_flag" ||
33088 test ! -s conftest.err
33089 } && test -s conftest.$ac_objext; then
33090 wx_cv_x11_xpm_h=yes
33091 else
33092 echo "$as_me: failed program was:" >&5
33093 sed 's/^/| /' conftest.$ac_ext >&5
33094
33095 wx_cv_x11_xpm_h=no
33096
33097 fi
33098
33099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33100
33101 CFLAGS=$save_CFLAGS
33102
33103
33104 fi
33105 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
33106 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
33107
33108 if test $wx_cv_x11_xpm_h = "yes"; then
33109 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
33110 cat >>confdefs.h <<\_ACEOF
33111 #define wxHAVE_LIB_XPM 1
33112 _ACEOF
33113
33114 else
33115 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
33116 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
33117 fi
33118 fi
33119
33120 fi
33121
33122 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
33123 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
33124 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
33125 echo $ECHO_N "(cached) $ECHO_C" >&6
33126 else
33127 ac_check_lib_save_LIBS=$LIBS
33128 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
33129 cat >conftest.$ac_ext <<_ACEOF
33130 /* confdefs.h. */
33131 _ACEOF
33132 cat confdefs.h >>conftest.$ac_ext
33133 cat >>conftest.$ac_ext <<_ACEOF
33134 /* end confdefs.h. */
33135
33136 /* Override any GCC internal prototype to avoid an error.
33137 Use char because int might match the return type of a GCC
33138 builtin and then its argument prototype would still apply. */
33139 #ifdef __cplusplus
33140 extern "C"
33141 #endif
33142 char XShapeQueryExtension ();
33143 int
33144 main ()
33145 {
33146 return XShapeQueryExtension ();
33147 ;
33148 return 0;
33149 }
33150 _ACEOF
33151 rm -f conftest.$ac_objext conftest$ac_exeext
33152 if { (ac_try="$ac_link"
33153 case "(($ac_try" in
33154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33155 *) ac_try_echo=$ac_try;;
33156 esac
33157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33158 (eval "$ac_link") 2>conftest.er1
33159 ac_status=$?
33160 grep -v '^ *+' conftest.er1 >conftest.err
33161 rm -f conftest.er1
33162 cat conftest.err >&5
33163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33164 (exit $ac_status); } && {
33165 test -z "$ac_c_werror_flag" ||
33166 test ! -s conftest.err
33167 } && test -s conftest$ac_exeext &&
33168 $as_test_x conftest$ac_exeext; then
33169 ac_cv_lib_Xext_XShapeQueryExtension=yes
33170 else
33171 echo "$as_me: failed program was:" >&5
33172 sed 's/^/| /' conftest.$ac_ext >&5
33173
33174 ac_cv_lib_Xext_XShapeQueryExtension=no
33175 fi
33176
33177 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33178 conftest$ac_exeext conftest.$ac_ext
33179 LIBS=$ac_check_lib_save_LIBS
33180 fi
33181 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
33182 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
33183 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
33184
33185 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
33186 wxHAVE_XEXT_LIB=1
33187
33188 fi
33189
33190
33191 if test "$wxHAVE_XEXT_LIB" = 1; then
33192 save_CFLAGS="$CFLAGS"
33193 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33194
33195 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
33196 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
33197 cat >conftest.$ac_ext <<_ACEOF
33198 /* confdefs.h. */
33199 _ACEOF
33200 cat confdefs.h >>conftest.$ac_ext
33201 cat >>conftest.$ac_ext <<_ACEOF
33202 /* end confdefs.h. */
33203
33204 #include <X11/Xlib.h>
33205 #include <X11/extensions/shape.h>
33206
33207 int
33208 main ()
33209 {
33210
33211 int dummy1, dummy2;
33212 XShapeQueryExtension((Display*)NULL,
33213 (int*)NULL, (int*)NULL);
33214
33215 ;
33216 return 0;
33217 }
33218 _ACEOF
33219 rm -f conftest.$ac_objext
33220 if { (ac_try="$ac_compile"
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_compile") 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_objext; then
33236
33237 cat >>confdefs.h <<\_ACEOF
33238 #define HAVE_XSHAPE 1
33239 _ACEOF
33240
33241 { echo "$as_me:$LINENO: result: found" >&5
33242 echo "${ECHO_T}found" >&6; }
33243
33244 else
33245 echo "$as_me: failed program was:" >&5
33246 sed 's/^/| /' conftest.$ac_ext >&5
33247
33248
33249 { echo "$as_me:$LINENO: result: not found" >&5
33250 echo "${ECHO_T}not found" >&6; }
33251
33252 fi
33253
33254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33255 CFLAGS="$save_CFLAGS"
33256
33257 fi
33258 fi
33259
33260 if test "$wxUSE_OSX_CARBON" = 1; then
33261 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
33262 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
33263 if test "$GCC" = yes; then
33264 { echo "$as_me:$LINENO: result: gcc" >&5
33265 echo "${ECHO_T}gcc" >&6; }
33266 CPPFLAGS_PASCAL="-fpascal-strings"
33267 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
33268 { echo "$as_me:$LINENO: result: xlc" >&5
33269 echo "${ECHO_T}xlc" >&6; }
33270 CPPFLAGS_PASCAL="-qmacpstr"
33271 else
33272 { echo "$as_me:$LINENO: result: none" >&5
33273 echo "${ECHO_T}none" >&6; }
33274 fi
33275
33276 if test "x$wxUSE_UNIX" = "xyes"; then
33277 CPPFLAGS="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
33278 else
33279 CPPFLAGS="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
33280 fi
33281
33282 TOOLKIT=OSX_CARBON
33283 GUIDIST=OSX_CARBON_DIST
33284 WXBASEPORT="_carbon"
33285
33286 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
33287 fi
33288
33289 if test "$wxUSE_OSX_COCOA" = 1; then
33290 TOOLKIT=OSX_COCOA
33291 GUIDIST=OSX_COCOA_DIST
33292
33293 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
33294 fi
33295
33296 if test "$wxUSE_OSX_IPHONE" = 1; then
33297 TOOLKIT=OSX_IPHONE
33298 fi
33299
33300 if test "$wxUSE_OLD_COCOA" = 1; then
33301 TOOLKIT=COCOA
33302 GUIDIST=COCOA_DIST
33303 fi
33304
33305 if test "$wxUSE_PM" = 1; then
33306 TOOLKIT=PM
33307 GUIDIST=PM_DIST
33308 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
33309 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
33310 if test "${wx_cv_spbcdata+set}" = set; then
33311 echo $ECHO_N "(cached) $ECHO_C" >&6
33312 else
33313
33314 cat >conftest.$ac_ext <<_ACEOF
33315 /* confdefs.h. */
33316 _ACEOF
33317 cat confdefs.h >>conftest.$ac_ext
33318 cat >>conftest.$ac_ext <<_ACEOF
33319 /* end confdefs.h. */
33320
33321 #define INCL_PM
33322 #include <os2.h>
33323
33324 int
33325 main ()
33326 {
33327
33328 SPBCDATA test;
33329
33330 ;
33331 return 0;
33332 }
33333 _ACEOF
33334 rm -f conftest.$ac_objext
33335 if { (ac_try="$ac_compile"
33336 case "(($ac_try" in
33337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33338 *) ac_try_echo=$ac_try;;
33339 esac
33340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33341 (eval "$ac_compile") 2>conftest.er1
33342 ac_status=$?
33343 grep -v '^ *+' conftest.er1 >conftest.err
33344 rm -f conftest.er1
33345 cat conftest.err >&5
33346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33347 (exit $ac_status); } && {
33348 test -z "$ac_c_werror_flag" ||
33349 test ! -s conftest.err
33350 } && test -s conftest.$ac_objext; then
33351 wx_cv_spbcdata=yes
33352 else
33353 echo "$as_me: failed program was:" >&5
33354 sed 's/^/| /' conftest.$ac_ext >&5
33355
33356 wx_cv_spbcdata=no
33357
33358 fi
33359
33360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33361
33362
33363 fi
33364 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
33365 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
33366
33367 if test $wx_cv_spbcdata = "yes"; then
33368 cat >>confdefs.h <<\_ACEOF
33369 #define HAVE_SPBCDATA 1
33370 _ACEOF
33371
33372 fi
33373 fi
33374
33375 if test "$TOOLKIT" = "PM" ; then
33376 TOOLKIT_DIR="os2"
33377 else
33378 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
33379 fi
33380
33381 if test "$wxUSE_UNIVERSAL" = "yes"; then
33382 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
33383 WIDGET_SET=univ
33384 fi
33385
33386 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
33387 DISTDIR="wx\$(TOOLKIT)"
33388 else
33389 USE_GUI=0
33390
33391 TOOLKIT_DIR="base"
33392
33393 if test "$USE_WIN32" = 1 ; then
33394 TOOLKIT="MSW"
33395 fi
33396
33397 GUIDIST="BASE_DIST"
33398 DISTDIR="wxBase"
33399 fi
33400
33401
33402
33403 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
33404 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
33405 wxUSE_UNICODE_UTF8=yes
33406 elif test "$USE_OS2" = 1 ; then
33407 wxUSE_UNICODE_UTF8=yes
33408 else
33409 wxUSE_UNICODE_UTF8=no
33410 fi
33411 fi
33412
33413
33414 if test "$wxUSE_GUI" = "yes"; then
33415 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
33416
33417 for ac_header in X11/Xlib.h
33418 do
33419 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33420 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33421 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33422 if { as_var=$as_ac_Header; eval "test \"\${$as_var+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
33433 #include <$ac_header>
33434 _ACEOF
33435 rm -f conftest.$ac_objext
33436 if { (ac_try="$ac_compile"
33437 case "(($ac_try" in
33438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33439 *) ac_try_echo=$ac_try;;
33440 esac
33441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33442 (eval "$ac_compile") 2>conftest.er1
33443 ac_status=$?
33444 grep -v '^ *+' conftest.er1 >conftest.err
33445 rm -f conftest.er1
33446 cat conftest.err >&5
33447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33448 (exit $ac_status); } && {
33449 test -z "$ac_c_werror_flag" ||
33450 test ! -s conftest.err
33451 } && test -s conftest.$ac_objext; then
33452 eval "$as_ac_Header=yes"
33453 else
33454 echo "$as_me: failed program was:" >&5
33455 sed 's/^/| /' conftest.$ac_ext >&5
33456
33457 eval "$as_ac_Header=no"
33458 fi
33459
33460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33461 fi
33462 ac_res=`eval echo '${'$as_ac_Header'}'`
33463 { echo "$as_me:$LINENO: result: $ac_res" >&5
33464 echo "${ECHO_T}$ac_res" >&6; }
33465 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33466 cat >>confdefs.h <<_ACEOF
33467 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33468 _ACEOF
33469
33470 fi
33471
33472 done
33473
33474
33475 for ac_header in X11/XKBlib.h
33476 do
33477 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33478 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33479 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33480 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33481 echo $ECHO_N "(cached) $ECHO_C" >&6
33482 else
33483 cat >conftest.$ac_ext <<_ACEOF
33484 /* confdefs.h. */
33485 _ACEOF
33486 cat confdefs.h >>conftest.$ac_ext
33487 cat >>conftest.$ac_ext <<_ACEOF
33488 /* end confdefs.h. */
33489
33490 #if HAVE_X11_XLIB_H
33491 #include <X11/Xlib.h>
33492 #endif
33493
33494
33495 #include <$ac_header>
33496 _ACEOF
33497 rm -f conftest.$ac_objext
33498 if { (ac_try="$ac_compile"
33499 case "(($ac_try" in
33500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33501 *) ac_try_echo=$ac_try;;
33502 esac
33503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33504 (eval "$ac_compile") 2>conftest.er1
33505 ac_status=$?
33506 grep -v '^ *+' conftest.er1 >conftest.err
33507 rm -f conftest.er1
33508 cat conftest.err >&5
33509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33510 (exit $ac_status); } && {
33511 test -z "$ac_c_werror_flag" ||
33512 test ! -s conftest.err
33513 } && test -s conftest.$ac_objext; then
33514 eval "$as_ac_Header=yes"
33515 else
33516 echo "$as_me: failed program was:" >&5
33517 sed 's/^/| /' conftest.$ac_ext >&5
33518
33519 eval "$as_ac_Header=no"
33520 fi
33521
33522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33523 fi
33524 ac_res=`eval echo '${'$as_ac_Header'}'`
33525 { echo "$as_me:$LINENO: result: $ac_res" >&5
33526 echo "${ECHO_T}$ac_res" >&6; }
33527 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33528 cat >>confdefs.h <<_ACEOF
33529 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33530 _ACEOF
33531
33532 fi
33533
33534 done
33535
33536 fi
33537 fi
33538
33539
33540
33541 if test "$wxUSE_DISPLAY" = "yes"; then
33542 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
33543 { echo "$as_me:$LINENO: checking for Xinerama" >&5
33544 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
33545
33546 ac_find_libraries=
33547 for ac_dir in $SEARCH_LIB;
33548 do
33549 for ac_extension in a so sl dylib dll.a; do
33550 if test -f "$ac_dir/libXinerama.$ac_extension"; then
33551 ac_find_libraries=$ac_dir
33552 break 2
33553 fi
33554 done
33555 done
33556
33557 if test "$ac_find_libraries" != "" ; then
33558
33559 if test "$ac_find_libraries" = "default location"; then
33560 ac_path_to_link=""
33561 else
33562 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33563 result=$?
33564 if test $result = 0; then
33565 ac_path_to_link=""
33566 else
33567 ac_path_to_link=" -L$ac_find_libraries"
33568 fi
33569 fi
33570
33571 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33572 LDFLAGS="$LDFLAGS $ac_path_to_link"
33573 fi
33574 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
33575 { echo "$as_me:$LINENO: result: yes" >&5
33576 echo "${ECHO_T}yes" >&6; }
33577
33578 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
33579 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
33580
33581 ac_find_libraries=
33582 for ac_dir in $SEARCH_LIB;
33583 do
33584 for ac_extension in a so sl dylib dll.a; do
33585 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
33586 ac_find_libraries=$ac_dir
33587 break 2
33588 fi
33589 done
33590 done
33591
33592 if test "$ac_find_libraries" != "" ; then
33593 { echo "$as_me:$LINENO: result: yes" >&5
33594 echo "${ECHO_T}yes" >&6; }
33595
33596 for ac_header in X11/extensions/xf86vmode.h
33597 do
33598 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33599 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33600 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33601 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33602 echo $ECHO_N "(cached) $ECHO_C" >&6
33603 else
33604 cat >conftest.$ac_ext <<_ACEOF
33605 /* confdefs.h. */
33606 _ACEOF
33607 cat confdefs.h >>conftest.$ac_ext
33608 cat >>conftest.$ac_ext <<_ACEOF
33609 /* end confdefs.h. */
33610
33611 #if HAVE_X11_XLIB_H
33612 #include <X11/Xlib.h>
33613 #endif
33614
33615
33616 #include <$ac_header>
33617 _ACEOF
33618 rm -f conftest.$ac_objext
33619 if { (ac_try="$ac_compile"
33620 case "(($ac_try" in
33621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33622 *) ac_try_echo=$ac_try;;
33623 esac
33624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33625 (eval "$ac_compile") 2>conftest.er1
33626 ac_status=$?
33627 grep -v '^ *+' conftest.er1 >conftest.err
33628 rm -f conftest.er1
33629 cat conftest.err >&5
33630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33631 (exit $ac_status); } && {
33632 test -z "$ac_c_werror_flag" ||
33633 test ! -s conftest.err
33634 } && test -s conftest.$ac_objext; then
33635 eval "$as_ac_Header=yes"
33636 else
33637 echo "$as_me: failed program was:" >&5
33638 sed 's/^/| /' conftest.$ac_ext >&5
33639
33640 eval "$as_ac_Header=no"
33641 fi
33642
33643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33644 fi
33645 ac_res=`eval echo '${'$as_ac_Header'}'`
33646 { echo "$as_me:$LINENO: result: $ac_res" >&5
33647 echo "${ECHO_T}$ac_res" >&6; }
33648 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33649 cat >>confdefs.h <<_ACEOF
33650 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33651 _ACEOF
33652
33653 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
33654
33655 fi
33656
33657 done
33658
33659 else
33660 { echo "$as_me:$LINENO: result: no" >&5
33661 echo "${ECHO_T}no" >&6; }
33662 fi
33663
33664 else
33665 { echo "$as_me:$LINENO: result: no" >&5
33666 echo "${ECHO_T}no" >&6; }
33667 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
33668 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
33669 wxUSE_DISPLAY="no"
33670 fi
33671 elif test "$wxUSE_MSW" = 1; then
33672 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
33673 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
33674 if test "${ac_cv_header_ddraw_h+set}" = set; then
33675 echo $ECHO_N "(cached) $ECHO_C" >&6
33676 else
33677 cat >conftest.$ac_ext <<_ACEOF
33678 /* confdefs.h. */
33679 _ACEOF
33680 cat confdefs.h >>conftest.$ac_ext
33681 cat >>conftest.$ac_ext <<_ACEOF
33682 /* end confdefs.h. */
33683 #include <windows.h>
33684
33685 #include <ddraw.h>
33686 _ACEOF
33687 rm -f conftest.$ac_objext
33688 if { (ac_try="$ac_compile"
33689 case "(($ac_try" in
33690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33691 *) ac_try_echo=$ac_try;;
33692 esac
33693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33694 (eval "$ac_compile") 2>conftest.er1
33695 ac_status=$?
33696 grep -v '^ *+' conftest.er1 >conftest.err
33697 rm -f conftest.er1
33698 cat conftest.err >&5
33699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33700 (exit $ac_status); } && {
33701 test -z "$ac_c_werror_flag" ||
33702 test ! -s conftest.err
33703 } && test -s conftest.$ac_objext; then
33704 ac_cv_header_ddraw_h=yes
33705 else
33706 echo "$as_me: failed program was:" >&5
33707 sed 's/^/| /' conftest.$ac_ext >&5
33708
33709 ac_cv_header_ddraw_h=no
33710 fi
33711
33712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33713 fi
33714 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
33715 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
33716
33717
33718 fi
33719 fi
33720
33721 if test "$wxUSE_DETECT_SM" = "yes"; then
33722 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
33723 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33724 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
33725
33726 ac_find_libraries=
33727 for ac_dir in $SEARCH_LIB;
33728 do
33729 for ac_extension in a so sl dylib dll.a; do
33730 if test -f "$ac_dir/libSM.$ac_extension"; then
33731 ac_find_libraries=$ac_dir
33732 break 2
33733 fi
33734 done
33735 done
33736
33737 if test "$ac_find_libraries" != "" ; then
33738
33739 if test "$ac_find_libraries" = "default location"; then
33740 ac_path_to_link=""
33741 else
33742 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33743 result=$?
33744 if test $result = 0; then
33745 ac_path_to_link=""
33746 else
33747 ac_path_to_link=" -L$ac_find_libraries"
33748 fi
33749 fi
33750
33751 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33752 LDFLAGS="$LDFLAGS $ac_path_to_link"
33753 fi
33754 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33755 { echo "$as_me:$LINENO: result: yes" >&5
33756 echo "${ECHO_T}yes" >&6; }
33757 else
33758 { echo "$as_me:$LINENO: result: no" >&5
33759 echo "${ECHO_T}no" >&6; }
33760 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33761 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33762 wxUSE_DETECT_SM="no"
33763 fi
33764 else
33765 wxUSE_DETECT_SM="no"
33766 fi
33767 fi
33768
33769
33770
33771 USE_OPENGL=0
33772 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
33773
33774
33775 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
33776 OPENGL_LIBS="-framework OpenGL -framework AGL"
33777 elif test "$wxUSE_MSW" = 1; then
33778 OPENGL_LIBS="-lopengl32 -lglu32"
33779 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
33780
33781 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33782 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
33783
33784 ac_find_includes=
33785 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33786 do
33787 if test -f "$ac_dir/GL/gl.h"; then
33788 ac_find_includes=$ac_dir
33789 break
33790 fi
33791 done
33792
33793 if test "$ac_find_includes" != "" ; then
33794 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33795 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33796
33797 if test "x$ac_find_includes" = "x/usr/include"; then
33798 ac_path_to_include=""
33799 else
33800 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33801 result=$?
33802 if test $result = 0; then
33803 ac_path_to_include=""
33804 else
33805 ac_path_to_include=" -I$ac_find_includes"
33806 fi
33807 fi
33808
33809 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33810 else
33811 { echo "$as_me:$LINENO: result: not found" >&5
33812 echo "${ECHO_T}not found" >&6; }
33813 fi
33814
33815 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33816 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
33817 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33818 echo $ECHO_N "(cached) $ECHO_C" >&6
33819 else
33820 cat >conftest.$ac_ext <<_ACEOF
33821 /* confdefs.h. */
33822 _ACEOF
33823 cat confdefs.h >>conftest.$ac_ext
33824 cat >>conftest.$ac_ext <<_ACEOF
33825 /* end confdefs.h. */
33826
33827
33828 #include <GL/gl.h>
33829 _ACEOF
33830 rm -f conftest.$ac_objext
33831 if { (ac_try="$ac_compile"
33832 case "(($ac_try" in
33833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33834 *) ac_try_echo=$ac_try;;
33835 esac
33836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33837 (eval "$ac_compile") 2>conftest.er1
33838 ac_status=$?
33839 grep -v '^ *+' conftest.er1 >conftest.err
33840 rm -f conftest.er1
33841 cat conftest.err >&5
33842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33843 (exit $ac_status); } && {
33844 test -z "$ac_c_werror_flag" ||
33845 test ! -s conftest.err
33846 } && test -s conftest.$ac_objext; then
33847 ac_cv_header_GL_gl_h=yes
33848 else
33849 echo "$as_me: failed program was:" >&5
33850 sed 's/^/| /' conftest.$ac_ext >&5
33851
33852 ac_cv_header_GL_gl_h=no
33853 fi
33854
33855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33856 fi
33857 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33858 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
33859 if test $ac_cv_header_GL_gl_h = yes; then
33860
33861 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33862 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
33863 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33864 echo $ECHO_N "(cached) $ECHO_C" >&6
33865 else
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
33874 #include <GL/glu.h>
33875 _ACEOF
33876 rm -f conftest.$ac_objext
33877 if { (ac_try="$ac_compile"
33878 case "(($ac_try" in
33879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33880 *) ac_try_echo=$ac_try;;
33881 esac
33882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33883 (eval "$ac_compile") 2>conftest.er1
33884 ac_status=$?
33885 grep -v '^ *+' conftest.er1 >conftest.err
33886 rm -f conftest.er1
33887 cat conftest.err >&5
33888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33889 (exit $ac_status); } && {
33890 test -z "$ac_c_werror_flag" ||
33891 test ! -s conftest.err
33892 } && test -s conftest.$ac_objext; then
33893 ac_cv_header_GL_glu_h=yes
33894 else
33895 echo "$as_me: failed program was:" >&5
33896 sed 's/^/| /' conftest.$ac_ext >&5
33897
33898 ac_cv_header_GL_glu_h=no
33899 fi
33900
33901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33902 fi
33903 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33904 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
33905 if test $ac_cv_header_GL_glu_h = yes; then
33906
33907 found_gl=0
33908
33909 { echo "$as_me:$LINENO: checking for -lGL" >&5
33910 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
33911
33912 ac_find_libraries=
33913 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33914 do
33915 for ac_extension in a so sl dylib dll.a; do
33916 if test -f "$ac_dir/libGL.$ac_extension"; then
33917 ac_find_libraries=$ac_dir
33918 break 2
33919 fi
33920 done
33921 done
33922
33923 if test "$ac_find_libraries" != "" ; then
33924 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33925 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33926
33927
33928 if test "$ac_find_libraries" = "default location"; then
33929 ac_path_to_link=""
33930 else
33931 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33932 result=$?
33933 if test $result = 0; then
33934 ac_path_to_link=""
33935 else
33936 ac_path_to_link=" -L$ac_find_libraries"
33937 fi
33938 fi
33939
33940 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33941 LDFLAGS_GL="$ac_path_to_link"
33942 fi
33943
33944 { echo "$as_me:$LINENO: checking for -lGLU" >&5
33945 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
33946
33947 ac_find_libraries=
33948 for ac_dir in $SEARCH_LIB;
33949 do
33950 for ac_extension in a so sl dylib dll.a; do
33951 if test -f "$ac_dir/libGLU.$ac_extension"; then
33952 ac_find_libraries=$ac_dir
33953 break 2
33954 fi
33955 done
33956 done
33957
33958 if test "$ac_find_libraries" != "" ; then
33959
33960 if test "$ac_find_libraries" = "default location"; then
33961 ac_path_to_link=""
33962 else
33963 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33964 result=$?
33965 if test $result = 0; then
33966 ac_path_to_link=""
33967 else
33968 ac_path_to_link=" -L$ac_find_libraries"
33969 fi
33970 fi
33971
33972 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33973 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33974 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33975 fi
33976
33977 found_gl=1
33978 OPENGL_LIBS="-lGL -lGLU"
33979 { echo "$as_me:$LINENO: result: yes" >&5
33980 echo "${ECHO_T}yes" >&6; }
33981 else
33982 { echo "$as_me:$LINENO: result: no" >&5
33983 echo "${ECHO_T}no" >&6; }
33984 fi
33985 else
33986 { echo "$as_me:$LINENO: result: no" >&5
33987 echo "${ECHO_T}no" >&6; }
33988 fi
33989
33990 if test "$found_gl" != 1; then
33991 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33992 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
33993
33994 ac_find_libraries=
33995 for ac_dir in $SEARCH_LIB;
33996 do
33997 for ac_extension in a so sl dylib dll.a; do
33998 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33999 ac_find_libraries=$ac_dir
34000 break 2
34001 fi
34002 done
34003 done
34004
34005 if test "$ac_find_libraries" != "" ; then
34006
34007 if test "$ac_find_libraries" = "default location"; then
34008 ac_path_to_link=""
34009 else
34010 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34011 result=$?
34012 if test $result = 0; then
34013 ac_path_to_link=""
34014 else
34015 ac_path_to_link=" -L$ac_find_libraries"
34016 fi
34017 fi
34018
34019 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
34020 OPENGL_LIBS="-lMesaGL -lMesaGLU"
34021 { echo "$as_me:$LINENO: result: yes" >&5
34022 echo "${ECHO_T}yes" >&6; }
34023 else
34024 { echo "$as_me:$LINENO: result: no" >&5
34025 echo "${ECHO_T}no" >&6; }
34026 fi
34027 fi
34028
34029 fi
34030
34031
34032
34033 fi
34034
34035
34036
34037 if test "x$OPENGL_LIBS" = "x"; then
34038 if test "$wxUSE_OPENGL" = "yes"; then
34039 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
34040 echo "$as_me: error: OpenGL libraries not available" >&2;}
34041 { (exit 1); exit 1; }; }
34042 else
34043 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
34044 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
34045 wxUSE_OPENGL=no
34046 USE_OPENGL=0
34047 fi
34048 fi
34049 else
34050 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
34051 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
34052 wxUSE_OPENGL="no"
34053 fi
34054
34055 if test "$wxUSE_OPENGL" = "auto"; then
34056 wxUSE_OPENGL=yes
34057 fi
34058
34059 if test "$wxUSE_OPENGL" = "yes"; then
34060 USE_OPENGL=1
34061 cat >>confdefs.h <<\_ACEOF
34062 #define wxUSE_OPENGL 1
34063 _ACEOF
34064
34065 cat >>confdefs.h <<\_ACEOF
34066 #define wxUSE_GLCANVAS 1
34067 _ACEOF
34068
34069 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
34070 fi
34071 fi
34072
34073
34074 if test -n "$TOOLKIT" ; then
34075 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
34076 fi
34077
34078
34079
34080 if test "$wxUSE_SHARED" = "yes"; then
34081 case "${host}" in
34082 *-pc-msdosdjgpp )
34083 wxUSE_SHARED=no
34084 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
34085 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
34086 ;;
34087 esac
34088 fi
34089
34090 if test "$wxUSE_SHARED" = "yes"; then
34091
34092
34093 case "${host}" in
34094 *-*-cygwin* | *-*-mingw* )
34095 wx_cv_version_script=no
34096 ;;
34097
34098 *)
34099 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
34100 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
34101 if test "${wx_cv_version_script+set}" = set; then
34102 echo $ECHO_N "(cached) $ECHO_C" >&6
34103 else
34104
34105 echo "VER_1 { *; };" >conftest.sym
34106 echo "int main() { return 0; }" >conftest.cpp
34107
34108 if { ac_try='
34109 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34110 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
34111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34112 (eval $ac_try) 2>&5
34113 ac_status=$?
34114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34115 (exit $ac_status); }; } ; then
34116 if test -s conftest.stderr ; then
34117 wx_cv_version_script=no
34118 else
34119 wx_cv_version_script=yes
34120 fi
34121 else
34122 wx_cv_version_script=no
34123 fi
34124
34125 if test $wx_cv_version_script = yes
34126 then
34127 echo "struct B { virtual ~B() { } }; \
34128 struct D : public B { }; \
34129 void F() { D d; }" > conftest.cpp
34130
34131 if { ac_try='
34132 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34133 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
34134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34135 (eval $ac_try) 2>&5
34136 ac_status=$?
34137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34138 (exit $ac_status); }; } &&
34139 { ac_try='
34140 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34141 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
34142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34143 (eval $ac_try) 2>&5
34144 ac_status=$?
34145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34146 (exit $ac_status); }; }
34147 then
34148 if { ac_try='
34149 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34150 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
34151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34152 (eval $ac_try) 2>&5
34153 ac_status=$?
34154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34155 (exit $ac_status); }; }
34156 then
34157 wx_cv_version_script=yes
34158 else
34159 wx_cv_version_script=no
34160 fi
34161 fi
34162 fi
34163
34164 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
34165 rm -f conftest1.output conftest2.output conftest3.output
34166
34167 fi
34168 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
34169 echo "${ECHO_T}$wx_cv_version_script" >&6; }
34170
34171 if test $wx_cv_version_script = yes ; then
34172 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
34173 fi
34174 ;;
34175 esac
34176
34177
34178 if test "$wxUSE_VISIBILITY" != "no"; then
34179
34180
34181 if test -n "$GCC"; then
34182 CFLAGS_VISIBILITY="-fvisibility=hidden"
34183 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
34184 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
34185 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
34186 if test "${wx_cv_cc_visibility+set}" = set; then
34187 echo $ECHO_N "(cached) $ECHO_C" >&6
34188 else
34189
34190 wx_save_CXXFLAGS="$CXXFLAGS"
34191 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
34192 ac_ext=cpp
34193 ac_cpp='$CXXCPP $CPPFLAGS'
34194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34197
34198 cat >conftest.$ac_ext <<_ACEOF
34199 /* confdefs.h. */
34200 _ACEOF
34201 cat confdefs.h >>conftest.$ac_ext
34202 cat >>conftest.$ac_ext <<_ACEOF
34203 /* end confdefs.h. */
34204
34205 /* we need gcc >= 4.0, older versions with visibility support
34206 didn't have class visibility: */
34207 #if defined(__GNUC__) && __GNUC__ < 4
34208 error this gcc is too old;
34209 #endif
34210
34211 /* visibility only makes sense for ELF shared libs: */
34212 #if !defined(__ELF__) && !defined(__APPLE__)
34213 error this platform has no visibility;
34214 #endif
34215
34216 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
34217 extern __attribute__((__visibility__("default"))) int exportedvar;
34218 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
34219 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
34220 class __attribute__((__visibility__("default"))) Foo {
34221 Foo() {}
34222 };
34223
34224 int
34225 main ()
34226 {
34227
34228 ;
34229 return 0;
34230 }
34231 _ACEOF
34232 rm -f conftest.$ac_objext
34233 if { (ac_try="$ac_compile"
34234 case "(($ac_try" in
34235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34236 *) ac_try_echo=$ac_try;;
34237 esac
34238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34239 (eval "$ac_compile") 2>conftest.er1
34240 ac_status=$?
34241 grep -v '^ *+' conftest.er1 >conftest.err
34242 rm -f conftest.er1
34243 cat conftest.err >&5
34244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34245 (exit $ac_status); } && {
34246 test -z "$ac_cxx_werror_flag" ||
34247 test ! -s conftest.err
34248 } && test -s conftest.$ac_objext; then
34249 wx_cv_cc_visibility=yes
34250 else
34251 echo "$as_me: failed program was:" >&5
34252 sed 's/^/| /' conftest.$ac_ext >&5
34253
34254 wx_cv_cc_visibility=no
34255 fi
34256
34257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34258 ac_ext=c
34259 ac_cpp='$CPP $CPPFLAGS'
34260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34263
34264 CXXFLAGS="$wx_save_CXXFLAGS"
34265 fi
34266
34267 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
34268 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
34269 if test $wx_cv_cc_visibility = yes; then
34270 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
34271 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
34272 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
34273 echo $ECHO_N "(cached) $ECHO_C" >&6
34274 else
34275
34276 wx_save_CXXFLAGS="$CXXFLAGS"
34277 wx_save_LDFLAGS="$LDFLAGS"
34278 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
34279 LDFLAGS="$LDFLAGS -shared -fPIC"
34280 ac_ext=cpp
34281 ac_cpp='$CXXCPP $CPPFLAGS'
34282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34285
34286 cat >conftest.$ac_ext <<_ACEOF
34287 /* confdefs.h. */
34288 _ACEOF
34289 cat confdefs.h >>conftest.$ac_ext
34290 cat >>conftest.$ac_ext <<_ACEOF
34291 /* end confdefs.h. */
34292
34293 #include <string>
34294
34295 int
34296 main ()
34297 {
34298
34299 std::string s("hello");
34300 return s.length();
34301
34302 ;
34303 return 0;
34304 }
34305 _ACEOF
34306 rm -f conftest.$ac_objext conftest$ac_exeext
34307 if { (ac_try="$ac_link"
34308 case "(($ac_try" in
34309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34310 *) ac_try_echo=$ac_try;;
34311 esac
34312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34313 (eval "$ac_link") 2>conftest.er1
34314 ac_status=$?
34315 grep -v '^ *+' conftest.er1 >conftest.err
34316 rm -f conftest.er1
34317 cat conftest.err >&5
34318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34319 (exit $ac_status); } && {
34320 test -z "$ac_cxx_werror_flag" ||
34321 test ! -s conftest.err
34322 } && test -s conftest$ac_exeext &&
34323 $as_test_x conftest$ac_exeext; then
34324 wx_cv_cc_broken_libstdcxx_visibility=no
34325 else
34326 echo "$as_me: failed program was:" >&5
34327 sed 's/^/| /' conftest.$ac_ext >&5
34328
34329 wx_cv_cc_broken_libstdcxx_visibility=yes
34330 fi
34331
34332 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34333 conftest$ac_exeext conftest.$ac_ext
34334 ac_ext=c
34335 ac_cpp='$CPP $CPPFLAGS'
34336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34339
34340 CXXFLAGS="$wx_save_CXXFLAGS"
34341 LDFLAGS="$wx_save_LDFLAGS"
34342 fi
34343
34344 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
34345 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
34346
34347 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
34348 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
34349 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
34350 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
34351 echo $ECHO_N "(cached) $ECHO_C" >&6
34352 else
34353
34354 ac_ext=cpp
34355 ac_cpp='$CXXCPP $CPPFLAGS'
34356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34359
34360 cat >conftest.$ac_ext <<_ACEOF
34361 /* confdefs.h. */
34362 _ACEOF
34363 cat confdefs.h >>conftest.$ac_ext
34364 cat >>conftest.$ac_ext <<_ACEOF
34365 /* end confdefs.h. */
34366
34367 #pragma GCC visibility push(default)
34368 #include <string>
34369 #pragma GCC visibility pop
34370
34371 int
34372 main ()
34373 {
34374
34375 std::string s("hello");
34376 return s.length();
34377
34378 ;
34379 return 0;
34380 }
34381 _ACEOF
34382 rm -f conftest.$ac_objext conftest$ac_exeext
34383 if { (ac_try="$ac_link"
34384 case "(($ac_try" in
34385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34386 *) ac_try_echo=$ac_try;;
34387 esac
34388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34389 (eval "$ac_link") 2>conftest.er1
34390 ac_status=$?
34391 grep -v '^ *+' conftest.er1 >conftest.err
34392 rm -f conftest.er1
34393 cat conftest.err >&5
34394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34395 (exit $ac_status); } && {
34396 test -z "$ac_cxx_werror_flag" ||
34397 test ! -s conftest.err
34398 } && test -s conftest$ac_exeext &&
34399 $as_test_x conftest$ac_exeext; then
34400 wx_cv_cc_visibility_workaround=no
34401 else
34402 echo "$as_me: failed program was:" >&5
34403 sed 's/^/| /' conftest.$ac_ext >&5
34404
34405 wx_cv_cc_visibility_workaround=yes
34406 fi
34407
34408 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34409 conftest$ac_exeext conftest.$ac_ext
34410 ac_ext=c
34411 ac_cpp='$CPP $CPPFLAGS'
34412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34415
34416
34417 fi
34418
34419 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
34420 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
34421
34422 if test $wx_cv_cc_visibility_workaround = no; then
34423 wx_cv_cc_visibility=no
34424 fi
34425 fi
34426 fi
34427
34428 if test $wx_cv_cc_visibility = yes; then
34429 cat >>confdefs.h <<\_ACEOF
34430 #define HAVE_VISIBILITY 1
34431 _ACEOF
34432
34433 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
34434 cat >>confdefs.h <<\_ACEOF
34435 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
34436 _ACEOF
34437
34438 fi
34439 else
34440 CFLAGS_VISIBILITY=""
34441 CXXFLAGS_VISIBILITY=""
34442 fi
34443
34444
34445 fi
34446
34447 fi
34448
34449 if test "x$SUNCXX" = xyes; then
34450 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
34451 WXCONFIG_RPATH="-R\$libdir"
34452 else
34453 case "${host}" in
34454 *-*-linux* | *-*-gnu* )
34455 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
34456 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
34457 ;;
34458
34459 *-*-solaris2* )
34460
34461 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
34462
34463 saveLdflags="$LDFLAGS"
34464 LDFLAGS="$saveLdflags -Wl,-rpath,/"
34465 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
34466 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
34467 cat >conftest.$ac_ext <<_ACEOF
34468 /* confdefs.h. */
34469 _ACEOF
34470 cat confdefs.h >>conftest.$ac_ext
34471 cat >>conftest.$ac_ext <<_ACEOF
34472 /* end confdefs.h. */
34473
34474 int
34475 main ()
34476 {
34477
34478 ;
34479 return 0;
34480 }
34481 _ACEOF
34482 rm -f conftest.$ac_objext conftest$ac_exeext
34483 if { (ac_try="$ac_link"
34484 case "(($ac_try" in
34485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34486 *) ac_try_echo=$ac_try;;
34487 esac
34488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34489 (eval "$ac_link") 2>conftest.er1
34490 ac_status=$?
34491 grep -v '^ *+' conftest.er1 >conftest.err
34492 rm -f conftest.er1
34493 cat conftest.err >&5
34494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34495 (exit $ac_status); } && {
34496 test -z "$ac_c_werror_flag" ||
34497 test ! -s conftest.err
34498 } && test -s conftest$ac_exeext &&
34499 $as_test_x conftest$ac_exeext; then
34500
34501 { echo "$as_me:$LINENO: result: yes" >&5
34502 echo "${ECHO_T}yes" >&6; }
34503 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
34504 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
34505
34506 else
34507 echo "$as_me: failed program was:" >&5
34508 sed 's/^/| /' conftest.$ac_ext >&5
34509
34510
34511 { echo "$as_me:$LINENO: result: no" >&5
34512 echo "${ECHO_T}no" >&6; }
34513 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
34514 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
34515 LDFLAGS="$saveLdflags -Wl,-R,/"
34516 cat >conftest.$ac_ext <<_ACEOF
34517 /* confdefs.h. */
34518 _ACEOF
34519 cat confdefs.h >>conftest.$ac_ext
34520 cat >>conftest.$ac_ext <<_ACEOF
34521 /* end confdefs.h. */
34522
34523 int
34524 main ()
34525 {
34526
34527 ;
34528 return 0;
34529 }
34530 _ACEOF
34531 rm -f conftest.$ac_objext conftest$ac_exeext
34532 if { (ac_try="$ac_link"
34533 case "(($ac_try" in
34534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34535 *) ac_try_echo=$ac_try;;
34536 esac
34537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34538 (eval "$ac_link") 2>conftest.er1
34539 ac_status=$?
34540 grep -v '^ *+' conftest.er1 >conftest.err
34541 rm -f conftest.er1
34542 cat conftest.err >&5
34543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34544 (exit $ac_status); } && {
34545 test -z "$ac_c_werror_flag" ||
34546 test ! -s conftest.err
34547 } && test -s conftest$ac_exeext &&
34548 $as_test_x conftest$ac_exeext; then
34549
34550 { echo "$as_me:$LINENO: result: yes" >&5
34551 echo "${ECHO_T}yes" >&6; }
34552 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
34553 WXCONFIG_RPATH="-Wl,-R,\$libdir"
34554
34555 else
34556 echo "$as_me: failed program was:" >&5
34557 sed 's/^/| /' conftest.$ac_ext >&5
34558
34559
34560 { echo "$as_me:$LINENO: result: no" >&5
34561 echo "${ECHO_T}no" >&6; }
34562
34563 fi
34564
34565 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34566 conftest$ac_exeext conftest.$ac_ext
34567
34568 fi
34569
34570 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34571 conftest$ac_exeext conftest.$ac_ext
34572 LDFLAGS="$saveLdflags"
34573 ;;
34574
34575 *-*-darwin* )
34576 install_name_tool=`which ${HOST_PREFIX}install_name_tool`
34577 if test "$install_name_tool" -a -x "$install_name_tool"; then
34578 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
34579 cat <<EOF >change-install-names
34580 #!/bin/sh
34581 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
34582 for i in \${libnames} ; do
34583 ${HOST_PREFIX}install_name_tool -id \${1}/\${i} \${1}/\${i}
34584 for dep in \${libnames} ; do
34585 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${1}/\${dep} \${1}/\${i}
34586 done
34587 done
34588 EOF
34589 chmod +x change-install-names
34590 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${libdir} \$(wx_top_builddir)/lib"
34591 fi
34592
34593 HEADER_PAD_OPTION="-headerpad_max_install_names"
34594 ;;
34595
34596 *-*-cygwin* | *-*-mingw32* )
34597 ;;
34598
34599 *-*-hpux* )
34600 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
34601 WXCONFIG_RPATH="-Wl,+b,\$libdir"
34602 ;;
34603
34604 esac
34605 fi
34606
34607 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
34608
34609 if test $wxUSE_RPATH = "no"; then
34610 SAMPLES_RPATH_FLAG=''
34611 DYLIB_PATH_POSTLINK=''
34612 WXCONFIG_RPATH=''
34613 fi
34614
34615 SHARED=1
34616
34617 else
34618
34619 config_linkage_component="-static"
34620 SHARED=0
34621
34622 fi
34623
34624
34625 UNICODE=0
34626 lib_unicode_suffix=
34627 WX_CHARTYPE="ansi"
34628 if test "$wxUSE_UNICODE" = "yes"; then
34629 lib_unicode_suffix=u
34630 WX_CHARTYPE="unicode"
34631 UNICODE=1
34632 fi
34633
34634 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
34635 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
34636
34637 DEBUG_INFO=0
34638 if test "$wxUSE_DEBUG_INFO" = "yes"; then
34639 DEBUG_INFO=1
34640 fi
34641
34642 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
34643
34644 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
34645
34646 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
34647
34648
34649 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
34650 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34651 else
34652 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34653 fi
34654 if test "${TOOLKIT_DIR}" = "os2"; then
34655 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34656 else
34657 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34658 fi
34659
34660
34661
34662 if test "$wxUSE_OLD_COCOA" = 1; then
34663
34664 ac_ext=c
34665 ac_cpp='$CPP $CPPFLAGS'
34666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34669
34670 ac_ext=m
34671
34672 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
34673 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
34674 cat >conftest.$ac_ext <<_ACEOF
34675 /* confdefs.h. */
34676 _ACEOF
34677 cat confdefs.h >>conftest.$ac_ext
34678 cat >>conftest.$ac_ext <<_ACEOF
34679 /* end confdefs.h. */
34680 #include <AppKit/NSEvent.h>
34681 #include <CoreFoundation/CoreFoundation.h>
34682
34683 int
34684 main ()
34685 {
34686
34687 ;
34688 return 0;
34689 }
34690 _ACEOF
34691 rm -f conftest.$ac_objext
34692 if { (ac_try="$ac_compile"
34693 case "(($ac_try" in
34694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34695 *) ac_try_echo=$ac_try;;
34696 esac
34697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34698 (eval "$ac_compile") 2>conftest.er1
34699 ac_status=$?
34700 grep -v '^ *+' conftest.er1 >conftest.err
34701 rm -f conftest.er1
34702 cat conftest.err >&5
34703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34704 (exit $ac_status); } && {
34705 test -z "$ac_c_werror_flag" ||
34706 test ! -s conftest.err
34707 } && test -s conftest.$ac_objext; then
34708 { echo "$as_me:$LINENO: result: no" >&5
34709 echo "${ECHO_T}no" >&6; }
34710 else
34711 echo "$as_me: failed program was:" >&5
34712 sed 's/^/| /' conftest.$ac_ext >&5
34713
34714 { echo "$as_me:$LINENO: result: yes" >&5
34715 echo "${ECHO_T}yes" >&6; }
34716 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34717 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
34718 cat >conftest.$ac_ext <<_ACEOF
34719 /* confdefs.h. */
34720 _ACEOF
34721 cat confdefs.h >>conftest.$ac_ext
34722 cat >>conftest.$ac_ext <<_ACEOF
34723 /* end confdefs.h. */
34724 #define __Point__ 1
34725 #include <AppKit/NSEvent.h>
34726 #include <CoreFoundation/CoreFoundation.h>
34727
34728 int
34729 main ()
34730 {
34731
34732 ;
34733 return 0;
34734 }
34735 _ACEOF
34736 rm -f conftest.$ac_objext
34737 if { (ac_try="$ac_compile"
34738 case "(($ac_try" in
34739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34740 *) ac_try_echo=$ac_try;;
34741 esac
34742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34743 (eval "$ac_compile") 2>conftest.er1
34744 ac_status=$?
34745 grep -v '^ *+' conftest.er1 >conftest.err
34746 rm -f conftest.er1
34747 cat conftest.err >&5
34748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34749 (exit $ac_status); } && {
34750 test -z "$ac_c_werror_flag" ||
34751 test ! -s conftest.err
34752 } && test -s conftest.$ac_objext; then
34753 { echo "$as_me:$LINENO: result: yes" >&5
34754 echo "${ECHO_T}yes" >&6; }
34755 cat >>confdefs.h <<\_ACEOF
34756 #define __Point__ 1
34757 _ACEOF
34758
34759
34760 else
34761 echo "$as_me: failed program was:" >&5
34762 sed 's/^/| /' conftest.$ac_ext >&5
34763
34764 { { echo "$as_me:$LINENO: error: no
34765 See \`config.log' for more details." >&5
34766 echo "$as_me: error: no
34767 See \`config.log' for more details." >&2;}
34768 { (exit 1); exit 1; }; }
34769
34770 fi
34771
34772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34773
34774 fi
34775
34776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34777 ac_ext=c
34778 ac_cpp='$CPP $CPPFLAGS'
34779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34782
34783 fi
34784
34785
34786 { echo "$as_me:$LINENO: checking for mode_t" >&5
34787 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
34788 if test "${ac_cv_type_mode_t+set}" = set; then
34789 echo $ECHO_N "(cached) $ECHO_C" >&6
34790 else
34791 cat >conftest.$ac_ext <<_ACEOF
34792 /* confdefs.h. */
34793 _ACEOF
34794 cat confdefs.h >>conftest.$ac_ext
34795 cat >>conftest.$ac_ext <<_ACEOF
34796 /* end confdefs.h. */
34797 $ac_includes_default
34798 typedef mode_t ac__type_new_;
34799 int
34800 main ()
34801 {
34802 if ((ac__type_new_ *) 0)
34803 return 0;
34804 if (sizeof (ac__type_new_))
34805 return 0;
34806 ;
34807 return 0;
34808 }
34809 _ACEOF
34810 rm -f conftest.$ac_objext
34811 if { (ac_try="$ac_compile"
34812 case "(($ac_try" in
34813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34814 *) ac_try_echo=$ac_try;;
34815 esac
34816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34817 (eval "$ac_compile") 2>conftest.er1
34818 ac_status=$?
34819 grep -v '^ *+' conftest.er1 >conftest.err
34820 rm -f conftest.er1
34821 cat conftest.err >&5
34822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34823 (exit $ac_status); } && {
34824 test -z "$ac_c_werror_flag" ||
34825 test ! -s conftest.err
34826 } && test -s conftest.$ac_objext; then
34827 ac_cv_type_mode_t=yes
34828 else
34829 echo "$as_me: failed program was:" >&5
34830 sed 's/^/| /' conftest.$ac_ext >&5
34831
34832 ac_cv_type_mode_t=no
34833 fi
34834
34835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34836 fi
34837 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34838 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
34839 if test $ac_cv_type_mode_t = yes; then
34840 :
34841 else
34842
34843 cat >>confdefs.h <<_ACEOF
34844 #define mode_t int
34845 _ACEOF
34846
34847 fi
34848
34849 { echo "$as_me:$LINENO: checking for off_t" >&5
34850 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
34851 if test "${ac_cv_type_off_t+set}" = set; then
34852 echo $ECHO_N "(cached) $ECHO_C" >&6
34853 else
34854 cat >conftest.$ac_ext <<_ACEOF
34855 /* confdefs.h. */
34856 _ACEOF
34857 cat confdefs.h >>conftest.$ac_ext
34858 cat >>conftest.$ac_ext <<_ACEOF
34859 /* end confdefs.h. */
34860 $ac_includes_default
34861 typedef off_t ac__type_new_;
34862 int
34863 main ()
34864 {
34865 if ((ac__type_new_ *) 0)
34866 return 0;
34867 if (sizeof (ac__type_new_))
34868 return 0;
34869 ;
34870 return 0;
34871 }
34872 _ACEOF
34873 rm -f conftest.$ac_objext
34874 if { (ac_try="$ac_compile"
34875 case "(($ac_try" in
34876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34877 *) ac_try_echo=$ac_try;;
34878 esac
34879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34880 (eval "$ac_compile") 2>conftest.er1
34881 ac_status=$?
34882 grep -v '^ *+' conftest.er1 >conftest.err
34883 rm -f conftest.er1
34884 cat conftest.err >&5
34885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34886 (exit $ac_status); } && {
34887 test -z "$ac_c_werror_flag" ||
34888 test ! -s conftest.err
34889 } && test -s conftest.$ac_objext; then
34890 ac_cv_type_off_t=yes
34891 else
34892 echo "$as_me: failed program was:" >&5
34893 sed 's/^/| /' conftest.$ac_ext >&5
34894
34895 ac_cv_type_off_t=no
34896 fi
34897
34898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34899 fi
34900 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34901 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
34902 if test $ac_cv_type_off_t = yes; then
34903 :
34904 else
34905
34906 cat >>confdefs.h <<_ACEOF
34907 #define off_t long int
34908 _ACEOF
34909
34910 fi
34911
34912 { echo "$as_me:$LINENO: checking for pid_t" >&5
34913 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
34914 if test "${ac_cv_type_pid_t+set}" = set; then
34915 echo $ECHO_N "(cached) $ECHO_C" >&6
34916 else
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 $ac_includes_default
34924 typedef pid_t ac__type_new_;
34925 int
34926 main ()
34927 {
34928 if ((ac__type_new_ *) 0)
34929 return 0;
34930 if (sizeof (ac__type_new_))
34931 return 0;
34932 ;
34933 return 0;
34934 }
34935 _ACEOF
34936 rm -f conftest.$ac_objext
34937 if { (ac_try="$ac_compile"
34938 case "(($ac_try" in
34939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34940 *) ac_try_echo=$ac_try;;
34941 esac
34942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34943 (eval "$ac_compile") 2>conftest.er1
34944 ac_status=$?
34945 grep -v '^ *+' conftest.er1 >conftest.err
34946 rm -f conftest.er1
34947 cat conftest.err >&5
34948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34949 (exit $ac_status); } && {
34950 test -z "$ac_c_werror_flag" ||
34951 test ! -s conftest.err
34952 } && test -s conftest.$ac_objext; then
34953 ac_cv_type_pid_t=yes
34954 else
34955 echo "$as_me: failed program was:" >&5
34956 sed 's/^/| /' conftest.$ac_ext >&5
34957
34958 ac_cv_type_pid_t=no
34959 fi
34960
34961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34962 fi
34963 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34964 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
34965 if test $ac_cv_type_pid_t = yes; then
34966 :
34967 else
34968
34969 cat >>confdefs.h <<_ACEOF
34970 #define pid_t int
34971 _ACEOF
34972
34973 fi
34974
34975 { echo "$as_me:$LINENO: checking for size_t" >&5
34976 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
34977 if test "${ac_cv_type_size_t+set}" = set; then
34978 echo $ECHO_N "(cached) $ECHO_C" >&6
34979 else
34980 cat >conftest.$ac_ext <<_ACEOF
34981 /* confdefs.h. */
34982 _ACEOF
34983 cat confdefs.h >>conftest.$ac_ext
34984 cat >>conftest.$ac_ext <<_ACEOF
34985 /* end confdefs.h. */
34986 $ac_includes_default
34987 typedef size_t ac__type_new_;
34988 int
34989 main ()
34990 {
34991 if ((ac__type_new_ *) 0)
34992 return 0;
34993 if (sizeof (ac__type_new_))
34994 return 0;
34995 ;
34996 return 0;
34997 }
34998 _ACEOF
34999 rm -f conftest.$ac_objext
35000 if { (ac_try="$ac_compile"
35001 case "(($ac_try" in
35002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35003 *) ac_try_echo=$ac_try;;
35004 esac
35005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35006 (eval "$ac_compile") 2>conftest.er1
35007 ac_status=$?
35008 grep -v '^ *+' conftest.er1 >conftest.err
35009 rm -f conftest.er1
35010 cat conftest.err >&5
35011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35012 (exit $ac_status); } && {
35013 test -z "$ac_c_werror_flag" ||
35014 test ! -s conftest.err
35015 } && test -s conftest.$ac_objext; then
35016 ac_cv_type_size_t=yes
35017 else
35018 echo "$as_me: failed program was:" >&5
35019 sed 's/^/| /' conftest.$ac_ext >&5
35020
35021 ac_cv_type_size_t=no
35022 fi
35023
35024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35025 fi
35026 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
35027 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
35028 if test $ac_cv_type_size_t = yes; then
35029 :
35030 else
35031
35032 cat >>confdefs.h <<_ACEOF
35033 #define size_t unsigned int
35034 _ACEOF
35035
35036 fi
35037
35038
35039 { echo "$as_me:$LINENO: checking for ssize_t" >&5
35040 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
35041 if test "${ac_cv_type_ssize_t+set}" = set; then
35042 echo $ECHO_N "(cached) $ECHO_C" >&6
35043 else
35044 cat >conftest.$ac_ext <<_ACEOF
35045 /* confdefs.h. */
35046 _ACEOF
35047 cat confdefs.h >>conftest.$ac_ext
35048 cat >>conftest.$ac_ext <<_ACEOF
35049 /* end confdefs.h. */
35050 $ac_includes_default
35051 typedef ssize_t ac__type_new_;
35052 int
35053 main ()
35054 {
35055 if ((ac__type_new_ *) 0)
35056 return 0;
35057 if (sizeof (ac__type_new_))
35058 return 0;
35059 ;
35060 return 0;
35061 }
35062 _ACEOF
35063 rm -f conftest.$ac_objext
35064 if { (ac_try="$ac_compile"
35065 case "(($ac_try" in
35066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35067 *) ac_try_echo=$ac_try;;
35068 esac
35069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35070 (eval "$ac_compile") 2>conftest.er1
35071 ac_status=$?
35072 grep -v '^ *+' conftest.er1 >conftest.err
35073 rm -f conftest.er1
35074 cat conftest.err >&5
35075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35076 (exit $ac_status); } && {
35077 test -z "$ac_c_werror_flag" ||
35078 test ! -s conftest.err
35079 } && test -s conftest.$ac_objext; then
35080 ac_cv_type_ssize_t=yes
35081 else
35082 echo "$as_me: failed program was:" >&5
35083 sed 's/^/| /' conftest.$ac_ext >&5
35084
35085 ac_cv_type_ssize_t=no
35086 fi
35087
35088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35089 fi
35090 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
35091 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
35092 if test $ac_cv_type_ssize_t = yes; then
35093
35094 cat >>confdefs.h <<_ACEOF
35095 #define HAVE_SSIZE_T 1
35096 _ACEOF
35097
35098
35099 fi
35100
35101
35102 ac_ext=cpp
35103 ac_cpp='$CXXCPP $CPPFLAGS'
35104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35107 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
35108 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
35109 if test "${wx_cv_size_t_is_uint+set}" = set; then
35110 echo $ECHO_N "(cached) $ECHO_C" >&6
35111 else
35112
35113 cat >conftest.$ac_ext <<_ACEOF
35114 /* confdefs.h. */
35115 _ACEOF
35116 cat confdefs.h >>conftest.$ac_ext
35117 cat >>conftest.$ac_ext <<_ACEOF
35118 /* end confdefs.h. */
35119 #include <stddef.h>
35120 int
35121 main ()
35122 {
35123
35124 return 0; }
35125
35126 struct Foo { void foo(size_t); void foo(unsigned int); };
35127
35128 int bar() {
35129
35130 ;
35131 return 0;
35132 }
35133 _ACEOF
35134 rm -f conftest.$ac_objext
35135 if { (ac_try="$ac_compile"
35136 case "(($ac_try" in
35137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35138 *) ac_try_echo=$ac_try;;
35139 esac
35140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35141 (eval "$ac_compile") 2>conftest.er1
35142 ac_status=$?
35143 grep -v '^ *+' conftest.er1 >conftest.err
35144 rm -f conftest.er1
35145 cat conftest.err >&5
35146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35147 (exit $ac_status); } && {
35148 test -z "$ac_cxx_werror_flag" ||
35149 test ! -s conftest.err
35150 } && test -s conftest.$ac_objext; then
35151 wx_cv_size_t_is_uint=no
35152 else
35153 echo "$as_me: failed program was:" >&5
35154 sed 's/^/| /' conftest.$ac_ext >&5
35155
35156 wx_cv_size_t_is_uint=yes
35157
35158 fi
35159
35160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35161
35162
35163 fi
35164 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
35165 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
35166
35167 if test "$wx_cv_size_t_is_uint" = "yes"; then
35168 cat >>confdefs.h <<\_ACEOF
35169 #define wxSIZE_T_IS_UINT 1
35170 _ACEOF
35171
35172 else
35173 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
35174 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
35175 if test "${wx_cv_size_t_is_ulong+set}" = set; then
35176 echo $ECHO_N "(cached) $ECHO_C" >&6
35177 else
35178 cat >conftest.$ac_ext <<_ACEOF
35179 /* confdefs.h. */
35180 _ACEOF
35181 cat confdefs.h >>conftest.$ac_ext
35182 cat >>conftest.$ac_ext <<_ACEOF
35183 /* end confdefs.h. */
35184 #include <stddef.h>
35185 int
35186 main ()
35187 {
35188
35189 return 0; }
35190
35191 struct Foo { void foo(size_t); void foo(unsigned long); };
35192
35193 int bar() {
35194
35195 ;
35196 return 0;
35197 }
35198 _ACEOF
35199 rm -f conftest.$ac_objext
35200 if { (ac_try="$ac_compile"
35201 case "(($ac_try" in
35202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35203 *) ac_try_echo=$ac_try;;
35204 esac
35205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35206 (eval "$ac_compile") 2>conftest.er1
35207 ac_status=$?
35208 grep -v '^ *+' conftest.er1 >conftest.err
35209 rm -f conftest.er1
35210 cat conftest.err >&5
35211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35212 (exit $ac_status); } && {
35213 test -z "$ac_cxx_werror_flag" ||
35214 test ! -s conftest.err
35215 } && test -s conftest.$ac_objext; then
35216 wx_cv_size_t_is_ulong=no
35217 else
35218 echo "$as_me: failed program was:" >&5
35219 sed 's/^/| /' conftest.$ac_ext >&5
35220
35221 wx_cv_size_t_is_ulong=yes
35222
35223 fi
35224
35225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35226
35227 fi
35228 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
35229 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
35230
35231 if test "$wx_cv_size_t_is_ulong" = "yes"; then
35232 cat >>confdefs.h <<\_ACEOF
35233 #define wxSIZE_T_IS_ULONG 1
35234 _ACEOF
35235
35236 fi
35237 fi
35238
35239 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
35240 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
35241 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
35242 echo $ECHO_N "(cached) $ECHO_C" >&6
35243 else
35244 cat >conftest.$ac_ext <<_ACEOF
35245 /* confdefs.h. */
35246 _ACEOF
35247 cat confdefs.h >>conftest.$ac_ext
35248 cat >>conftest.$ac_ext <<_ACEOF
35249 /* end confdefs.h. */
35250 #include <wchar.h>
35251 int
35252 main ()
35253 {
35254
35255 return 0; }
35256
35257 struct Foo { void foo(wchar_t);
35258 void foo(unsigned short);
35259 void foo(unsigned int);
35260 void foo(unsigned long); };
35261
35262 int bar() {
35263
35264 ;
35265 return 0;
35266 }
35267 _ACEOF
35268 rm -f conftest.$ac_objext
35269 if { (ac_try="$ac_compile"
35270 case "(($ac_try" in
35271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35272 *) ac_try_echo=$ac_try;;
35273 esac
35274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35275 (eval "$ac_compile") 2>conftest.er1
35276 ac_status=$?
35277 grep -v '^ *+' conftest.er1 >conftest.err
35278 rm -f conftest.er1
35279 cat conftest.err >&5
35280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35281 (exit $ac_status); } && {
35282 test -z "$ac_cxx_werror_flag" ||
35283 test ! -s conftest.err
35284 } && test -s conftest.$ac_objext; then
35285 wx_cv_wchar_t_is_separate_type=yes
35286 else
35287 echo "$as_me: failed program was:" >&5
35288 sed 's/^/| /' conftest.$ac_ext >&5
35289
35290 wx_cv_wchar_t_is_separate_type=no
35291
35292 fi
35293
35294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35295
35296 fi
35297 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
35298 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
35299
35300 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
35301 cat >>confdefs.h <<\_ACEOF
35302 #define wxWCHAR_T_IS_REAL_TYPE 1
35303 _ACEOF
35304
35305 else
35306 cat >>confdefs.h <<\_ACEOF
35307 #define wxWCHAR_T_IS_REAL_TYPE 0
35308 _ACEOF
35309
35310 fi
35311
35312 ac_ext=c
35313 ac_cpp='$CPP $CPPFLAGS'
35314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35317
35318
35319 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
35320 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
35321 if test "${wx_cv_struct_pw_gecos+set}" = set; then
35322 echo $ECHO_N "(cached) $ECHO_C" >&6
35323 else
35324
35325 cat >conftest.$ac_ext <<_ACEOF
35326 /* confdefs.h. */
35327 _ACEOF
35328 cat confdefs.h >>conftest.$ac_ext
35329 cat >>conftest.$ac_ext <<_ACEOF
35330 /* end confdefs.h. */
35331 #include <pwd.h>
35332 int
35333 main ()
35334 {
35335
35336 char *p;
35337 struct passwd *pw;
35338 p = pw->pw_gecos;
35339
35340 ;
35341 return 0;
35342 }
35343 _ACEOF
35344 rm -f conftest.$ac_objext
35345 if { (ac_try="$ac_compile"
35346 case "(($ac_try" in
35347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35348 *) ac_try_echo=$ac_try;;
35349 esac
35350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35351 (eval "$ac_compile") 2>conftest.er1
35352 ac_status=$?
35353 grep -v '^ *+' conftest.er1 >conftest.err
35354 rm -f conftest.er1
35355 cat conftest.err >&5
35356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35357 (exit $ac_status); } && {
35358 test -z "$ac_c_werror_flag" ||
35359 test ! -s conftest.err
35360 } && test -s conftest.$ac_objext; then
35361
35362 wx_cv_struct_pw_gecos=yes
35363
35364 else
35365 echo "$as_me: failed program was:" >&5
35366 sed 's/^/| /' conftest.$ac_ext >&5
35367
35368
35369 wx_cv_struct_pw_gecos=no
35370
35371
35372 fi
35373
35374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35375
35376
35377 fi
35378 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
35379 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
35380
35381 if test "$wx_cv_struct_pw_gecos" = "yes"; then
35382 cat >>confdefs.h <<\_ACEOF
35383 #define HAVE_PW_GECOS 1
35384 _ACEOF
35385
35386 fi
35387
35388
35389 if test "$wxUSE_WCHAR_T" = "yes"; then
35390 cat >>confdefs.h <<\_ACEOF
35391 #define wxUSE_WCHAR_T 1
35392 _ACEOF
35393
35394
35395 WCSLEN_FOUND=0
35396 WCHAR_LINK=
35397
35398 for ac_func in wcslen
35399 do
35400 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35401 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35402 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35403 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35404 echo $ECHO_N "(cached) $ECHO_C" >&6
35405 else
35406 cat >conftest.$ac_ext <<_ACEOF
35407 /* confdefs.h. */
35408 _ACEOF
35409 cat confdefs.h >>conftest.$ac_ext
35410 cat >>conftest.$ac_ext <<_ACEOF
35411 /* end confdefs.h. */
35412 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35413 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35414 #define $ac_func innocuous_$ac_func
35415
35416 /* System header to define __stub macros and hopefully few prototypes,
35417 which can conflict with char $ac_func (); below.
35418 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35419 <limits.h> exists even on freestanding compilers. */
35420
35421 #ifdef __STDC__
35422 # include <limits.h>
35423 #else
35424 # include <assert.h>
35425 #endif
35426
35427 #undef $ac_func
35428
35429 /* Override any GCC internal prototype to avoid an error.
35430 Use char because int might match the return type of a GCC
35431 builtin and then its argument prototype would still apply. */
35432 #ifdef __cplusplus
35433 extern "C"
35434 #endif
35435 char $ac_func ();
35436 /* The GNU C library defines this for functions which it implements
35437 to always fail with ENOSYS. Some functions are actually named
35438 something starting with __ and the normal name is an alias. */
35439 #if defined __stub_$ac_func || defined __stub___$ac_func
35440 choke me
35441 #endif
35442
35443 int
35444 main ()
35445 {
35446 return $ac_func ();
35447 ;
35448 return 0;
35449 }
35450 _ACEOF
35451 rm -f conftest.$ac_objext conftest$ac_exeext
35452 if { (ac_try="$ac_link"
35453 case "(($ac_try" in
35454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35455 *) ac_try_echo=$ac_try;;
35456 esac
35457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35458 (eval "$ac_link") 2>conftest.er1
35459 ac_status=$?
35460 grep -v '^ *+' conftest.er1 >conftest.err
35461 rm -f conftest.er1
35462 cat conftest.err >&5
35463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35464 (exit $ac_status); } && {
35465 test -z "$ac_c_werror_flag" ||
35466 test ! -s conftest.err
35467 } && test -s conftest$ac_exeext &&
35468 $as_test_x conftest$ac_exeext; then
35469 eval "$as_ac_var=yes"
35470 else
35471 echo "$as_me: failed program was:" >&5
35472 sed 's/^/| /' conftest.$ac_ext >&5
35473
35474 eval "$as_ac_var=no"
35475 fi
35476
35477 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35478 conftest$ac_exeext conftest.$ac_ext
35479 fi
35480 ac_res=`eval echo '${'$as_ac_var'}'`
35481 { echo "$as_me:$LINENO: result: $ac_res" >&5
35482 echo "${ECHO_T}$ac_res" >&6; }
35483 if test `eval echo '${'$as_ac_var'}'` = yes; then
35484 cat >>confdefs.h <<_ACEOF
35485 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35486 _ACEOF
35487 WCSLEN_FOUND=1
35488 fi
35489 done
35490
35491
35492 if test "$WCSLEN_FOUND" = 0; then
35493 if test "$TOOLKIT" = "MSW"; then
35494 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
35495 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
35496 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
35497 echo $ECHO_N "(cached) $ECHO_C" >&6
35498 else
35499 ac_check_lib_save_LIBS=$LIBS
35500 LIBS="-lmsvcrt $LIBS"
35501 cat >conftest.$ac_ext <<_ACEOF
35502 /* confdefs.h. */
35503 _ACEOF
35504 cat confdefs.h >>conftest.$ac_ext
35505 cat >>conftest.$ac_ext <<_ACEOF
35506 /* end confdefs.h. */
35507
35508 /* Override any GCC internal prototype to avoid an error.
35509 Use char because int might match the return type of a GCC
35510 builtin and then its argument prototype would still apply. */
35511 #ifdef __cplusplus
35512 extern "C"
35513 #endif
35514 char wcslen ();
35515 int
35516 main ()
35517 {
35518 return wcslen ();
35519 ;
35520 return 0;
35521 }
35522 _ACEOF
35523 rm -f conftest.$ac_objext conftest$ac_exeext
35524 if { (ac_try="$ac_link"
35525 case "(($ac_try" in
35526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35527 *) ac_try_echo=$ac_try;;
35528 esac
35529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35530 (eval "$ac_link") 2>conftest.er1
35531 ac_status=$?
35532 grep -v '^ *+' conftest.er1 >conftest.err
35533 rm -f conftest.er1
35534 cat conftest.err >&5
35535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35536 (exit $ac_status); } && {
35537 test -z "$ac_c_werror_flag" ||
35538 test ! -s conftest.err
35539 } && test -s conftest$ac_exeext &&
35540 $as_test_x conftest$ac_exeext; then
35541 ac_cv_lib_msvcrt_wcslen=yes
35542 else
35543 echo "$as_me: failed program was:" >&5
35544 sed 's/^/| /' conftest.$ac_ext >&5
35545
35546 ac_cv_lib_msvcrt_wcslen=no
35547 fi
35548
35549 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35550 conftest$ac_exeext conftest.$ac_ext
35551 LIBS=$ac_check_lib_save_LIBS
35552 fi
35553 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
35554 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
35555 if test $ac_cv_lib_msvcrt_wcslen = yes; then
35556 WCHAR_OK=1
35557 fi
35558
35559 else
35560 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
35561 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
35562 if test "${ac_cv_lib_w_wcslen+set}" = set; then
35563 echo $ECHO_N "(cached) $ECHO_C" >&6
35564 else
35565 ac_check_lib_save_LIBS=$LIBS
35566 LIBS="-lw $LIBS"
35567 cat >conftest.$ac_ext <<_ACEOF
35568 /* confdefs.h. */
35569 _ACEOF
35570 cat confdefs.h >>conftest.$ac_ext
35571 cat >>conftest.$ac_ext <<_ACEOF
35572 /* end confdefs.h. */
35573
35574 /* Override any GCC internal prototype to avoid an error.
35575 Use char because int might match the return type of a GCC
35576 builtin and then its argument prototype would still apply. */
35577 #ifdef __cplusplus
35578 extern "C"
35579 #endif
35580 char wcslen ();
35581 int
35582 main ()
35583 {
35584 return wcslen ();
35585 ;
35586 return 0;
35587 }
35588 _ACEOF
35589 rm -f conftest.$ac_objext conftest$ac_exeext
35590 if { (ac_try="$ac_link"
35591 case "(($ac_try" in
35592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35593 *) ac_try_echo=$ac_try;;
35594 esac
35595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35596 (eval "$ac_link") 2>conftest.er1
35597 ac_status=$?
35598 grep -v '^ *+' conftest.er1 >conftest.err
35599 rm -f conftest.er1
35600 cat conftest.err >&5
35601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35602 (exit $ac_status); } && {
35603 test -z "$ac_c_werror_flag" ||
35604 test ! -s conftest.err
35605 } && test -s conftest$ac_exeext &&
35606 $as_test_x conftest$ac_exeext; then
35607 ac_cv_lib_w_wcslen=yes
35608 else
35609 echo "$as_me: failed program was:" >&5
35610 sed 's/^/| /' conftest.$ac_ext >&5
35611
35612 ac_cv_lib_w_wcslen=no
35613 fi
35614
35615 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35616 conftest$ac_exeext conftest.$ac_ext
35617 LIBS=$ac_check_lib_save_LIBS
35618 fi
35619 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
35620 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
35621 if test $ac_cv_lib_w_wcslen = yes; then
35622
35623 WCHAR_LINK=" -lw"
35624 WCSLEN_FOUND=1
35625
35626 fi
35627
35628 fi
35629 fi
35630
35631 if test "$WCSLEN_FOUND" = 1; then
35632 cat >>confdefs.h <<\_ACEOF
35633 #define HAVE_WCSLEN 1
35634 _ACEOF
35635
35636 fi
35637
35638
35639
35640
35641
35642
35643 for ac_func in wcsdup strnlen wcsnlen wcscasecmp wcsncasecmp
35644 do
35645 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35646 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35647 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35648 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35649 echo $ECHO_N "(cached) $ECHO_C" >&6
35650 else
35651 cat >conftest.$ac_ext <<_ACEOF
35652 /* confdefs.h. */
35653 _ACEOF
35654 cat confdefs.h >>conftest.$ac_ext
35655 cat >>conftest.$ac_ext <<_ACEOF
35656 /* end confdefs.h. */
35657 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35658 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35659 #define $ac_func innocuous_$ac_func
35660
35661 /* System header to define __stub macros and hopefully few prototypes,
35662 which can conflict with char $ac_func (); below.
35663 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35664 <limits.h> exists even on freestanding compilers. */
35665
35666 #ifdef __STDC__
35667 # include <limits.h>
35668 #else
35669 # include <assert.h>
35670 #endif
35671
35672 #undef $ac_func
35673
35674 /* Override any GCC internal prototype to avoid an error.
35675 Use char because int might match the return type of a GCC
35676 builtin and then its argument prototype would still apply. */
35677 #ifdef __cplusplus
35678 extern "C"
35679 #endif
35680 char $ac_func ();
35681 /* The GNU C library defines this for functions which it implements
35682 to always fail with ENOSYS. Some functions are actually named
35683 something starting with __ and the normal name is an alias. */
35684 #if defined __stub_$ac_func || defined __stub___$ac_func
35685 choke me
35686 #endif
35687
35688 int
35689 main ()
35690 {
35691 return $ac_func ();
35692 ;
35693 return 0;
35694 }
35695 _ACEOF
35696 rm -f conftest.$ac_objext conftest$ac_exeext
35697 if { (ac_try="$ac_link"
35698 case "(($ac_try" in
35699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35700 *) ac_try_echo=$ac_try;;
35701 esac
35702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35703 (eval "$ac_link") 2>conftest.er1
35704 ac_status=$?
35705 grep -v '^ *+' conftest.er1 >conftest.err
35706 rm -f conftest.er1
35707 cat conftest.err >&5
35708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35709 (exit $ac_status); } && {
35710 test -z "$ac_c_werror_flag" ||
35711 test ! -s conftest.err
35712 } && test -s conftest$ac_exeext &&
35713 $as_test_x conftest$ac_exeext; then
35714 eval "$as_ac_var=yes"
35715 else
35716 echo "$as_me: failed program was:" >&5
35717 sed 's/^/| /' conftest.$ac_ext >&5
35718
35719 eval "$as_ac_var=no"
35720 fi
35721
35722 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35723 conftest$ac_exeext conftest.$ac_ext
35724 fi
35725 ac_res=`eval echo '${'$as_ac_var'}'`
35726 { echo "$as_me:$LINENO: result: $ac_res" >&5
35727 echo "${ECHO_T}$ac_res" >&6; }
35728 if test `eval echo '${'$as_ac_var'}'` = yes; then
35729 cat >>confdefs.h <<_ACEOF
35730 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35731 _ACEOF
35732
35733 fi
35734 done
35735
35736
35737 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35738 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35739 fi
35740
35741 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
35742 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
35743 if test "${ac_cv_type_mbstate_t+set}" = set; then
35744 echo $ECHO_N "(cached) $ECHO_C" >&6
35745 else
35746 cat >conftest.$ac_ext <<_ACEOF
35747 /* confdefs.h. */
35748 _ACEOF
35749 cat confdefs.h >>conftest.$ac_ext
35750 cat >>conftest.$ac_ext <<_ACEOF
35751 /* end confdefs.h. */
35752 #include <wchar.h>
35753
35754 typedef mbstate_t ac__type_new_;
35755 int
35756 main ()
35757 {
35758 if ((ac__type_new_ *) 0)
35759 return 0;
35760 if (sizeof (ac__type_new_))
35761 return 0;
35762 ;
35763 return 0;
35764 }
35765 _ACEOF
35766 rm -f conftest.$ac_objext
35767 if { (ac_try="$ac_compile"
35768 case "(($ac_try" in
35769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35770 *) ac_try_echo=$ac_try;;
35771 esac
35772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35773 (eval "$ac_compile") 2>conftest.er1
35774 ac_status=$?
35775 grep -v '^ *+' conftest.er1 >conftest.err
35776 rm -f conftest.er1
35777 cat conftest.err >&5
35778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35779 (exit $ac_status); } && {
35780 test -z "$ac_c_werror_flag" ||
35781 test ! -s conftest.err
35782 } && test -s conftest.$ac_objext; then
35783 ac_cv_type_mbstate_t=yes
35784 else
35785 echo "$as_me: failed program was:" >&5
35786 sed 's/^/| /' conftest.$ac_ext >&5
35787
35788 ac_cv_type_mbstate_t=no
35789 fi
35790
35791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35792 fi
35793 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35794 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
35795 if test $ac_cv_type_mbstate_t = yes; then
35796
35797 cat >>confdefs.h <<_ACEOF
35798 #define HAVE_MBSTATE_T 1
35799 _ACEOF
35800
35801
35802 for ac_func in wcsrtombs
35803 do
35804 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35805 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35806 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35807 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35808 echo $ECHO_N "(cached) $ECHO_C" >&6
35809 else
35810 cat >conftest.$ac_ext <<_ACEOF
35811 /* confdefs.h. */
35812 _ACEOF
35813 cat confdefs.h >>conftest.$ac_ext
35814 cat >>conftest.$ac_ext <<_ACEOF
35815 /* end confdefs.h. */
35816 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35817 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35818 #define $ac_func innocuous_$ac_func
35819
35820 /* System header to define __stub macros and hopefully few prototypes,
35821 which can conflict with char $ac_func (); below.
35822 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35823 <limits.h> exists even on freestanding compilers. */
35824
35825 #ifdef __STDC__
35826 # include <limits.h>
35827 #else
35828 # include <assert.h>
35829 #endif
35830
35831 #undef $ac_func
35832
35833 /* Override any GCC internal prototype to avoid an error.
35834 Use char because int might match the return type of a GCC
35835 builtin and then its argument prototype would still apply. */
35836 #ifdef __cplusplus
35837 extern "C"
35838 #endif
35839 char $ac_func ();
35840 /* The GNU C library defines this for functions which it implements
35841 to always fail with ENOSYS. Some functions are actually named
35842 something starting with __ and the normal name is an alias. */
35843 #if defined __stub_$ac_func || defined __stub___$ac_func
35844 choke me
35845 #endif
35846
35847 int
35848 main ()
35849 {
35850 return $ac_func ();
35851 ;
35852 return 0;
35853 }
35854 _ACEOF
35855 rm -f conftest.$ac_objext conftest$ac_exeext
35856 if { (ac_try="$ac_link"
35857 case "(($ac_try" in
35858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35859 *) ac_try_echo=$ac_try;;
35860 esac
35861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35862 (eval "$ac_link") 2>conftest.er1
35863 ac_status=$?
35864 grep -v '^ *+' conftest.er1 >conftest.err
35865 rm -f conftest.er1
35866 cat conftest.err >&5
35867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35868 (exit $ac_status); } && {
35869 test -z "$ac_c_werror_flag" ||
35870 test ! -s conftest.err
35871 } && test -s conftest$ac_exeext &&
35872 $as_test_x conftest$ac_exeext; then
35873 eval "$as_ac_var=yes"
35874 else
35875 echo "$as_me: failed program was:" >&5
35876 sed 's/^/| /' conftest.$ac_ext >&5
35877
35878 eval "$as_ac_var=no"
35879 fi
35880
35881 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35882 conftest$ac_exeext conftest.$ac_ext
35883 fi
35884 ac_res=`eval echo '${'$as_ac_var'}'`
35885 { echo "$as_me:$LINENO: result: $ac_res" >&5
35886 echo "${ECHO_T}$ac_res" >&6; }
35887 if test `eval echo '${'$as_ac_var'}'` = yes; then
35888 cat >>confdefs.h <<_ACEOF
35889 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35890 _ACEOF
35891
35892 fi
35893 done
35894
35895 fi
35896
35897 else
35898 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35899 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35900 fi
35901
35902
35903
35904
35905 for ac_func in snprintf vsnprintf vsscanf
35906 do
35907 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35908 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35909 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35910 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35911 echo $ECHO_N "(cached) $ECHO_C" >&6
35912 else
35913 cat >conftest.$ac_ext <<_ACEOF
35914 /* confdefs.h. */
35915 _ACEOF
35916 cat confdefs.h >>conftest.$ac_ext
35917 cat >>conftest.$ac_ext <<_ACEOF
35918 /* end confdefs.h. */
35919 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35920 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35921 #define $ac_func innocuous_$ac_func
35922
35923 /* System header to define __stub macros and hopefully few prototypes,
35924 which can conflict with char $ac_func (); below.
35925 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35926 <limits.h> exists even on freestanding compilers. */
35927
35928 #ifdef __STDC__
35929 # include <limits.h>
35930 #else
35931 # include <assert.h>
35932 #endif
35933
35934 #undef $ac_func
35935
35936 /* Override any GCC internal prototype to avoid an error.
35937 Use char because int might match the return type of a GCC
35938 builtin and then its argument prototype would still apply. */
35939 #ifdef __cplusplus
35940 extern "C"
35941 #endif
35942 char $ac_func ();
35943 /* The GNU C library defines this for functions which it implements
35944 to always fail with ENOSYS. Some functions are actually named
35945 something starting with __ and the normal name is an alias. */
35946 #if defined __stub_$ac_func || defined __stub___$ac_func
35947 choke me
35948 #endif
35949
35950 int
35951 main ()
35952 {
35953 return $ac_func ();
35954 ;
35955 return 0;
35956 }
35957 _ACEOF
35958 rm -f conftest.$ac_objext conftest$ac_exeext
35959 if { (ac_try="$ac_link"
35960 case "(($ac_try" in
35961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35962 *) ac_try_echo=$ac_try;;
35963 esac
35964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35965 (eval "$ac_link") 2>conftest.er1
35966 ac_status=$?
35967 grep -v '^ *+' conftest.er1 >conftest.err
35968 rm -f conftest.er1
35969 cat conftest.err >&5
35970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35971 (exit $ac_status); } && {
35972 test -z "$ac_c_werror_flag" ||
35973 test ! -s conftest.err
35974 } && test -s conftest$ac_exeext &&
35975 $as_test_x conftest$ac_exeext; then
35976 eval "$as_ac_var=yes"
35977 else
35978 echo "$as_me: failed program was:" >&5
35979 sed 's/^/| /' conftest.$ac_ext >&5
35980
35981 eval "$as_ac_var=no"
35982 fi
35983
35984 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35985 conftest$ac_exeext conftest.$ac_ext
35986 fi
35987 ac_res=`eval echo '${'$as_ac_var'}'`
35988 { echo "$as_me:$LINENO: result: $ac_res" >&5
35989 echo "${ECHO_T}$ac_res" >&6; }
35990 if test `eval echo '${'$as_ac_var'}'` = yes; then
35991 cat >>confdefs.h <<_ACEOF
35992 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35993 _ACEOF
35994
35995 fi
35996 done
35997
35998
35999 ac_ext=cpp
36000 ac_cpp='$CXXCPP $CPPFLAGS'
36001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36004
36005 if test "$ac_cv_func_vsnprintf" = "yes"; then
36006 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
36007 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
36008 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
36009 echo $ECHO_N "(cached) $ECHO_C" >&6
36010 else
36011
36012 cat >conftest.$ac_ext <<_ACEOF
36013 /* confdefs.h. */
36014 _ACEOF
36015 cat confdefs.h >>conftest.$ac_ext
36016 cat >>conftest.$ac_ext <<_ACEOF
36017 /* end confdefs.h. */
36018
36019 #include <stdio.h>
36020 #include <stdarg.h>
36021 #ifdef __MSL__
36022 #if __MSL__ >= 0x6000
36023 namespace std {}
36024 using namespace std;
36025 #endif
36026 #endif
36027
36028 int
36029 main ()
36030 {
36031
36032 char *buf;
36033 va_list ap;
36034 vsnprintf(buf, 10u, "%s", ap);
36035
36036 ;
36037 return 0;
36038 }
36039 _ACEOF
36040 rm -f conftest.$ac_objext
36041 if { (ac_try="$ac_compile"
36042 case "(($ac_try" in
36043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36044 *) ac_try_echo=$ac_try;;
36045 esac
36046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36047 (eval "$ac_compile") 2>conftest.er1
36048 ac_status=$?
36049 grep -v '^ *+' conftest.er1 >conftest.err
36050 rm -f conftest.er1
36051 cat conftest.err >&5
36052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36053 (exit $ac_status); } && {
36054 test -z "$ac_cxx_werror_flag" ||
36055 test ! -s conftest.err
36056 } && test -s conftest.$ac_objext; then
36057 wx_cv_func_vsnprintf_decl=yes
36058 else
36059 echo "$as_me: failed program was:" >&5
36060 sed 's/^/| /' conftest.$ac_ext >&5
36061
36062 wx_cv_func_vsnprintf_decl=no
36063
36064 fi
36065
36066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36067
36068
36069 fi
36070 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
36071 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
36072
36073 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
36074 cat >>confdefs.h <<\_ACEOF
36075 #define HAVE_VSNPRINTF_DECL 1
36076 _ACEOF
36077
36078
36079 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
36080 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
36081 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
36082 echo $ECHO_N "(cached) $ECHO_C" >&6
36083 else
36084
36085 cat >conftest.$ac_ext <<_ACEOF
36086 /* confdefs.h. */
36087 _ACEOF
36088 cat confdefs.h >>conftest.$ac_ext
36089 cat >>conftest.$ac_ext <<_ACEOF
36090 /* end confdefs.h. */
36091
36092 #include <stdio.h>
36093 #include <stdarg.h>
36094 #ifdef __MSL__
36095 #if __MSL__ >= 0x6000
36096 namespace std {}
36097 using namespace std;
36098 #endif
36099 #endif
36100
36101 int
36102 main ()
36103 {
36104
36105 char *buf;
36106 va_list ap;
36107 const char *fmt = "%s";
36108 vsnprintf(buf, 10u, fmt, ap);
36109
36110 ;
36111 return 0;
36112 }
36113 _ACEOF
36114 rm -f conftest.$ac_objext
36115 if { (ac_try="$ac_compile"
36116 case "(($ac_try" in
36117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36118 *) ac_try_echo=$ac_try;;
36119 esac
36120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36121 (eval "$ac_compile") 2>conftest.er1
36122 ac_status=$?
36123 grep -v '^ *+' conftest.er1 >conftest.err
36124 rm -f conftest.er1
36125 cat conftest.err >&5
36126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36127 (exit $ac_status); } && {
36128 test -z "$ac_cxx_werror_flag" ||
36129 test ! -s conftest.err
36130 } && test -s conftest.$ac_objext; then
36131 wx_cv_func_broken_vsnprintf_decl=no
36132 else
36133 echo "$as_me: failed program was:" >&5
36134 sed 's/^/| /' conftest.$ac_ext >&5
36135
36136 wx_cv_func_broken_vsnprintf_decl=yes
36137
36138 fi
36139
36140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36141
36142
36143 fi
36144 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
36145 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
36146
36147 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
36148 cat >>confdefs.h <<\_ACEOF
36149 #define HAVE_BROKEN_VSNPRINTF_DECL 1
36150 _ACEOF
36151
36152 fi
36153 fi
36154 fi
36155
36156 if test "$ac_cv_func_snprintf" = "yes"; then
36157 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
36158 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
36159 if test "${wx_cv_func_snprintf_decl+set}" = set; then
36160 echo $ECHO_N "(cached) $ECHO_C" >&6
36161 else
36162
36163 cat >conftest.$ac_ext <<_ACEOF
36164 /* confdefs.h. */
36165 _ACEOF
36166 cat confdefs.h >>conftest.$ac_ext
36167 cat >>conftest.$ac_ext <<_ACEOF
36168 /* end confdefs.h. */
36169
36170 #include <stdio.h>
36171 #include <stdarg.h>
36172 #ifdef __MSL__
36173 #if __MSL__ >= 0x6000
36174 namespace std {}
36175 using namespace std;
36176 #endif
36177 #endif
36178
36179 int
36180 main ()
36181 {
36182
36183 char *buf;
36184 snprintf(buf, 10u, "%s", "wx");
36185
36186 ;
36187 return 0;
36188 }
36189 _ACEOF
36190 rm -f conftest.$ac_objext
36191 if { (ac_try="$ac_compile"
36192 case "(($ac_try" in
36193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36194 *) ac_try_echo=$ac_try;;
36195 esac
36196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36197 (eval "$ac_compile") 2>conftest.er1
36198 ac_status=$?
36199 grep -v '^ *+' conftest.er1 >conftest.err
36200 rm -f conftest.er1
36201 cat conftest.err >&5
36202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36203 (exit $ac_status); } && {
36204 test -z "$ac_cxx_werror_flag" ||
36205 test ! -s conftest.err
36206 } && test -s conftest.$ac_objext; then
36207 wx_cv_func_snprintf_decl=yes
36208 else
36209 echo "$as_me: failed program was:" >&5
36210 sed 's/^/| /' conftest.$ac_ext >&5
36211
36212 wx_cv_func_snprintf_decl=no
36213
36214 fi
36215
36216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36217
36218
36219 fi
36220 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
36221 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
36222
36223 if test "$wx_cv_func_snprintf_decl" = "yes"; then
36224 cat >>confdefs.h <<\_ACEOF
36225 #define HAVE_SNPRINTF_DECL 1
36226 _ACEOF
36227
36228 fi
36229
36230 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
36231
36232 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
36233 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
36234 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
36235 echo $ECHO_N "(cached) $ECHO_C" >&6
36236 else
36237
36238 if test "$cross_compiling" = yes; then
36239
36240 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
36241 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
36242 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
36243 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
36244 wx_cv_func_snprintf_pos_params=no
36245
36246
36247 else
36248 cat >conftest.$ac_ext <<_ACEOF
36249 /* confdefs.h. */
36250 _ACEOF
36251 cat confdefs.h >>conftest.$ac_ext
36252 cat >>conftest.$ac_ext <<_ACEOF
36253 /* end confdefs.h. */
36254
36255 #include <stdio.h>
36256
36257 int main (void)
36258 {
36259 char buffer[128];
36260 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
36261 if (strcmp ("2 3 1", buffer) == 0)
36262 exit (0);
36263 exit (1);
36264 }
36265
36266 _ACEOF
36267 rm -f conftest$ac_exeext
36268 if { (ac_try="$ac_link"
36269 case "(($ac_try" in
36270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36271 *) ac_try_echo=$ac_try;;
36272 esac
36273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36274 (eval "$ac_link") 2>&5
36275 ac_status=$?
36276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36277 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
36278 { (case "(($ac_try" in
36279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36280 *) ac_try_echo=$ac_try;;
36281 esac
36282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36283 (eval "$ac_try") 2>&5
36284 ac_status=$?
36285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36286 (exit $ac_status); }; }; then
36287 wx_cv_func_snprintf_pos_params=no
36288 else
36289 echo "$as_me: program exited with status $ac_status" >&5
36290 echo "$as_me: failed program was:" >&5
36291 sed 's/^/| /' conftest.$ac_ext >&5
36292
36293 ( exit $ac_status )
36294 wx_cv_func_snprintf_pos_params=yes
36295 fi
36296 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
36297 fi
36298
36299
36300
36301
36302 fi
36303 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
36304 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
36305
36306 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
36307 cat >>confdefs.h <<\_ACEOF
36308 #define HAVE_UNIX98_PRINTF 1
36309 _ACEOF
36310
36311 fi
36312 fi
36313 fi
36314
36315 if test "$ac_cv_func_vsscanf" = "yes"; then
36316 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
36317 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
36318 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
36319 echo $ECHO_N "(cached) $ECHO_C" >&6
36320 else
36321
36322 cat >conftest.$ac_ext <<_ACEOF
36323 /* confdefs.h. */
36324 _ACEOF
36325 cat confdefs.h >>conftest.$ac_ext
36326 cat >>conftest.$ac_ext <<_ACEOF
36327 /* end confdefs.h. */
36328
36329 #include <stdio.h>
36330 #include <stdarg.h>
36331 #ifdef __MSL__
36332 #if __MSL__ >= 0x6000
36333 namespace std {}
36334 using namespace std;
36335 #endif
36336 #endif
36337
36338 int
36339 main ()
36340 {
36341
36342 char *buf;
36343 va_list args;
36344 vsscanf(buf, "%s", args);
36345
36346 ;
36347 return 0;
36348 }
36349 _ACEOF
36350 rm -f conftest.$ac_objext
36351 if { (ac_try="$ac_compile"
36352 case "(($ac_try" in
36353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36354 *) ac_try_echo=$ac_try;;
36355 esac
36356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36357 (eval "$ac_compile") 2>conftest.er1
36358 ac_status=$?
36359 grep -v '^ *+' conftest.er1 >conftest.err
36360 rm -f conftest.er1
36361 cat conftest.err >&5
36362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36363 (exit $ac_status); } && {
36364 test -z "$ac_cxx_werror_flag" ||
36365 test ! -s conftest.err
36366 } && test -s conftest.$ac_objext; then
36367 wx_cv_func_vsscanf_decl=yes
36368 else
36369 echo "$as_me: failed program was:" >&5
36370 sed 's/^/| /' conftest.$ac_ext >&5
36371
36372 wx_cv_func_vsscanf_decl=no
36373
36374 fi
36375
36376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36377
36378
36379 fi
36380 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
36381 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
36382
36383 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
36384 cat >>confdefs.h <<\_ACEOF
36385 #define HAVE_VSSCANF_DECL 1
36386 _ACEOF
36387
36388 fi
36389 fi
36390 ac_ext=c
36391 ac_cpp='$CPP $CPPFLAGS'
36392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36395
36396
36397 if test "$wxUSE_UNICODE" = yes; then
36398
36399 wchar_headers="#include <stdio.h>
36400 #include <wchar.h>"
36401 case "${host}" in
36402 *-*-solaris2* )
36403
36404 for ac_header in widec.h
36405 do
36406 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36407 { echo "$as_me:$LINENO: checking for $ac_header" >&5
36408 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
36409 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
36410 echo $ECHO_N "(cached) $ECHO_C" >&6
36411 else
36412 cat >conftest.$ac_ext <<_ACEOF
36413 /* confdefs.h. */
36414 _ACEOF
36415 cat confdefs.h >>conftest.$ac_ext
36416 cat >>conftest.$ac_ext <<_ACEOF
36417 /* end confdefs.h. */
36418 $ac_includes_default
36419
36420 #include <$ac_header>
36421 _ACEOF
36422 rm -f conftest.$ac_objext
36423 if { (ac_try="$ac_compile"
36424 case "(($ac_try" in
36425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36426 *) ac_try_echo=$ac_try;;
36427 esac
36428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36429 (eval "$ac_compile") 2>conftest.er1
36430 ac_status=$?
36431 grep -v '^ *+' conftest.er1 >conftest.err
36432 rm -f conftest.er1
36433 cat conftest.err >&5
36434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36435 (exit $ac_status); } && {
36436 test -z "$ac_c_werror_flag" ||
36437 test ! -s conftest.err
36438 } && test -s conftest.$ac_objext; then
36439 eval "$as_ac_Header=yes"
36440 else
36441 echo "$as_me: failed program was:" >&5
36442 sed 's/^/| /' conftest.$ac_ext >&5
36443
36444 eval "$as_ac_Header=no"
36445 fi
36446
36447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36448 fi
36449 ac_res=`eval echo '${'$as_ac_Header'}'`
36450 { echo "$as_me:$LINENO: result: $ac_res" >&5
36451 echo "${ECHO_T}$ac_res" >&6; }
36452 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36453 cat >>confdefs.h <<_ACEOF
36454 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36455 _ACEOF
36456
36457 fi
36458
36459 done
36460
36461 if test "$ac_cv_header_widec_h" = "yes"; then
36462 wchar_headers="$wchar_headers
36463 #include <widec.h>"
36464 fi
36465 esac
36466
36467
36468 for wx_func in putws fputws wprintf vswprintf vswscanf
36469 do
36470 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36471 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36472 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36473 echo $ECHO_N "(cached) $ECHO_C" >&6
36474 else
36475
36476 cat >conftest.$ac_ext <<_ACEOF
36477
36478 /* confdefs.h. */
36479 _ACEOF
36480 cat confdefs.h >>conftest.$ac_ext
36481 cat >>conftest.$ac_ext <<_ACEOF
36482 /* end confdefs.h. */
36483
36484 $wchar_headers
36485 $ac_includes_default
36486
36487 int
36488 main ()
36489 {
36490
36491 #ifndef $wx_func
36492 &$wx_func;
36493 #endif
36494
36495
36496 ;
36497 return 0;
36498 }
36499
36500 _ACEOF
36501 rm -f conftest.$ac_objext conftest$ac_exeext
36502 if { (ac_try="$ac_link"
36503 case "(($ac_try" in
36504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36505 *) ac_try_echo=$ac_try;;
36506 esac
36507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36508 (eval "$ac_link") 2>conftest.er1
36509 ac_status=$?
36510 grep -v '^ *+' conftest.er1 >conftest.err
36511 rm -f conftest.er1
36512 cat conftest.err >&5
36513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36514 (exit $ac_status); } && {
36515 test -z "$ac_c_werror_flag" ||
36516 test ! -s conftest.err
36517 } && test -s conftest$ac_exeext &&
36518 $as_test_x conftest$ac_exeext; then
36519 eval wx_cv_func_$wx_func=yes
36520 else
36521 echo "$as_me: failed program was:" >&5
36522 sed 's/^/| /' conftest.$ac_ext >&5
36523
36524 eval wx_cv_func_$wx_func=no
36525 fi
36526
36527 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36528 conftest$ac_exeext conftest.$ac_ext
36529
36530 fi
36531 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36532 { echo "$as_me:$LINENO: result: $ac_res" >&5
36533 echo "${ECHO_T}$ac_res" >&6; }
36534
36535 if eval test \$wx_cv_func_$wx_func = yes
36536 then
36537 cat >>confdefs.h <<_ACEOF
36538 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36539 _ACEOF
36540
36541
36542 else
36543 :
36544
36545 fi
36546 done
36547
36548
36549 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
36550 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
36551 cat >conftest.$ac_ext <<_ACEOF
36552 /* confdefs.h. */
36553 _ACEOF
36554 cat confdefs.h >>conftest.$ac_ext
36555 cat >>conftest.$ac_ext <<_ACEOF
36556 /* end confdefs.h. */
36557 #include <wchar.h>
36558 int
36559 main ()
36560 {
36561 &_vsnwprintf;
36562 ;
36563 return 0;
36564 }
36565 _ACEOF
36566 rm -f conftest.$ac_objext
36567 if { (ac_try="$ac_compile"
36568 case "(($ac_try" in
36569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36570 *) ac_try_echo=$ac_try;;
36571 esac
36572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36573 (eval "$ac_compile") 2>conftest.er1
36574 ac_status=$?
36575 grep -v '^ *+' conftest.er1 >conftest.err
36576 rm -f conftest.er1
36577 cat conftest.err >&5
36578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36579 (exit $ac_status); } && {
36580 test -z "$ac_c_werror_flag" ||
36581 test ! -s conftest.err
36582 } && test -s conftest.$ac_objext; then
36583 { echo "$as_me:$LINENO: result: yes" >&5
36584 echo "${ECHO_T}yes" >&6; }
36585 cat >>confdefs.h <<\_ACEOF
36586 #define HAVE__VSNWPRINTF 1
36587 _ACEOF
36588
36589 else
36590 echo "$as_me: failed program was:" >&5
36591 sed 's/^/| /' conftest.$ac_ext >&5
36592
36593 { echo "$as_me:$LINENO: result: no" >&5
36594 echo "${ECHO_T}no" >&6; }
36595 fi
36596
36597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
36598 fi
36599
36600 if test "$wxUSE_FILE" = "yes"; then
36601
36602 for wx_func in fsync
36603 do
36604 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36605 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36606 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36607 echo $ECHO_N "(cached) $ECHO_C" >&6
36608 else
36609
36610 cat >conftest.$ac_ext <<_ACEOF
36611
36612 /* confdefs.h. */
36613 _ACEOF
36614 cat confdefs.h >>conftest.$ac_ext
36615 cat >>conftest.$ac_ext <<_ACEOF
36616 /* end confdefs.h. */
36617
36618
36619 $ac_includes_default
36620
36621 int
36622 main ()
36623 {
36624
36625 #ifndef $wx_func
36626 &$wx_func;
36627 #endif
36628
36629
36630 ;
36631 return 0;
36632 }
36633
36634 _ACEOF
36635 rm -f conftest.$ac_objext conftest$ac_exeext
36636 if { (ac_try="$ac_link"
36637 case "(($ac_try" in
36638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36639 *) ac_try_echo=$ac_try;;
36640 esac
36641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36642 (eval "$ac_link") 2>conftest.er1
36643 ac_status=$?
36644 grep -v '^ *+' conftest.er1 >conftest.err
36645 rm -f conftest.er1
36646 cat conftest.err >&5
36647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36648 (exit $ac_status); } && {
36649 test -z "$ac_c_werror_flag" ||
36650 test ! -s conftest.err
36651 } && test -s conftest$ac_exeext &&
36652 $as_test_x conftest$ac_exeext; then
36653 eval wx_cv_func_$wx_func=yes
36654 else
36655 echo "$as_me: failed program was:" >&5
36656 sed 's/^/| /' conftest.$ac_ext >&5
36657
36658 eval wx_cv_func_$wx_func=no
36659 fi
36660
36661 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36662 conftest$ac_exeext conftest.$ac_ext
36663
36664 fi
36665 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36666 { echo "$as_me:$LINENO: result: $ac_res" >&5
36667 echo "${ECHO_T}$ac_res" >&6; }
36668
36669 if eval test \$wx_cv_func_$wx_func = yes
36670 then
36671 cat >>confdefs.h <<_ACEOF
36672 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36673 _ACEOF
36674
36675
36676 else
36677 :
36678
36679 fi
36680 done
36681
36682 fi
36683
36684 ac_ext=cpp
36685 ac_cpp='$CXXCPP $CPPFLAGS'
36686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36689
36690
36691 for wx_func in round
36692 do
36693 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36694 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36695 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36696 echo $ECHO_N "(cached) $ECHO_C" >&6
36697 else
36698
36699 cat >conftest.$ac_ext <<_ACEOF
36700
36701 /* confdefs.h. */
36702 _ACEOF
36703 cat confdefs.h >>conftest.$ac_ext
36704 cat >>conftest.$ac_ext <<_ACEOF
36705 /* end confdefs.h. */
36706
36707 #include <math.h>
36708 $ac_includes_default
36709
36710 int
36711 main ()
36712 {
36713
36714 #ifndef $wx_func
36715 &$wx_func;
36716 #endif
36717
36718
36719 ;
36720 return 0;
36721 }
36722
36723 _ACEOF
36724 rm -f conftest.$ac_objext conftest$ac_exeext
36725 if { (ac_try="$ac_link"
36726 case "(($ac_try" in
36727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36728 *) ac_try_echo=$ac_try;;
36729 esac
36730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36731 (eval "$ac_link") 2>conftest.er1
36732 ac_status=$?
36733 grep -v '^ *+' conftest.er1 >conftest.err
36734 rm -f conftest.er1
36735 cat conftest.err >&5
36736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36737 (exit $ac_status); } && {
36738 test -z "$ac_cxx_werror_flag" ||
36739 test ! -s conftest.err
36740 } && test -s conftest$ac_exeext &&
36741 $as_test_x conftest$ac_exeext; then
36742 eval wx_cv_func_$wx_func=yes
36743 else
36744 echo "$as_me: failed program was:" >&5
36745 sed 's/^/| /' conftest.$ac_ext >&5
36746
36747 eval wx_cv_func_$wx_func=no
36748 fi
36749
36750 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36751 conftest$ac_exeext conftest.$ac_ext
36752
36753 fi
36754 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36755 { echo "$as_me:$LINENO: result: $ac_res" >&5
36756 echo "${ECHO_T}$ac_res" >&6; }
36757
36758 if eval test \$wx_cv_func_$wx_func = yes
36759 then
36760 cat >>confdefs.h <<_ACEOF
36761 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36762 _ACEOF
36763
36764
36765 else
36766 :
36767
36768 fi
36769 done
36770
36771 ac_ext=c
36772 ac_cpp='$CPP $CPPFLAGS'
36773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36776
36777
36778 if test "$TOOLKIT" != "MSW"; then
36779
36780 if test "$wxUSE_LIBICONV" != "no" ; then
36781
36782
36783
36784 # Check whether --with-libiconv-prefix was given.
36785 if test "${with_libiconv_prefix+set}" = set; then
36786 withval=$with_libiconv_prefix;
36787 for dir in `echo "$withval" | tr : ' '`; do
36788 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36789 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36790 done
36791
36792 fi
36793
36794
36795 { echo "$as_me:$LINENO: checking for iconv" >&5
36796 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
36797 if test "${am_cv_func_iconv+set}" = set; then
36798 echo $ECHO_N "(cached) $ECHO_C" >&6
36799 else
36800
36801 am_cv_func_iconv="no, consider installing GNU libiconv"
36802 am_cv_lib_iconv=no
36803 cat >conftest.$ac_ext <<_ACEOF
36804 /* confdefs.h. */
36805 _ACEOF
36806 cat confdefs.h >>conftest.$ac_ext
36807 cat >>conftest.$ac_ext <<_ACEOF
36808 /* end confdefs.h. */
36809 #include <stdlib.h>
36810 #include <iconv.h>
36811 int
36812 main ()
36813 {
36814 iconv_t cd = iconv_open("","");
36815 iconv(cd,NULL,NULL,NULL,NULL);
36816 iconv_close(cd);
36817 ;
36818 return 0;
36819 }
36820 _ACEOF
36821 rm -f conftest.$ac_objext conftest$ac_exeext
36822 if { (ac_try="$ac_link"
36823 case "(($ac_try" in
36824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36825 *) ac_try_echo=$ac_try;;
36826 esac
36827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36828 (eval "$ac_link") 2>conftest.er1
36829 ac_status=$?
36830 grep -v '^ *+' conftest.er1 >conftest.err
36831 rm -f conftest.er1
36832 cat conftest.err >&5
36833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36834 (exit $ac_status); } && {
36835 test -z "$ac_c_werror_flag" ||
36836 test ! -s conftest.err
36837 } && test -s conftest$ac_exeext &&
36838 $as_test_x conftest$ac_exeext; then
36839 am_cv_func_iconv=yes
36840 else
36841 echo "$as_me: failed program was:" >&5
36842 sed 's/^/| /' conftest.$ac_ext >&5
36843
36844
36845 fi
36846
36847 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36848 conftest$ac_exeext conftest.$ac_ext
36849 if test "$am_cv_func_iconv" != yes; then
36850 am_save_LIBS="$LIBS"
36851 LIBS="$LIBS -liconv"
36852 cat >conftest.$ac_ext <<_ACEOF
36853 /* confdefs.h. */
36854 _ACEOF
36855 cat confdefs.h >>conftest.$ac_ext
36856 cat >>conftest.$ac_ext <<_ACEOF
36857 /* end confdefs.h. */
36858 #include <stdlib.h>
36859 #include <iconv.h>
36860 int
36861 main ()
36862 {
36863 iconv_t cd = iconv_open("","");
36864 iconv(cd,NULL,NULL,NULL,NULL);
36865 iconv_close(cd);
36866 ;
36867 return 0;
36868 }
36869 _ACEOF
36870 rm -f conftest.$ac_objext conftest$ac_exeext
36871 if { (ac_try="$ac_link"
36872 case "(($ac_try" in
36873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36874 *) ac_try_echo=$ac_try;;
36875 esac
36876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36877 (eval "$ac_link") 2>conftest.er1
36878 ac_status=$?
36879 grep -v '^ *+' conftest.er1 >conftest.err
36880 rm -f conftest.er1
36881 cat conftest.err >&5
36882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36883 (exit $ac_status); } && {
36884 test -z "$ac_c_werror_flag" ||
36885 test ! -s conftest.err
36886 } && test -s conftest$ac_exeext &&
36887 $as_test_x conftest$ac_exeext; then
36888 am_cv_lib_iconv=yes
36889 am_cv_func_iconv=yes
36890 else
36891 echo "$as_me: failed program was:" >&5
36892 sed 's/^/| /' conftest.$ac_ext >&5
36893
36894
36895 fi
36896
36897 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36898 conftest$ac_exeext conftest.$ac_ext
36899 LIBS="$am_save_LIBS"
36900 fi
36901
36902 fi
36903 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36904 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
36905 if test "$am_cv_func_iconv" = yes; then
36906
36907 cat >>confdefs.h <<\_ACEOF
36908 #define HAVE_ICONV 1
36909 _ACEOF
36910
36911 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
36912 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
36913 if test "${wx_cv_func_iconv_const+set}" = set; then
36914 echo $ECHO_N "(cached) $ECHO_C" >&6
36915 else
36916 cat >conftest.$ac_ext <<_ACEOF
36917 /* confdefs.h. */
36918 _ACEOF
36919 cat confdefs.h >>conftest.$ac_ext
36920 cat >>conftest.$ac_ext <<_ACEOF
36921 /* end confdefs.h. */
36922
36923 #include <stdlib.h>
36924 #include <iconv.h>
36925 extern
36926 #ifdef __cplusplus
36927 "C"
36928 #endif
36929 #if defined(__STDC__) || defined(__cplusplus)
36930 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36931 #else
36932 size_t iconv();
36933 #endif
36934
36935 int
36936 main ()
36937 {
36938
36939 ;
36940 return 0;
36941 }
36942 _ACEOF
36943 rm -f conftest.$ac_objext
36944 if { (ac_try="$ac_compile"
36945 case "(($ac_try" in
36946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36947 *) ac_try_echo=$ac_try;;
36948 esac
36949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36950 (eval "$ac_compile") 2>conftest.er1
36951 ac_status=$?
36952 grep -v '^ *+' conftest.er1 >conftest.err
36953 rm -f conftest.er1
36954 cat conftest.err >&5
36955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36956 (exit $ac_status); } && {
36957 test -z "$ac_c_werror_flag" ||
36958 test ! -s conftest.err
36959 } && test -s conftest.$ac_objext; then
36960 wx_cv_func_iconv_const="no"
36961 else
36962 echo "$as_me: failed program was:" >&5
36963 sed 's/^/| /' conftest.$ac_ext >&5
36964
36965 wx_cv_func_iconv_const="yes"
36966
36967 fi
36968
36969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36970
36971 fi
36972 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36973 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
36974
36975 iconv_const=
36976 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36977 iconv_const="const"
36978 fi
36979
36980
36981 cat >>confdefs.h <<_ACEOF
36982 #define ICONV_CONST $iconv_const
36983 _ACEOF
36984
36985 fi
36986 LIBICONV=
36987 if test "$am_cv_lib_iconv" = yes; then
36988 LIBICONV="-liconv"
36989 fi
36990
36991
36992 LIBS="$LIBICONV $LIBS"
36993 fi
36994
36995 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36996
36997 for ac_func in sigaction
36998 do
36999 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37000 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37001 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37002 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37003 echo $ECHO_N "(cached) $ECHO_C" >&6
37004 else
37005 cat >conftest.$ac_ext <<_ACEOF
37006 /* confdefs.h. */
37007 _ACEOF
37008 cat confdefs.h >>conftest.$ac_ext
37009 cat >>conftest.$ac_ext <<_ACEOF
37010 /* end confdefs.h. */
37011 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37012 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37013 #define $ac_func innocuous_$ac_func
37014
37015 /* System header to define __stub macros and hopefully few prototypes,
37016 which can conflict with char $ac_func (); below.
37017 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37018 <limits.h> exists even on freestanding compilers. */
37019
37020 #ifdef __STDC__
37021 # include <limits.h>
37022 #else
37023 # include <assert.h>
37024 #endif
37025
37026 #undef $ac_func
37027
37028 /* Override any GCC internal prototype to avoid an error.
37029 Use char because int might match the return type of a GCC
37030 builtin and then its argument prototype would still apply. */
37031 #ifdef __cplusplus
37032 extern "C"
37033 #endif
37034 char $ac_func ();
37035 /* The GNU C library defines this for functions which it implements
37036 to always fail with ENOSYS. Some functions are actually named
37037 something starting with __ and the normal name is an alias. */
37038 #if defined __stub_$ac_func || defined __stub___$ac_func
37039 choke me
37040 #endif
37041
37042 int
37043 main ()
37044 {
37045 return $ac_func ();
37046 ;
37047 return 0;
37048 }
37049 _ACEOF
37050 rm -f conftest.$ac_objext conftest$ac_exeext
37051 if { (ac_try="$ac_link"
37052 case "(($ac_try" in
37053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37054 *) ac_try_echo=$ac_try;;
37055 esac
37056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37057 (eval "$ac_link") 2>conftest.er1
37058 ac_status=$?
37059 grep -v '^ *+' conftest.er1 >conftest.err
37060 rm -f conftest.er1
37061 cat conftest.err >&5
37062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37063 (exit $ac_status); } && {
37064 test -z "$ac_c_werror_flag" ||
37065 test ! -s conftest.err
37066 } && test -s conftest$ac_exeext &&
37067 $as_test_x conftest$ac_exeext; then
37068 eval "$as_ac_var=yes"
37069 else
37070 echo "$as_me: failed program was:" >&5
37071 sed 's/^/| /' conftest.$ac_ext >&5
37072
37073 eval "$as_ac_var=no"
37074 fi
37075
37076 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37077 conftest$ac_exeext conftest.$ac_ext
37078 fi
37079 ac_res=`eval echo '${'$as_ac_var'}'`
37080 { echo "$as_me:$LINENO: result: $ac_res" >&5
37081 echo "${ECHO_T}$ac_res" >&6; }
37082 if test `eval echo '${'$as_ac_var'}'` = yes; then
37083 cat >>confdefs.h <<_ACEOF
37084 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37085 _ACEOF
37086
37087 fi
37088 done
37089
37090
37091 if test "$ac_cv_func_sigaction" = "no"; then
37092 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
37093 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
37094 wxUSE_ON_FATAL_EXCEPTION=no
37095 fi
37096
37097 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37098 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
37099 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
37100 if test "${wx_cv_type_sa_handler+set}" = set; then
37101 echo $ECHO_N "(cached) $ECHO_C" >&6
37102 else
37103
37104 ac_ext=cpp
37105 ac_cpp='$CXXCPP $CPPFLAGS'
37106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37109
37110 cat >conftest.$ac_ext <<_ACEOF
37111 /* confdefs.h. */
37112 _ACEOF
37113 cat confdefs.h >>conftest.$ac_ext
37114 cat >>conftest.$ac_ext <<_ACEOF
37115 /* end confdefs.h. */
37116 #include <signal.h>
37117 int
37118 main ()
37119 {
37120
37121 extern void testSigHandler(int);
37122
37123 struct sigaction sa;
37124 sa.sa_handler = testSigHandler;
37125
37126 ;
37127 return 0;
37128 }
37129 _ACEOF
37130 rm -f conftest.$ac_objext
37131 if { (ac_try="$ac_compile"
37132 case "(($ac_try" in
37133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37134 *) ac_try_echo=$ac_try;;
37135 esac
37136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37137 (eval "$ac_compile") 2>conftest.er1
37138 ac_status=$?
37139 grep -v '^ *+' conftest.er1 >conftest.err
37140 rm -f conftest.er1
37141 cat conftest.err >&5
37142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37143 (exit $ac_status); } && {
37144 test -z "$ac_cxx_werror_flag" ||
37145 test ! -s conftest.err
37146 } && test -s conftest.$ac_objext; then
37147
37148 wx_cv_type_sa_handler=int
37149
37150 else
37151 echo "$as_me: failed program was:" >&5
37152 sed 's/^/| /' conftest.$ac_ext >&5
37153
37154
37155 wx_cv_type_sa_handler=void
37156
37157 fi
37158
37159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37160 ac_ext=c
37161 ac_cpp='$CPP $CPPFLAGS'
37162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37165
37166
37167 fi
37168 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
37169 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
37170
37171 cat >>confdefs.h <<_ACEOF
37172 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
37173 _ACEOF
37174
37175 fi
37176 fi
37177
37178 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37179 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
37180 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
37181 if test "${wx_cv_func_backtrace+set}" = set; then
37182 echo $ECHO_N "(cached) $ECHO_C" >&6
37183 else
37184
37185 ac_ext=cpp
37186 ac_cpp='$CXXCPP $CPPFLAGS'
37187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37190
37191 cat >conftest.$ac_ext <<_ACEOF
37192 /* confdefs.h. */
37193 _ACEOF
37194 cat confdefs.h >>conftest.$ac_ext
37195 cat >>conftest.$ac_ext <<_ACEOF
37196 /* end confdefs.h. */
37197 #include <execinfo.h>
37198 int
37199 main ()
37200 {
37201
37202 void *trace[1];
37203 char **messages;
37204
37205 backtrace(trace, 1);
37206 messages = backtrace_symbols(trace, 1);
37207
37208 ;
37209 return 0;
37210 }
37211 _ACEOF
37212 rm -f conftest.$ac_objext
37213 if { (ac_try="$ac_compile"
37214 case "(($ac_try" in
37215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37216 *) ac_try_echo=$ac_try;;
37217 esac
37218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37219 (eval "$ac_compile") 2>conftest.er1
37220 ac_status=$?
37221 grep -v '^ *+' conftest.er1 >conftest.err
37222 rm -f conftest.er1
37223 cat conftest.err >&5
37224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37225 (exit $ac_status); } && {
37226 test -z "$ac_cxx_werror_flag" ||
37227 test ! -s conftest.err
37228 } && test -s conftest.$ac_objext; then
37229 wx_cv_func_backtrace=yes
37230 else
37231 echo "$as_me: failed program was:" >&5
37232 sed 's/^/| /' conftest.$ac_ext >&5
37233
37234 wx_cv_func_backtrace=no
37235
37236 fi
37237
37238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37239 ac_ext=c
37240 ac_cpp='$CPP $CPPFLAGS'
37241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37244
37245
37246
37247 fi
37248 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
37249 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
37250
37251
37252 if test "$wx_cv_func_backtrace" = "no"; then
37253 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
37254 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
37255 wxUSE_STACKWALKER=no
37256 else
37257 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
37258 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
37259 if test "${wx_cv_func_cxa_demangle+set}" = set; then
37260 echo $ECHO_N "(cached) $ECHO_C" >&6
37261 else
37262
37263 ac_ext=cpp
37264 ac_cpp='$CXXCPP $CPPFLAGS'
37265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37268
37269 cat >conftest.$ac_ext <<_ACEOF
37270 /* confdefs.h. */
37271 _ACEOF
37272 cat confdefs.h >>conftest.$ac_ext
37273 cat >>conftest.$ac_ext <<_ACEOF
37274 /* end confdefs.h. */
37275 #include <cxxabi.h>
37276 int
37277 main ()
37278 {
37279
37280 int rc;
37281 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
37282
37283 ;
37284 return 0;
37285 }
37286 _ACEOF
37287 rm -f conftest.$ac_objext conftest$ac_exeext
37288 if { (ac_try="$ac_link"
37289 case "(($ac_try" in
37290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37291 *) ac_try_echo=$ac_try;;
37292 esac
37293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37294 (eval "$ac_link") 2>conftest.er1
37295 ac_status=$?
37296 grep -v '^ *+' conftest.er1 >conftest.err
37297 rm -f conftest.er1
37298 cat conftest.err >&5
37299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37300 (exit $ac_status); } && {
37301 test -z "$ac_cxx_werror_flag" ||
37302 test ! -s conftest.err
37303 } && test -s conftest$ac_exeext &&
37304 $as_test_x conftest$ac_exeext; then
37305 wx_cv_func_cxa_demangle=yes
37306 else
37307 echo "$as_me: failed program was:" >&5
37308 sed 's/^/| /' conftest.$ac_ext >&5
37309
37310 wx_cv_func_cxa_demangle=no
37311
37312 fi
37313
37314 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37315 conftest$ac_exeext conftest.$ac_ext
37316 ac_ext=c
37317 ac_cpp='$CPP $CPPFLAGS'
37318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37321
37322
37323
37324 fi
37325 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
37326 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
37327
37328 if test "$wx_cv_func_cxa_demangle" = "yes"; then
37329 cat >>confdefs.h <<\_ACEOF
37330 #define HAVE_CXA_DEMANGLE 1
37331 _ACEOF
37332
37333 fi
37334 fi
37335 fi
37336
37337 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
37338 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
37339 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
37340 wxUSE_STACKWALKER=no
37341 fi
37342
37343
37344
37345
37346 for ac_func in mkstemp mktemp
37347 do
37348 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37349 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37350 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37351 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37352 echo $ECHO_N "(cached) $ECHO_C" >&6
37353 else
37354 cat >conftest.$ac_ext <<_ACEOF
37355 /* confdefs.h. */
37356 _ACEOF
37357 cat confdefs.h >>conftest.$ac_ext
37358 cat >>conftest.$ac_ext <<_ACEOF
37359 /* end confdefs.h. */
37360 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37361 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37362 #define $ac_func innocuous_$ac_func
37363
37364 /* System header to define __stub macros and hopefully few prototypes,
37365 which can conflict with char $ac_func (); below.
37366 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37367 <limits.h> exists even on freestanding compilers. */
37368
37369 #ifdef __STDC__
37370 # include <limits.h>
37371 #else
37372 # include <assert.h>
37373 #endif
37374
37375 #undef $ac_func
37376
37377 /* Override any GCC internal prototype to avoid an error.
37378 Use char because int might match the return type of a GCC
37379 builtin and then its argument prototype would still apply. */
37380 #ifdef __cplusplus
37381 extern "C"
37382 #endif
37383 char $ac_func ();
37384 /* The GNU C library defines this for functions which it implements
37385 to always fail with ENOSYS. Some functions are actually named
37386 something starting with __ and the normal name is an alias. */
37387 #if defined __stub_$ac_func || defined __stub___$ac_func
37388 choke me
37389 #endif
37390
37391 int
37392 main ()
37393 {
37394 return $ac_func ();
37395 ;
37396 return 0;
37397 }
37398 _ACEOF
37399 rm -f conftest.$ac_objext conftest$ac_exeext
37400 if { (ac_try="$ac_link"
37401 case "(($ac_try" in
37402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37403 *) ac_try_echo=$ac_try;;
37404 esac
37405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37406 (eval "$ac_link") 2>conftest.er1
37407 ac_status=$?
37408 grep -v '^ *+' conftest.er1 >conftest.err
37409 rm -f conftest.er1
37410 cat conftest.err >&5
37411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37412 (exit $ac_status); } && {
37413 test -z "$ac_c_werror_flag" ||
37414 test ! -s conftest.err
37415 } && test -s conftest$ac_exeext &&
37416 $as_test_x conftest$ac_exeext; then
37417 eval "$as_ac_var=yes"
37418 else
37419 echo "$as_me: failed program was:" >&5
37420 sed 's/^/| /' conftest.$ac_ext >&5
37421
37422 eval "$as_ac_var=no"
37423 fi
37424
37425 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37426 conftest$ac_exeext conftest.$ac_ext
37427 fi
37428 ac_res=`eval echo '${'$as_ac_var'}'`
37429 { echo "$as_me:$LINENO: result: $ac_res" >&5
37430 echo "${ECHO_T}$ac_res" >&6; }
37431 if test `eval echo '${'$as_ac_var'}'` = yes; then
37432 cat >>confdefs.h <<_ACEOF
37433 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37434 _ACEOF
37435 break
37436 fi
37437 done
37438
37439
37440 { echo "$as_me:$LINENO: checking for statfs" >&5
37441 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
37442 if test "${wx_cv_func_statfs+set}" = set; then
37443 echo $ECHO_N "(cached) $ECHO_C" >&6
37444 else
37445 cat >conftest.$ac_ext <<_ACEOF
37446 /* confdefs.h. */
37447 _ACEOF
37448 cat confdefs.h >>conftest.$ac_ext
37449 cat >>conftest.$ac_ext <<_ACEOF
37450 /* end confdefs.h. */
37451
37452 #if defined(__BSD__)
37453 #include <sys/param.h>
37454 #include <sys/mount.h>
37455 #else
37456 #include <sys/vfs.h>
37457 #endif
37458
37459 int
37460 main ()
37461 {
37462
37463 long l;
37464 struct statfs fs;
37465 statfs("/", &fs);
37466 l = fs.f_bsize;
37467 l += fs.f_blocks;
37468 l += fs.f_bavail;
37469
37470 ;
37471 return 0;
37472 }
37473 _ACEOF
37474 rm -f conftest.$ac_objext
37475 if { (ac_try="$ac_compile"
37476 case "(($ac_try" in
37477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37478 *) ac_try_echo=$ac_try;;
37479 esac
37480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37481 (eval "$ac_compile") 2>conftest.er1
37482 ac_status=$?
37483 grep -v '^ *+' conftest.er1 >conftest.err
37484 rm -f conftest.er1
37485 cat conftest.err >&5
37486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37487 (exit $ac_status); } && {
37488 test -z "$ac_c_werror_flag" ||
37489 test ! -s conftest.err
37490 } && test -s conftest.$ac_objext; then
37491 wx_cv_func_statfs=yes
37492 else
37493 echo "$as_me: failed program was:" >&5
37494 sed 's/^/| /' conftest.$ac_ext >&5
37495
37496 wx_cv_func_statfs=no
37497
37498 fi
37499
37500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37501
37502 fi
37503 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
37504 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
37505
37506 if test "$wx_cv_func_statfs" = "yes"; then
37507 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
37508 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
37509 if test "${wx_cv_func_statfs_decl+set}" = set; then
37510 echo $ECHO_N "(cached) $ECHO_C" >&6
37511 else
37512 ac_ext=cpp
37513 ac_cpp='$CXXCPP $CPPFLAGS'
37514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37517
37518 cat >conftest.$ac_ext <<_ACEOF
37519 /* confdefs.h. */
37520 _ACEOF
37521 cat confdefs.h >>conftest.$ac_ext
37522 cat >>conftest.$ac_ext <<_ACEOF
37523 /* end confdefs.h. */
37524
37525 #if defined(__BSD__)
37526 #include <sys/param.h>
37527 #include <sys/mount.h>
37528 #else
37529 #include <sys/vfs.h>
37530 #endif
37531
37532 int
37533 main ()
37534 {
37535
37536 struct statfs fs;
37537 statfs("", &fs);
37538
37539 ;
37540 return 0;
37541 }
37542 _ACEOF
37543 rm -f conftest.$ac_objext
37544 if { (ac_try="$ac_compile"
37545 case "(($ac_try" in
37546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37547 *) ac_try_echo=$ac_try;;
37548 esac
37549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37550 (eval "$ac_compile") 2>conftest.er1
37551 ac_status=$?
37552 grep -v '^ *+' conftest.er1 >conftest.err
37553 rm -f conftest.er1
37554 cat conftest.err >&5
37555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37556 (exit $ac_status); } && {
37557 test -z "$ac_cxx_werror_flag" ||
37558 test ! -s conftest.err
37559 } && test -s conftest.$ac_objext; then
37560 wx_cv_func_statfs_decl=yes
37561 else
37562 echo "$as_me: failed program was:" >&5
37563 sed 's/^/| /' conftest.$ac_ext >&5
37564
37565 wx_cv_func_statfs_decl=no
37566
37567 fi
37568
37569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37570 ac_ext=c
37571 ac_cpp='$CPP $CPPFLAGS'
37572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37575
37576
37577 fi
37578 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
37579 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
37580
37581 if test "$wx_cv_func_statfs_decl" = "yes"; then
37582 cat >>confdefs.h <<\_ACEOF
37583 #define HAVE_STATFS_DECL 1
37584 _ACEOF
37585
37586 fi
37587
37588 wx_cv_type_statvfs_t="struct statfs"
37589 cat >>confdefs.h <<\_ACEOF
37590 #define HAVE_STATFS 1
37591 _ACEOF
37592
37593 else
37594 { echo "$as_me:$LINENO: checking for statvfs" >&5
37595 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
37596 if test "${wx_cv_func_statvfs+set}" = set; then
37597 echo $ECHO_N "(cached) $ECHO_C" >&6
37598 else
37599 cat >conftest.$ac_ext <<_ACEOF
37600 /* confdefs.h. */
37601 _ACEOF
37602 cat confdefs.h >>conftest.$ac_ext
37603 cat >>conftest.$ac_ext <<_ACEOF
37604 /* end confdefs.h. */
37605
37606 #include <stddef.h>
37607 #include <sys/statvfs.h>
37608
37609 int
37610 main ()
37611 {
37612
37613 statvfs("/", NULL);
37614
37615 ;
37616 return 0;
37617 }
37618 _ACEOF
37619 rm -f conftest.$ac_objext
37620 if { (ac_try="$ac_compile"
37621 case "(($ac_try" in
37622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37623 *) ac_try_echo=$ac_try;;
37624 esac
37625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37626 (eval "$ac_compile") 2>conftest.er1
37627 ac_status=$?
37628 grep -v '^ *+' conftest.er1 >conftest.err
37629 rm -f conftest.er1
37630 cat conftest.err >&5
37631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37632 (exit $ac_status); } && {
37633 test -z "$ac_c_werror_flag" ||
37634 test ! -s conftest.err
37635 } && test -s conftest.$ac_objext; then
37636 wx_cv_func_statvfs=yes
37637 else
37638 echo "$as_me: failed program was:" >&5
37639 sed 's/^/| /' conftest.$ac_ext >&5
37640
37641 wx_cv_func_statvfs=no
37642
37643 fi
37644
37645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37646
37647 fi
37648 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37649 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
37650
37651 if test "$wx_cv_func_statvfs" = "yes"; then
37652 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37653 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
37654 if test "${wx_cv_type_statvfs_t+set}" = set; then
37655 echo $ECHO_N "(cached) $ECHO_C" >&6
37656 else
37657 ac_ext=cpp
37658 ac_cpp='$CXXCPP $CPPFLAGS'
37659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37662
37663 cat >conftest.$ac_ext <<_ACEOF
37664 /* confdefs.h. */
37665 _ACEOF
37666 cat confdefs.h >>conftest.$ac_ext
37667 cat >>conftest.$ac_ext <<_ACEOF
37668 /* end confdefs.h. */
37669
37670 #include <sys/statvfs.h>
37671
37672 int
37673 main ()
37674 {
37675
37676 long l;
37677 statvfs_t fs;
37678 statvfs("/", &fs);
37679 l = fs.f_bsize;
37680 l += fs.f_blocks;
37681 l += fs.f_bavail;
37682
37683 ;
37684 return 0;
37685 }
37686 _ACEOF
37687 rm -f conftest.$ac_objext
37688 if { (ac_try="$ac_compile"
37689 case "(($ac_try" in
37690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37691 *) ac_try_echo=$ac_try;;
37692 esac
37693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37694 (eval "$ac_compile") 2>conftest.er1
37695 ac_status=$?
37696 grep -v '^ *+' conftest.er1 >conftest.err
37697 rm -f conftest.er1
37698 cat conftest.err >&5
37699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37700 (exit $ac_status); } && {
37701 test -z "$ac_cxx_werror_flag" ||
37702 test ! -s conftest.err
37703 } && test -s conftest.$ac_objext; then
37704 wx_cv_type_statvfs_t=statvfs_t
37705 else
37706 echo "$as_me: failed program was:" >&5
37707 sed 's/^/| /' conftest.$ac_ext >&5
37708
37709
37710 cat >conftest.$ac_ext <<_ACEOF
37711 /* confdefs.h. */
37712 _ACEOF
37713 cat confdefs.h >>conftest.$ac_ext
37714 cat >>conftest.$ac_ext <<_ACEOF
37715 /* end confdefs.h. */
37716
37717 #include <sys/statvfs.h>
37718
37719 int
37720 main ()
37721 {
37722
37723 long l;
37724 struct statvfs fs;
37725 statvfs("/", &fs);
37726 l = fs.f_bsize;
37727 l += fs.f_blocks;
37728 l += fs.f_bavail;
37729
37730 ;
37731 return 0;
37732 }
37733 _ACEOF
37734 rm -f conftest.$ac_objext
37735 if { (ac_try="$ac_compile"
37736 case "(($ac_try" in
37737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37738 *) ac_try_echo=$ac_try;;
37739 esac
37740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37741 (eval "$ac_compile") 2>conftest.er1
37742 ac_status=$?
37743 grep -v '^ *+' conftest.er1 >conftest.err
37744 rm -f conftest.er1
37745 cat conftest.err >&5
37746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37747 (exit $ac_status); } && {
37748 test -z "$ac_cxx_werror_flag" ||
37749 test ! -s conftest.err
37750 } && test -s conftest.$ac_objext; then
37751 wx_cv_type_statvfs_t="struct statvfs"
37752 else
37753 echo "$as_me: failed program was:" >&5
37754 sed 's/^/| /' conftest.$ac_ext >&5
37755
37756 wx_cv_type_statvfs_t="unknown"
37757
37758 fi
37759
37760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37761
37762
37763 fi
37764
37765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37766 ac_ext=c
37767 ac_cpp='$CPP $CPPFLAGS'
37768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37771
37772
37773 fi
37774 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37775 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
37776
37777 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37778 cat >>confdefs.h <<\_ACEOF
37779 #define HAVE_STATVFS 1
37780 _ACEOF
37781
37782 fi
37783 else
37784 wx_cv_type_statvfs_t="unknown"
37785 fi
37786 fi
37787
37788 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37789 cat >>confdefs.h <<_ACEOF
37790 #define WX_STATFS_T $wx_cv_type_statvfs_t
37791 _ACEOF
37792
37793 else
37794 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37795 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37796 fi
37797
37798 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37799
37800
37801 for ac_func in fcntl flock
37802 do
37803 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37804 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37805 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37806 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37807 echo $ECHO_N "(cached) $ECHO_C" >&6
37808 else
37809 cat >conftest.$ac_ext <<_ACEOF
37810 /* confdefs.h. */
37811 _ACEOF
37812 cat confdefs.h >>conftest.$ac_ext
37813 cat >>conftest.$ac_ext <<_ACEOF
37814 /* end confdefs.h. */
37815 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37816 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37817 #define $ac_func innocuous_$ac_func
37818
37819 /* System header to define __stub macros and hopefully few prototypes,
37820 which can conflict with char $ac_func (); below.
37821 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37822 <limits.h> exists even on freestanding compilers. */
37823
37824 #ifdef __STDC__
37825 # include <limits.h>
37826 #else
37827 # include <assert.h>
37828 #endif
37829
37830 #undef $ac_func
37831
37832 /* Override any GCC internal prototype to avoid an error.
37833 Use char because int might match the return type of a GCC
37834 builtin and then its argument prototype would still apply. */
37835 #ifdef __cplusplus
37836 extern "C"
37837 #endif
37838 char $ac_func ();
37839 /* The GNU C library defines this for functions which it implements
37840 to always fail with ENOSYS. Some functions are actually named
37841 something starting with __ and the normal name is an alias. */
37842 #if defined __stub_$ac_func || defined __stub___$ac_func
37843 choke me
37844 #endif
37845
37846 int
37847 main ()
37848 {
37849 return $ac_func ();
37850 ;
37851 return 0;
37852 }
37853 _ACEOF
37854 rm -f conftest.$ac_objext conftest$ac_exeext
37855 if { (ac_try="$ac_link"
37856 case "(($ac_try" in
37857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37858 *) ac_try_echo=$ac_try;;
37859 esac
37860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37861 (eval "$ac_link") 2>conftest.er1
37862 ac_status=$?
37863 grep -v '^ *+' conftest.er1 >conftest.err
37864 rm -f conftest.er1
37865 cat conftest.err >&5
37866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37867 (exit $ac_status); } && {
37868 test -z "$ac_c_werror_flag" ||
37869 test ! -s conftest.err
37870 } && test -s conftest$ac_exeext &&
37871 $as_test_x conftest$ac_exeext; then
37872 eval "$as_ac_var=yes"
37873 else
37874 echo "$as_me: failed program was:" >&5
37875 sed 's/^/| /' conftest.$ac_ext >&5
37876
37877 eval "$as_ac_var=no"
37878 fi
37879
37880 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37881 conftest$ac_exeext conftest.$ac_ext
37882 fi
37883 ac_res=`eval echo '${'$as_ac_var'}'`
37884 { echo "$as_me:$LINENO: result: $ac_res" >&5
37885 echo "${ECHO_T}$ac_res" >&6; }
37886 if test `eval echo '${'$as_ac_var'}'` = yes; then
37887 cat >>confdefs.h <<_ACEOF
37888 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37889 _ACEOF
37890 break
37891 fi
37892 done
37893
37894
37895 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37896 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37897 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37898 wxUSE_SNGLINST_CHECKER=no
37899 fi
37900 fi
37901
37902
37903
37904 for ac_func in setenv putenv
37905 do
37906 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37907 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37908 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37909 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37910 echo $ECHO_N "(cached) $ECHO_C" >&6
37911 else
37912 cat >conftest.$ac_ext <<_ACEOF
37913 /* confdefs.h. */
37914 _ACEOF
37915 cat confdefs.h >>conftest.$ac_ext
37916 cat >>conftest.$ac_ext <<_ACEOF
37917 /* end confdefs.h. */
37918 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37919 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37920 #define $ac_func innocuous_$ac_func
37921
37922 /* System header to define __stub macros and hopefully few prototypes,
37923 which can conflict with char $ac_func (); below.
37924 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37925 <limits.h> exists even on freestanding compilers. */
37926
37927 #ifdef __STDC__
37928 # include <limits.h>
37929 #else
37930 # include <assert.h>
37931 #endif
37932
37933 #undef $ac_func
37934
37935 /* Override any GCC internal prototype to avoid an error.
37936 Use char because int might match the return type of a GCC
37937 builtin and then its argument prototype would still apply. */
37938 #ifdef __cplusplus
37939 extern "C"
37940 #endif
37941 char $ac_func ();
37942 /* The GNU C library defines this for functions which it implements
37943 to always fail with ENOSYS. Some functions are actually named
37944 something starting with __ and the normal name is an alias. */
37945 #if defined __stub_$ac_func || defined __stub___$ac_func
37946 choke me
37947 #endif
37948
37949 int
37950 main ()
37951 {
37952 return $ac_func ();
37953 ;
37954 return 0;
37955 }
37956 _ACEOF
37957 rm -f conftest.$ac_objext conftest$ac_exeext
37958 if { (ac_try="$ac_link"
37959 case "(($ac_try" in
37960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37961 *) ac_try_echo=$ac_try;;
37962 esac
37963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37964 (eval "$ac_link") 2>conftest.er1
37965 ac_status=$?
37966 grep -v '^ *+' conftest.er1 >conftest.err
37967 rm -f conftest.er1
37968 cat conftest.err >&5
37969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37970 (exit $ac_status); } && {
37971 test -z "$ac_c_werror_flag" ||
37972 test ! -s conftest.err
37973 } && test -s conftest$ac_exeext &&
37974 $as_test_x conftest$ac_exeext; then
37975 eval "$as_ac_var=yes"
37976 else
37977 echo "$as_me: failed program was:" >&5
37978 sed 's/^/| /' conftest.$ac_ext >&5
37979
37980 eval "$as_ac_var=no"
37981 fi
37982
37983 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37984 conftest$ac_exeext conftest.$ac_ext
37985 fi
37986 ac_res=`eval echo '${'$as_ac_var'}'`
37987 { echo "$as_me:$LINENO: result: $ac_res" >&5
37988 echo "${ECHO_T}$ac_res" >&6; }
37989 if test `eval echo '${'$as_ac_var'}'` = yes; then
37990 cat >>confdefs.h <<_ACEOF
37991 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37992 _ACEOF
37993 break
37994 fi
37995 done
37996
37997 if test "$ac_cv_func_setenv" = "yes"; then
37998
37999 for ac_func in unsetenv
38000 do
38001 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38002 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38003 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38004 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38005 echo $ECHO_N "(cached) $ECHO_C" >&6
38006 else
38007 cat >conftest.$ac_ext <<_ACEOF
38008 /* confdefs.h. */
38009 _ACEOF
38010 cat confdefs.h >>conftest.$ac_ext
38011 cat >>conftest.$ac_ext <<_ACEOF
38012 /* end confdefs.h. */
38013 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38014 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38015 #define $ac_func innocuous_$ac_func
38016
38017 /* System header to define __stub macros and hopefully few prototypes,
38018 which can conflict with char $ac_func (); below.
38019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38020 <limits.h> exists even on freestanding compilers. */
38021
38022 #ifdef __STDC__
38023 # include <limits.h>
38024 #else
38025 # include <assert.h>
38026 #endif
38027
38028 #undef $ac_func
38029
38030 /* Override any GCC internal prototype to avoid an error.
38031 Use char because int might match the return type of a GCC
38032 builtin and then its argument prototype would still apply. */
38033 #ifdef __cplusplus
38034 extern "C"
38035 #endif
38036 char $ac_func ();
38037 /* The GNU C library defines this for functions which it implements
38038 to always fail with ENOSYS. Some functions are actually named
38039 something starting with __ and the normal name is an alias. */
38040 #if defined __stub_$ac_func || defined __stub___$ac_func
38041 choke me
38042 #endif
38043
38044 int
38045 main ()
38046 {
38047 return $ac_func ();
38048 ;
38049 return 0;
38050 }
38051 _ACEOF
38052 rm -f conftest.$ac_objext conftest$ac_exeext
38053 if { (ac_try="$ac_link"
38054 case "(($ac_try" in
38055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38056 *) ac_try_echo=$ac_try;;
38057 esac
38058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38059 (eval "$ac_link") 2>conftest.er1
38060 ac_status=$?
38061 grep -v '^ *+' conftest.er1 >conftest.err
38062 rm -f conftest.er1
38063 cat conftest.err >&5
38064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38065 (exit $ac_status); } && {
38066 test -z "$ac_c_werror_flag" ||
38067 test ! -s conftest.err
38068 } && test -s conftest$ac_exeext &&
38069 $as_test_x conftest$ac_exeext; then
38070 eval "$as_ac_var=yes"
38071 else
38072 echo "$as_me: failed program was:" >&5
38073 sed 's/^/| /' conftest.$ac_ext >&5
38074
38075 eval "$as_ac_var=no"
38076 fi
38077
38078 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38079 conftest$ac_exeext conftest.$ac_ext
38080 fi
38081 ac_res=`eval echo '${'$as_ac_var'}'`
38082 { echo "$as_me:$LINENO: result: $ac_res" >&5
38083 echo "${ECHO_T}$ac_res" >&6; }
38084 if test `eval echo '${'$as_ac_var'}'` = yes; then
38085 cat >>confdefs.h <<_ACEOF
38086 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38087 _ACEOF
38088
38089 fi
38090 done
38091
38092 fi
38093
38094 HAVE_SOME_SLEEP_FUNC=0
38095 if test "$USE_BEOS" = 1; then
38096 cat >>confdefs.h <<\_ACEOF
38097 #define HAVE_SLEEP 1
38098 _ACEOF
38099
38100 HAVE_SOME_SLEEP_FUNC=1
38101 fi
38102
38103 if test "$USE_DARWIN" = 1; then
38104 cat >>confdefs.h <<\_ACEOF
38105 #define HAVE_USLEEP 1
38106 _ACEOF
38107
38108 HAVE_SOME_SLEEP_FUNC=1
38109 fi
38110
38111 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
38112 POSIX4_LINK=
38113
38114 for ac_func in nanosleep
38115 do
38116 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38117 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38118 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38119 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38120 echo $ECHO_N "(cached) $ECHO_C" >&6
38121 else
38122 cat >conftest.$ac_ext <<_ACEOF
38123 /* confdefs.h. */
38124 _ACEOF
38125 cat confdefs.h >>conftest.$ac_ext
38126 cat >>conftest.$ac_ext <<_ACEOF
38127 /* end confdefs.h. */
38128 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38129 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38130 #define $ac_func innocuous_$ac_func
38131
38132 /* System header to define __stub macros and hopefully few prototypes,
38133 which can conflict with char $ac_func (); below.
38134 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38135 <limits.h> exists even on freestanding compilers. */
38136
38137 #ifdef __STDC__
38138 # include <limits.h>
38139 #else
38140 # include <assert.h>
38141 #endif
38142
38143 #undef $ac_func
38144
38145 /* Override any GCC internal prototype to avoid an error.
38146 Use char because int might match the return type of a GCC
38147 builtin and then its argument prototype would still apply. */
38148 #ifdef __cplusplus
38149 extern "C"
38150 #endif
38151 char $ac_func ();
38152 /* The GNU C library defines this for functions which it implements
38153 to always fail with ENOSYS. Some functions are actually named
38154 something starting with __ and the normal name is an alias. */
38155 #if defined __stub_$ac_func || defined __stub___$ac_func
38156 choke me
38157 #endif
38158
38159 int
38160 main ()
38161 {
38162 return $ac_func ();
38163 ;
38164 return 0;
38165 }
38166 _ACEOF
38167 rm -f conftest.$ac_objext conftest$ac_exeext
38168 if { (ac_try="$ac_link"
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_link") 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_exeext &&
38184 $as_test_x conftest$ac_exeext; then
38185 eval "$as_ac_var=yes"
38186 else
38187 echo "$as_me: failed program was:" >&5
38188 sed 's/^/| /' conftest.$ac_ext >&5
38189
38190 eval "$as_ac_var=no"
38191 fi
38192
38193 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38194 conftest$ac_exeext conftest.$ac_ext
38195 fi
38196 ac_res=`eval echo '${'$as_ac_var'}'`
38197 { echo "$as_me:$LINENO: result: $ac_res" >&5
38198 echo "${ECHO_T}$ac_res" >&6; }
38199 if test `eval echo '${'$as_ac_var'}'` = yes; then
38200 cat >>confdefs.h <<_ACEOF
38201 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38202 _ACEOF
38203 cat >>confdefs.h <<\_ACEOF
38204 #define HAVE_NANOSLEEP 1
38205 _ACEOF
38206
38207 else
38208
38209 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
38210 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
38211 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
38212 echo $ECHO_N "(cached) $ECHO_C" >&6
38213 else
38214 ac_check_lib_save_LIBS=$LIBS
38215 LIBS="-lposix4 $LIBS"
38216 cat >conftest.$ac_ext <<_ACEOF
38217 /* confdefs.h. */
38218 _ACEOF
38219 cat confdefs.h >>conftest.$ac_ext
38220 cat >>conftest.$ac_ext <<_ACEOF
38221 /* end confdefs.h. */
38222
38223 /* Override any GCC internal prototype to avoid an error.
38224 Use char because int might match the return type of a GCC
38225 builtin and then its argument prototype would still apply. */
38226 #ifdef __cplusplus
38227 extern "C"
38228 #endif
38229 char nanosleep ();
38230 int
38231 main ()
38232 {
38233 return nanosleep ();
38234 ;
38235 return 0;
38236 }
38237 _ACEOF
38238 rm -f conftest.$ac_objext conftest$ac_exeext
38239 if { (ac_try="$ac_link"
38240 case "(($ac_try" in
38241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38242 *) ac_try_echo=$ac_try;;
38243 esac
38244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38245 (eval "$ac_link") 2>conftest.er1
38246 ac_status=$?
38247 grep -v '^ *+' conftest.er1 >conftest.err
38248 rm -f conftest.er1
38249 cat conftest.err >&5
38250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38251 (exit $ac_status); } && {
38252 test -z "$ac_c_werror_flag" ||
38253 test ! -s conftest.err
38254 } && test -s conftest$ac_exeext &&
38255 $as_test_x conftest$ac_exeext; then
38256 ac_cv_lib_posix4_nanosleep=yes
38257 else
38258 echo "$as_me: failed program was:" >&5
38259 sed 's/^/| /' conftest.$ac_ext >&5
38260
38261 ac_cv_lib_posix4_nanosleep=no
38262 fi
38263
38264 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38265 conftest$ac_exeext conftest.$ac_ext
38266 LIBS=$ac_check_lib_save_LIBS
38267 fi
38268 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
38269 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
38270 if test $ac_cv_lib_posix4_nanosleep = yes; then
38271
38272 cat >>confdefs.h <<\_ACEOF
38273 #define HAVE_NANOSLEEP 1
38274 _ACEOF
38275
38276 POSIX4_LINK=" -lposix4"
38277
38278 else
38279
38280
38281 for wx_func in usleep
38282 do
38283 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38284 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38285 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38286 echo $ECHO_N "(cached) $ECHO_C" >&6
38287 else
38288
38289 cat >conftest.$ac_ext <<_ACEOF
38290
38291 /* confdefs.h. */
38292 _ACEOF
38293 cat confdefs.h >>conftest.$ac_ext
38294 cat >>conftest.$ac_ext <<_ACEOF
38295 /* end confdefs.h. */
38296
38297
38298 $ac_includes_default
38299
38300 int
38301 main ()
38302 {
38303
38304 #ifndef $wx_func
38305 &$wx_func;
38306 #endif
38307
38308
38309 ;
38310 return 0;
38311 }
38312
38313 _ACEOF
38314 rm -f conftest.$ac_objext conftest$ac_exeext
38315 if { (ac_try="$ac_link"
38316 case "(($ac_try" in
38317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38318 *) ac_try_echo=$ac_try;;
38319 esac
38320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38321 (eval "$ac_link") 2>conftest.er1
38322 ac_status=$?
38323 grep -v '^ *+' conftest.er1 >conftest.err
38324 rm -f conftest.er1
38325 cat conftest.err >&5
38326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38327 (exit $ac_status); } && {
38328 test -z "$ac_c_werror_flag" ||
38329 test ! -s conftest.err
38330 } && test -s conftest$ac_exeext &&
38331 $as_test_x conftest$ac_exeext; then
38332 eval wx_cv_func_$wx_func=yes
38333 else
38334 echo "$as_me: failed program was:" >&5
38335 sed 's/^/| /' conftest.$ac_ext >&5
38336
38337 eval wx_cv_func_$wx_func=no
38338 fi
38339
38340 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38341 conftest$ac_exeext conftest.$ac_ext
38342
38343 fi
38344 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38345 { echo "$as_me:$LINENO: result: $ac_res" >&5
38346 echo "${ECHO_T}$ac_res" >&6; }
38347
38348 if eval test \$wx_cv_func_$wx_func = yes
38349 then
38350 cat >>confdefs.h <<_ACEOF
38351 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38352 _ACEOF
38353
38354
38355 else
38356 :
38357 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
38358 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
38359
38360 fi
38361 done
38362
38363
38364
38365 fi
38366
38367
38368
38369 fi
38370 done
38371
38372 fi
38373
38374
38375 for wx_func in uname
38376 do
38377 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38378 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38379 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38380 echo $ECHO_N "(cached) $ECHO_C" >&6
38381 else
38382
38383 cat >conftest.$ac_ext <<_ACEOF
38384
38385 /* confdefs.h. */
38386 _ACEOF
38387 cat confdefs.h >>conftest.$ac_ext
38388 cat >>conftest.$ac_ext <<_ACEOF
38389 /* end confdefs.h. */
38390
38391 #include <sys/utsname.h>
38392 $ac_includes_default
38393
38394 int
38395 main ()
38396 {
38397
38398 #ifndef $wx_func
38399 &$wx_func;
38400 #endif
38401
38402
38403 ;
38404 return 0;
38405 }
38406
38407 _ACEOF
38408 rm -f conftest.$ac_objext conftest$ac_exeext
38409 if { (ac_try="$ac_link"
38410 case "(($ac_try" in
38411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38412 *) ac_try_echo=$ac_try;;
38413 esac
38414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38415 (eval "$ac_link") 2>conftest.er1
38416 ac_status=$?
38417 grep -v '^ *+' conftest.er1 >conftest.err
38418 rm -f conftest.er1
38419 cat conftest.err >&5
38420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38421 (exit $ac_status); } && {
38422 test -z "$ac_c_werror_flag" ||
38423 test ! -s conftest.err
38424 } && test -s conftest$ac_exeext &&
38425 $as_test_x conftest$ac_exeext; then
38426 eval wx_cv_func_$wx_func=yes
38427 else
38428 echo "$as_me: failed program was:" >&5
38429 sed 's/^/| /' conftest.$ac_ext >&5
38430
38431 eval wx_cv_func_$wx_func=no
38432 fi
38433
38434 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38435 conftest$ac_exeext conftest.$ac_ext
38436
38437 fi
38438 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38439 { echo "$as_me:$LINENO: result: $ac_res" >&5
38440 echo "${ECHO_T}$ac_res" >&6; }
38441
38442 if eval test \$wx_cv_func_$wx_func = yes
38443 then
38444 cat >>confdefs.h <<_ACEOF
38445 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38446 _ACEOF
38447
38448
38449 else
38450 :
38451
38452 fi
38453 done
38454
38455 if test "$wx_cv_func_uname" != yes; then
38456
38457 for wx_func in gethostname
38458 do
38459 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38460 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38461 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38462 echo $ECHO_N "(cached) $ECHO_C" >&6
38463 else
38464
38465 cat >conftest.$ac_ext <<_ACEOF
38466
38467 /* confdefs.h. */
38468 _ACEOF
38469 cat confdefs.h >>conftest.$ac_ext
38470 cat >>conftest.$ac_ext <<_ACEOF
38471 /* end confdefs.h. */
38472
38473
38474 $ac_includes_default
38475
38476 int
38477 main ()
38478 {
38479
38480 #ifndef $wx_func
38481 &$wx_func;
38482 #endif
38483
38484
38485 ;
38486 return 0;
38487 }
38488
38489 _ACEOF
38490 rm -f conftest.$ac_objext conftest$ac_exeext
38491 if { (ac_try="$ac_link"
38492 case "(($ac_try" in
38493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38494 *) ac_try_echo=$ac_try;;
38495 esac
38496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38497 (eval "$ac_link") 2>conftest.er1
38498 ac_status=$?
38499 grep -v '^ *+' conftest.er1 >conftest.err
38500 rm -f conftest.er1
38501 cat conftest.err >&5
38502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38503 (exit $ac_status); } && {
38504 test -z "$ac_c_werror_flag" ||
38505 test ! -s conftest.err
38506 } && test -s conftest$ac_exeext &&
38507 $as_test_x conftest$ac_exeext; then
38508 eval wx_cv_func_$wx_func=yes
38509 else
38510 echo "$as_me: failed program was:" >&5
38511 sed 's/^/| /' conftest.$ac_ext >&5
38512
38513 eval wx_cv_func_$wx_func=no
38514 fi
38515
38516 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38517 conftest$ac_exeext conftest.$ac_ext
38518
38519 fi
38520 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38521 { echo "$as_me:$LINENO: result: $ac_res" >&5
38522 echo "${ECHO_T}$ac_res" >&6; }
38523
38524 if eval test \$wx_cv_func_$wx_func = yes
38525 then
38526 cat >>confdefs.h <<_ACEOF
38527 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38528 _ACEOF
38529
38530
38531 else
38532 :
38533
38534 fi
38535 done
38536
38537 fi
38538
38539
38540 for wx_func in strtok_r
38541 do
38542 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38543 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38544 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38545 echo $ECHO_N "(cached) $ECHO_C" >&6
38546 else
38547
38548 cat >conftest.$ac_ext <<_ACEOF
38549
38550 /* confdefs.h. */
38551 _ACEOF
38552 cat confdefs.h >>conftest.$ac_ext
38553 cat >>conftest.$ac_ext <<_ACEOF
38554 /* end confdefs.h. */
38555
38556 #define _REENTRANT
38557 $ac_includes_default
38558
38559 int
38560 main ()
38561 {
38562
38563 #ifndef $wx_func
38564 &$wx_func;
38565 #endif
38566
38567
38568 ;
38569 return 0;
38570 }
38571
38572 _ACEOF
38573 rm -f conftest.$ac_objext conftest$ac_exeext
38574 if { (ac_try="$ac_link"
38575 case "(($ac_try" in
38576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38577 *) ac_try_echo=$ac_try;;
38578 esac
38579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38580 (eval "$ac_link") 2>conftest.er1
38581 ac_status=$?
38582 grep -v '^ *+' conftest.er1 >conftest.err
38583 rm -f conftest.er1
38584 cat conftest.err >&5
38585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38586 (exit $ac_status); } && {
38587 test -z "$ac_c_werror_flag" ||
38588 test ! -s conftest.err
38589 } && test -s conftest$ac_exeext &&
38590 $as_test_x conftest$ac_exeext; then
38591 eval wx_cv_func_$wx_func=yes
38592 else
38593 echo "$as_me: failed program was:" >&5
38594 sed 's/^/| /' conftest.$ac_ext >&5
38595
38596 eval wx_cv_func_$wx_func=no
38597 fi
38598
38599 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38600 conftest$ac_exeext conftest.$ac_ext
38601
38602 fi
38603 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38604 { echo "$as_me:$LINENO: result: $ac_res" >&5
38605 echo "${ECHO_T}$ac_res" >&6; }
38606
38607 if eval test \$wx_cv_func_$wx_func = yes
38608 then
38609 cat >>confdefs.h <<_ACEOF
38610 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38611 _ACEOF
38612
38613
38614 else
38615 :
38616
38617 fi
38618 done
38619
38620
38621 INET_LINK=
38622
38623 for ac_func in inet_addr
38624 do
38625 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38626 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38627 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38628 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38629 echo $ECHO_N "(cached) $ECHO_C" >&6
38630 else
38631 cat >conftest.$ac_ext <<_ACEOF
38632 /* confdefs.h. */
38633 _ACEOF
38634 cat confdefs.h >>conftest.$ac_ext
38635 cat >>conftest.$ac_ext <<_ACEOF
38636 /* end confdefs.h. */
38637 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38638 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38639 #define $ac_func innocuous_$ac_func
38640
38641 /* System header to define __stub macros and hopefully few prototypes,
38642 which can conflict with char $ac_func (); below.
38643 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38644 <limits.h> exists even on freestanding compilers. */
38645
38646 #ifdef __STDC__
38647 # include <limits.h>
38648 #else
38649 # include <assert.h>
38650 #endif
38651
38652 #undef $ac_func
38653
38654 /* Override any GCC internal prototype to avoid an error.
38655 Use char because int might match the return type of a GCC
38656 builtin and then its argument prototype would still apply. */
38657 #ifdef __cplusplus
38658 extern "C"
38659 #endif
38660 char $ac_func ();
38661 /* The GNU C library defines this for functions which it implements
38662 to always fail with ENOSYS. Some functions are actually named
38663 something starting with __ and the normal name is an alias. */
38664 #if defined __stub_$ac_func || defined __stub___$ac_func
38665 choke me
38666 #endif
38667
38668 int
38669 main ()
38670 {
38671 return $ac_func ();
38672 ;
38673 return 0;
38674 }
38675 _ACEOF
38676 rm -f conftest.$ac_objext conftest$ac_exeext
38677 if { (ac_try="$ac_link"
38678 case "(($ac_try" in
38679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38680 *) ac_try_echo=$ac_try;;
38681 esac
38682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38683 (eval "$ac_link") 2>conftest.er1
38684 ac_status=$?
38685 grep -v '^ *+' conftest.er1 >conftest.err
38686 rm -f conftest.er1
38687 cat conftest.err >&5
38688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38689 (exit $ac_status); } && {
38690 test -z "$ac_c_werror_flag" ||
38691 test ! -s conftest.err
38692 } && test -s conftest$ac_exeext &&
38693 $as_test_x conftest$ac_exeext; then
38694 eval "$as_ac_var=yes"
38695 else
38696 echo "$as_me: failed program was:" >&5
38697 sed 's/^/| /' conftest.$ac_ext >&5
38698
38699 eval "$as_ac_var=no"
38700 fi
38701
38702 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38703 conftest$ac_exeext conftest.$ac_ext
38704 fi
38705 ac_res=`eval echo '${'$as_ac_var'}'`
38706 { echo "$as_me:$LINENO: result: $ac_res" >&5
38707 echo "${ECHO_T}$ac_res" >&6; }
38708 if test `eval echo '${'$as_ac_var'}'` = yes; then
38709 cat >>confdefs.h <<_ACEOF
38710 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38711 _ACEOF
38712 cat >>confdefs.h <<\_ACEOF
38713 #define HAVE_INET_ADDR 1
38714 _ACEOF
38715
38716 else
38717
38718 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38719 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
38720 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38721 echo $ECHO_N "(cached) $ECHO_C" >&6
38722 else
38723 ac_check_lib_save_LIBS=$LIBS
38724 LIBS="-lnsl $LIBS"
38725 cat >conftest.$ac_ext <<_ACEOF
38726 /* confdefs.h. */
38727 _ACEOF
38728 cat confdefs.h >>conftest.$ac_ext
38729 cat >>conftest.$ac_ext <<_ACEOF
38730 /* end confdefs.h. */
38731
38732 /* Override any GCC internal prototype to avoid an error.
38733 Use char because int might match the return type of a GCC
38734 builtin and then its argument prototype would still apply. */
38735 #ifdef __cplusplus
38736 extern "C"
38737 #endif
38738 char inet_addr ();
38739 int
38740 main ()
38741 {
38742 return inet_addr ();
38743 ;
38744 return 0;
38745 }
38746 _ACEOF
38747 rm -f conftest.$ac_objext conftest$ac_exeext
38748 if { (ac_try="$ac_link"
38749 case "(($ac_try" in
38750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38751 *) ac_try_echo=$ac_try;;
38752 esac
38753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38754 (eval "$ac_link") 2>conftest.er1
38755 ac_status=$?
38756 grep -v '^ *+' conftest.er1 >conftest.err
38757 rm -f conftest.er1
38758 cat conftest.err >&5
38759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38760 (exit $ac_status); } && {
38761 test -z "$ac_c_werror_flag" ||
38762 test ! -s conftest.err
38763 } && test -s conftest$ac_exeext &&
38764 $as_test_x conftest$ac_exeext; then
38765 ac_cv_lib_nsl_inet_addr=yes
38766 else
38767 echo "$as_me: failed program was:" >&5
38768 sed 's/^/| /' conftest.$ac_ext >&5
38769
38770 ac_cv_lib_nsl_inet_addr=no
38771 fi
38772
38773 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38774 conftest$ac_exeext conftest.$ac_ext
38775 LIBS=$ac_check_lib_save_LIBS
38776 fi
38777 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38778 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
38779 if test $ac_cv_lib_nsl_inet_addr = yes; then
38780 INET_LINK="nsl"
38781 else
38782
38783 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38784 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
38785 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38786 echo $ECHO_N "(cached) $ECHO_C" >&6
38787 else
38788 ac_check_lib_save_LIBS=$LIBS
38789 LIBS="-lresolv $LIBS"
38790 cat >conftest.$ac_ext <<_ACEOF
38791 /* confdefs.h. */
38792 _ACEOF
38793 cat confdefs.h >>conftest.$ac_ext
38794 cat >>conftest.$ac_ext <<_ACEOF
38795 /* end confdefs.h. */
38796
38797 /* Override any GCC internal prototype to avoid an error.
38798 Use char because int might match the return type of a GCC
38799 builtin and then its argument prototype would still apply. */
38800 #ifdef __cplusplus
38801 extern "C"
38802 #endif
38803 char inet_addr ();
38804 int
38805 main ()
38806 {
38807 return inet_addr ();
38808 ;
38809 return 0;
38810 }
38811 _ACEOF
38812 rm -f conftest.$ac_objext conftest$ac_exeext
38813 if { (ac_try="$ac_link"
38814 case "(($ac_try" in
38815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38816 *) ac_try_echo=$ac_try;;
38817 esac
38818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38819 (eval "$ac_link") 2>conftest.er1
38820 ac_status=$?
38821 grep -v '^ *+' conftest.er1 >conftest.err
38822 rm -f conftest.er1
38823 cat conftest.err >&5
38824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38825 (exit $ac_status); } && {
38826 test -z "$ac_c_werror_flag" ||
38827 test ! -s conftest.err
38828 } && test -s conftest$ac_exeext &&
38829 $as_test_x conftest$ac_exeext; then
38830 ac_cv_lib_resolv_inet_addr=yes
38831 else
38832 echo "$as_me: failed program was:" >&5
38833 sed 's/^/| /' conftest.$ac_ext >&5
38834
38835 ac_cv_lib_resolv_inet_addr=no
38836 fi
38837
38838 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38839 conftest$ac_exeext conftest.$ac_ext
38840 LIBS=$ac_check_lib_save_LIBS
38841 fi
38842 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38843 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
38844 if test $ac_cv_lib_resolv_inet_addr = yes; then
38845 INET_LINK="resolv"
38846 else
38847
38848 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38849 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
38850 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38851 echo $ECHO_N "(cached) $ECHO_C" >&6
38852 else
38853 ac_check_lib_save_LIBS=$LIBS
38854 LIBS="-lsocket $LIBS"
38855 cat >conftest.$ac_ext <<_ACEOF
38856 /* confdefs.h. */
38857 _ACEOF
38858 cat confdefs.h >>conftest.$ac_ext
38859 cat >>conftest.$ac_ext <<_ACEOF
38860 /* end confdefs.h. */
38861
38862 /* Override any GCC internal prototype to avoid an error.
38863 Use char because int might match the return type of a GCC
38864 builtin and then its argument prototype would still apply. */
38865 #ifdef __cplusplus
38866 extern "C"
38867 #endif
38868 char inet_addr ();
38869 int
38870 main ()
38871 {
38872 return inet_addr ();
38873 ;
38874 return 0;
38875 }
38876 _ACEOF
38877 rm -f conftest.$ac_objext conftest$ac_exeext
38878 if { (ac_try="$ac_link"
38879 case "(($ac_try" in
38880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38881 *) ac_try_echo=$ac_try;;
38882 esac
38883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38884 (eval "$ac_link") 2>conftest.er1
38885 ac_status=$?
38886 grep -v '^ *+' conftest.er1 >conftest.err
38887 rm -f conftest.er1
38888 cat conftest.err >&5
38889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38890 (exit $ac_status); } && {
38891 test -z "$ac_c_werror_flag" ||
38892 test ! -s conftest.err
38893 } && test -s conftest$ac_exeext &&
38894 $as_test_x conftest$ac_exeext; then
38895 ac_cv_lib_socket_inet_addr=yes
38896 else
38897 echo "$as_me: failed program was:" >&5
38898 sed 's/^/| /' conftest.$ac_ext >&5
38899
38900 ac_cv_lib_socket_inet_addr=no
38901 fi
38902
38903 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38904 conftest$ac_exeext conftest.$ac_ext
38905 LIBS=$ac_check_lib_save_LIBS
38906 fi
38907 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38908 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
38909 if test $ac_cv_lib_socket_inet_addr = yes; then
38910 INET_LINK="socket"
38911
38912 fi
38913
38914
38915
38916 fi
38917
38918
38919
38920 fi
38921
38922
38923
38924 fi
38925 done
38926
38927
38928
38929 for ac_func in inet_aton
38930 do
38931 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38932 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38933 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38934 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38935 echo $ECHO_N "(cached) $ECHO_C" >&6
38936 else
38937 cat >conftest.$ac_ext <<_ACEOF
38938 /* confdefs.h. */
38939 _ACEOF
38940 cat confdefs.h >>conftest.$ac_ext
38941 cat >>conftest.$ac_ext <<_ACEOF
38942 /* end confdefs.h. */
38943 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38944 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38945 #define $ac_func innocuous_$ac_func
38946
38947 /* System header to define __stub macros and hopefully few prototypes,
38948 which can conflict with char $ac_func (); below.
38949 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38950 <limits.h> exists even on freestanding compilers. */
38951
38952 #ifdef __STDC__
38953 # include <limits.h>
38954 #else
38955 # include <assert.h>
38956 #endif
38957
38958 #undef $ac_func
38959
38960 /* Override any GCC internal prototype to avoid an error.
38961 Use char because int might match the return type of a GCC
38962 builtin and then its argument prototype would still apply. */
38963 #ifdef __cplusplus
38964 extern "C"
38965 #endif
38966 char $ac_func ();
38967 /* The GNU C library defines this for functions which it implements
38968 to always fail with ENOSYS. Some functions are actually named
38969 something starting with __ and the normal name is an alias. */
38970 #if defined __stub_$ac_func || defined __stub___$ac_func
38971 choke me
38972 #endif
38973
38974 int
38975 main ()
38976 {
38977 return $ac_func ();
38978 ;
38979 return 0;
38980 }
38981 _ACEOF
38982 rm -f conftest.$ac_objext conftest$ac_exeext
38983 if { (ac_try="$ac_link"
38984 case "(($ac_try" in
38985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38986 *) ac_try_echo=$ac_try;;
38987 esac
38988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38989 (eval "$ac_link") 2>conftest.er1
38990 ac_status=$?
38991 grep -v '^ *+' conftest.er1 >conftest.err
38992 rm -f conftest.er1
38993 cat conftest.err >&5
38994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38995 (exit $ac_status); } && {
38996 test -z "$ac_c_werror_flag" ||
38997 test ! -s conftest.err
38998 } && test -s conftest$ac_exeext &&
38999 $as_test_x conftest$ac_exeext; then
39000 eval "$as_ac_var=yes"
39001 else
39002 echo "$as_me: failed program was:" >&5
39003 sed 's/^/| /' conftest.$ac_ext >&5
39004
39005 eval "$as_ac_var=no"
39006 fi
39007
39008 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39009 conftest$ac_exeext conftest.$ac_ext
39010 fi
39011 ac_res=`eval echo '${'$as_ac_var'}'`
39012 { echo "$as_me:$LINENO: result: $ac_res" >&5
39013 echo "${ECHO_T}$ac_res" >&6; }
39014 if test `eval echo '${'$as_ac_var'}'` = yes; then
39015 cat >>confdefs.h <<_ACEOF
39016 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39017 _ACEOF
39018 cat >>confdefs.h <<\_ACEOF
39019 #define HAVE_INET_ATON 1
39020 _ACEOF
39021
39022 else
39023
39024 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
39025 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
39026 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
39027 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
39028 echo $ECHO_N "(cached) $ECHO_C" >&6
39029 else
39030 ac_check_lib_save_LIBS=$LIBS
39031 LIBS="-l$INET_LINK $LIBS"
39032 cat >conftest.$ac_ext <<_ACEOF
39033 /* confdefs.h. */
39034 _ACEOF
39035 cat confdefs.h >>conftest.$ac_ext
39036 cat >>conftest.$ac_ext <<_ACEOF
39037 /* end confdefs.h. */
39038
39039 /* Override any GCC internal prototype to avoid an error.
39040 Use char because int might match the return type of a GCC
39041 builtin and then its argument prototype would still apply. */
39042 #ifdef __cplusplus
39043 extern "C"
39044 #endif
39045 char inet_aton ();
39046 int
39047 main ()
39048 {
39049 return inet_aton ();
39050 ;
39051 return 0;
39052 }
39053 _ACEOF
39054 rm -f conftest.$ac_objext conftest$ac_exeext
39055 if { (ac_try="$ac_link"
39056 case "(($ac_try" in
39057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39058 *) ac_try_echo=$ac_try;;
39059 esac
39060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39061 (eval "$ac_link") 2>conftest.er1
39062 ac_status=$?
39063 grep -v '^ *+' conftest.er1 >conftest.err
39064 rm -f conftest.er1
39065 cat conftest.err >&5
39066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39067 (exit $ac_status); } && {
39068 test -z "$ac_c_werror_flag" ||
39069 test ! -s conftest.err
39070 } && test -s conftest$ac_exeext &&
39071 $as_test_x conftest$ac_exeext; then
39072 eval "$as_ac_Lib=yes"
39073 else
39074 echo "$as_me: failed program was:" >&5
39075 sed 's/^/| /' conftest.$ac_ext >&5
39076
39077 eval "$as_ac_Lib=no"
39078 fi
39079
39080 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39081 conftest$ac_exeext conftest.$ac_ext
39082 LIBS=$ac_check_lib_save_LIBS
39083 fi
39084 ac_res=`eval echo '${'$as_ac_Lib'}'`
39085 { echo "$as_me:$LINENO: result: $ac_res" >&5
39086 echo "${ECHO_T}$ac_res" >&6; }
39087 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
39088 cat >>confdefs.h <<\_ACEOF
39089 #define HAVE_INET_ATON 1
39090 _ACEOF
39091
39092 fi
39093
39094
39095 fi
39096 done
39097
39098
39099 if test "x$INET_LINK" != "x"; then
39100 cat >>confdefs.h <<\_ACEOF
39101 #define HAVE_INET_ADDR 1
39102 _ACEOF
39103
39104 INET_LINK=" -l$INET_LINK"
39105 fi
39106
39107
39108 for wx_func in fdopen
39109 do
39110 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39111 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39112 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39113 echo $ECHO_N "(cached) $ECHO_C" >&6
39114 else
39115
39116 cat >conftest.$ac_ext <<_ACEOF
39117
39118 /* confdefs.h. */
39119 _ACEOF
39120 cat confdefs.h >>conftest.$ac_ext
39121 cat >>conftest.$ac_ext <<_ACEOF
39122 /* end confdefs.h. */
39123
39124
39125 $ac_includes_default
39126
39127 int
39128 main ()
39129 {
39130
39131 #ifndef $wx_func
39132 &$wx_func;
39133 #endif
39134
39135
39136 ;
39137 return 0;
39138 }
39139
39140 _ACEOF
39141 rm -f conftest.$ac_objext conftest$ac_exeext
39142 if { (ac_try="$ac_link"
39143 case "(($ac_try" in
39144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39145 *) ac_try_echo=$ac_try;;
39146 esac
39147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39148 (eval "$ac_link") 2>conftest.er1
39149 ac_status=$?
39150 grep -v '^ *+' conftest.er1 >conftest.err
39151 rm -f conftest.er1
39152 cat conftest.err >&5
39153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39154 (exit $ac_status); } && {
39155 test -z "$ac_c_werror_flag" ||
39156 test ! -s conftest.err
39157 } && test -s conftest$ac_exeext &&
39158 $as_test_x conftest$ac_exeext; then
39159 eval wx_cv_func_$wx_func=yes
39160 else
39161 echo "$as_me: failed program was:" >&5
39162 sed 's/^/| /' conftest.$ac_ext >&5
39163
39164 eval wx_cv_func_$wx_func=no
39165 fi
39166
39167 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39168 conftest$ac_exeext conftest.$ac_ext
39169
39170 fi
39171 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39172 { echo "$as_me:$LINENO: result: $ac_res" >&5
39173 echo "${ECHO_T}$ac_res" >&6; }
39174
39175 if eval test \$wx_cv_func_$wx_func = yes
39176 then
39177 cat >>confdefs.h <<_ACEOF
39178 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39179 _ACEOF
39180
39181
39182 else
39183 :
39184
39185 fi
39186 done
39187
39188
39189 if test "$wxUSE_TARSTREAM" = "yes"; then
39190
39191 for wx_func in sysconf
39192 do
39193 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39194 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39195 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39196 echo $ECHO_N "(cached) $ECHO_C" >&6
39197 else
39198
39199 cat >conftest.$ac_ext <<_ACEOF
39200
39201 /* confdefs.h. */
39202 _ACEOF
39203 cat confdefs.h >>conftest.$ac_ext
39204 cat >>conftest.$ac_ext <<_ACEOF
39205 /* end confdefs.h. */
39206
39207
39208 $ac_includes_default
39209
39210 int
39211 main ()
39212 {
39213
39214 #ifndef $wx_func
39215 &$wx_func;
39216 #endif
39217
39218
39219 ;
39220 return 0;
39221 }
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 wx_cv_func_$wx_func=yes
39243 else
39244 echo "$as_me: failed program was:" >&5
39245 sed 's/^/| /' conftest.$ac_ext >&5
39246
39247 eval wx_cv_func_$wx_func=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
39253 fi
39254 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39255 { echo "$as_me:$LINENO: result: $ac_res" >&5
39256 echo "${ECHO_T}$ac_res" >&6; }
39257
39258 if eval test \$wx_cv_func_$wx_func = yes
39259 then
39260 cat >>confdefs.h <<_ACEOF
39261 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39262 _ACEOF
39263
39264
39265 else
39266 :
39267
39268 fi
39269 done
39270
39271
39272
39273 for wx_func in getpwuid_r
39274 do
39275 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39276 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39277 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39278 echo $ECHO_N "(cached) $ECHO_C" >&6
39279 else
39280
39281 cat >conftest.$ac_ext <<_ACEOF
39282
39283 /* confdefs.h. */
39284 _ACEOF
39285 cat confdefs.h >>conftest.$ac_ext
39286 cat >>conftest.$ac_ext <<_ACEOF
39287 /* end confdefs.h. */
39288
39289
39290 #define _REENTRANT
39291 #include <pwd.h>
39292
39293 $ac_includes_default
39294
39295 int
39296 main ()
39297 {
39298
39299 #ifndef $wx_func
39300 &$wx_func;
39301 #endif
39302
39303 struct passwd pw, *ppw;
39304 char buf[1024];
39305 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
39306
39307
39308 ;
39309 return 0;
39310 }
39311
39312 _ACEOF
39313 rm -f conftest.$ac_objext conftest$ac_exeext
39314 if { (ac_try="$ac_link"
39315 case "(($ac_try" in
39316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39317 *) ac_try_echo=$ac_try;;
39318 esac
39319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39320 (eval "$ac_link") 2>conftest.er1
39321 ac_status=$?
39322 grep -v '^ *+' conftest.er1 >conftest.err
39323 rm -f conftest.er1
39324 cat conftest.err >&5
39325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39326 (exit $ac_status); } && {
39327 test -z "$ac_c_werror_flag" ||
39328 test ! -s conftest.err
39329 } && test -s conftest$ac_exeext &&
39330 $as_test_x conftest$ac_exeext; then
39331 eval wx_cv_func_$wx_func=yes
39332 else
39333 echo "$as_me: failed program was:" >&5
39334 sed 's/^/| /' conftest.$ac_ext >&5
39335
39336 eval wx_cv_func_$wx_func=no
39337 fi
39338
39339 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39340 conftest$ac_exeext conftest.$ac_ext
39341
39342 fi
39343 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39344 { echo "$as_me:$LINENO: result: $ac_res" >&5
39345 echo "${ECHO_T}$ac_res" >&6; }
39346
39347 if eval test \$wx_cv_func_$wx_func = yes
39348 then
39349 cat >>confdefs.h <<_ACEOF
39350 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39351 _ACEOF
39352
39353
39354 else
39355 :
39356
39357 fi
39358 done
39359
39360
39361
39362 for wx_func in getgrgid_r
39363 do
39364 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39365 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39366 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39367 echo $ECHO_N "(cached) $ECHO_C" >&6
39368 else
39369
39370 cat >conftest.$ac_ext <<_ACEOF
39371
39372 /* confdefs.h. */
39373 _ACEOF
39374 cat confdefs.h >>conftest.$ac_ext
39375 cat >>conftest.$ac_ext <<_ACEOF
39376 /* end confdefs.h. */
39377
39378
39379 #define _REENTRANT
39380 #include <grp.h>
39381
39382 $ac_includes_default
39383
39384 int
39385 main ()
39386 {
39387
39388 #ifndef $wx_func
39389 &$wx_func;
39390 #endif
39391
39392 struct group grp, *pgrp;
39393 char buf[1024];
39394 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
39395
39396
39397 ;
39398 return 0;
39399 }
39400
39401 _ACEOF
39402 rm -f conftest.$ac_objext conftest$ac_exeext
39403 if { (ac_try="$ac_link"
39404 case "(($ac_try" in
39405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39406 *) ac_try_echo=$ac_try;;
39407 esac
39408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39409 (eval "$ac_link") 2>conftest.er1
39410 ac_status=$?
39411 grep -v '^ *+' conftest.er1 >conftest.err
39412 rm -f conftest.er1
39413 cat conftest.err >&5
39414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39415 (exit $ac_status); } && {
39416 test -z "$ac_c_werror_flag" ||
39417 test ! -s conftest.err
39418 } && test -s conftest$ac_exeext &&
39419 $as_test_x conftest$ac_exeext; then
39420 eval wx_cv_func_$wx_func=yes
39421 else
39422 echo "$as_me: failed program was:" >&5
39423 sed 's/^/| /' conftest.$ac_ext >&5
39424
39425 eval wx_cv_func_$wx_func=no
39426 fi
39427
39428 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39429 conftest$ac_exeext conftest.$ac_ext
39430
39431 fi
39432 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39433 { echo "$as_me:$LINENO: result: $ac_res" >&5
39434 echo "${ECHO_T}$ac_res" >&6; }
39435
39436 if eval test \$wx_cv_func_$wx_func = yes
39437 then
39438 cat >>confdefs.h <<_ACEOF
39439 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39440 _ACEOF
39441
39442
39443 else
39444 :
39445
39446 fi
39447 done
39448
39449 fi
39450
39451 fi
39452
39453
39454
39455 cat >confcache <<\_ACEOF
39456 # This file is a shell script that caches the results of configure
39457 # tests run on this system so they can be shared between configure
39458 # scripts and configure runs, see configure's option --config-cache.
39459 # It is not useful on other systems. If it contains results you don't
39460 # want to keep, you may remove or edit it.
39461 #
39462 # config.status only pays attention to the cache file if you give it
39463 # the --recheck option to rerun configure.
39464 #
39465 # `ac_cv_env_foo' variables (set or unset) will be overridden when
39466 # loading this file, other *unset* `ac_cv_foo' will be assigned the
39467 # following values.
39468
39469 _ACEOF
39470
39471 # The following way of writing the cache mishandles newlines in values,
39472 # but we know of no workaround that is simple, portable, and efficient.
39473 # So, we kill variables containing newlines.
39474 # Ultrix sh set writes to stderr and can't be redirected directly,
39475 # and sets the high bit in the cache file unless we assign to the vars.
39476 (
39477 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
39478 eval ac_val=\$$ac_var
39479 case $ac_val in #(
39480 *${as_nl}*)
39481 case $ac_var in #(
39482 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
39483 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
39484 esac
39485 case $ac_var in #(
39486 _ | IFS | as_nl) ;; #(
39487 *) $as_unset $ac_var ;;
39488 esac ;;
39489 esac
39490 done
39491
39492 (set) 2>&1 |
39493 case $as_nl`(ac_space=' '; set) 2>&1` in #(
39494 *${as_nl}ac_space=\ *)
39495 # `set' does not quote correctly, so add quotes (double-quote
39496 # substitution turns \\\\ into \\, and sed turns \\ into \).
39497 sed -n \
39498 "s/'/'\\\\''/g;
39499 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
39500 ;; #(
39501 *)
39502 # `set' quotes correctly as required by POSIX, so do not add quotes.
39503 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
39504 ;;
39505 esac |
39506 sort
39507 ) |
39508 sed '
39509 /^ac_cv_env_/b end
39510 t clear
39511 :clear
39512 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
39513 t end
39514 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
39515 :end' >>confcache
39516 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
39517 if test -w "$cache_file"; then
39518 test "x$cache_file" != "x/dev/null" &&
39519 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
39520 echo "$as_me: updating cache $cache_file" >&6;}
39521 cat confcache >$cache_file
39522 else
39523 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
39524 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
39525 fi
39526 fi
39527 rm -f confcache
39528
39529
39530 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
39531
39532
39533 THREADS_LINK=
39534 THREADS_CFLAGS=
39535
39536 if test "$wxUSE_THREADS" = "yes" ; then
39537 if test "$USE_BEOS" = 1; then
39538 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
39539 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
39540 wxUSE_THREADS="no"
39541 fi
39542 fi
39543
39544 if test "$wxUSE_THREADS" = "yes" ; then
39545
39546
39547 THREAD_OPTS="-pthread"
39548 if test "x$SUNCXX" = xyes; then
39549 THREAD_OPTS="-mt lthread $THREAD_OPTS"
39550 fi
39551
39552 case "${host}" in
39553 *-*-solaris2* | *-*-sunos4* )
39554 if test "x$GCC" = "xyes"; then
39555 THREAD_OPTS="-pthreads $THREAD_OPTS"
39556 fi
39557 ;;
39558 *-*-freebsd*)
39559 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
39560 ;;
39561 *-*-darwin* | *-*-cygwin* )
39562 THREAD_OPTS=""
39563 ;;
39564 *-*-aix*)
39565 THREAD_OPTS="pthreads"
39566 ;;
39567 *-hp-hpux* )
39568 if test "x$GCC" = "xyes"; then
39569 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
39570 THREAD_OPTS=""
39571 else
39572 THREAD_OPTS="-mt"
39573 fi
39574 ;;
39575
39576 *-*-irix* )
39577 if test "x$GCC" = "xyes"; then
39578 THREAD_OPTS=""
39579 fi
39580 ;;
39581
39582 *-*-qnx*)
39583 THREAD_OPTS=""
39584 ;;
39585
39586 *-*-*UnixWare*)
39587 if test "x$GCC" != "xyes"; then
39588 THREAD_OPTS="-Ethread"
39589 fi
39590 ;;
39591 esac
39592
39593 case "${host}" in
39594 *-*-qnx*)
39595 THREAD_OPTS="none pthread"
39596 ;;
39597
39598 *)
39599 THREAD_OPTS="$THREAD_OPTS pthread none"
39600 ;;
39601 esac
39602
39603 THREADS_OK=no
39604 for flag in $THREAD_OPTS; do
39605 case $flag in
39606 none)
39607 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
39608 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
39609 ;;
39610
39611 -*)
39612 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
39613 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
39614 THREADS_CFLAGS="$flag"
39615 ;;
39616
39617 *)
39618 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
39619 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
39620 THREADS_LINK="-l$flag"
39621 ;;
39622 esac
39623
39624 save_LIBS="$LIBS"
39625 save_CFLAGS="$CFLAGS"
39626 LIBS="$THREADS_LINK $LIBS"
39627 CFLAGS="$THREADS_CFLAGS $CFLAGS"
39628
39629 cat >conftest.$ac_ext <<_ACEOF
39630 /* confdefs.h. */
39631 _ACEOF
39632 cat confdefs.h >>conftest.$ac_ext
39633 cat >>conftest.$ac_ext <<_ACEOF
39634 /* end confdefs.h. */
39635 #include <pthread.h>
39636 int
39637 main ()
39638 {
39639 pthread_create(0,0,0,0);
39640 ;
39641 return 0;
39642 }
39643 _ACEOF
39644 rm -f conftest.$ac_objext conftest$ac_exeext
39645 if { (ac_try="$ac_link"
39646 case "(($ac_try" in
39647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39648 *) ac_try_echo=$ac_try;;
39649 esac
39650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39651 (eval "$ac_link") 2>conftest.er1
39652 ac_status=$?
39653 grep -v '^ *+' conftest.er1 >conftest.err
39654 rm -f conftest.er1
39655 cat conftest.err >&5
39656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39657 (exit $ac_status); } && {
39658 test -z "$ac_c_werror_flag" ||
39659 test ! -s conftest.err
39660 } && test -s conftest$ac_exeext &&
39661 $as_test_x conftest$ac_exeext; then
39662 THREADS_OK=yes
39663 else
39664 echo "$as_me: failed program was:" >&5
39665 sed 's/^/| /' conftest.$ac_ext >&5
39666
39667
39668 fi
39669
39670 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39671 conftest$ac_exeext conftest.$ac_ext
39672
39673 LIBS="$save_LIBS"
39674 CFLAGS="$save_CFLAGS"
39675
39676 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39677 echo "${ECHO_T}$THREADS_OK" >&6; }
39678 if test "x$THREADS_OK" = "xyes"; then
39679 break;
39680 fi
39681
39682 THREADS_LINK=""
39683 THREADS_CFLAGS=""
39684 done
39685
39686 if test "x$THREADS_OK" != "xyes"; then
39687 wxUSE_THREADS=no
39688 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39689 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39690 else
39691 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
39692 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
39693 LIBS="$THREADS_LINK $LIBS"
39694
39695 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39696 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
39697 flag=no
39698 case "${host}" in
39699 *-aix*)
39700 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39701 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
39702 flag="-D_THREAD_SAFE"
39703 ;;
39704 *-freebsd*)
39705 flag="-D_THREAD_SAFE"
39706 ;;
39707 *-hp-hpux* )
39708 flag="-D_REENTRANT"
39709 if test "x$GCC" != "xyes"; then
39710 flag="$flag -D_RWSTD_MULTI_THREAD"
39711 fi
39712 ;;
39713 *solaris* | alpha*-osf*)
39714 flag="-D_REENTRANT"
39715 ;;
39716 esac
39717 { echo "$as_me:$LINENO: result: ${flag}" >&5
39718 echo "${ECHO_T}${flag}" >&6; }
39719 if test "x$flag" != xno; then
39720 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
39721 fi
39722
39723 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
39724 fi
39725 fi
39726
39727 if test "$wxUSE_THREADS" = "yes" ; then
39728
39729 for ac_func in thr_setconcurrency
39730 do
39731 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39732 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39733 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39734 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39735 echo $ECHO_N "(cached) $ECHO_C" >&6
39736 else
39737 cat >conftest.$ac_ext <<_ACEOF
39738 /* confdefs.h. */
39739 _ACEOF
39740 cat confdefs.h >>conftest.$ac_ext
39741 cat >>conftest.$ac_ext <<_ACEOF
39742 /* end confdefs.h. */
39743 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39744 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39745 #define $ac_func innocuous_$ac_func
39746
39747 /* System header to define __stub macros and hopefully few prototypes,
39748 which can conflict with char $ac_func (); below.
39749 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39750 <limits.h> exists even on freestanding compilers. */
39751
39752 #ifdef __STDC__
39753 # include <limits.h>
39754 #else
39755 # include <assert.h>
39756 #endif
39757
39758 #undef $ac_func
39759
39760 /* Override any GCC internal prototype to avoid an error.
39761 Use char because int might match the return type of a GCC
39762 builtin and then its argument prototype would still apply. */
39763 #ifdef __cplusplus
39764 extern "C"
39765 #endif
39766 char $ac_func ();
39767 /* The GNU C library defines this for functions which it implements
39768 to always fail with ENOSYS. Some functions are actually named
39769 something starting with __ and the normal name is an alias. */
39770 #if defined __stub_$ac_func || defined __stub___$ac_func
39771 choke me
39772 #endif
39773
39774 int
39775 main ()
39776 {
39777 return $ac_func ();
39778 ;
39779 return 0;
39780 }
39781 _ACEOF
39782 rm -f conftest.$ac_objext conftest$ac_exeext
39783 if { (ac_try="$ac_link"
39784 case "(($ac_try" in
39785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39786 *) ac_try_echo=$ac_try;;
39787 esac
39788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39789 (eval "$ac_link") 2>conftest.er1
39790 ac_status=$?
39791 grep -v '^ *+' conftest.er1 >conftest.err
39792 rm -f conftest.er1
39793 cat conftest.err >&5
39794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39795 (exit $ac_status); } && {
39796 test -z "$ac_c_werror_flag" ||
39797 test ! -s conftest.err
39798 } && test -s conftest$ac_exeext &&
39799 $as_test_x conftest$ac_exeext; then
39800 eval "$as_ac_var=yes"
39801 else
39802 echo "$as_me: failed program was:" >&5
39803 sed 's/^/| /' conftest.$ac_ext >&5
39804
39805 eval "$as_ac_var=no"
39806 fi
39807
39808 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39809 conftest$ac_exeext conftest.$ac_ext
39810 fi
39811 ac_res=`eval echo '${'$as_ac_var'}'`
39812 { echo "$as_me:$LINENO: result: $ac_res" >&5
39813 echo "${ECHO_T}$ac_res" >&6; }
39814 if test `eval echo '${'$as_ac_var'}'` = yes; then
39815 cat >>confdefs.h <<_ACEOF
39816 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39817 _ACEOF
39818
39819 fi
39820 done
39821
39822
39823 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39824 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
39825 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39826 echo $ECHO_N "(cached) $ECHO_C" >&6
39827 else
39828
39829 ac_ext=cpp
39830 ac_cpp='$CXXCPP $CPPFLAGS'
39831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39834
39835 cat >conftest.$ac_ext <<_ACEOF
39836 /* confdefs.h. */
39837 _ACEOF
39838 cat confdefs.h >>conftest.$ac_ext
39839 cat >>conftest.$ac_ext <<_ACEOF
39840 /* end confdefs.h. */
39841 #include <pthread.h>
39842 void ThreadCleanupFunc(void *p);
39843
39844 int
39845 main ()
39846 {
39847
39848 void *p;
39849 pthread_cleanup_push(ThreadCleanupFunc, p);
39850 pthread_cleanup_pop(0);
39851
39852 ;
39853 return 0;
39854 }
39855 _ACEOF
39856 rm -f conftest.$ac_objext
39857 if { (ac_try="$ac_compile"
39858 case "(($ac_try" in
39859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39860 *) ac_try_echo=$ac_try;;
39861 esac
39862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39863 (eval "$ac_compile") 2>conftest.er1
39864 ac_status=$?
39865 grep -v '^ *+' conftest.er1 >conftest.err
39866 rm -f conftest.er1
39867 cat conftest.err >&5
39868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39869 (exit $ac_status); } && {
39870 test -z "$ac_cxx_werror_flag" ||
39871 test ! -s conftest.err
39872 } && test -s conftest.$ac_objext; then
39873
39874 wx_cv_func_pthread_cleanup=yes
39875
39876 else
39877 echo "$as_me: failed program was:" >&5
39878 sed 's/^/| /' conftest.$ac_ext >&5
39879
39880
39881 wx_cv_func_pthread_cleanup=no
39882
39883
39884 fi
39885
39886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39887 ac_ext=c
39888 ac_cpp='$CPP $CPPFLAGS'
39889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39892
39893
39894 fi
39895 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39896 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
39897 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39898 cat >>confdefs.h <<\_ACEOF
39899 #define wxHAVE_PTHREAD_CLEANUP 1
39900 _ACEOF
39901
39902 fi
39903
39904
39905 for ac_header in sched.h
39906 do
39907 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39908 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39909 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39910 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39911 echo $ECHO_N "(cached) $ECHO_C" >&6
39912 else
39913 cat >conftest.$ac_ext <<_ACEOF
39914 /* confdefs.h. */
39915 _ACEOF
39916 cat confdefs.h >>conftest.$ac_ext
39917 cat >>conftest.$ac_ext <<_ACEOF
39918 /* end confdefs.h. */
39919 $ac_includes_default
39920
39921 #include <$ac_header>
39922 _ACEOF
39923 rm -f conftest.$ac_objext
39924 if { (ac_try="$ac_compile"
39925 case "(($ac_try" in
39926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39927 *) ac_try_echo=$ac_try;;
39928 esac
39929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39930 (eval "$ac_compile") 2>conftest.er1
39931 ac_status=$?
39932 grep -v '^ *+' conftest.er1 >conftest.err
39933 rm -f conftest.er1
39934 cat conftest.err >&5
39935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39936 (exit $ac_status); } && {
39937 test -z "$ac_c_werror_flag" ||
39938 test ! -s conftest.err
39939 } && test -s conftest.$ac_objext; then
39940 eval "$as_ac_Header=yes"
39941 else
39942 echo "$as_me: failed program was:" >&5
39943 sed 's/^/| /' conftest.$ac_ext >&5
39944
39945 eval "$as_ac_Header=no"
39946 fi
39947
39948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39949 fi
39950 ac_res=`eval echo '${'$as_ac_Header'}'`
39951 { echo "$as_me:$LINENO: result: $ac_res" >&5
39952 echo "${ECHO_T}$ac_res" >&6; }
39953 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39954 cat >>confdefs.h <<_ACEOF
39955 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39956 _ACEOF
39957
39958 fi
39959
39960 done
39961
39962 if test "$ac_cv_header_sched_h" = "yes"; then
39963 { echo "$as_me:$LINENO: checking for sched_yield" >&5
39964 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
39965 if test "${ac_cv_func_sched_yield+set}" = set; then
39966 echo $ECHO_N "(cached) $ECHO_C" >&6
39967 else
39968 cat >conftest.$ac_ext <<_ACEOF
39969 /* confdefs.h. */
39970 _ACEOF
39971 cat confdefs.h >>conftest.$ac_ext
39972 cat >>conftest.$ac_ext <<_ACEOF
39973 /* end confdefs.h. */
39974 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39975 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39976 #define sched_yield innocuous_sched_yield
39977
39978 /* System header to define __stub macros and hopefully few prototypes,
39979 which can conflict with char sched_yield (); below.
39980 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39981 <limits.h> exists even on freestanding compilers. */
39982
39983 #ifdef __STDC__
39984 # include <limits.h>
39985 #else
39986 # include <assert.h>
39987 #endif
39988
39989 #undef sched_yield
39990
39991 /* Override any GCC internal prototype to avoid an error.
39992 Use char because int might match the return type of a GCC
39993 builtin and then its argument prototype would still apply. */
39994 #ifdef __cplusplus
39995 extern "C"
39996 #endif
39997 char sched_yield ();
39998 /* The GNU C library defines this for functions which it implements
39999 to always fail with ENOSYS. Some functions are actually named
40000 something starting with __ and the normal name is an alias. */
40001 #if defined __stub_sched_yield || defined __stub___sched_yield
40002 choke me
40003 #endif
40004
40005 int
40006 main ()
40007 {
40008 return sched_yield ();
40009 ;
40010 return 0;
40011 }
40012 _ACEOF
40013 rm -f conftest.$ac_objext conftest$ac_exeext
40014 if { (ac_try="$ac_link"
40015 case "(($ac_try" in
40016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40017 *) ac_try_echo=$ac_try;;
40018 esac
40019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40020 (eval "$ac_link") 2>conftest.er1
40021 ac_status=$?
40022 grep -v '^ *+' conftest.er1 >conftest.err
40023 rm -f conftest.er1
40024 cat conftest.err >&5
40025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40026 (exit $ac_status); } && {
40027 test -z "$ac_c_werror_flag" ||
40028 test ! -s conftest.err
40029 } && test -s conftest$ac_exeext &&
40030 $as_test_x conftest$ac_exeext; then
40031 ac_cv_func_sched_yield=yes
40032 else
40033 echo "$as_me: failed program was:" >&5
40034 sed 's/^/| /' conftest.$ac_ext >&5
40035
40036 ac_cv_func_sched_yield=no
40037 fi
40038
40039 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40040 conftest$ac_exeext conftest.$ac_ext
40041 fi
40042 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
40043 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
40044 if test $ac_cv_func_sched_yield = yes; then
40045 cat >>confdefs.h <<\_ACEOF
40046 #define HAVE_SCHED_YIELD 1
40047 _ACEOF
40048
40049 else
40050
40051 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
40052 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
40053 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
40054 echo $ECHO_N "(cached) $ECHO_C" >&6
40055 else
40056 ac_check_lib_save_LIBS=$LIBS
40057 LIBS="-lposix4 $LIBS"
40058 cat >conftest.$ac_ext <<_ACEOF
40059 /* confdefs.h. */
40060 _ACEOF
40061 cat confdefs.h >>conftest.$ac_ext
40062 cat >>conftest.$ac_ext <<_ACEOF
40063 /* end confdefs.h. */
40064
40065 /* Override any GCC internal prototype to avoid an error.
40066 Use char because int might match the return type of a GCC
40067 builtin and then its argument prototype would still apply. */
40068 #ifdef __cplusplus
40069 extern "C"
40070 #endif
40071 char sched_yield ();
40072 int
40073 main ()
40074 {
40075 return sched_yield ();
40076 ;
40077 return 0;
40078 }
40079 _ACEOF
40080 rm -f conftest.$ac_objext conftest$ac_exeext
40081 if { (ac_try="$ac_link"
40082 case "(($ac_try" in
40083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40084 *) ac_try_echo=$ac_try;;
40085 esac
40086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40087 (eval "$ac_link") 2>conftest.er1
40088 ac_status=$?
40089 grep -v '^ *+' conftest.er1 >conftest.err
40090 rm -f conftest.er1
40091 cat conftest.err >&5
40092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40093 (exit $ac_status); } && {
40094 test -z "$ac_c_werror_flag" ||
40095 test ! -s conftest.err
40096 } && test -s conftest$ac_exeext &&
40097 $as_test_x conftest$ac_exeext; then
40098 ac_cv_lib_posix4_sched_yield=yes
40099 else
40100 echo "$as_me: failed program was:" >&5
40101 sed 's/^/| /' conftest.$ac_ext >&5
40102
40103 ac_cv_lib_posix4_sched_yield=no
40104 fi
40105
40106 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40107 conftest$ac_exeext conftest.$ac_ext
40108 LIBS=$ac_check_lib_save_LIBS
40109 fi
40110 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
40111 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
40112 if test $ac_cv_lib_posix4_sched_yield = yes; then
40113 cat >>confdefs.h <<\_ACEOF
40114 #define HAVE_SCHED_YIELD 1
40115 _ACEOF
40116 POSIX4_LINK=" -lposix4"
40117 else
40118 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
40119 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
40120
40121 fi
40122
40123
40124
40125 fi
40126
40127 fi
40128
40129 HAVE_PRIOR_FUNCS=0
40130 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
40131 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
40132 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
40133 echo $ECHO_N "(cached) $ECHO_C" >&6
40134 else
40135 cat >conftest.$ac_ext <<_ACEOF
40136 /* confdefs.h. */
40137 _ACEOF
40138 cat confdefs.h >>conftest.$ac_ext
40139 cat >>conftest.$ac_ext <<_ACEOF
40140 /* end confdefs.h. */
40141 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
40142 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40143 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
40144
40145 /* System header to define __stub macros and hopefully few prototypes,
40146 which can conflict with char pthread_attr_getschedpolicy (); below.
40147 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40148 <limits.h> exists even on freestanding compilers. */
40149
40150 #ifdef __STDC__
40151 # include <limits.h>
40152 #else
40153 # include <assert.h>
40154 #endif
40155
40156 #undef pthread_attr_getschedpolicy
40157
40158 /* Override any GCC internal prototype to avoid an error.
40159 Use char because int might match the return type of a GCC
40160 builtin and then its argument prototype would still apply. */
40161 #ifdef __cplusplus
40162 extern "C"
40163 #endif
40164 char pthread_attr_getschedpolicy ();
40165 /* The GNU C library defines this for functions which it implements
40166 to always fail with ENOSYS. Some functions are actually named
40167 something starting with __ and the normal name is an alias. */
40168 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
40169 choke me
40170 #endif
40171
40172 int
40173 main ()
40174 {
40175 return pthread_attr_getschedpolicy ();
40176 ;
40177 return 0;
40178 }
40179 _ACEOF
40180 rm -f conftest.$ac_objext conftest$ac_exeext
40181 if { (ac_try="$ac_link"
40182 case "(($ac_try" in
40183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40184 *) ac_try_echo=$ac_try;;
40185 esac
40186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40187 (eval "$ac_link") 2>conftest.er1
40188 ac_status=$?
40189 grep -v '^ *+' conftest.er1 >conftest.err
40190 rm -f conftest.er1
40191 cat conftest.err >&5
40192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40193 (exit $ac_status); } && {
40194 test -z "$ac_c_werror_flag" ||
40195 test ! -s conftest.err
40196 } && test -s conftest$ac_exeext &&
40197 $as_test_x conftest$ac_exeext; then
40198 ac_cv_func_pthread_attr_getschedpolicy=yes
40199 else
40200 echo "$as_me: failed program was:" >&5
40201 sed 's/^/| /' conftest.$ac_ext >&5
40202
40203 ac_cv_func_pthread_attr_getschedpolicy=no
40204 fi
40205
40206 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40207 conftest$ac_exeext conftest.$ac_ext
40208 fi
40209 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
40210 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
40211 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
40212 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
40213 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
40214 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
40215 echo $ECHO_N "(cached) $ECHO_C" >&6
40216 else
40217 cat >conftest.$ac_ext <<_ACEOF
40218 /* confdefs.h. */
40219 _ACEOF
40220 cat confdefs.h >>conftest.$ac_ext
40221 cat >>conftest.$ac_ext <<_ACEOF
40222 /* end confdefs.h. */
40223 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
40224 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40225 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
40226
40227 /* System header to define __stub macros and hopefully few prototypes,
40228 which can conflict with char pthread_attr_setschedparam (); below.
40229 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40230 <limits.h> exists even on freestanding compilers. */
40231
40232 #ifdef __STDC__
40233 # include <limits.h>
40234 #else
40235 # include <assert.h>
40236 #endif
40237
40238 #undef pthread_attr_setschedparam
40239
40240 /* Override any GCC internal prototype to avoid an error.
40241 Use char because int might match the return type of a GCC
40242 builtin and then its argument prototype would still apply. */
40243 #ifdef __cplusplus
40244 extern "C"
40245 #endif
40246 char pthread_attr_setschedparam ();
40247 /* The GNU C library defines this for functions which it implements
40248 to always fail with ENOSYS. Some functions are actually named
40249 something starting with __ and the normal name is an alias. */
40250 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
40251 choke me
40252 #endif
40253
40254 int
40255 main ()
40256 {
40257 return pthread_attr_setschedparam ();
40258 ;
40259 return 0;
40260 }
40261 _ACEOF
40262 rm -f conftest.$ac_objext conftest$ac_exeext
40263 if { (ac_try="$ac_link"
40264 case "(($ac_try" in
40265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40266 *) ac_try_echo=$ac_try;;
40267 esac
40268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40269 (eval "$ac_link") 2>conftest.er1
40270 ac_status=$?
40271 grep -v '^ *+' conftest.er1 >conftest.err
40272 rm -f conftest.er1
40273 cat conftest.err >&5
40274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40275 (exit $ac_status); } && {
40276 test -z "$ac_c_werror_flag" ||
40277 test ! -s conftest.err
40278 } && test -s conftest$ac_exeext &&
40279 $as_test_x conftest$ac_exeext; then
40280 ac_cv_func_pthread_attr_setschedparam=yes
40281 else
40282 echo "$as_me: failed program was:" >&5
40283 sed 's/^/| /' conftest.$ac_ext >&5
40284
40285 ac_cv_func_pthread_attr_setschedparam=no
40286 fi
40287
40288 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40289 conftest$ac_exeext conftest.$ac_ext
40290 fi
40291 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
40292 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
40293 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
40294 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
40295 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
40296 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
40297 echo $ECHO_N "(cached) $ECHO_C" >&6
40298 else
40299 cat >conftest.$ac_ext <<_ACEOF
40300 /* confdefs.h. */
40301 _ACEOF
40302 cat confdefs.h >>conftest.$ac_ext
40303 cat >>conftest.$ac_ext <<_ACEOF
40304 /* end confdefs.h. */
40305 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
40306 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40307 #define sched_get_priority_max innocuous_sched_get_priority_max
40308
40309 /* System header to define __stub macros and hopefully few prototypes,
40310 which can conflict with char sched_get_priority_max (); below.
40311 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40312 <limits.h> exists even on freestanding compilers. */
40313
40314 #ifdef __STDC__
40315 # include <limits.h>
40316 #else
40317 # include <assert.h>
40318 #endif
40319
40320 #undef sched_get_priority_max
40321
40322 /* Override any GCC internal prototype to avoid an error.
40323 Use char because int might match the return type of a GCC
40324 builtin and then its argument prototype would still apply. */
40325 #ifdef __cplusplus
40326 extern "C"
40327 #endif
40328 char sched_get_priority_max ();
40329 /* The GNU C library defines this for functions which it implements
40330 to always fail with ENOSYS. Some functions are actually named
40331 something starting with __ and the normal name is an alias. */
40332 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
40333 choke me
40334 #endif
40335
40336 int
40337 main ()
40338 {
40339 return sched_get_priority_max ();
40340 ;
40341 return 0;
40342 }
40343 _ACEOF
40344 rm -f conftest.$ac_objext conftest$ac_exeext
40345 if { (ac_try="$ac_link"
40346 case "(($ac_try" in
40347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40348 *) ac_try_echo=$ac_try;;
40349 esac
40350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40351 (eval "$ac_link") 2>conftest.er1
40352 ac_status=$?
40353 grep -v '^ *+' conftest.er1 >conftest.err
40354 rm -f conftest.er1
40355 cat conftest.err >&5
40356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40357 (exit $ac_status); } && {
40358 test -z "$ac_c_werror_flag" ||
40359 test ! -s conftest.err
40360 } && test -s conftest$ac_exeext &&
40361 $as_test_x conftest$ac_exeext; then
40362 ac_cv_func_sched_get_priority_max=yes
40363 else
40364 echo "$as_me: failed program was:" >&5
40365 sed 's/^/| /' conftest.$ac_ext >&5
40366
40367 ac_cv_func_sched_get_priority_max=no
40368 fi
40369
40370 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40371 conftest$ac_exeext conftest.$ac_ext
40372 fi
40373 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
40374 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
40375 if test $ac_cv_func_sched_get_priority_max = yes; then
40376 HAVE_PRIOR_FUNCS=1
40377 else
40378 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
40379 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
40380 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
40381 echo $ECHO_N "(cached) $ECHO_C" >&6
40382 else
40383 ac_check_lib_save_LIBS=$LIBS
40384 LIBS="-lposix4 $LIBS"
40385 cat >conftest.$ac_ext <<_ACEOF
40386 /* confdefs.h. */
40387 _ACEOF
40388 cat confdefs.h >>conftest.$ac_ext
40389 cat >>conftest.$ac_ext <<_ACEOF
40390 /* end confdefs.h. */
40391
40392 /* Override any GCC internal prototype to avoid an error.
40393 Use char because int might match the return type of a GCC
40394 builtin and then its argument prototype would still apply. */
40395 #ifdef __cplusplus
40396 extern "C"
40397 #endif
40398 char sched_get_priority_max ();
40399 int
40400 main ()
40401 {
40402 return sched_get_priority_max ();
40403 ;
40404 return 0;
40405 }
40406 _ACEOF
40407 rm -f conftest.$ac_objext conftest$ac_exeext
40408 if { (ac_try="$ac_link"
40409 case "(($ac_try" in
40410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40411 *) ac_try_echo=$ac_try;;
40412 esac
40413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40414 (eval "$ac_link") 2>conftest.er1
40415 ac_status=$?
40416 grep -v '^ *+' conftest.er1 >conftest.err
40417 rm -f conftest.er1
40418 cat conftest.err >&5
40419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40420 (exit $ac_status); } && {
40421 test -z "$ac_c_werror_flag" ||
40422 test ! -s conftest.err
40423 } && test -s conftest$ac_exeext &&
40424 $as_test_x conftest$ac_exeext; then
40425 ac_cv_lib_posix4_sched_get_priority_max=yes
40426 else
40427 echo "$as_me: failed program was:" >&5
40428 sed 's/^/| /' conftest.$ac_ext >&5
40429
40430 ac_cv_lib_posix4_sched_get_priority_max=no
40431 fi
40432
40433 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40434 conftest$ac_exeext conftest.$ac_ext
40435 LIBS=$ac_check_lib_save_LIBS
40436 fi
40437 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
40438 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
40439 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
40440
40441 HAVE_PRIOR_FUNCS=1
40442 POSIX4_LINK=" -lposix4"
40443
40444 fi
40445
40446
40447 fi
40448
40449
40450 fi
40451
40452
40453 fi
40454
40455
40456 if test "$HAVE_PRIOR_FUNCS" = 1; then
40457 cat >>confdefs.h <<\_ACEOF
40458 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
40459 _ACEOF
40460
40461 else
40462 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
40463 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
40464 fi
40465
40466 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
40467 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
40468 if test "${ac_cv_func_pthread_cancel+set}" = set; then
40469 echo $ECHO_N "(cached) $ECHO_C" >&6
40470 else
40471 cat >conftest.$ac_ext <<_ACEOF
40472 /* confdefs.h. */
40473 _ACEOF
40474 cat confdefs.h >>conftest.$ac_ext
40475 cat >>conftest.$ac_ext <<_ACEOF
40476 /* end confdefs.h. */
40477 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
40478 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40479 #define pthread_cancel innocuous_pthread_cancel
40480
40481 /* System header to define __stub macros and hopefully few prototypes,
40482 which can conflict with char pthread_cancel (); below.
40483 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40484 <limits.h> exists even on freestanding compilers. */
40485
40486 #ifdef __STDC__
40487 # include <limits.h>
40488 #else
40489 # include <assert.h>
40490 #endif
40491
40492 #undef pthread_cancel
40493
40494 /* Override any GCC internal prototype to avoid an error.
40495 Use char because int might match the return type of a GCC
40496 builtin and then its argument prototype would still apply. */
40497 #ifdef __cplusplus
40498 extern "C"
40499 #endif
40500 char pthread_cancel ();
40501 /* The GNU C library defines this for functions which it implements
40502 to always fail with ENOSYS. Some functions are actually named
40503 something starting with __ and the normal name is an alias. */
40504 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
40505 choke me
40506 #endif
40507
40508 int
40509 main ()
40510 {
40511 return pthread_cancel ();
40512 ;
40513 return 0;
40514 }
40515 _ACEOF
40516 rm -f conftest.$ac_objext conftest$ac_exeext
40517 if { (ac_try="$ac_link"
40518 case "(($ac_try" in
40519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40520 *) ac_try_echo=$ac_try;;
40521 esac
40522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40523 (eval "$ac_link") 2>conftest.er1
40524 ac_status=$?
40525 grep -v '^ *+' conftest.er1 >conftest.err
40526 rm -f conftest.er1
40527 cat conftest.err >&5
40528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40529 (exit $ac_status); } && {
40530 test -z "$ac_c_werror_flag" ||
40531 test ! -s conftest.err
40532 } && test -s conftest$ac_exeext &&
40533 $as_test_x conftest$ac_exeext; then
40534 ac_cv_func_pthread_cancel=yes
40535 else
40536 echo "$as_me: failed program was:" >&5
40537 sed 's/^/| /' conftest.$ac_ext >&5
40538
40539 ac_cv_func_pthread_cancel=no
40540 fi
40541
40542 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40543 conftest$ac_exeext conftest.$ac_ext
40544 fi
40545 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
40546 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
40547 if test $ac_cv_func_pthread_cancel = yes; then
40548 cat >>confdefs.h <<\_ACEOF
40549 #define HAVE_PTHREAD_CANCEL 1
40550 _ACEOF
40551
40552 else
40553 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
40554 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
40555 fi
40556
40557
40558 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
40559 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
40560 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
40561 echo $ECHO_N "(cached) $ECHO_C" >&6
40562 else
40563 cat >conftest.$ac_ext <<_ACEOF
40564 /* confdefs.h. */
40565 _ACEOF
40566 cat confdefs.h >>conftest.$ac_ext
40567 cat >>conftest.$ac_ext <<_ACEOF
40568 /* end confdefs.h. */
40569 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
40570 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40571 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
40572
40573 /* System header to define __stub macros and hopefully few prototypes,
40574 which can conflict with char pthread_mutex_timedlock (); below.
40575 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40576 <limits.h> exists even on freestanding compilers. */
40577
40578 #ifdef __STDC__
40579 # include <limits.h>
40580 #else
40581 # include <assert.h>
40582 #endif
40583
40584 #undef pthread_mutex_timedlock
40585
40586 /* Override any GCC internal prototype to avoid an error.
40587 Use char because int might match the return type of a GCC
40588 builtin and then its argument prototype would still apply. */
40589 #ifdef __cplusplus
40590 extern "C"
40591 #endif
40592 char pthread_mutex_timedlock ();
40593 /* The GNU C library defines this for functions which it implements
40594 to always fail with ENOSYS. Some functions are actually named
40595 something starting with __ and the normal name is an alias. */
40596 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
40597 choke me
40598 #endif
40599
40600 int
40601 main ()
40602 {
40603 return pthread_mutex_timedlock ();
40604 ;
40605 return 0;
40606 }
40607 _ACEOF
40608 rm -f conftest.$ac_objext conftest$ac_exeext
40609 if { (ac_try="$ac_link"
40610 case "(($ac_try" in
40611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40612 *) ac_try_echo=$ac_try;;
40613 esac
40614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40615 (eval "$ac_link") 2>conftest.er1
40616 ac_status=$?
40617 grep -v '^ *+' conftest.er1 >conftest.err
40618 rm -f conftest.er1
40619 cat conftest.err >&5
40620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40621 (exit $ac_status); } && {
40622 test -z "$ac_c_werror_flag" ||
40623 test ! -s conftest.err
40624 } && test -s conftest$ac_exeext &&
40625 $as_test_x conftest$ac_exeext; then
40626 ac_cv_func_pthread_mutex_timedlock=yes
40627 else
40628 echo "$as_me: failed program was:" >&5
40629 sed 's/^/| /' conftest.$ac_ext >&5
40630
40631 ac_cv_func_pthread_mutex_timedlock=no
40632 fi
40633
40634 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40635 conftest$ac_exeext conftest.$ac_ext
40636 fi
40637 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
40638 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
40639 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
40640 cat >>confdefs.h <<\_ACEOF
40641 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
40642 _ACEOF
40643
40644 else
40645 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
40646 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
40647 fi
40648
40649
40650 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
40651 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
40652 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
40653 echo $ECHO_N "(cached) $ECHO_C" >&6
40654 else
40655 cat >conftest.$ac_ext <<_ACEOF
40656 /* confdefs.h. */
40657 _ACEOF
40658 cat confdefs.h >>conftest.$ac_ext
40659 cat >>conftest.$ac_ext <<_ACEOF
40660 /* end confdefs.h. */
40661 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40662 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40663 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40664
40665 /* System header to define __stub macros and hopefully few prototypes,
40666 which can conflict with char pthread_attr_setstacksize (); below.
40667 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40668 <limits.h> exists even on freestanding compilers. */
40669
40670 #ifdef __STDC__
40671 # include <limits.h>
40672 #else
40673 # include <assert.h>
40674 #endif
40675
40676 #undef pthread_attr_setstacksize
40677
40678 /* Override any GCC internal prototype to avoid an error.
40679 Use char because int might match the return type of a GCC
40680 builtin and then its argument prototype would still apply. */
40681 #ifdef __cplusplus
40682 extern "C"
40683 #endif
40684 char pthread_attr_setstacksize ();
40685 /* The GNU C library defines this for functions which it implements
40686 to always fail with ENOSYS. Some functions are actually named
40687 something starting with __ and the normal name is an alias. */
40688 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
40689 choke me
40690 #endif
40691
40692 int
40693 main ()
40694 {
40695 return pthread_attr_setstacksize ();
40696 ;
40697 return 0;
40698 }
40699 _ACEOF
40700 rm -f conftest.$ac_objext conftest$ac_exeext
40701 if { (ac_try="$ac_link"
40702 case "(($ac_try" in
40703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40704 *) ac_try_echo=$ac_try;;
40705 esac
40706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40707 (eval "$ac_link") 2>conftest.er1
40708 ac_status=$?
40709 grep -v '^ *+' conftest.er1 >conftest.err
40710 rm -f conftest.er1
40711 cat conftest.err >&5
40712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40713 (exit $ac_status); } && {
40714 test -z "$ac_c_werror_flag" ||
40715 test ! -s conftest.err
40716 } && test -s conftest$ac_exeext &&
40717 $as_test_x conftest$ac_exeext; then
40718 ac_cv_func_pthread_attr_setstacksize=yes
40719 else
40720 echo "$as_me: failed program was:" >&5
40721 sed 's/^/| /' conftest.$ac_ext >&5
40722
40723 ac_cv_func_pthread_attr_setstacksize=no
40724 fi
40725
40726 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40727 conftest$ac_exeext conftest.$ac_ext
40728 fi
40729 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40730 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
40731 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40732 cat >>confdefs.h <<\_ACEOF
40733 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40734 _ACEOF
40735
40736 fi
40737
40738
40739
40740 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40741 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
40742 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40743 echo $ECHO_N "(cached) $ECHO_C" >&6
40744 else
40745
40746 cat >conftest.$ac_ext <<_ACEOF
40747 /* confdefs.h. */
40748 _ACEOF
40749 cat confdefs.h >>conftest.$ac_ext
40750 cat >>conftest.$ac_ext <<_ACEOF
40751 /* end confdefs.h. */
40752 #include <pthread.h>
40753 int
40754 main ()
40755 {
40756
40757 pthread_mutexattr_t attr;
40758 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40759
40760 ;
40761 return 0;
40762 }
40763 _ACEOF
40764 rm -f conftest.$ac_objext
40765 if { (ac_try="$ac_compile"
40766 case "(($ac_try" in
40767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40768 *) ac_try_echo=$ac_try;;
40769 esac
40770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40771 (eval "$ac_compile") 2>conftest.er1
40772 ac_status=$?
40773 grep -v '^ *+' conftest.er1 >conftest.err
40774 rm -f conftest.er1
40775 cat conftest.err >&5
40776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40777 (exit $ac_status); } && {
40778 test -z "$ac_c_werror_flag" ||
40779 test ! -s conftest.err
40780 } && test -s conftest.$ac_objext; then
40781 wx_cv_type_pthread_mutexattr_t=yes
40782 else
40783 echo "$as_me: failed program was:" >&5
40784 sed 's/^/| /' conftest.$ac_ext >&5
40785
40786 wx_cv_type_pthread_mutexattr_t=no
40787
40788 fi
40789
40790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40791
40792 fi
40793 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40794 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
40795
40796 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40797 cat >>confdefs.h <<\_ACEOF
40798 #define HAVE_PTHREAD_MUTEXATTR_T 1
40799 _ACEOF
40800
40801
40802 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40803 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
40804 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40805 echo $ECHO_N "(cached) $ECHO_C" >&6
40806 else
40807
40808 cat >conftest.$ac_ext <<_ACEOF
40809 /* confdefs.h. */
40810 _ACEOF
40811 cat confdefs.h >>conftest.$ac_ext
40812 cat >>conftest.$ac_ext <<_ACEOF
40813 /* end confdefs.h. */
40814 #include <pthread.h>
40815 int
40816 main ()
40817 {
40818
40819 pthread_mutexattr_t attr;
40820 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40821
40822 ;
40823 return 0;
40824 }
40825 _ACEOF
40826 rm -f conftest.$ac_objext
40827 if { (ac_try="$ac_compile"
40828 case "(($ac_try" in
40829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40830 *) ac_try_echo=$ac_try;;
40831 esac
40832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40833 (eval "$ac_compile") 2>conftest.er1
40834 ac_status=$?
40835 grep -v '^ *+' conftest.er1 >conftest.err
40836 rm -f conftest.er1
40837 cat conftest.err >&5
40838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40839 (exit $ac_status); } && {
40840 test -z "$ac_c_werror_flag" ||
40841 test ! -s conftest.err
40842 } && test -s conftest.$ac_objext; then
40843 wx_cv_func_pthread_mutexattr_settype_decl=yes
40844 else
40845 echo "$as_me: failed program was:" >&5
40846 sed 's/^/| /' conftest.$ac_ext >&5
40847
40848 wx_cv_func_pthread_mutexattr_settype_decl=no
40849
40850 fi
40851
40852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40853
40854 fi
40855 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40856 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
40857 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40858 cat >>confdefs.h <<\_ACEOF
40859 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40860 _ACEOF
40861
40862 fi
40863 else
40864 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40865 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
40866 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40867 echo $ECHO_N "(cached) $ECHO_C" >&6
40868 else
40869
40870 cat >conftest.$ac_ext <<_ACEOF
40871 /* confdefs.h. */
40872 _ACEOF
40873 cat confdefs.h >>conftest.$ac_ext
40874 cat >>conftest.$ac_ext <<_ACEOF
40875 /* end confdefs.h. */
40876 #include <pthread.h>
40877 int
40878 main ()
40879 {
40880
40881 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40882
40883 ;
40884 return 0;
40885 }
40886 _ACEOF
40887 rm -f conftest.$ac_objext
40888 if { (ac_try="$ac_compile"
40889 case "(($ac_try" in
40890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40891 *) ac_try_echo=$ac_try;;
40892 esac
40893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40894 (eval "$ac_compile") 2>conftest.er1
40895 ac_status=$?
40896 grep -v '^ *+' conftest.er1 >conftest.err
40897 rm -f conftest.er1
40898 cat conftest.err >&5
40899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40900 (exit $ac_status); } && {
40901 test -z "$ac_c_werror_flag" ||
40902 test ! -s conftest.err
40903 } && test -s conftest.$ac_objext; then
40904
40905 wx_cv_type_pthread_rec_mutex_init=yes
40906
40907 else
40908 echo "$as_me: failed program was:" >&5
40909 sed 's/^/| /' conftest.$ac_ext >&5
40910
40911
40912 wx_cv_type_pthread_rec_mutex_init=no
40913
40914
40915 fi
40916
40917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40918
40919 fi
40920 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40921 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
40922 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40923 cat >>confdefs.h <<\_ACEOF
40924 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40925 _ACEOF
40926
40927 else
40928 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40929 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40930 fi
40931 fi
40932
40933 if test "$wxUSE_COMPILER_TLS" = "auto"; then
40934 if test "$USE_NETBSD" = 1; then
40935 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
40936 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
40937 wxUSE_COMPILER_TLS=no
40938 else
40939 wxUSE_COMPILER_TLS=yes
40940 fi
40941 fi
40942
40943 if test "$wxUSE_COMPILER_TLS" = "yes"; then
40944 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
40945 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
40946 if test "${wx_cv_cc___thread+set}" = set; then
40947 echo $ECHO_N "(cached) $ECHO_C" >&6
40948 else
40949
40950 cat >conftest.$ac_ext <<_ACEOF
40951 /* confdefs.h. */
40952 _ACEOF
40953 cat confdefs.h >>conftest.$ac_ext
40954 cat >>conftest.$ac_ext <<_ACEOF
40955 /* end confdefs.h. */
40956 #include <pthread.h>
40957 int
40958 main ()
40959 {
40960
40961 static __thread int n = 0;
40962 static __thread int *p = 0;
40963
40964 ;
40965 return 0;
40966 }
40967 _ACEOF
40968 rm -f conftest.$ac_objext
40969 if { (ac_try="$ac_compile"
40970 case "(($ac_try" in
40971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40972 *) ac_try_echo=$ac_try;;
40973 esac
40974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40975 (eval "$ac_compile") 2>conftest.er1
40976 ac_status=$?
40977 grep -v '^ *+' conftest.er1 >conftest.err
40978 rm -f conftest.er1
40979 cat conftest.err >&5
40980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40981 (exit $ac_status); } && {
40982 test -z "$ac_c_werror_flag" ||
40983 test ! -s conftest.err
40984 } && test -s conftest.$ac_objext; then
40985 wx_cv_cc___thread=yes
40986 else
40987 echo "$as_me: failed program was:" >&5
40988 sed 's/^/| /' conftest.$ac_ext >&5
40989
40990 wx_cv_cc___thread=no
40991
40992 fi
40993
40994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40995
40996
40997 fi
40998 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
40999 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
41000
41001 if test "$wx_cv_cc___thread" = "yes"; then
41002
41003 GXX_VERSION=""
41004
41005
41006
41007 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
41008 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
41009
41010 if test "x$GCC" = "xyes" ; then
41011
41012 if test -z "" ; then
41013
41014 ax_gcc_option_test="int main()
41015 {
41016 return 0;
41017 }"
41018
41019 else
41020
41021 ax_gcc_option_test=""
41022
41023 fi
41024
41025
41026 # Dump the test program to file
41027 cat <<EOF > conftest.c
41028 $ax_gcc_option_test
41029 EOF
41030
41031 # Dump back the file to the log, useful for debugging purposes
41032 { ac_try='cat conftest.c 1>&5'
41033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41034 (eval $ac_try) 2>&5
41035 ac_status=$?
41036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41037 (exit $ac_status); }; }
41038
41039 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
41040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41041 (eval $ac_try) 2>&5
41042 ac_status=$?
41043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41044 (exit $ac_status); }; } ; then
41045
41046 { echo "$as_me:$LINENO: result: yes" >&5
41047 echo "${ECHO_T}yes" >&6; }
41048
41049 ax_gcc_version_option=yes
41050
41051
41052 else
41053
41054 { echo "$as_me:$LINENO: result: no" >&5
41055 echo "${ECHO_T}no" >&6; }
41056
41057 ax_gcc_version_option=no
41058
41059
41060 fi
41061
41062
41063 else
41064
41065 { echo "$as_me:$LINENO: result: no gcc available" >&5
41066 echo "${ECHO_T}no gcc available" >&6; }
41067
41068 fi
41069
41070
41071 if test "x$GXX" = "xyes"; then
41072
41073 if test "x$ax_gxx_version_option" != "no"; then
41074
41075 { echo "$as_me:$LINENO: checking gxx version" >&5
41076 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
41077 if test "${ax_cv_gxx_version+set}" = set; then
41078 echo $ECHO_N "(cached) $ECHO_C" >&6
41079 else
41080
41081 ax_cv_gxx_version="`$CXX -dumpversion`"
41082 if test "x$ax_cv_gxx_version" = "x"; then
41083
41084 ax_cv_gxx_version=""
41085
41086 fi
41087
41088
41089 fi
41090 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
41091 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
41092 GXX_VERSION=$ax_cv_gxx_version
41093
41094 fi
41095
41096
41097 fi
41098
41099
41100
41101 if test -n "$ax_cv_gxx_version"; then
41102 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
41103 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
41104 case "$ax_cv_gxx_version" in
41105 1.* | 2.* | 3.* )
41106 { echo "$as_me:$LINENO: result: no, it's broken" >&5
41107 echo "${ECHO_T}no, it's broken" >&6; }
41108 wx_cv_cc___thread=no
41109 ;;
41110 *)
41111 { echo "$as_me:$LINENO: result: yes, it works" >&5
41112 echo "${ECHO_T}yes, it works" >&6; }
41113 ;;
41114 esac
41115 fi
41116 fi
41117
41118 if test "$wx_cv_cc___thread" = "yes"; then
41119 cat >>confdefs.h <<\_ACEOF
41120 #define HAVE___THREAD_KEYWORD 1
41121 _ACEOF
41122
41123 fi
41124 fi
41125 fi
41126
41127 else
41128 if test "$wxUSE_THREADS" = "yes" ; then
41129 case "${host}" in
41130 x86_64-*-mingw32* )
41131 ;;
41132 *-*-mingw32* )
41133 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
41134 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
41135 if test "${wx_cv_cflags_mthread+set}" = set; then
41136 echo $ECHO_N "(cached) $ECHO_C" >&6
41137 else
41138
41139 CFLAGS_OLD="$CFLAGS"
41140 CFLAGS="-mthreads $CFLAGS"
41141 cat >conftest.$ac_ext <<_ACEOF
41142 /* confdefs.h. */
41143 _ACEOF
41144 cat confdefs.h >>conftest.$ac_ext
41145 cat >>conftest.$ac_ext <<_ACEOF
41146 /* end confdefs.h. */
41147
41148 int
41149 main ()
41150 {
41151
41152 ;
41153 return 0;
41154 }
41155 _ACEOF
41156 rm -f conftest.$ac_objext
41157 if { (ac_try="$ac_compile"
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_compile") 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_objext; then
41173 wx_cv_cflags_mthread=yes
41174 else
41175 echo "$as_me: failed program was:" >&5
41176 sed 's/^/| /' conftest.$ac_ext >&5
41177
41178 wx_cv_cflags_mthread=no
41179
41180 fi
41181
41182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41183
41184
41185 fi
41186 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
41187 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
41188
41189 if test "$wx_cv_cflags_mthread" = "yes"; then
41190 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
41191 LDFLAGS="$LDFLAGS -mthreads"
41192 else
41193 CFLAGS="$CFLAGS_OLD"
41194 fi
41195 ;;
41196 *-pc-os2*emx )
41197 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
41198 LDFLAGS="$LDFLAGS -Zmt"
41199 ;;
41200 esac
41201 fi
41202 fi
41203
41204 { echo "$as_me:$LINENO: checking for localtime_r" >&5
41205 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
41206 if test "${ac_cv_func_localtime_r+set}" = set; then
41207 echo $ECHO_N "(cached) $ECHO_C" >&6
41208 else
41209 cat >conftest.$ac_ext <<_ACEOF
41210 /* confdefs.h. */
41211 _ACEOF
41212 cat confdefs.h >>conftest.$ac_ext
41213 cat >>conftest.$ac_ext <<_ACEOF
41214 /* end confdefs.h. */
41215 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
41216 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41217 #define localtime_r innocuous_localtime_r
41218
41219 /* System header to define __stub macros and hopefully few prototypes,
41220 which can conflict with char localtime_r (); below.
41221 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41222 <limits.h> exists even on freestanding compilers. */
41223
41224 #ifdef __STDC__
41225 # include <limits.h>
41226 #else
41227 # include <assert.h>
41228 #endif
41229
41230 #undef localtime_r
41231
41232 /* Override any GCC internal prototype to avoid an error.
41233 Use char because int might match the return type of a GCC
41234 builtin and then its argument prototype would still apply. */
41235 #ifdef __cplusplus
41236 extern "C"
41237 #endif
41238 char localtime_r ();
41239 /* The GNU C library defines this for functions which it implements
41240 to always fail with ENOSYS. Some functions are actually named
41241 something starting with __ and the normal name is an alias. */
41242 #if defined __stub_localtime_r || defined __stub___localtime_r
41243 choke me
41244 #endif
41245
41246 int
41247 main ()
41248 {
41249 return localtime_r ();
41250 ;
41251 return 0;
41252 }
41253 _ACEOF
41254 rm -f conftest.$ac_objext conftest$ac_exeext
41255 if { (ac_try="$ac_link"
41256 case "(($ac_try" in
41257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41258 *) ac_try_echo=$ac_try;;
41259 esac
41260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41261 (eval "$ac_link") 2>conftest.er1
41262 ac_status=$?
41263 grep -v '^ *+' conftest.er1 >conftest.err
41264 rm -f conftest.er1
41265 cat conftest.err >&5
41266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41267 (exit $ac_status); } && {
41268 test -z "$ac_c_werror_flag" ||
41269 test ! -s conftest.err
41270 } && test -s conftest$ac_exeext &&
41271 $as_test_x conftest$ac_exeext; then
41272 ac_cv_func_localtime_r=yes
41273 else
41274 echo "$as_me: failed program was:" >&5
41275 sed 's/^/| /' conftest.$ac_ext >&5
41276
41277 ac_cv_func_localtime_r=no
41278 fi
41279
41280 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41281 conftest$ac_exeext conftest.$ac_ext
41282 fi
41283 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
41284 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
41285 if test $ac_cv_func_localtime_r = yes; then
41286 cat >>confdefs.h <<\_ACEOF
41287 #define HAVE_LOCALTIME_R 1
41288 _ACEOF
41289
41290 fi
41291
41292 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
41293 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
41294 if test "${ac_cv_func_gmtime_r+set}" = set; then
41295 echo $ECHO_N "(cached) $ECHO_C" >&6
41296 else
41297 cat >conftest.$ac_ext <<_ACEOF
41298 /* confdefs.h. */
41299 _ACEOF
41300 cat confdefs.h >>conftest.$ac_ext
41301 cat >>conftest.$ac_ext <<_ACEOF
41302 /* end confdefs.h. */
41303 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
41304 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41305 #define gmtime_r innocuous_gmtime_r
41306
41307 /* System header to define __stub macros and hopefully few prototypes,
41308 which can conflict with char gmtime_r (); below.
41309 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41310 <limits.h> exists even on freestanding compilers. */
41311
41312 #ifdef __STDC__
41313 # include <limits.h>
41314 #else
41315 # include <assert.h>
41316 #endif
41317
41318 #undef gmtime_r
41319
41320 /* Override any GCC internal prototype to avoid an error.
41321 Use char because int might match the return type of a GCC
41322 builtin and then its argument prototype would still apply. */
41323 #ifdef __cplusplus
41324 extern "C"
41325 #endif
41326 char gmtime_r ();
41327 /* The GNU C library defines this for functions which it implements
41328 to always fail with ENOSYS. Some functions are actually named
41329 something starting with __ and the normal name is an alias. */
41330 #if defined __stub_gmtime_r || defined __stub___gmtime_r
41331 choke me
41332 #endif
41333
41334 int
41335 main ()
41336 {
41337 return gmtime_r ();
41338 ;
41339 return 0;
41340 }
41341 _ACEOF
41342 rm -f conftest.$ac_objext conftest$ac_exeext
41343 if { (ac_try="$ac_link"
41344 case "(($ac_try" in
41345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41346 *) ac_try_echo=$ac_try;;
41347 esac
41348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41349 (eval "$ac_link") 2>conftest.er1
41350 ac_status=$?
41351 grep -v '^ *+' conftest.er1 >conftest.err
41352 rm -f conftest.er1
41353 cat conftest.err >&5
41354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41355 (exit $ac_status); } && {
41356 test -z "$ac_c_werror_flag" ||
41357 test ! -s conftest.err
41358 } && test -s conftest$ac_exeext &&
41359 $as_test_x conftest$ac_exeext; then
41360 ac_cv_func_gmtime_r=yes
41361 else
41362 echo "$as_me: failed program was:" >&5
41363 sed 's/^/| /' conftest.$ac_ext >&5
41364
41365 ac_cv_func_gmtime_r=no
41366 fi
41367
41368 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41369 conftest$ac_exeext conftest.$ac_ext
41370 fi
41371 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
41372 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
41373 if test $ac_cv_func_gmtime_r = yes; then
41374 cat >>confdefs.h <<\_ACEOF
41375 #define HAVE_GMTIME_R 1
41376 _ACEOF
41377
41378 fi
41379
41380
41381
41382
41383 ac_ext=c
41384 ac_cpp='$CPP $CPPFLAGS'
41385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41388
41389 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
41390 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
41391
41392 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
41393 echo $ECHO_N "(cached) $ECHO_C" >&6
41394 else
41395
41396
41397 ################################################################
41398
41399 ac_cv_func_which_gethostbyname_r=unknown
41400
41401 #
41402 # ONE ARGUMENT (sanity check)
41403 #
41404
41405 # This should fail, as there is no variant of gethostbyname_r() that takes
41406 # a single argument. If it actually compiles, then we can assume that
41407 # netdb.h is not declaring the function, and the compiler is thereby
41408 # assuming an implicit prototype. In which case, we're out of luck.
41409 #
41410 cat >conftest.$ac_ext <<_ACEOF
41411 /* confdefs.h. */
41412 _ACEOF
41413 cat confdefs.h >>conftest.$ac_ext
41414 cat >>conftest.$ac_ext <<_ACEOF
41415 /* end confdefs.h. */
41416 #include <netdb.h>
41417 int
41418 main ()
41419 {
41420
41421 char *name = "www.gnu.org";
41422 (void)gethostbyname_r(name) /* ; */
41423
41424 ;
41425 return 0;
41426 }
41427 _ACEOF
41428 rm -f conftest.$ac_objext
41429 if { (ac_try="$ac_compile"
41430 case "(($ac_try" in
41431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41432 *) ac_try_echo=$ac_try;;
41433 esac
41434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41435 (eval "$ac_compile") 2>conftest.er1
41436 ac_status=$?
41437 grep -v '^ *+' conftest.er1 >conftest.err
41438 rm -f conftest.er1
41439 cat conftest.err >&5
41440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41441 (exit $ac_status); } && {
41442 test -z "$ac_c_werror_flag" ||
41443 test ! -s conftest.err
41444 } && test -s conftest.$ac_objext; then
41445 ac_cv_func_which_gethostbyname_r=no
41446 else
41447 echo "$as_me: failed program was:" >&5
41448 sed 's/^/| /' conftest.$ac_ext >&5
41449
41450
41451 fi
41452
41453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41454
41455 #
41456 # SIX ARGUMENTS
41457 # (e.g. Linux)
41458 #
41459
41460 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41461
41462 cat >conftest.$ac_ext <<_ACEOF
41463 /* confdefs.h. */
41464 _ACEOF
41465 cat confdefs.h >>conftest.$ac_ext
41466 cat >>conftest.$ac_ext <<_ACEOF
41467 /* end confdefs.h. */
41468 #include <netdb.h>
41469 int
41470 main ()
41471 {
41472
41473 char *name = "www.gnu.org";
41474 struct hostent ret, *retp;
41475 char buf[1024];
41476 int buflen = 1024;
41477 int my_h_errno;
41478 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
41479
41480 ;
41481 return 0;
41482 }
41483 _ACEOF
41484 rm -f conftest.$ac_objext
41485 if { (ac_try="$ac_compile"
41486 case "(($ac_try" in
41487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41488 *) ac_try_echo=$ac_try;;
41489 esac
41490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41491 (eval "$ac_compile") 2>conftest.er1
41492 ac_status=$?
41493 grep -v '^ *+' conftest.er1 >conftest.err
41494 rm -f conftest.er1
41495 cat conftest.err >&5
41496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41497 (exit $ac_status); } && {
41498 test -z "$ac_c_werror_flag" ||
41499 test ! -s conftest.err
41500 } && test -s conftest.$ac_objext; then
41501 ac_cv_func_which_gethostbyname_r=six
41502 else
41503 echo "$as_me: failed program was:" >&5
41504 sed 's/^/| /' conftest.$ac_ext >&5
41505
41506
41507 fi
41508
41509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41510
41511 fi
41512
41513 #
41514 # FIVE ARGUMENTS
41515 # (e.g. Solaris)
41516 #
41517
41518 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41519
41520 cat >conftest.$ac_ext <<_ACEOF
41521 /* confdefs.h. */
41522 _ACEOF
41523 cat confdefs.h >>conftest.$ac_ext
41524 cat >>conftest.$ac_ext <<_ACEOF
41525 /* end confdefs.h. */
41526 #include <netdb.h>
41527 int
41528 main ()
41529 {
41530
41531 char *name = "www.gnu.org";
41532 struct hostent ret;
41533 char buf[1024];
41534 int buflen = 1024;
41535 int my_h_errno;
41536 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
41537
41538 ;
41539 return 0;
41540 }
41541 _ACEOF
41542 rm -f conftest.$ac_objext
41543 if { (ac_try="$ac_compile"
41544 case "(($ac_try" in
41545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41546 *) ac_try_echo=$ac_try;;
41547 esac
41548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41549 (eval "$ac_compile") 2>conftest.er1
41550 ac_status=$?
41551 grep -v '^ *+' conftest.er1 >conftest.err
41552 rm -f conftest.er1
41553 cat conftest.err >&5
41554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41555 (exit $ac_status); } && {
41556 test -z "$ac_c_werror_flag" ||
41557 test ! -s conftest.err
41558 } && test -s conftest.$ac_objext; then
41559 ac_cv_func_which_gethostbyname_r=five
41560 else
41561 echo "$as_me: failed program was:" >&5
41562 sed 's/^/| /' conftest.$ac_ext >&5
41563
41564
41565 fi
41566
41567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41568
41569 fi
41570
41571 #
41572 # THREE ARGUMENTS
41573 # (e.g. AIX, HP-UX, Tru64)
41574 #
41575
41576 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41577
41578 cat >conftest.$ac_ext <<_ACEOF
41579 /* confdefs.h. */
41580 _ACEOF
41581 cat confdefs.h >>conftest.$ac_ext
41582 cat >>conftest.$ac_ext <<_ACEOF
41583 /* end confdefs.h. */
41584 #include <netdb.h>
41585 int
41586 main ()
41587 {
41588
41589 char *name = "www.gnu.org";
41590 struct hostent ret;
41591 struct hostent_data data;
41592 (void)gethostbyname_r(name, &ret, &data) /* ; */
41593
41594 ;
41595 return 0;
41596 }
41597 _ACEOF
41598 rm -f conftest.$ac_objext
41599 if { (ac_try="$ac_compile"
41600 case "(($ac_try" in
41601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41602 *) ac_try_echo=$ac_try;;
41603 esac
41604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41605 (eval "$ac_compile") 2>conftest.er1
41606 ac_status=$?
41607 grep -v '^ *+' conftest.er1 >conftest.err
41608 rm -f conftest.er1
41609 cat conftest.err >&5
41610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41611 (exit $ac_status); } && {
41612 test -z "$ac_c_werror_flag" ||
41613 test ! -s conftest.err
41614 } && test -s conftest.$ac_objext; then
41615 ac_cv_func_which_gethostbyname_r=three
41616 else
41617 echo "$as_me: failed program was:" >&5
41618 sed 's/^/| /' conftest.$ac_ext >&5
41619
41620
41621 fi
41622
41623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41624
41625 fi
41626
41627 ################################################################
41628
41629
41630 fi
41631
41632 case "$ac_cv_func_which_gethostbyname_r" in
41633 three)
41634 { echo "$as_me:$LINENO: result: three" >&5
41635 echo "${ECHO_T}three" >&6; }
41636 cat >>confdefs.h <<\_ACEOF
41637 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
41638 _ACEOF
41639
41640 ;;
41641
41642 five)
41643 { echo "$as_me:$LINENO: result: five" >&5
41644 echo "${ECHO_T}five" >&6; }
41645 cat >>confdefs.h <<\_ACEOF
41646 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
41647 _ACEOF
41648
41649 ;;
41650
41651 six)
41652 { echo "$as_me:$LINENO: result: six" >&5
41653 echo "${ECHO_T}six" >&6; }
41654 cat >>confdefs.h <<\_ACEOF
41655 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
41656 _ACEOF
41657
41658 ;;
41659
41660 no)
41661 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
41662 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
41663 ;;
41664
41665 unknown)
41666 { echo "$as_me:$LINENO: result: can't tell" >&5
41667 echo "${ECHO_T}can't tell" >&6; }
41668 ;;
41669
41670 *)
41671 { { echo "$as_me:$LINENO: error: internal error" >&5
41672 echo "$as_me: error: internal error" >&2;}
41673 { (exit 1); exit 1; }; }
41674 ;;
41675 esac
41676
41677 ac_ext=c
41678 ac_cpp='$CPP $CPPFLAGS'
41679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41682
41683
41684
41685 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41686 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41687 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
41688 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
41689 if test "${ac_cv_func_gethostbyname+set}" = set; then
41690 echo $ECHO_N "(cached) $ECHO_C" >&6
41691 else
41692 cat >conftest.$ac_ext <<_ACEOF
41693 /* confdefs.h. */
41694 _ACEOF
41695 cat confdefs.h >>conftest.$ac_ext
41696 cat >>conftest.$ac_ext <<_ACEOF
41697 /* end confdefs.h. */
41698 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41699 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41700 #define gethostbyname innocuous_gethostbyname
41701
41702 /* System header to define __stub macros and hopefully few prototypes,
41703 which can conflict with char gethostbyname (); below.
41704 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41705 <limits.h> exists even on freestanding compilers. */
41706
41707 #ifdef __STDC__
41708 # include <limits.h>
41709 #else
41710 # include <assert.h>
41711 #endif
41712
41713 #undef gethostbyname
41714
41715 /* Override any GCC internal prototype to avoid an error.
41716 Use char because int might match the return type of a GCC
41717 builtin and then its argument prototype would still apply. */
41718 #ifdef __cplusplus
41719 extern "C"
41720 #endif
41721 char gethostbyname ();
41722 /* The GNU C library defines this for functions which it implements
41723 to always fail with ENOSYS. Some functions are actually named
41724 something starting with __ and the normal name is an alias. */
41725 #if defined __stub_gethostbyname || defined __stub___gethostbyname
41726 choke me
41727 #endif
41728
41729 int
41730 main ()
41731 {
41732 return gethostbyname ();
41733 ;
41734 return 0;
41735 }
41736 _ACEOF
41737 rm -f conftest.$ac_objext conftest$ac_exeext
41738 if { (ac_try="$ac_link"
41739 case "(($ac_try" in
41740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41741 *) ac_try_echo=$ac_try;;
41742 esac
41743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41744 (eval "$ac_link") 2>conftest.er1
41745 ac_status=$?
41746 grep -v '^ *+' conftest.er1 >conftest.err
41747 rm -f conftest.er1
41748 cat conftest.err >&5
41749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41750 (exit $ac_status); } && {
41751 test -z "$ac_c_werror_flag" ||
41752 test ! -s conftest.err
41753 } && test -s conftest$ac_exeext &&
41754 $as_test_x conftest$ac_exeext; then
41755 ac_cv_func_gethostbyname=yes
41756 else
41757 echo "$as_me: failed program was:" >&5
41758 sed 's/^/| /' conftest.$ac_ext >&5
41759
41760 ac_cv_func_gethostbyname=no
41761 fi
41762
41763 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41764 conftest$ac_exeext conftest.$ac_ext
41765 fi
41766 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41767 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
41768 if test $ac_cv_func_gethostbyname = yes; then
41769 cat >>confdefs.h <<\_ACEOF
41770 #define HAVE_GETHOSTBYNAME 1
41771 _ACEOF
41772
41773 fi
41774
41775 fi
41776
41777 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41778 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
41779 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41780 echo $ECHO_N "(cached) $ECHO_C" >&6
41781 else
41782
41783 ac_ext=cpp
41784 ac_cpp='$CXXCPP $CPPFLAGS'
41785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41788
41789
41790 cat >conftest.$ac_ext <<_ACEOF
41791 /* confdefs.h. */
41792 _ACEOF
41793 cat confdefs.h >>conftest.$ac_ext
41794 cat >>conftest.$ac_ext <<_ACEOF
41795 /* end confdefs.h. */
41796 #include <netdb.h>
41797 int
41798 main ()
41799 {
41800
41801 char *name;
41802 char *proto;
41803 struct servent *se, *res;
41804 char buffer[2048];
41805 int buflen = 2048;
41806 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41807
41808 ;
41809 return 0;
41810 }
41811 _ACEOF
41812 rm -f conftest.$ac_objext
41813 if { (ac_try="$ac_compile"
41814 case "(($ac_try" in
41815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41816 *) ac_try_echo=$ac_try;;
41817 esac
41818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41819 (eval "$ac_compile") 2>conftest.er1
41820 ac_status=$?
41821 grep -v '^ *+' conftest.er1 >conftest.err
41822 rm -f conftest.er1
41823 cat conftest.err >&5
41824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41825 (exit $ac_status); } && {
41826 test -z "$ac_cxx_werror_flag" ||
41827 test ! -s conftest.err
41828 } && test -s conftest.$ac_objext; then
41829 ac_cv_func_which_getservbyname_r=six
41830 else
41831 echo "$as_me: failed program was:" >&5
41832 sed 's/^/| /' conftest.$ac_ext >&5
41833
41834
41835 cat >conftest.$ac_ext <<_ACEOF
41836 /* confdefs.h. */
41837 _ACEOF
41838 cat confdefs.h >>conftest.$ac_ext
41839 cat >>conftest.$ac_ext <<_ACEOF
41840 /* end confdefs.h. */
41841 #include <netdb.h>
41842 int
41843 main ()
41844 {
41845
41846 char *name;
41847 char *proto;
41848 struct servent *se;
41849 char buffer[2048];
41850 int buflen = 2048;
41851 (void) getservbyname_r(name, proto, se, buffer, buflen)
41852
41853 ;
41854 return 0;
41855 }
41856 _ACEOF
41857 rm -f conftest.$ac_objext
41858 if { (ac_try="$ac_compile"
41859 case "(($ac_try" in
41860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41861 *) ac_try_echo=$ac_try;;
41862 esac
41863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41864 (eval "$ac_compile") 2>conftest.er1
41865 ac_status=$?
41866 grep -v '^ *+' conftest.er1 >conftest.err
41867 rm -f conftest.er1
41868 cat conftest.err >&5
41869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41870 (exit $ac_status); } && {
41871 test -z "$ac_cxx_werror_flag" ||
41872 test ! -s conftest.err
41873 } && test -s conftest.$ac_objext; then
41874 ac_cv_func_which_getservbyname_r=five
41875 else
41876 echo "$as_me: failed program was:" >&5
41877 sed 's/^/| /' conftest.$ac_ext >&5
41878
41879
41880 cat >conftest.$ac_ext <<_ACEOF
41881 /* confdefs.h. */
41882 _ACEOF
41883 cat confdefs.h >>conftest.$ac_ext
41884 cat >>conftest.$ac_ext <<_ACEOF
41885 /* end confdefs.h. */
41886 #include <netdb.h>
41887 int
41888 main ()
41889 {
41890
41891 char *name;
41892 char *proto;
41893 struct servent *se;
41894 struct servent_data data;
41895 (void) getservbyname_r(name, proto, se, &data);
41896
41897 ;
41898 return 0;
41899 }
41900 _ACEOF
41901 rm -f conftest.$ac_objext
41902 if { (ac_try="$ac_compile"
41903 case "(($ac_try" in
41904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41905 *) ac_try_echo=$ac_try;;
41906 esac
41907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41908 (eval "$ac_compile") 2>conftest.er1
41909 ac_status=$?
41910 grep -v '^ *+' conftest.er1 >conftest.err
41911 rm -f conftest.er1
41912 cat conftest.err >&5
41913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41914 (exit $ac_status); } && {
41915 test -z "$ac_cxx_werror_flag" ||
41916 test ! -s conftest.err
41917 } && test -s conftest.$ac_objext; then
41918 ac_cv_func_which_getservbyname_r=four
41919 else
41920 echo "$as_me: failed program was:" >&5
41921 sed 's/^/| /' conftest.$ac_ext >&5
41922
41923 ac_cv_func_which_getservbyname_r=no
41924
41925 fi
41926
41927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41928
41929
41930 fi
41931
41932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41933
41934
41935 fi
41936
41937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41938 ac_ext=c
41939 ac_cpp='$CPP $CPPFLAGS'
41940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41943
41944
41945
41946 fi
41947 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41948 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
41949
41950 if test $ac_cv_func_which_getservbyname_r = six; then
41951 cat >>confdefs.h <<\_ACEOF
41952 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41953 _ACEOF
41954
41955 elif test $ac_cv_func_which_getservbyname_r = five; then
41956 cat >>confdefs.h <<\_ACEOF
41957 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41958 _ACEOF
41959
41960 elif test $ac_cv_func_which_getservbyname_r = four; then
41961 cat >>confdefs.h <<\_ACEOF
41962 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41963 _ACEOF
41964
41965 fi
41966
41967
41968 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41969 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41970
41971 for ac_func in getservbyname
41972 do
41973 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41974 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41975 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41976 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41977 echo $ECHO_N "(cached) $ECHO_C" >&6
41978 else
41979 cat >conftest.$ac_ext <<_ACEOF
41980 /* confdefs.h. */
41981 _ACEOF
41982 cat confdefs.h >>conftest.$ac_ext
41983 cat >>conftest.$ac_ext <<_ACEOF
41984 /* end confdefs.h. */
41985 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41986 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41987 #define $ac_func innocuous_$ac_func
41988
41989 /* System header to define __stub macros and hopefully few prototypes,
41990 which can conflict with char $ac_func (); below.
41991 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41992 <limits.h> exists even on freestanding compilers. */
41993
41994 #ifdef __STDC__
41995 # include <limits.h>
41996 #else
41997 # include <assert.h>
41998 #endif
41999
42000 #undef $ac_func
42001
42002 /* Override any GCC internal prototype to avoid an error.
42003 Use char because int might match the return type of a GCC
42004 builtin and then its argument prototype would still apply. */
42005 #ifdef __cplusplus
42006 extern "C"
42007 #endif
42008 char $ac_func ();
42009 /* The GNU C library defines this for functions which it implements
42010 to always fail with ENOSYS. Some functions are actually named
42011 something starting with __ and the normal name is an alias. */
42012 #if defined __stub_$ac_func || defined __stub___$ac_func
42013 choke me
42014 #endif
42015
42016 int
42017 main ()
42018 {
42019 return $ac_func ();
42020 ;
42021 return 0;
42022 }
42023 _ACEOF
42024 rm -f conftest.$ac_objext conftest$ac_exeext
42025 if { (ac_try="$ac_link"
42026 case "(($ac_try" in
42027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42028 *) ac_try_echo=$ac_try;;
42029 esac
42030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42031 (eval "$ac_link") 2>conftest.er1
42032 ac_status=$?
42033 grep -v '^ *+' conftest.er1 >conftest.err
42034 rm -f conftest.er1
42035 cat conftest.err >&5
42036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42037 (exit $ac_status); } && {
42038 test -z "$ac_c_werror_flag" ||
42039 test ! -s conftest.err
42040 } && test -s conftest$ac_exeext &&
42041 $as_test_x conftest$ac_exeext; then
42042 eval "$as_ac_var=yes"
42043 else
42044 echo "$as_me: failed program was:" >&5
42045 sed 's/^/| /' conftest.$ac_ext >&5
42046
42047 eval "$as_ac_var=no"
42048 fi
42049
42050 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42051 conftest$ac_exeext conftest.$ac_ext
42052 fi
42053 ac_res=`eval echo '${'$as_ac_var'}'`
42054 { echo "$as_me:$LINENO: result: $ac_res" >&5
42055 echo "${ECHO_T}$ac_res" >&6; }
42056 if test `eval echo '${'$as_ac_var'}'` = yes; then
42057 cat >>confdefs.h <<_ACEOF
42058 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42059 _ACEOF
42060 cat >>confdefs.h <<\_ACEOF
42061 #define HAVE_GETSERVBYNAME 1
42062 _ACEOF
42063
42064 fi
42065 done
42066
42067 fi
42068
42069 if test "$wxUSE_THREADS" = "yes"; then
42070 cat >>confdefs.h <<\_ACEOF
42071 #define wxUSE_THREADS 1
42072 _ACEOF
42073
42074
42075 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
42076 else
42077 if test "$wx_cv_func_strtok_r" = "yes"; then
42078 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
42079 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
42080 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
42081 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
42082 { echo "$as_me:$LINENO: result: yes" >&5
42083 echo "${ECHO_T}yes" >&6; }
42084 else
42085 { echo "$as_me:$LINENO: result: no" >&5
42086 echo "${ECHO_T}no" >&6; }
42087 fi
42088 fi
42089 fi
42090
42091 if test "$WXGTK2" = 1 ; then
42092 cat >>confdefs.h <<_ACEOF
42093 #define __WXGTK20__ $WXGTK2
42094 _ACEOF
42095
42096 WXGTK12=1
42097 fi
42098
42099 if test "$WXGTK12" = 1 ; then
42100 cat >>confdefs.h <<_ACEOF
42101 #define __WXGTK12__ $WXGTK12
42102 _ACEOF
42103
42104 fi
42105
42106 if test "$WXGTK127" = 1 ; then
42107 cat >>confdefs.h <<_ACEOF
42108 #define __WXGTK127__ $WXGTK127
42109 _ACEOF
42110
42111 fi
42112
42113 if test "$WXGPE" = 1 ; then
42114 cat >>confdefs.h <<_ACEOF
42115 #define __WXGPE__ $WXGPE
42116 _ACEOF
42117
42118 fi
42119
42120 DEBUG_CFLAGS=
42121 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
42122 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
42123 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
42124 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
42125 DEBUG_CFLAGS="-g"
42126 fi
42127
42128 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
42129 wxUSE_DEBUG_INFO=yes
42130 if test "$GCC" = yes; then
42131 DEBUG_CFLAGS="-ggdb"
42132 fi
42133 fi
42134
42135 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
42136 if test "$wxUSE_GTK" = 1 ; then
42137 if test "x$wxGTK_VERSION" = "x1" ; then
42138 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
42139 fi
42140 fi
42141 fi
42142
42143 if test "$wxUSE_MEM_TRACING" = "yes" ; then
42144 cat >>confdefs.h <<\_ACEOF
42145 #define wxUSE_MEMORY_TRACING 1
42146 _ACEOF
42147
42148 cat >>confdefs.h <<\_ACEOF
42149 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
42150 _ACEOF
42151
42152 cat >>confdefs.h <<\_ACEOF
42153 #define wxUSE_DEBUG_NEW_ALWAYS 1
42154 _ACEOF
42155
42156 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
42157 fi
42158
42159 if test "$wxUSE_DMALLOC" = "yes" ; then
42160 DMALLOC_LIBS="-ldmallocthcxx"
42161 fi
42162
42163 PROFILE_FLAGS=
42164 if test "$wxUSE_PROFILE" = "yes" ; then
42165 PROFILE_FLAGS=" -pg"
42166 fi
42167
42168 if test "$GCC" = "yes" ; then
42169 if test "$wxUSE_NO_RTTI" = "yes" ; then
42170 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
42171 fi
42172 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
42173 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
42174 fi
42175 if test "$wxUSE_PERMISSIVE" = "yes" ; then
42176 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
42177 fi
42178
42179 case "${host}" in
42180 powerpc*-*-aix* )
42181 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
42182 ;;
42183 *-hppa* )
42184 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
42185 ;;
42186 esac
42187 fi
42188
42189 OPTIMISE_CFLAGS=
42190 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
42191 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
42192 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
42193 else
42194 if test "$wxUSE_OPTIMISE" = "no" ; then
42195 if test "$GCC" = yes ; then
42196 OPTIMISE_CFLAGS="-O0"
42197 fi
42198 else
42199 if test "$GCC" = yes ; then
42200 case "${host}" in
42201 *-pc-os2_emx | *-pc-os2-emx )
42202 OPTIMISE_CFLAGS="-O2"
42203 ;;
42204 *)
42205 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
42206 ;;
42207 esac
42208 else
42209 OPTIMISE_CFLAGS="-O"
42210 fi
42211 fi
42212 fi
42213
42214
42215 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
42216 cat >>confdefs.h <<\_ACEOF
42217 #define WXWIN_COMPATIBILITY_2_6 1
42218 _ACEOF
42219
42220
42221 WXWIN_COMPATIBILITY_2_8="yes"
42222 fi
42223
42224 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
42225 cat >>confdefs.h <<\_ACEOF
42226 #define WXWIN_COMPATIBILITY_2_8 1
42227 _ACEOF
42228
42229 fi
42230
42231
42232 if test "$wxUSE_GUI" = "yes"; then
42233 cat >>confdefs.h <<\_ACEOF
42234 #define wxUSE_GUI 1
42235 _ACEOF
42236
42237
42238 fi
42239
42240
42241 if test "$wxUSE_UNIX" = "yes"; then
42242 cat >>confdefs.h <<\_ACEOF
42243 #define wxUSE_UNIX 1
42244 _ACEOF
42245
42246 fi
42247
42248
42249 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
42250
42251 HAVE_DL_FUNCS=0
42252 HAVE_SHL_FUNCS=0
42253 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42254 if test "$USE_DOS" = 1; then
42255 HAVE_DL_FUNCS=0
42256 else
42257
42258 for ac_func in dlopen
42259 do
42260 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42261 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42262 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42263 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42264 echo $ECHO_N "(cached) $ECHO_C" >&6
42265 else
42266 cat >conftest.$ac_ext <<_ACEOF
42267 /* confdefs.h. */
42268 _ACEOF
42269 cat confdefs.h >>conftest.$ac_ext
42270 cat >>conftest.$ac_ext <<_ACEOF
42271 /* end confdefs.h. */
42272 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42273 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42274 #define $ac_func innocuous_$ac_func
42275
42276 /* System header to define __stub macros and hopefully few prototypes,
42277 which can conflict with char $ac_func (); below.
42278 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42279 <limits.h> exists even on freestanding compilers. */
42280
42281 #ifdef __STDC__
42282 # include <limits.h>
42283 #else
42284 # include <assert.h>
42285 #endif
42286
42287 #undef $ac_func
42288
42289 /* Override any GCC internal prototype to avoid an error.
42290 Use char because int might match the return type of a GCC
42291 builtin and then its argument prototype would still apply. */
42292 #ifdef __cplusplus
42293 extern "C"
42294 #endif
42295 char $ac_func ();
42296 /* The GNU C library defines this for functions which it implements
42297 to always fail with ENOSYS. Some functions are actually named
42298 something starting with __ and the normal name is an alias. */
42299 #if defined __stub_$ac_func || defined __stub___$ac_func
42300 choke me
42301 #endif
42302
42303 int
42304 main ()
42305 {
42306 return $ac_func ();
42307 ;
42308 return 0;
42309 }
42310 _ACEOF
42311 rm -f conftest.$ac_objext conftest$ac_exeext
42312 if { (ac_try="$ac_link"
42313 case "(($ac_try" in
42314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42315 *) ac_try_echo=$ac_try;;
42316 esac
42317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42318 (eval "$ac_link") 2>conftest.er1
42319 ac_status=$?
42320 grep -v '^ *+' conftest.er1 >conftest.err
42321 rm -f conftest.er1
42322 cat conftest.err >&5
42323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42324 (exit $ac_status); } && {
42325 test -z "$ac_c_werror_flag" ||
42326 test ! -s conftest.err
42327 } && test -s conftest$ac_exeext &&
42328 $as_test_x conftest$ac_exeext; then
42329 eval "$as_ac_var=yes"
42330 else
42331 echo "$as_me: failed program was:" >&5
42332 sed 's/^/| /' conftest.$ac_ext >&5
42333
42334 eval "$as_ac_var=no"
42335 fi
42336
42337 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42338 conftest$ac_exeext conftest.$ac_ext
42339 fi
42340 ac_res=`eval echo '${'$as_ac_var'}'`
42341 { echo "$as_me:$LINENO: result: $ac_res" >&5
42342 echo "${ECHO_T}$ac_res" >&6; }
42343 if test `eval echo '${'$as_ac_var'}'` = yes; then
42344 cat >>confdefs.h <<_ACEOF
42345 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42346 _ACEOF
42347
42348 cat >>confdefs.h <<\_ACEOF
42349 #define HAVE_DLOPEN 1
42350 _ACEOF
42351
42352 HAVE_DL_FUNCS=1
42353
42354 else
42355
42356 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
42357 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
42358 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
42359 echo $ECHO_N "(cached) $ECHO_C" >&6
42360 else
42361 ac_check_lib_save_LIBS=$LIBS
42362 LIBS="-ldl $LIBS"
42363 cat >conftest.$ac_ext <<_ACEOF
42364 /* confdefs.h. */
42365 _ACEOF
42366 cat confdefs.h >>conftest.$ac_ext
42367 cat >>conftest.$ac_ext <<_ACEOF
42368 /* end confdefs.h. */
42369
42370 /* Override any GCC internal prototype to avoid an error.
42371 Use char because int might match the return type of a GCC
42372 builtin and then its argument prototype would still apply. */
42373 #ifdef __cplusplus
42374 extern "C"
42375 #endif
42376 char dlopen ();
42377 int
42378 main ()
42379 {
42380 return dlopen ();
42381 ;
42382 return 0;
42383 }
42384 _ACEOF
42385 rm -f conftest.$ac_objext conftest$ac_exeext
42386 if { (ac_try="$ac_link"
42387 case "(($ac_try" in
42388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42389 *) ac_try_echo=$ac_try;;
42390 esac
42391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42392 (eval "$ac_link") 2>conftest.er1
42393 ac_status=$?
42394 grep -v '^ *+' conftest.er1 >conftest.err
42395 rm -f conftest.er1
42396 cat conftest.err >&5
42397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42398 (exit $ac_status); } && {
42399 test -z "$ac_c_werror_flag" ||
42400 test ! -s conftest.err
42401 } && test -s conftest$ac_exeext &&
42402 $as_test_x conftest$ac_exeext; then
42403 ac_cv_lib_dl_dlopen=yes
42404 else
42405 echo "$as_me: failed program was:" >&5
42406 sed 's/^/| /' conftest.$ac_ext >&5
42407
42408 ac_cv_lib_dl_dlopen=no
42409 fi
42410
42411 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42412 conftest$ac_exeext conftest.$ac_ext
42413 LIBS=$ac_check_lib_save_LIBS
42414 fi
42415 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
42416 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
42417 if test $ac_cv_lib_dl_dlopen = yes; then
42418
42419 cat >>confdefs.h <<\_ACEOF
42420 #define HAVE_DLOPEN 1
42421 _ACEOF
42422
42423 HAVE_DL_FUNCS=1
42424 DL_LINK=" -ldl$DL_LINK"
42425
42426 else
42427
42428
42429 for ac_func in shl_load
42430 do
42431 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42432 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42433 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42434 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42435 echo $ECHO_N "(cached) $ECHO_C" >&6
42436 else
42437 cat >conftest.$ac_ext <<_ACEOF
42438 /* confdefs.h. */
42439 _ACEOF
42440 cat confdefs.h >>conftest.$ac_ext
42441 cat >>conftest.$ac_ext <<_ACEOF
42442 /* end confdefs.h. */
42443 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42444 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42445 #define $ac_func innocuous_$ac_func
42446
42447 /* System header to define __stub macros and hopefully few prototypes,
42448 which can conflict with char $ac_func (); below.
42449 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42450 <limits.h> exists even on freestanding compilers. */
42451
42452 #ifdef __STDC__
42453 # include <limits.h>
42454 #else
42455 # include <assert.h>
42456 #endif
42457
42458 #undef $ac_func
42459
42460 /* Override any GCC internal prototype to avoid an error.
42461 Use char because int might match the return type of a GCC
42462 builtin and then its argument prototype would still apply. */
42463 #ifdef __cplusplus
42464 extern "C"
42465 #endif
42466 char $ac_func ();
42467 /* The GNU C library defines this for functions which it implements
42468 to always fail with ENOSYS. Some functions are actually named
42469 something starting with __ and the normal name is an alias. */
42470 #if defined __stub_$ac_func || defined __stub___$ac_func
42471 choke me
42472 #endif
42473
42474 int
42475 main ()
42476 {
42477 return $ac_func ();
42478 ;
42479 return 0;
42480 }
42481 _ACEOF
42482 rm -f conftest.$ac_objext conftest$ac_exeext
42483 if { (ac_try="$ac_link"
42484 case "(($ac_try" in
42485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42486 *) ac_try_echo=$ac_try;;
42487 esac
42488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42489 (eval "$ac_link") 2>conftest.er1
42490 ac_status=$?
42491 grep -v '^ *+' conftest.er1 >conftest.err
42492 rm -f conftest.er1
42493 cat conftest.err >&5
42494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42495 (exit $ac_status); } && {
42496 test -z "$ac_c_werror_flag" ||
42497 test ! -s conftest.err
42498 } && test -s conftest$ac_exeext &&
42499 $as_test_x conftest$ac_exeext; then
42500 eval "$as_ac_var=yes"
42501 else
42502 echo "$as_me: failed program was:" >&5
42503 sed 's/^/| /' conftest.$ac_ext >&5
42504
42505 eval "$as_ac_var=no"
42506 fi
42507
42508 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42509 conftest$ac_exeext conftest.$ac_ext
42510 fi
42511 ac_res=`eval echo '${'$as_ac_var'}'`
42512 { echo "$as_me:$LINENO: result: $ac_res" >&5
42513 echo "${ECHO_T}$ac_res" >&6; }
42514 if test `eval echo '${'$as_ac_var'}'` = yes; then
42515 cat >>confdefs.h <<_ACEOF
42516 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42517 _ACEOF
42518
42519 cat >>confdefs.h <<\_ACEOF
42520 #define HAVE_SHL_LOAD 1
42521 _ACEOF
42522
42523 HAVE_SHL_FUNCS=1
42524
42525 else
42526
42527 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
42528 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
42529 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
42530 echo $ECHO_N "(cached) $ECHO_C" >&6
42531 else
42532 ac_check_lib_save_LIBS=$LIBS
42533 LIBS="-lshl_load $LIBS"
42534 cat >conftest.$ac_ext <<_ACEOF
42535 /* confdefs.h. */
42536 _ACEOF
42537 cat confdefs.h >>conftest.$ac_ext
42538 cat >>conftest.$ac_ext <<_ACEOF
42539 /* end confdefs.h. */
42540
42541 /* Override any GCC internal prototype to avoid an error.
42542 Use char because int might match the return type of a GCC
42543 builtin and then its argument prototype would still apply. */
42544 #ifdef __cplusplus
42545 extern "C"
42546 #endif
42547 char dld ();
42548 int
42549 main ()
42550 {
42551 return dld ();
42552 ;
42553 return 0;
42554 }
42555 _ACEOF
42556 rm -f conftest.$ac_objext conftest$ac_exeext
42557 if { (ac_try="$ac_link"
42558 case "(($ac_try" in
42559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42560 *) ac_try_echo=$ac_try;;
42561 esac
42562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42563 (eval "$ac_link") 2>conftest.er1
42564 ac_status=$?
42565 grep -v '^ *+' conftest.er1 >conftest.err
42566 rm -f conftest.er1
42567 cat conftest.err >&5
42568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42569 (exit $ac_status); } && {
42570 test -z "$ac_c_werror_flag" ||
42571 test ! -s conftest.err
42572 } && test -s conftest$ac_exeext &&
42573 $as_test_x conftest$ac_exeext; then
42574 ac_cv_lib_shl_load_dld=yes
42575 else
42576 echo "$as_me: failed program was:" >&5
42577 sed 's/^/| /' conftest.$ac_ext >&5
42578
42579 ac_cv_lib_shl_load_dld=no
42580 fi
42581
42582 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42583 conftest$ac_exeext conftest.$ac_ext
42584 LIBS=$ac_check_lib_save_LIBS
42585 fi
42586 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
42587 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
42588 if test $ac_cv_lib_shl_load_dld = yes; then
42589
42590 HAVE_SHL_FUNCS=1
42591 DL_LINK=" -ldld$DL_LINK"
42592
42593 fi
42594
42595
42596 fi
42597 done
42598
42599
42600 fi
42601
42602
42603 fi
42604 done
42605
42606
42607 if test "$HAVE_DL_FUNCS" = 1; then
42608
42609 for ac_func in dlerror
42610 do
42611 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42612 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42613 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42614 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42615 echo $ECHO_N "(cached) $ECHO_C" >&6
42616 else
42617 cat >conftest.$ac_ext <<_ACEOF
42618 /* confdefs.h. */
42619 _ACEOF
42620 cat confdefs.h >>conftest.$ac_ext
42621 cat >>conftest.$ac_ext <<_ACEOF
42622 /* end confdefs.h. */
42623 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42624 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42625 #define $ac_func innocuous_$ac_func
42626
42627 /* System header to define __stub macros and hopefully few prototypes,
42628 which can conflict with char $ac_func (); below.
42629 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42630 <limits.h> exists even on freestanding compilers. */
42631
42632 #ifdef __STDC__
42633 # include <limits.h>
42634 #else
42635 # include <assert.h>
42636 #endif
42637
42638 #undef $ac_func
42639
42640 /* Override any GCC internal prototype to avoid an error.
42641 Use char because int might match the return type of a GCC
42642 builtin and then its argument prototype would still apply. */
42643 #ifdef __cplusplus
42644 extern "C"
42645 #endif
42646 char $ac_func ();
42647 /* The GNU C library defines this for functions which it implements
42648 to always fail with ENOSYS. Some functions are actually named
42649 something starting with __ and the normal name is an alias. */
42650 #if defined __stub_$ac_func || defined __stub___$ac_func
42651 choke me
42652 #endif
42653
42654 int
42655 main ()
42656 {
42657 return $ac_func ();
42658 ;
42659 return 0;
42660 }
42661 _ACEOF
42662 rm -f conftest.$ac_objext conftest$ac_exeext
42663 if { (ac_try="$ac_link"
42664 case "(($ac_try" in
42665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42666 *) ac_try_echo=$ac_try;;
42667 esac
42668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42669 (eval "$ac_link") 2>conftest.er1
42670 ac_status=$?
42671 grep -v '^ *+' conftest.er1 >conftest.err
42672 rm -f conftest.er1
42673 cat conftest.err >&5
42674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42675 (exit $ac_status); } && {
42676 test -z "$ac_c_werror_flag" ||
42677 test ! -s conftest.err
42678 } && test -s conftest$ac_exeext &&
42679 $as_test_x conftest$ac_exeext; then
42680 eval "$as_ac_var=yes"
42681 else
42682 echo "$as_me: failed program was:" >&5
42683 sed 's/^/| /' conftest.$ac_ext >&5
42684
42685 eval "$as_ac_var=no"
42686 fi
42687
42688 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42689 conftest$ac_exeext conftest.$ac_ext
42690 fi
42691 ac_res=`eval echo '${'$as_ac_var'}'`
42692 { echo "$as_me:$LINENO: result: $ac_res" >&5
42693 echo "${ECHO_T}$ac_res" >&6; }
42694 if test `eval echo '${'$as_ac_var'}'` = yes; then
42695 cat >>confdefs.h <<_ACEOF
42696 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42697 _ACEOF
42698 cat >>confdefs.h <<\_ACEOF
42699 #define HAVE_DLERROR 1
42700 _ACEOF
42701
42702 else
42703
42704 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42705 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
42706 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42707 echo $ECHO_N "(cached) $ECHO_C" >&6
42708 else
42709 ac_check_lib_save_LIBS=$LIBS
42710 LIBS="-ldl $LIBS"
42711 cat >conftest.$ac_ext <<_ACEOF
42712 /* confdefs.h. */
42713 _ACEOF
42714 cat confdefs.h >>conftest.$ac_ext
42715 cat >>conftest.$ac_ext <<_ACEOF
42716 /* end confdefs.h. */
42717
42718 /* Override any GCC internal prototype to avoid an error.
42719 Use char because int might match the return type of a GCC
42720 builtin and then its argument prototype would still apply. */
42721 #ifdef __cplusplus
42722 extern "C"
42723 #endif
42724 char dlerror ();
42725 int
42726 main ()
42727 {
42728 return dlerror ();
42729 ;
42730 return 0;
42731 }
42732 _ACEOF
42733 rm -f conftest.$ac_objext conftest$ac_exeext
42734 if { (ac_try="$ac_link"
42735 case "(($ac_try" in
42736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42737 *) ac_try_echo=$ac_try;;
42738 esac
42739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42740 (eval "$ac_link") 2>conftest.er1
42741 ac_status=$?
42742 grep -v '^ *+' conftest.er1 >conftest.err
42743 rm -f conftest.er1
42744 cat conftest.err >&5
42745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42746 (exit $ac_status); } && {
42747 test -z "$ac_c_werror_flag" ||
42748 test ! -s conftest.err
42749 } && test -s conftest$ac_exeext &&
42750 $as_test_x conftest$ac_exeext; then
42751 ac_cv_lib_dl_dlerror=yes
42752 else
42753 echo "$as_me: failed program was:" >&5
42754 sed 's/^/| /' conftest.$ac_ext >&5
42755
42756 ac_cv_lib_dl_dlerror=no
42757 fi
42758
42759 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42760 conftest$ac_exeext conftest.$ac_ext
42761 LIBS=$ac_check_lib_save_LIBS
42762 fi
42763 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42764 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
42765 if test $ac_cv_lib_dl_dlerror = yes; then
42766 cat >>confdefs.h <<\_ACEOF
42767 #define HAVE_DLERROR 1
42768 _ACEOF
42769
42770 fi
42771
42772
42773
42774 fi
42775 done
42776
42777 fi
42778 fi
42779
42780 if test "$USE_DARWIN" = 1; then
42781 HAVE_DL_FUNCS=1
42782 fi
42783
42784 if test "$HAVE_DL_FUNCS" = 0; then
42785 if test "$HAVE_SHL_FUNCS" = 0; then
42786 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42787 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42788 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42789 wxUSE_DYNAMIC_LOADER=no
42790 wxUSE_DYNLIB_CLASS=no
42791 else
42792 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42793 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42794 fi
42795 fi
42796 fi
42797 fi
42798 fi
42799
42800 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42801 cat >>confdefs.h <<\_ACEOF
42802 #define wxUSE_DYNAMIC_LOADER 1
42803 _ACEOF
42804
42805 fi
42806 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42807 cat >>confdefs.h <<\_ACEOF
42808 #define wxUSE_DYNLIB_CLASS 1
42809 _ACEOF
42810
42811 fi
42812
42813
42814
42815 if test "$wxUSE_PLUGINS" = "yes" ; then
42816 if test "$wxUSE_SHARED" = "no" ; then
42817 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42818 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42819 wxUSE_PLUGINS=no
42820 fi
42821 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42822 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42823 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42824 wxUSE_PLUGINS=no
42825 fi
42826 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42827 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42828 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42829 wxUSE_PLUGINS=no
42830 fi
42831 if test "$wxUSE_PLUGINS" = "yes" ; then
42832 cat >>confdefs.h <<\_ACEOF
42833 #define wxUSE_PLUGINS 1
42834 _ACEOF
42835
42836 fi
42837 fi
42838
42839
42840 if test "$wxUSE_FSWATCHER" = "yes"; then
42841 if test "$wxUSE_MSW" != "1"; then
42842 if test "$wxUSE_UNIX" = "yes"; then
42843
42844 for ac_header in sys/inotify.h
42845 do
42846 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42847 { echo "$as_me:$LINENO: checking for $ac_header" >&5
42848 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
42849 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
42850 echo $ECHO_N "(cached) $ECHO_C" >&6
42851 else
42852 cat >conftest.$ac_ext <<_ACEOF
42853 /* confdefs.h. */
42854 _ACEOF
42855 cat confdefs.h >>conftest.$ac_ext
42856 cat >>conftest.$ac_ext <<_ACEOF
42857 /* end confdefs.h. */
42858 $ac_includes_default
42859
42860 #include <$ac_header>
42861 _ACEOF
42862 rm -f conftest.$ac_objext
42863 if { (ac_try="$ac_compile"
42864 case "(($ac_try" in
42865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42866 *) ac_try_echo=$ac_try;;
42867 esac
42868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42869 (eval "$ac_compile") 2>conftest.er1
42870 ac_status=$?
42871 grep -v '^ *+' conftest.er1 >conftest.err
42872 rm -f conftest.er1
42873 cat conftest.err >&5
42874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42875 (exit $ac_status); } && {
42876 test -z "$ac_c_werror_flag" ||
42877 test ! -s conftest.err
42878 } && test -s conftest.$ac_objext; then
42879 eval "$as_ac_Header=yes"
42880 else
42881 echo "$as_me: failed program was:" >&5
42882 sed 's/^/| /' conftest.$ac_ext >&5
42883
42884 eval "$as_ac_Header=no"
42885 fi
42886
42887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42888 fi
42889 ac_res=`eval echo '${'$as_ac_Header'}'`
42890 { echo "$as_me:$LINENO: result: $ac_res" >&5
42891 echo "${ECHO_T}$ac_res" >&6; }
42892 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42893 cat >>confdefs.h <<_ACEOF
42894 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42895 _ACEOF
42896
42897 fi
42898
42899 done
42900
42901 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
42902 cat >>confdefs.h <<\_ACEOF
42903 #define wxHAS_INOTIFY 1
42904 _ACEOF
42905
42906 else
42907
42908 for ac_header in sys/event.h
42909 do
42910 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42911 { echo "$as_me:$LINENO: checking for $ac_header" >&5
42912 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
42913 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
42914 echo $ECHO_N "(cached) $ECHO_C" >&6
42915 else
42916 cat >conftest.$ac_ext <<_ACEOF
42917 /* confdefs.h. */
42918 _ACEOF
42919 cat confdefs.h >>conftest.$ac_ext
42920 cat >>conftest.$ac_ext <<_ACEOF
42921 /* end confdefs.h. */
42922 $ac_includes_default
42923
42924 #include <$ac_header>
42925 _ACEOF
42926 rm -f conftest.$ac_objext
42927 if { (ac_try="$ac_compile"
42928 case "(($ac_try" in
42929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42930 *) ac_try_echo=$ac_try;;
42931 esac
42932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42933 (eval "$ac_compile") 2>conftest.er1
42934 ac_status=$?
42935 grep -v '^ *+' conftest.er1 >conftest.err
42936 rm -f conftest.er1
42937 cat conftest.err >&5
42938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42939 (exit $ac_status); } && {
42940 test -z "$ac_c_werror_flag" ||
42941 test ! -s conftest.err
42942 } && test -s conftest.$ac_objext; then
42943 eval "$as_ac_Header=yes"
42944 else
42945 echo "$as_me: failed program was:" >&5
42946 sed 's/^/| /' conftest.$ac_ext >&5
42947
42948 eval "$as_ac_Header=no"
42949 fi
42950
42951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42952 fi
42953 ac_res=`eval echo '${'$as_ac_Header'}'`
42954 { echo "$as_me:$LINENO: result: $ac_res" >&5
42955 echo "${ECHO_T}$ac_res" >&6; }
42956 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42957 cat >>confdefs.h <<_ACEOF
42958 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42959 _ACEOF
42960
42961 fi
42962
42963 done
42964
42965 if test "$ac_cv_header_sys_event_h" = "yes"; then
42966 cat >>confdefs.h <<\_ACEOF
42967 #define wxHAS_KQUEUE 1
42968 _ACEOF
42969
42970 else
42971 wxUSE_FSWATCHER=no
42972 fi
42973 fi
42974 else
42975 wxUSE_FSWATCHER=no
42976 fi
42977 fi
42978
42979 if test "$wxUSE_FSWATCHER" = "yes"; then
42980 cat >>confdefs.h <<\_ACEOF
42981 #define wxUSE_FSWATCHER 1
42982 _ACEOF
42983
42984 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
42985 else
42986 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
42987 echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
42988 fi
42989 fi
42990
42991
42992 if test "$wxUSE_STL" = "yes"; then
42993 cat >>confdefs.h <<\_ACEOF
42994 #define wxUSE_STL 1
42995 _ACEOF
42996
42997 fi
42998
42999 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
43000 cat >>confdefs.h <<\_ACEOF
43001 #define wxUSE_EXTENDED_RTTI 1
43002 _ACEOF
43003
43004 fi
43005
43006 if test "$wxUSE_ANY" = "yes"; then
43007 cat >>confdefs.h <<\_ACEOF
43008 #define wxUSE_ANY 1
43009 _ACEOF
43010
43011 fi
43012
43013 if test "$wxUSE_APPLE_IEEE" = "yes"; then
43014 cat >>confdefs.h <<\_ACEOF
43015 #define wxUSE_APPLE_IEEE 1
43016 _ACEOF
43017
43018 fi
43019
43020 if test "$wxUSE_TIMER" = "yes"; then
43021 cat >>confdefs.h <<\_ACEOF
43022 #define wxUSE_TIMER 1
43023 _ACEOF
43024
43025 fi
43026
43027 if test "$USE_UNIX" = 1 ; then
43028 if test "$wxUSE_MGL" != 1; then
43029 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
43030 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
43031 if test "${ac_cv_header_sys_soundcard+set}" = set; then
43032 echo $ECHO_N "(cached) $ECHO_C" >&6
43033 else
43034
43035 cat >conftest.$ac_ext <<_ACEOF
43036 /* confdefs.h. */
43037 _ACEOF
43038 cat confdefs.h >>conftest.$ac_ext
43039 cat >>conftest.$ac_ext <<_ACEOF
43040 /* end confdefs.h. */
43041
43042 #include <sys/ioctl.h>
43043 #include <sys/soundcard.h>
43044
43045 int
43046 main ()
43047 {
43048
43049 ioctl(0, SNDCTL_DSP_SPEED, 0);
43050
43051 ;
43052 return 0;
43053 }
43054 _ACEOF
43055 rm -f conftest.$ac_objext conftest$ac_exeext
43056 if { (ac_try="$ac_link"
43057 case "(($ac_try" in
43058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43059 *) ac_try_echo=$ac_try;;
43060 esac
43061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43062 (eval "$ac_link") 2>conftest.er1
43063 ac_status=$?
43064 grep -v '^ *+' conftest.er1 >conftest.err
43065 rm -f conftest.er1
43066 cat conftest.err >&5
43067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43068 (exit $ac_status); } && {
43069 test -z "$ac_c_werror_flag" ||
43070 test ! -s conftest.err
43071 } && test -s conftest$ac_exeext &&
43072 $as_test_x conftest$ac_exeext; then
43073 ac_cv_header_sys_soundcard=yes
43074 else
43075 echo "$as_me: failed program was:" >&5
43076 sed 's/^/| /' conftest.$ac_ext >&5
43077
43078
43079 saveLibs="$LIBS"
43080 LIBS="$saveLibs -lossaudio"
43081 cat >conftest.$ac_ext <<_ACEOF
43082 /* confdefs.h. */
43083 _ACEOF
43084 cat confdefs.h >>conftest.$ac_ext
43085 cat >>conftest.$ac_ext <<_ACEOF
43086 /* end confdefs.h. */
43087
43088 #include <sys/ioctl.h>
43089 #include <sys/soundcard.h>
43090
43091 int
43092 main ()
43093 {
43094
43095 ioctl(0, SNDCTL_DSP_SPEED, 0);
43096
43097 ;
43098 return 0;
43099 }
43100 _ACEOF
43101 rm -f conftest.$ac_objext conftest$ac_exeext
43102 if { (ac_try="$ac_link"
43103 case "(($ac_try" in
43104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43105 *) ac_try_echo=$ac_try;;
43106 esac
43107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43108 (eval "$ac_link") 2>conftest.er1
43109 ac_status=$?
43110 grep -v '^ *+' conftest.er1 >conftest.err
43111 rm -f conftest.er1
43112 cat conftest.err >&5
43113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43114 (exit $ac_status); } && {
43115 test -z "$ac_c_werror_flag" ||
43116 test ! -s conftest.err
43117 } && test -s conftest$ac_exeext &&
43118 $as_test_x conftest$ac_exeext; then
43119 ac_cv_header_sys_soundcard=yes
43120 else
43121 echo "$as_me: failed program was:" >&5
43122 sed 's/^/| /' conftest.$ac_ext >&5
43123
43124
43125 LIBS="$saveLibs"
43126 ac_cv_header_sys_soundcard=no
43127
43128
43129 fi
43130
43131 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43132 conftest$ac_exeext conftest.$ac_ext
43133
43134
43135 fi
43136
43137 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43138 conftest$ac_exeext conftest.$ac_ext
43139
43140 fi
43141 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
43142 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
43143 fi
43144
43145 if test "$ac_cv_header_sys_soundcard" = "yes"; then
43146 cat >>confdefs.h <<\_ACEOF
43147 #define HAVE_SYS_SOUNDCARD_H 1
43148 _ACEOF
43149
43150 fi
43151 fi
43152
43153 WITH_PLUGIN_SDL=0
43154 if test "$wxUSE_SOUND" = "yes"; then
43155 if test "$USE_UNIX" = 1 ; then
43156 if test "$wxUSE_LIBSDL" != "no"; then
43157
43158 # Check whether --with-sdl-prefix was given.
43159 if test "${with_sdl_prefix+set}" = set; then
43160 withval=$with_sdl_prefix; sdl_prefix="$withval"
43161 else
43162 sdl_prefix=""
43163 fi
43164
43165
43166 # Check whether --with-sdl-exec-prefix was given.
43167 if test "${with_sdl_exec_prefix+set}" = set; then
43168 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
43169 else
43170 sdl_exec_prefix=""
43171 fi
43172
43173 # Check whether --enable-sdltest was given.
43174 if test "${enable_sdltest+set}" = set; then
43175 enableval=$enable_sdltest;
43176 else
43177 enable_sdltest=yes
43178 fi
43179
43180
43181 if test x$sdl_exec_prefix != x ; then
43182 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
43183 if test x${SDL_CONFIG+set} != xset ; then
43184 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
43185 fi
43186 fi
43187 if test x$sdl_prefix != x ; then
43188 sdl_args="$sdl_args --prefix=$sdl_prefix"
43189 if test x${SDL_CONFIG+set} != xset ; then
43190 SDL_CONFIG=$sdl_prefix/bin/sdl-config
43191 fi
43192 fi
43193
43194 if test "x$prefix" != xNONE; then
43195 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
43196 fi
43197 # Extract the first word of "sdl-config", so it can be a program name with args.
43198 set dummy sdl-config; ac_word=$2
43199 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43200 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43201 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
43202 echo $ECHO_N "(cached) $ECHO_C" >&6
43203 else
43204 case $SDL_CONFIG in
43205 [\\/]* | ?:[\\/]*)
43206 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
43207 ;;
43208 *)
43209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43210 for as_dir in $PATH
43211 do
43212 IFS=$as_save_IFS
43213 test -z "$as_dir" && as_dir=.
43214 for ac_exec_ext in '' $ac_executable_extensions; do
43215 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43216 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43217 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43218 break 2
43219 fi
43220 done
43221 done
43222 IFS=$as_save_IFS
43223
43224 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
43225 ;;
43226 esac
43227 fi
43228 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
43229 if test -n "$SDL_CONFIG"; then
43230 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
43231 echo "${ECHO_T}$SDL_CONFIG" >&6; }
43232 else
43233 { echo "$as_me:$LINENO: result: no" >&5
43234 echo "${ECHO_T}no" >&6; }
43235 fi
43236
43237
43238 min_sdl_version=1.2.0
43239 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
43240 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
43241 no_sdl=""
43242 if test "$SDL_CONFIG" = "no" ; then
43243 no_sdl=yes
43244 else
43245 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
43246 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
43247
43248 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
43249 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43250 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
43251 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43252 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
43253 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43254 if test "x$enable_sdltest" = "xyes" ; then
43255 ac_save_CFLAGS="$CFLAGS"
43256 ac_save_CXXFLAGS="$CXXFLAGS"
43257 ac_save_LIBS="$LIBS"
43258 CFLAGS="$CFLAGS $SDL_CFLAGS"
43259 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43260 LIBS="$LIBS $SDL_LIBS"
43261 rm -f conf.sdltest
43262 if test "$cross_compiling" = yes; then
43263 echo $ac_n "cross compiling; assumed OK... $ac_c"
43264 else
43265 cat >conftest.$ac_ext <<_ACEOF
43266 /* confdefs.h. */
43267 _ACEOF
43268 cat confdefs.h >>conftest.$ac_ext
43269 cat >>conftest.$ac_ext <<_ACEOF
43270 /* end confdefs.h. */
43271
43272 #include <stdio.h>
43273 #include <stdlib.h>
43274 #include <string.h>
43275 #include "SDL.h"
43276
43277 char*
43278 my_strdup (char *str)
43279 {
43280 char *new_str;
43281
43282 if (str)
43283 {
43284 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
43285 strcpy (new_str, str);
43286 }
43287 else
43288 new_str = NULL;
43289
43290 return new_str;
43291 }
43292
43293 int main (int argc, char *argv[])
43294 {
43295 int major, minor, micro;
43296 char *tmp_version;
43297
43298 /* This hangs on some systems (?)
43299 system ("touch conf.sdltest");
43300 */
43301 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
43302
43303 /* HP/UX 9 (%@#!) writes to sscanf strings */
43304 tmp_version = my_strdup("$min_sdl_version");
43305 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
43306 printf("%s, bad version string\n", "$min_sdl_version");
43307 exit(1);
43308 }
43309
43310 if (($sdl_major_version > major) ||
43311 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
43312 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
43313 {
43314 return 0;
43315 }
43316 else
43317 {
43318 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
43319 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
43320 printf("*** best to upgrade to the required version.\n");
43321 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
43322 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
43323 printf("*** config.cache before re-running configure\n");
43324 return 1;
43325 }
43326 }
43327
43328
43329 _ACEOF
43330 rm -f conftest$ac_exeext
43331 if { (ac_try="$ac_link"
43332 case "(($ac_try" in
43333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43334 *) ac_try_echo=$ac_try;;
43335 esac
43336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43337 (eval "$ac_link") 2>&5
43338 ac_status=$?
43339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43340 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
43341 { (case "(($ac_try" in
43342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43343 *) ac_try_echo=$ac_try;;
43344 esac
43345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43346 (eval "$ac_try") 2>&5
43347 ac_status=$?
43348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43349 (exit $ac_status); }; }; then
43350 :
43351 else
43352 echo "$as_me: program exited with status $ac_status" >&5
43353 echo "$as_me: failed program was:" >&5
43354 sed 's/^/| /' conftest.$ac_ext >&5
43355
43356 ( exit $ac_status )
43357 no_sdl=yes
43358 fi
43359 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43360 fi
43361
43362
43363 CFLAGS="$ac_save_CFLAGS"
43364 CXXFLAGS="$ac_save_CXXFLAGS"
43365 LIBS="$ac_save_LIBS"
43366 fi
43367 fi
43368 if test "x$no_sdl" = x ; then
43369 { echo "$as_me:$LINENO: result: yes" >&5
43370 echo "${ECHO_T}yes" >&6; }
43371
43372 EXTRALIBS_SDL="$SDL_LIBS"
43373 CFLAGS="$SDL_CFLAGS $CFLAGS"
43374 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
43375 cat >>confdefs.h <<\_ACEOF
43376 #define wxUSE_LIBSDL 1
43377 _ACEOF
43378
43379
43380 else
43381 { echo "$as_me:$LINENO: result: no" >&5
43382 echo "${ECHO_T}no" >&6; }
43383 if test "$SDL_CONFIG" = "no" ; then
43384 echo "*** The sdl-config script installed by SDL could not be found"
43385 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
43386 echo "*** your path, or set the SDL_CONFIG environment variable to the"
43387 echo "*** full path to sdl-config."
43388 else
43389 if test -f conf.sdltest ; then
43390 :
43391 else
43392 echo "*** Could not run SDL test program, checking why..."
43393 CFLAGS="$CFLAGS $SDL_CFLAGS"
43394 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43395 LIBS="$LIBS $SDL_LIBS"
43396 cat >conftest.$ac_ext <<_ACEOF
43397 /* confdefs.h. */
43398 _ACEOF
43399 cat confdefs.h >>conftest.$ac_ext
43400 cat >>conftest.$ac_ext <<_ACEOF
43401 /* end confdefs.h. */
43402
43403 #include <stdio.h>
43404 #include "SDL.h"
43405
43406 int main(int argc, char *argv[])
43407 { return 0; }
43408 #undef main
43409 #define main K_and_R_C_main
43410
43411 int
43412 main ()
43413 {
43414 return 0;
43415 ;
43416 return 0;
43417 }
43418 _ACEOF
43419 rm -f conftest.$ac_objext conftest$ac_exeext
43420 if { (ac_try="$ac_link"
43421 case "(($ac_try" in
43422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43423 *) ac_try_echo=$ac_try;;
43424 esac
43425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43426 (eval "$ac_link") 2>conftest.er1
43427 ac_status=$?
43428 grep -v '^ *+' conftest.er1 >conftest.err
43429 rm -f conftest.er1
43430 cat conftest.err >&5
43431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43432 (exit $ac_status); } && {
43433 test -z "$ac_c_werror_flag" ||
43434 test ! -s conftest.err
43435 } && test -s conftest$ac_exeext &&
43436 $as_test_x conftest$ac_exeext; then
43437 echo "*** The test program compiled, but did not run. This usually means"
43438 echo "*** that the run-time linker is not finding SDL or finding the wrong"
43439 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
43440 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
43441 echo "*** to the installed location Also, make sure you have run ldconfig if that"
43442 echo "*** is required on your system"
43443 echo "***"
43444 echo "*** If you have an old version installed, it is best to remove it, although"
43445 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
43446 else
43447 echo "$as_me: failed program was:" >&5
43448 sed 's/^/| /' conftest.$ac_ext >&5
43449
43450 echo "*** The test program failed to compile or link. See the file config.log for the"
43451 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
43452 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
43453 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
43454 fi
43455
43456 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43457 conftest$ac_exeext conftest.$ac_ext
43458 CFLAGS="$ac_save_CFLAGS"
43459 CXXFLAGS="$ac_save_CXXFLAGS"
43460 LIBS="$ac_save_LIBS"
43461 fi
43462 fi
43463 SDL_CFLAGS=""
43464 SDL_LIBS=""
43465 wxUSE_LIBSDL="no"
43466 fi
43467
43468
43469 rm -f conf.sdltest
43470
43471 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
43472 WITH_PLUGIN_SDL=1
43473 fi
43474 fi
43475 else
43476 if test "$wxUSE_MGL" = 1; then
43477 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
43478 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
43479 wxUSE_SOUND="no"
43480 fi
43481 fi
43482 fi
43483
43484 if test "$wxUSE_SOUND" = "yes"; then
43485 cat >>confdefs.h <<\_ACEOF
43486 #define wxUSE_SOUND 1
43487 _ACEOF
43488
43489 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
43490 fi
43491
43492 if test "$WXGTK2" = 1; then
43493
43494
43495 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
43496 if test -n "$ac_tool_prefix"; then
43497 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
43498 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
43499 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43500 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43501 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
43502 echo $ECHO_N "(cached) $ECHO_C" >&6
43503 else
43504 case $PKG_CONFIG in
43505 [\\/]* | ?:[\\/]*)
43506 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
43507 ;;
43508 *)
43509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43510 for as_dir in $PATH
43511 do
43512 IFS=$as_save_IFS
43513 test -z "$as_dir" && as_dir=.
43514 for ac_exec_ext in '' $ac_executable_extensions; do
43515 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43516 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43517 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43518 break 2
43519 fi
43520 done
43521 done
43522 IFS=$as_save_IFS
43523
43524 ;;
43525 esac
43526 fi
43527 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
43528 if test -n "$PKG_CONFIG"; then
43529 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
43530 echo "${ECHO_T}$PKG_CONFIG" >&6; }
43531 else
43532 { echo "$as_me:$LINENO: result: no" >&5
43533 echo "${ECHO_T}no" >&6; }
43534 fi
43535
43536
43537 fi
43538 if test -z "$ac_cv_path_PKG_CONFIG"; then
43539 ac_pt_PKG_CONFIG=$PKG_CONFIG
43540 # Extract the first word of "pkg-config", so it can be a program name with args.
43541 set dummy pkg-config; ac_word=$2
43542 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43543 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43544 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
43545 echo $ECHO_N "(cached) $ECHO_C" >&6
43546 else
43547 case $ac_pt_PKG_CONFIG in
43548 [\\/]* | ?:[\\/]*)
43549 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
43550 ;;
43551 *)
43552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43553 for as_dir in $PATH
43554 do
43555 IFS=$as_save_IFS
43556 test -z "$as_dir" && as_dir=.
43557 for ac_exec_ext in '' $ac_executable_extensions; do
43558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43559 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43560 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43561 break 2
43562 fi
43563 done
43564 done
43565 IFS=$as_save_IFS
43566
43567 ;;
43568 esac
43569 fi
43570 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
43571 if test -n "$ac_pt_PKG_CONFIG"; then
43572 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
43573 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
43574 else
43575 { echo "$as_me:$LINENO: result: no" >&5
43576 echo "${ECHO_T}no" >&6; }
43577 fi
43578
43579 if test "x$ac_pt_PKG_CONFIG" = x; then
43580 PKG_CONFIG=""
43581 else
43582 case $cross_compiling:$ac_tool_warned in
43583 yes:)
43584 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
43585 whose name does not start with the host triplet. If you think this
43586 configuration is useful to you, please write to autoconf@gnu.org." >&5
43587 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
43588 whose name does not start with the host triplet. If you think this
43589 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
43590 ac_tool_warned=yes ;;
43591 esac
43592 PKG_CONFIG=$ac_pt_PKG_CONFIG
43593 fi
43594 else
43595 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
43596 fi
43597
43598 fi
43599 if test -n "$PKG_CONFIG"; then
43600 _pkg_min_version=0.9.0
43601 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
43602 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
43603 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
43604 { echo "$as_me:$LINENO: result: yes" >&5
43605 echo "${ECHO_T}yes" >&6; }
43606 else
43607 { echo "$as_me:$LINENO: result: no" >&5
43608 echo "${ECHO_T}no" >&6; }
43609 PKG_CONFIG=""
43610 fi
43611
43612 fi
43613
43614 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43615
43616 if test "$wxUSE_GTKPRINT" = "yes" ; then
43617
43618
43619 pkg_failed=no
43620 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
43621 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
43622
43623 if test -n "$PKG_CONFIG"; then
43624 if test -n "$GTKPRINT_CFLAGS"; then
43625 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
43626 else
43627 if test -n "$PKG_CONFIG" && \
43628 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
43629 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
43630 ac_status=$?
43631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43632 (exit $ac_status); }; then
43633 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
43634 else
43635 pkg_failed=yes
43636 fi
43637 fi
43638 else
43639 pkg_failed=untried
43640 fi
43641 if test -n "$PKG_CONFIG"; then
43642 if test -n "$GTKPRINT_LIBS"; then
43643 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
43644 else
43645 if test -n "$PKG_CONFIG" && \
43646 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
43647 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
43648 ac_status=$?
43649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43650 (exit $ac_status); }; then
43651 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
43652 else
43653 pkg_failed=yes
43654 fi
43655 fi
43656 else
43657 pkg_failed=untried
43658 fi
43659
43660
43661
43662 if test $pkg_failed = yes; then
43663
43664 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43665 _pkg_short_errors_supported=yes
43666 else
43667 _pkg_short_errors_supported=no
43668 fi
43669 if test $_pkg_short_errors_supported = yes; then
43670 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
43671 else
43672 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
43673 fi
43674 # Put the nasty error message in config.log where it belongs
43675 echo "$GTKPRINT_PKG_ERRORS" >&5
43676
43677
43678 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
43679 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
43680 wxUSE_GTKPRINT="no"
43681
43682
43683 elif test $pkg_failed = untried; then
43684
43685 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
43686 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
43687 wxUSE_GTKPRINT="no"
43688
43689
43690 else
43691 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
43692 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
43693 { echo "$as_me:$LINENO: result: yes" >&5
43694 echo "${ECHO_T}yes" >&6; }
43695
43696 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
43697 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
43698 cat >>confdefs.h <<\_ACEOF
43699 #define wxUSE_GTKPRINT 1
43700 _ACEOF
43701
43702
43703 fi
43704 fi
43705
43706 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
43707
43708
43709 pkg_failed=no
43710 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
43711 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
43712
43713 if test -n "$PKG_CONFIG"; then
43714 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
43715 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
43716 else
43717 if test -n "$PKG_CONFIG" && \
43718 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43719 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43720 ac_status=$?
43721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43722 (exit $ac_status); }; then
43723 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43724 else
43725 pkg_failed=yes
43726 fi
43727 fi
43728 else
43729 pkg_failed=untried
43730 fi
43731 if test -n "$PKG_CONFIG"; then
43732 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
43733 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
43734 else
43735 if test -n "$PKG_CONFIG" && \
43736 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43737 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43738 ac_status=$?
43739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43740 (exit $ac_status); }; then
43741 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43742 else
43743 pkg_failed=yes
43744 fi
43745 fi
43746 else
43747 pkg_failed=untried
43748 fi
43749
43750
43751
43752 if test $pkg_failed = yes; then
43753
43754 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43755 _pkg_short_errors_supported=yes
43756 else
43757 _pkg_short_errors_supported=no
43758 fi
43759 if test $_pkg_short_errors_supported = yes; then
43760 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43761 else
43762 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43763 fi
43764 # Put the nasty error message in config.log where it belongs
43765 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
43766
43767
43768 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43769 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43770 wxUSE_LIBGNOMEPRINT="no"
43771
43772
43773 elif test $pkg_failed = untried; then
43774
43775 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43776 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43777 wxUSE_LIBGNOMEPRINT="no"
43778
43779
43780 else
43781 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
43782 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
43783 { echo "$as_me:$LINENO: result: yes" >&5
43784 echo "${ECHO_T}yes" >&6; }
43785
43786 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
43787 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
43788 cat >>confdefs.h <<\_ACEOF
43789 #define wxUSE_LIBGNOMEPRINT 1
43790 _ACEOF
43791
43792
43793 fi
43794 fi
43795 fi
43796
43797 if test "$wxUSE_MIMETYPE" = "yes" ; then
43798 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
43799
43800
43801 pkg_failed=no
43802 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
43803 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
43804
43805 if test -n "$PKG_CONFIG"; then
43806 if test -n "$GNOMEVFS_CFLAGS"; then
43807 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
43808 else
43809 if test -n "$PKG_CONFIG" && \
43810 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43811 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43812 ac_status=$?
43813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43814 (exit $ac_status); }; then
43815 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43816 else
43817 pkg_failed=yes
43818 fi
43819 fi
43820 else
43821 pkg_failed=untried
43822 fi
43823 if test -n "$PKG_CONFIG"; then
43824 if test -n "$GNOMEVFS_LIBS"; then
43825 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
43826 else
43827 if test -n "$PKG_CONFIG" && \
43828 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43829 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43830 ac_status=$?
43831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43832 (exit $ac_status); }; then
43833 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43834 else
43835 pkg_failed=yes
43836 fi
43837 fi
43838 else
43839 pkg_failed=untried
43840 fi
43841
43842
43843
43844 if test $pkg_failed = yes; then
43845
43846 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43847 _pkg_short_errors_supported=yes
43848 else
43849 _pkg_short_errors_supported=no
43850 fi
43851 if test $_pkg_short_errors_supported = yes; then
43852 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43853 else
43854 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43855 fi
43856 # Put the nasty error message in config.log where it belongs
43857 echo "$GNOMEVFS_PKG_ERRORS" >&5
43858
43859
43860 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43861 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43862 wxUSE_LIBGNOMEVFS="no"
43863
43864
43865 elif test $pkg_failed = untried; then
43866
43867 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43868 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43869 wxUSE_LIBGNOMEVFS="no"
43870
43871
43872 else
43873 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
43874 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
43875 { echo "$as_me:$LINENO: result: yes" >&5
43876 echo "${ECHO_T}yes" >&6; }
43877
43878 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
43879 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
43880 cat >>confdefs.h <<\_ACEOF
43881 #define wxUSE_LIBGNOMEVFS 1
43882 _ACEOF
43883
43884
43885 fi
43886 fi
43887 fi
43888
43889 if test "$wxUSE_LIBHILDON" = "yes" ; then
43890
43891 pkg_failed=no
43892 { echo "$as_me:$LINENO: checking for HILDON" >&5
43893 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
43894
43895 if test -n "$PKG_CONFIG"; then
43896 if test -n "$HILDON_CFLAGS"; then
43897 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
43898 else
43899 if test -n "$PKG_CONFIG" && \
43900 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43901 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43902 ac_status=$?
43903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43904 (exit $ac_status); }; then
43905 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43906 else
43907 pkg_failed=yes
43908 fi
43909 fi
43910 else
43911 pkg_failed=untried
43912 fi
43913 if test -n "$PKG_CONFIG"; then
43914 if test -n "$HILDON_LIBS"; then
43915 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
43916 else
43917 if test -n "$PKG_CONFIG" && \
43918 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43919 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43920 ac_status=$?
43921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43922 (exit $ac_status); }; then
43923 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43924 else
43925 pkg_failed=yes
43926 fi
43927 fi
43928 else
43929 pkg_failed=untried
43930 fi
43931
43932
43933
43934 if test $pkg_failed = yes; then
43935
43936 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43937 _pkg_short_errors_supported=yes
43938 else
43939 _pkg_short_errors_supported=no
43940 fi
43941 if test $_pkg_short_errors_supported = yes; then
43942 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43943 else
43944 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43945 fi
43946 # Put the nasty error message in config.log where it belongs
43947 echo "$HILDON_PKG_ERRORS" >&5
43948
43949
43950 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43951 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43952 wxUSE_LIBHILDON="no"
43953 ac_hildon_lgpl=0
43954
43955
43956 elif test $pkg_failed = untried; then
43957
43958 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43959 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43960 wxUSE_LIBHILDON="no"
43961 ac_hildon_lgpl=0
43962
43963
43964 else
43965 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
43966 HILDON_LIBS=$pkg_cv_HILDON_LIBS
43967 { echo "$as_me:$LINENO: result: yes" >&5
43968 echo "${ECHO_T}yes" >&6; }
43969
43970 EXTRALIBS_HILDON="$HILDON_LIBS"
43971 CFLAGS="$CFLAGS $HILDON_CFLAGS"
43972 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
43973 cat >>confdefs.h <<\_ACEOF
43974 #define wxUSE_LIBHILDON 1
43975 _ACEOF
43976
43977 ac_hildon_lgpl=1
43978
43979 fi
43980
43981 if test "$ac_hildon_lgpl" = 0 ; then
43982
43983 pkg_failed=no
43984 { echo "$as_me:$LINENO: checking for HILDON2" >&5
43985 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
43986
43987 if test -n "$PKG_CONFIG"; then
43988 if test -n "$HILDON2_CFLAGS"; then
43989 pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
43990 else
43991 if test -n "$PKG_CONFIG" && \
43992 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
43993 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
43994 ac_status=$?
43995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43996 (exit $ac_status); }; then
43997 pkg_cv_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
43998 else
43999 pkg_failed=yes
44000 fi
44001 fi
44002 else
44003 pkg_failed=untried
44004 fi
44005 if test -n "$PKG_CONFIG"; then
44006 if test -n "$HILDON2_LIBS"; then
44007 pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
44008 else
44009 if test -n "$PKG_CONFIG" && \
44010 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44011 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44012 ac_status=$?
44013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44014 (exit $ac_status); }; then
44015 pkg_cv_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
44016 else
44017 pkg_failed=yes
44018 fi
44019 fi
44020 else
44021 pkg_failed=untried
44022 fi
44023
44024
44025
44026 if test $pkg_failed = yes; then
44027
44028 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44029 _pkg_short_errors_supported=yes
44030 else
44031 _pkg_short_errors_supported=no
44032 fi
44033 if test $_pkg_short_errors_supported = yes; then
44034 HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44035 else
44036 HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44037 fi
44038 # Put the nasty error message in config.log where it belongs
44039 echo "$HILDON2_PKG_ERRORS" >&5
44040
44041
44042 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44043 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44044 wxUSE_LIBHILDON2="no"
44045
44046
44047 elif test $pkg_failed = untried; then
44048
44049 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44050 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44051 wxUSE_LIBHILDON2="no"
44052
44053
44054 else
44055 HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
44056 HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
44057 { echo "$as_me:$LINENO: result: yes" >&5
44058 echo "${ECHO_T}yes" >&6; }
44059
44060 EXTRALIBS_HILDON="$HILDON2_LIBS"
44061 CFLAGS="$CFLAGS $HILDON2_CFLAGS"
44062 CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
44063 cat >>confdefs.h <<\_ACEOF
44064 #define wxUSE_LIBHILDON2 1
44065 _ACEOF
44066
44067
44068 fi
44069 fi
44070 fi
44071 fi
44072
44073 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
44074 cat >>confdefs.h <<\_ACEOF
44075 #define wxUSE_CMDLINE_PARSER 1
44076 _ACEOF
44077
44078 fi
44079
44080 if test "$wxUSE_STOPWATCH" = "yes"; then
44081 cat >>confdefs.h <<\_ACEOF
44082 #define wxUSE_STOPWATCH 1
44083 _ACEOF
44084
44085 fi
44086
44087 if test "$wxUSE_DATETIME" = "yes"; then
44088 cat >>confdefs.h <<\_ACEOF
44089 #define wxUSE_DATETIME 1
44090 _ACEOF
44091
44092 fi
44093
44094 if test "$wxUSE_FILE" = "yes"; then
44095 cat >>confdefs.h <<\_ACEOF
44096 #define wxUSE_FILE 1
44097 _ACEOF
44098
44099 fi
44100
44101 if test "$wxUSE_FFILE" = "yes"; then
44102 cat >>confdefs.h <<\_ACEOF
44103 #define wxUSE_FFILE 1
44104 _ACEOF
44105
44106 fi
44107
44108 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
44109 if test "$wxUSE_STREAMS" != yes; then
44110 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
44111 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
44112 wxUSE_ARCHIVE_STREAMS=no
44113 else
44114 cat >>confdefs.h <<\_ACEOF
44115 #define wxUSE_ARCHIVE_STREAMS 1
44116 _ACEOF
44117
44118 fi
44119 fi
44120
44121 if test "$wxUSE_ZIPSTREAM" = "yes"; then
44122 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44123 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
44124 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
44125 elif test "$wxUSE_ZLIB" = "no"; then
44126 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
44127 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
44128 else
44129 cat >>confdefs.h <<\_ACEOF
44130 #define wxUSE_ZIPSTREAM 1
44131 _ACEOF
44132
44133 fi
44134 fi
44135
44136 if test "$wxUSE_TARSTREAM" = "yes"; then
44137 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44138 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
44139 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
44140 else
44141 cat >>confdefs.h <<\_ACEOF
44142 #define wxUSE_TARSTREAM 1
44143 _ACEOF
44144
44145 fi
44146 fi
44147
44148 if test "$wxUSE_FILE_HISTORY" = "yes"; then
44149 cat >>confdefs.h <<\_ACEOF
44150 #define wxUSE_FILE_HISTORY 1
44151 _ACEOF
44152
44153 fi
44154
44155 if test "$wxUSE_FILESYSTEM" = "yes"; then
44156 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
44157 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
44158 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
44159 wxUSE_FILESYSTEM=no
44160 else
44161 cat >>confdefs.h <<\_ACEOF
44162 #define wxUSE_FILESYSTEM 1
44163 _ACEOF
44164
44165 fi
44166 fi
44167
44168 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
44169 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
44170 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
44171 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
44172 else
44173 cat >>confdefs.h <<\_ACEOF
44174 #define wxUSE_FS_ARCHIVE 1
44175 _ACEOF
44176
44177 fi
44178 fi
44179
44180 if test "$wxUSE_FS_ZIP" = "yes"; then
44181 if test "$wxUSE_FS_ARCHIVE" != yes; then
44182 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
44183 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
44184 else
44185 cat >>confdefs.h <<\_ACEOF
44186 #define wxUSE_FS_ZIP 1
44187 _ACEOF
44188
44189 fi
44190 fi
44191
44192 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44193 if test "$USE_UNIX" != 1; then
44194 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
44195 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
44196 wxUSE_ON_FATAL_EXCEPTION=no
44197 else
44198 cat >>confdefs.h <<\_ACEOF
44199 #define wxUSE_ON_FATAL_EXCEPTION 1
44200 _ACEOF
44201
44202 fi
44203 fi
44204
44205 if test "$wxUSE_STACKWALKER" = "yes"; then
44206 cat >>confdefs.h <<\_ACEOF
44207 #define wxUSE_STACKWALKER 1
44208 _ACEOF
44209
44210 fi
44211
44212 if test "$wxUSE_DEBUGREPORT" = "yes"; then
44213 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
44214 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
44215 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
44216 wxUSE_DEBUGREPORT=no
44217 else
44218 cat >>confdefs.h <<\_ACEOF
44219 #define wxUSE_DEBUGREPORT 1
44220 _ACEOF
44221
44222 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44223 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
44224 fi
44225 fi
44226 fi
44227
44228 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
44229 cat >>confdefs.h <<\_ACEOF
44230 #define wxUSE_SNGLINST_CHECKER 1
44231 _ACEOF
44232
44233 fi
44234
44235 if test "$wxUSE_BUSYINFO" = "yes"; then
44236 cat >>confdefs.h <<\_ACEOF
44237 #define wxUSE_BUSYINFO 1
44238 _ACEOF
44239
44240 fi
44241
44242 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
44243 cat >>confdefs.h <<\_ACEOF
44244 #define wxUSE_STD_IOSTREAM 1
44245 _ACEOF
44246
44247 fi
44248
44249 if test "$wxUSE_STD_STRING" = "yes"; then
44250 cat >>confdefs.h <<\_ACEOF
44251 #define wxUSE_STD_STRING 1
44252 _ACEOF
44253
44254 fi
44255
44256 if test "$wxUSE_STDPATHS" = "yes"; then
44257 cat >>confdefs.h <<\_ACEOF
44258 #define wxUSE_STDPATHS 1
44259 _ACEOF
44260
44261 fi
44262
44263 if test "$wxUSE_TEXTBUFFER" = "yes"; then
44264 cat >>confdefs.h <<\_ACEOF
44265 #define wxUSE_TEXTBUFFER 1
44266 _ACEOF
44267
44268 fi
44269
44270 if test "$wxUSE_TEXTFILE" = "yes"; then
44271 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
44272 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
44273 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
44274 else
44275 cat >>confdefs.h <<\_ACEOF
44276 #define wxUSE_TEXTFILE 1
44277 _ACEOF
44278
44279 fi
44280 fi
44281
44282 if test "$wxUSE_CONFIG" = "yes" ; then
44283 if test "$wxUSE_TEXTFILE" != "yes"; then
44284 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
44285 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
44286 else
44287 cat >>confdefs.h <<\_ACEOF
44288 #define wxUSE_CONFIG 1
44289 _ACEOF
44290
44291 cat >>confdefs.h <<\_ACEOF
44292 #define wxUSE_CONFIG_NATIVE 1
44293 _ACEOF
44294
44295 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
44296 fi
44297 fi
44298
44299 if test "$wxUSE_INTL" = "yes" ; then
44300 if test "$wxUSE_FILE" != "yes"; then
44301 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
44302 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
44303 else
44304 cat >>confdefs.h <<\_ACEOF
44305 #define wxUSE_INTL 1
44306 _ACEOF
44307
44308 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
44309 GUIDIST="$GUIDIST INTL_DIST"
44310 fi
44311 fi
44312
44313 if test "$wxUSE_XLOCALE" = "yes" ; then
44314 cat >>confdefs.h <<\_ACEOF
44315 #define wxUSE_XLOCALE 1
44316 _ACEOF
44317
44318 { echo "$as_me:$LINENO: checking for locale_t" >&5
44319 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
44320 if test "${ac_cv_type_locale_t+set}" = set; then
44321 echo $ECHO_N "(cached) $ECHO_C" >&6
44322 else
44323 cat >conftest.$ac_ext <<_ACEOF
44324 /* confdefs.h. */
44325 _ACEOF
44326 cat confdefs.h >>conftest.$ac_ext
44327 cat >>conftest.$ac_ext <<_ACEOF
44328 /* end confdefs.h. */
44329 #include <xlocale.h>
44330 #include <locale.h>
44331
44332 typedef locale_t ac__type_new_;
44333 int
44334 main ()
44335 {
44336 if ((ac__type_new_ *) 0)
44337 return 0;
44338 if (sizeof (ac__type_new_))
44339 return 0;
44340 ;
44341 return 0;
44342 }
44343 _ACEOF
44344 rm -f conftest.$ac_objext
44345 if { (ac_try="$ac_compile"
44346 case "(($ac_try" in
44347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44348 *) ac_try_echo=$ac_try;;
44349 esac
44350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44351 (eval "$ac_compile") 2>conftest.er1
44352 ac_status=$?
44353 grep -v '^ *+' conftest.er1 >conftest.err
44354 rm -f conftest.er1
44355 cat conftest.err >&5
44356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44357 (exit $ac_status); } && {
44358 test -z "$ac_c_werror_flag" ||
44359 test ! -s conftest.err
44360 } && test -s conftest.$ac_objext; then
44361 ac_cv_type_locale_t=yes
44362 else
44363 echo "$as_me: failed program was:" >&5
44364 sed 's/^/| /' conftest.$ac_ext >&5
44365
44366 ac_cv_type_locale_t=no
44367 fi
44368
44369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44370 fi
44371 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
44372 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
44373 if test $ac_cv_type_locale_t = yes; then
44374
44375 cat >>confdefs.h <<_ACEOF
44376 #define HAVE_LOCALE_T 1
44377 _ACEOF
44378
44379
44380 fi
44381
44382 fi
44383
44384 if test "$wxUSE_LOG" = "yes"; then
44385 cat >>confdefs.h <<\_ACEOF
44386 #define wxUSE_LOG 1
44387 _ACEOF
44388
44389
44390 if test "$wxUSE_LOGGUI" = "yes"; then
44391 cat >>confdefs.h <<\_ACEOF
44392 #define wxUSE_LOGGUI 1
44393 _ACEOF
44394
44395 fi
44396
44397 if test "$wxUSE_LOGWINDOW" = "yes"; then
44398 cat >>confdefs.h <<\_ACEOF
44399 #define wxUSE_LOGWINDOW 1
44400 _ACEOF
44401
44402 fi
44403
44404 if test "$wxUSE_LOGDIALOG" = "yes"; then
44405 cat >>confdefs.h <<\_ACEOF
44406 #define wxUSE_LOG_DIALOG 1
44407 _ACEOF
44408
44409 fi
44410
44411 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
44412 fi
44413
44414 if test "$wxUSE_LONGLONG" = "yes"; then
44415 cat >>confdefs.h <<\_ACEOF
44416 #define wxUSE_LONGLONG 1
44417 _ACEOF
44418
44419 fi
44420
44421 if test "$wxUSE_GEOMETRY" = "yes"; then
44422 cat >>confdefs.h <<\_ACEOF
44423 #define wxUSE_GEOMETRY 1
44424 _ACEOF
44425
44426 fi
44427
44428 if test "$wxUSE_BASE64" = "yes"; then
44429 cat >>confdefs.h <<\_ACEOF
44430 #define wxUSE_BASE64 1
44431 _ACEOF
44432
44433 fi
44434
44435 if test "$wxUSE_STREAMS" = "yes" ; then
44436 cat >>confdefs.h <<\_ACEOF
44437 #define wxUSE_STREAMS 1
44438 _ACEOF
44439
44440 fi
44441
44442 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
44443 cat >>confdefs.h <<\_ACEOF
44444 #define wxUSE_PRINTF_POS_PARAMS 1
44445 _ACEOF
44446
44447 fi
44448
44449 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
44450 cat >>confdefs.h <<\_ACEOF
44451 #define wxUSE_OBJC_UNIQUIFYING 1
44452 _ACEOF
44453
44454 fi
44455
44456
44457 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
44458 cat >>confdefs.h <<\_ACEOF
44459 #define wxUSE_CONSOLE_EVENTLOOP 1
44460 _ACEOF
44461
44462
44463 if test "$wxUSE_UNIX" = "yes"; then
44464 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
44465 cat >>confdefs.h <<\_ACEOF
44466 #define wxUSE_SELECT_DISPATCHER 1
44467 _ACEOF
44468
44469 fi
44470
44471 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
44472
44473 for ac_header in sys/epoll.h
44474 do
44475 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44476 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44477 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44478 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44479 echo $ECHO_N "(cached) $ECHO_C" >&6
44480 else
44481 cat >conftest.$ac_ext <<_ACEOF
44482 /* confdefs.h. */
44483 _ACEOF
44484 cat confdefs.h >>conftest.$ac_ext
44485 cat >>conftest.$ac_ext <<_ACEOF
44486 /* end confdefs.h. */
44487 $ac_includes_default
44488
44489 #include <$ac_header>
44490 _ACEOF
44491 rm -f conftest.$ac_objext
44492 if { (ac_try="$ac_compile"
44493 case "(($ac_try" in
44494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44495 *) ac_try_echo=$ac_try;;
44496 esac
44497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44498 (eval "$ac_compile") 2>conftest.er1
44499 ac_status=$?
44500 grep -v '^ *+' conftest.er1 >conftest.err
44501 rm -f conftest.er1
44502 cat conftest.err >&5
44503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44504 (exit $ac_status); } && {
44505 test -z "$ac_c_werror_flag" ||
44506 test ! -s conftest.err
44507 } && test -s conftest.$ac_objext; then
44508 eval "$as_ac_Header=yes"
44509 else
44510 echo "$as_me: failed program was:" >&5
44511 sed 's/^/| /' conftest.$ac_ext >&5
44512
44513 eval "$as_ac_Header=no"
44514 fi
44515
44516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44517 fi
44518 ac_res=`eval echo '${'$as_ac_Header'}'`
44519 { echo "$as_me:$LINENO: result: $ac_res" >&5
44520 echo "${ECHO_T}$ac_res" >&6; }
44521 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44522 cat >>confdefs.h <<_ACEOF
44523 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44524 _ACEOF
44525
44526 fi
44527
44528 done
44529
44530 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
44531 cat >>confdefs.h <<\_ACEOF
44532 #define wxUSE_EPOLL_DISPATCHER 1
44533 _ACEOF
44534
44535 else
44536 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
44537 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
44538 fi
44539 fi
44540 fi
44541 fi
44542
44543
44544
44545
44546 for ac_func in gettimeofday ftime
44547 do
44548 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44549 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44550 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44551 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44552 echo $ECHO_N "(cached) $ECHO_C" >&6
44553 else
44554 cat >conftest.$ac_ext <<_ACEOF
44555 /* confdefs.h. */
44556 _ACEOF
44557 cat confdefs.h >>conftest.$ac_ext
44558 cat >>conftest.$ac_ext <<_ACEOF
44559 /* end confdefs.h. */
44560 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44561 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44562 #define $ac_func innocuous_$ac_func
44563
44564 /* System header to define __stub macros and hopefully few prototypes,
44565 which can conflict with char $ac_func (); below.
44566 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44567 <limits.h> exists even on freestanding compilers. */
44568
44569 #ifdef __STDC__
44570 # include <limits.h>
44571 #else
44572 # include <assert.h>
44573 #endif
44574
44575 #undef $ac_func
44576
44577 /* Override any GCC internal prototype to avoid an error.
44578 Use char because int might match the return type of a GCC
44579 builtin and then its argument prototype would still apply. */
44580 #ifdef __cplusplus
44581 extern "C"
44582 #endif
44583 char $ac_func ();
44584 /* The GNU C library defines this for functions which it implements
44585 to always fail with ENOSYS. Some functions are actually named
44586 something starting with __ and the normal name is an alias. */
44587 #if defined __stub_$ac_func || defined __stub___$ac_func
44588 choke me
44589 #endif
44590
44591 int
44592 main ()
44593 {
44594 return $ac_func ();
44595 ;
44596 return 0;
44597 }
44598 _ACEOF
44599 rm -f conftest.$ac_objext conftest$ac_exeext
44600 if { (ac_try="$ac_link"
44601 case "(($ac_try" in
44602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44603 *) ac_try_echo=$ac_try;;
44604 esac
44605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44606 (eval "$ac_link") 2>conftest.er1
44607 ac_status=$?
44608 grep -v '^ *+' conftest.er1 >conftest.err
44609 rm -f conftest.er1
44610 cat conftest.err >&5
44611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44612 (exit $ac_status); } && {
44613 test -z "$ac_c_werror_flag" ||
44614 test ! -s conftest.err
44615 } && test -s conftest$ac_exeext &&
44616 $as_test_x conftest$ac_exeext; then
44617 eval "$as_ac_var=yes"
44618 else
44619 echo "$as_me: failed program was:" >&5
44620 sed 's/^/| /' conftest.$ac_ext >&5
44621
44622 eval "$as_ac_var=no"
44623 fi
44624
44625 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44626 conftest$ac_exeext conftest.$ac_ext
44627 fi
44628 ac_res=`eval echo '${'$as_ac_var'}'`
44629 { echo "$as_me:$LINENO: result: $ac_res" >&5
44630 echo "${ECHO_T}$ac_res" >&6; }
44631 if test `eval echo '${'$as_ac_var'}'` = yes; then
44632 cat >>confdefs.h <<_ACEOF
44633 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44634 _ACEOF
44635 break
44636 fi
44637 done
44638
44639
44640 if test "$ac_cv_func_gettimeofday" = "yes"; then
44641 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
44642 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
44643 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
44644 echo $ECHO_N "(cached) $ECHO_C" >&6
44645 else
44646
44647 cat >conftest.$ac_ext <<_ACEOF
44648 /* confdefs.h. */
44649 _ACEOF
44650 cat confdefs.h >>conftest.$ac_ext
44651 cat >>conftest.$ac_ext <<_ACEOF
44652 /* end confdefs.h. */
44653
44654 #include <sys/time.h>
44655 #include <unistd.h>
44656
44657 int
44658 main ()
44659 {
44660
44661 struct timeval tv;
44662 gettimeofday(&tv, NULL);
44663
44664 ;
44665 return 0;
44666 }
44667 _ACEOF
44668 rm -f conftest.$ac_objext
44669 if { (ac_try="$ac_compile"
44670 case "(($ac_try" in
44671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44672 *) ac_try_echo=$ac_try;;
44673 esac
44674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44675 (eval "$ac_compile") 2>conftest.er1
44676 ac_status=$?
44677 grep -v '^ *+' conftest.er1 >conftest.err
44678 rm -f conftest.er1
44679 cat conftest.err >&5
44680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44681 (exit $ac_status); } && {
44682 test -z "$ac_c_werror_flag" ||
44683 test ! -s conftest.err
44684 } && test -s conftest.$ac_objext; then
44685 wx_cv_func_gettimeofday_has_2_args=yes
44686 else
44687 echo "$as_me: failed program was:" >&5
44688 sed 's/^/| /' conftest.$ac_ext >&5
44689
44690 cat >conftest.$ac_ext <<_ACEOF
44691 /* confdefs.h. */
44692 _ACEOF
44693 cat confdefs.h >>conftest.$ac_ext
44694 cat >>conftest.$ac_ext <<_ACEOF
44695 /* end confdefs.h. */
44696
44697 #include <sys/time.h>
44698 #include <unistd.h>
44699
44700 int
44701 main ()
44702 {
44703
44704 struct timeval tv;
44705 gettimeofday(&tv);
44706
44707 ;
44708 return 0;
44709 }
44710 _ACEOF
44711 rm -f conftest.$ac_objext
44712 if { (ac_try="$ac_compile"
44713 case "(($ac_try" in
44714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44715 *) ac_try_echo=$ac_try;;
44716 esac
44717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44718 (eval "$ac_compile") 2>conftest.er1
44719 ac_status=$?
44720 grep -v '^ *+' conftest.er1 >conftest.err
44721 rm -f conftest.er1
44722 cat conftest.err >&5
44723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44724 (exit $ac_status); } && {
44725 test -z "$ac_c_werror_flag" ||
44726 test ! -s conftest.err
44727 } && test -s conftest.$ac_objext; then
44728 wx_cv_func_gettimeofday_has_2_args=no
44729 else
44730 echo "$as_me: failed program was:" >&5
44731 sed 's/^/| /' conftest.$ac_ext >&5
44732
44733
44734 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
44735 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
44736 wx_cv_func_gettimeofday_has_2_args=unknown
44737
44738
44739 fi
44740
44741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44742
44743 fi
44744
44745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44746
44747 fi
44748 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
44749 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
44750
44751 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
44752 cat >>confdefs.h <<\_ACEOF
44753 #define WX_GETTIMEOFDAY_NO_TZ 1
44754 _ACEOF
44755
44756 fi
44757 fi
44758
44759 if test "$wxUSE_DATETIME" = "yes"; then
44760 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
44761 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
44762 if test "${wx_cv_var_timezone+set}" = set; then
44763 echo $ECHO_N "(cached) $ECHO_C" >&6
44764 else
44765
44766 ac_ext=cpp
44767 ac_cpp='$CXXCPP $CPPFLAGS'
44768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44771
44772 cat >conftest.$ac_ext <<_ACEOF
44773 /* confdefs.h. */
44774 _ACEOF
44775 cat confdefs.h >>conftest.$ac_ext
44776 cat >>conftest.$ac_ext <<_ACEOF
44777 /* end confdefs.h. */
44778
44779 #include <time.h>
44780
44781 int
44782 main ()
44783 {
44784
44785 int tz;
44786 tz = timezone;
44787
44788 ;
44789 return 0;
44790 }
44791 _ACEOF
44792 rm -f conftest.$ac_objext
44793 if { (ac_try="$ac_compile"
44794 case "(($ac_try" in
44795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44796 *) ac_try_echo=$ac_try;;
44797 esac
44798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44799 (eval "$ac_compile") 2>conftest.er1
44800 ac_status=$?
44801 grep -v '^ *+' conftest.er1 >conftest.err
44802 rm -f conftest.er1
44803 cat conftest.err >&5
44804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44805 (exit $ac_status); } && {
44806 test -z "$ac_cxx_werror_flag" ||
44807 test ! -s conftest.err
44808 } && test -s conftest.$ac_objext; then
44809
44810 wx_cv_var_timezone=timezone
44811
44812 else
44813 echo "$as_me: failed program was:" >&5
44814 sed 's/^/| /' conftest.$ac_ext >&5
44815
44816
44817 cat >conftest.$ac_ext <<_ACEOF
44818 /* confdefs.h. */
44819 _ACEOF
44820 cat confdefs.h >>conftest.$ac_ext
44821 cat >>conftest.$ac_ext <<_ACEOF
44822 /* end confdefs.h. */
44823
44824 #include <time.h>
44825
44826 int
44827 main ()
44828 {
44829
44830 int tz;
44831 tz = _timezone;
44832
44833 ;
44834 return 0;
44835 }
44836 _ACEOF
44837 rm -f conftest.$ac_objext
44838 if { (ac_try="$ac_compile"
44839 case "(($ac_try" in
44840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44841 *) ac_try_echo=$ac_try;;
44842 esac
44843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44844 (eval "$ac_compile") 2>conftest.er1
44845 ac_status=$?
44846 grep -v '^ *+' conftest.er1 >conftest.err
44847 rm -f conftest.er1
44848 cat conftest.err >&5
44849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44850 (exit $ac_status); } && {
44851 test -z "$ac_cxx_werror_flag" ||
44852 test ! -s conftest.err
44853 } && test -s conftest.$ac_objext; then
44854
44855 wx_cv_var_timezone=_timezone
44856
44857 else
44858 echo "$as_me: failed program was:" >&5
44859 sed 's/^/| /' conftest.$ac_ext >&5
44860
44861
44862 cat >conftest.$ac_ext <<_ACEOF
44863 /* confdefs.h. */
44864 _ACEOF
44865 cat confdefs.h >>conftest.$ac_ext
44866 cat >>conftest.$ac_ext <<_ACEOF
44867 /* end confdefs.h. */
44868
44869 #include <time.h>
44870
44871 int
44872 main ()
44873 {
44874
44875 int tz;
44876 tz = __timezone;
44877
44878 ;
44879 return 0;
44880 }
44881 _ACEOF
44882 rm -f conftest.$ac_objext
44883 if { (ac_try="$ac_compile"
44884 case "(($ac_try" in
44885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44886 *) ac_try_echo=$ac_try;;
44887 esac
44888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44889 (eval "$ac_compile") 2>conftest.er1
44890 ac_status=$?
44891 grep -v '^ *+' conftest.er1 >conftest.err
44892 rm -f conftest.er1
44893 cat conftest.err >&5
44894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44895 (exit $ac_status); } && {
44896 test -z "$ac_cxx_werror_flag" ||
44897 test ! -s conftest.err
44898 } && test -s conftest.$ac_objext; then
44899
44900 wx_cv_var_timezone=__timezone
44901
44902 else
44903 echo "$as_me: failed program was:" >&5
44904 sed 's/^/| /' conftest.$ac_ext >&5
44905
44906
44907 if test "$USE_DOS" = 0 ; then
44908 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44909 echo "$as_me: WARNING: no timezone variable" >&2;}
44910 fi
44911
44912
44913 fi
44914
44915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44916
44917
44918 fi
44919
44920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44921
44922
44923 fi
44924
44925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44926 ac_ext=c
44927 ac_cpp='$CPP $CPPFLAGS'
44928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44931
44932
44933
44934 fi
44935 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44936 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
44937
44938 if test "x$wx_cv_var_timezone" != x ; then
44939 cat >>confdefs.h <<_ACEOF
44940 #define WX_TIMEZONE $wx_cv_var_timezone
44941 _ACEOF
44942
44943 fi
44944
44945
44946 for ac_func in localtime
44947 do
44948 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44949 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44950 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44951 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44952 echo $ECHO_N "(cached) $ECHO_C" >&6
44953 else
44954 cat >conftest.$ac_ext <<_ACEOF
44955 /* confdefs.h. */
44956 _ACEOF
44957 cat confdefs.h >>conftest.$ac_ext
44958 cat >>conftest.$ac_ext <<_ACEOF
44959 /* end confdefs.h. */
44960 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44962 #define $ac_func innocuous_$ac_func
44963
44964 /* System header to define __stub macros and hopefully few prototypes,
44965 which can conflict with char $ac_func (); below.
44966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44967 <limits.h> exists even on freestanding compilers. */
44968
44969 #ifdef __STDC__
44970 # include <limits.h>
44971 #else
44972 # include <assert.h>
44973 #endif
44974
44975 #undef $ac_func
44976
44977 /* Override any GCC internal prototype to avoid an error.
44978 Use char because int might match the return type of a GCC
44979 builtin and then its argument prototype would still apply. */
44980 #ifdef __cplusplus
44981 extern "C"
44982 #endif
44983 char $ac_func ();
44984 /* The GNU C library defines this for functions which it implements
44985 to always fail with ENOSYS. Some functions are actually named
44986 something starting with __ and the normal name is an alias. */
44987 #if defined __stub_$ac_func || defined __stub___$ac_func
44988 choke me
44989 #endif
44990
44991 int
44992 main ()
44993 {
44994 return $ac_func ();
44995 ;
44996 return 0;
44997 }
44998 _ACEOF
44999 rm -f conftest.$ac_objext conftest$ac_exeext
45000 if { (ac_try="$ac_link"
45001 case "(($ac_try" in
45002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45003 *) ac_try_echo=$ac_try;;
45004 esac
45005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45006 (eval "$ac_link") 2>conftest.er1
45007 ac_status=$?
45008 grep -v '^ *+' conftest.er1 >conftest.err
45009 rm -f conftest.er1
45010 cat conftest.err >&5
45011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45012 (exit $ac_status); } && {
45013 test -z "$ac_c_werror_flag" ||
45014 test ! -s conftest.err
45015 } && test -s conftest$ac_exeext &&
45016 $as_test_x conftest$ac_exeext; then
45017 eval "$as_ac_var=yes"
45018 else
45019 echo "$as_me: failed program was:" >&5
45020 sed 's/^/| /' conftest.$ac_ext >&5
45021
45022 eval "$as_ac_var=no"
45023 fi
45024
45025 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45026 conftest$ac_exeext conftest.$ac_ext
45027 fi
45028 ac_res=`eval echo '${'$as_ac_var'}'`
45029 { echo "$as_me:$LINENO: result: $ac_res" >&5
45030 echo "${ECHO_T}$ac_res" >&6; }
45031 if test `eval echo '${'$as_ac_var'}'` = yes; then
45032 cat >>confdefs.h <<_ACEOF
45033 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45034 _ACEOF
45035
45036 fi
45037 done
45038
45039
45040 if test "$ac_cv_func_localtime" = "yes"; then
45041 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
45042 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
45043 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
45044 echo $ECHO_N "(cached) $ECHO_C" >&6
45045 else
45046
45047 cat >conftest.$ac_ext <<_ACEOF
45048 /* confdefs.h. */
45049 _ACEOF
45050 cat confdefs.h >>conftest.$ac_ext
45051 cat >>conftest.$ac_ext <<_ACEOF
45052 /* end confdefs.h. */
45053
45054 #include <time.h>
45055
45056 int
45057 main ()
45058 {
45059
45060 struct tm tm;
45061 tm.tm_gmtoff++;
45062
45063 ;
45064 return 0;
45065 }
45066 _ACEOF
45067 rm -f conftest.$ac_objext
45068 if { (ac_try="$ac_compile"
45069 case "(($ac_try" in
45070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45071 *) ac_try_echo=$ac_try;;
45072 esac
45073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45074 (eval "$ac_compile") 2>conftest.er1
45075 ac_status=$?
45076 grep -v '^ *+' conftest.er1 >conftest.err
45077 rm -f conftest.er1
45078 cat conftest.err >&5
45079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45080 (exit $ac_status); } && {
45081 test -z "$ac_c_werror_flag" ||
45082 test ! -s conftest.err
45083 } && test -s conftest.$ac_objext; then
45084
45085 wx_cv_struct_tm_has_gmtoff=yes
45086
45087 else
45088 echo "$as_me: failed program was:" >&5
45089 sed 's/^/| /' conftest.$ac_ext >&5
45090
45091 wx_cv_struct_tm_has_gmtoff=no
45092
45093 fi
45094
45095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45096
45097 fi
45098 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
45099 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
45100 fi
45101
45102 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
45103 cat >>confdefs.h <<\_ACEOF
45104 #define WX_GMTOFF_IN_TM 1
45105 _ACEOF
45106
45107 fi
45108
45109 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
45110 fi
45111
45112
45113 if test "$wxUSE_SOCKETS" = "yes"; then
45114 if test "$wxUSE_MGL" = 1; then
45115 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
45116 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
45117 wxUSE_SOCKETS="no"
45118 fi
45119 fi
45120
45121 if test "$wxUSE_SOCKETS" = "yes"; then
45122 if test "$TOOLKIT" != "MSW"; then
45123 { echo "$as_me:$LINENO: checking for socket" >&5
45124 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
45125 if test "${ac_cv_func_socket+set}" = set; then
45126 echo $ECHO_N "(cached) $ECHO_C" >&6
45127 else
45128 cat >conftest.$ac_ext <<_ACEOF
45129 /* confdefs.h. */
45130 _ACEOF
45131 cat confdefs.h >>conftest.$ac_ext
45132 cat >>conftest.$ac_ext <<_ACEOF
45133 /* end confdefs.h. */
45134 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
45135 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45136 #define socket innocuous_socket
45137
45138 /* System header to define __stub macros and hopefully few prototypes,
45139 which can conflict with char socket (); below.
45140 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45141 <limits.h> exists even on freestanding compilers. */
45142
45143 #ifdef __STDC__
45144 # include <limits.h>
45145 #else
45146 # include <assert.h>
45147 #endif
45148
45149 #undef socket
45150
45151 /* Override any GCC internal prototype to avoid an error.
45152 Use char because int might match the return type of a GCC
45153 builtin and then its argument prototype would still apply. */
45154 #ifdef __cplusplus
45155 extern "C"
45156 #endif
45157 char socket ();
45158 /* The GNU C library defines this for functions which it implements
45159 to always fail with ENOSYS. Some functions are actually named
45160 something starting with __ and the normal name is an alias. */
45161 #if defined __stub_socket || defined __stub___socket
45162 choke me
45163 #endif
45164
45165 int
45166 main ()
45167 {
45168 return socket ();
45169 ;
45170 return 0;
45171 }
45172 _ACEOF
45173 rm -f conftest.$ac_objext conftest$ac_exeext
45174 if { (ac_try="$ac_link"
45175 case "(($ac_try" in
45176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45177 *) ac_try_echo=$ac_try;;
45178 esac
45179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45180 (eval "$ac_link") 2>conftest.er1
45181 ac_status=$?
45182 grep -v '^ *+' conftest.er1 >conftest.err
45183 rm -f conftest.er1
45184 cat conftest.err >&5
45185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45186 (exit $ac_status); } && {
45187 test -z "$ac_c_werror_flag" ||
45188 test ! -s conftest.err
45189 } && test -s conftest$ac_exeext &&
45190 $as_test_x conftest$ac_exeext; then
45191 ac_cv_func_socket=yes
45192 else
45193 echo "$as_me: failed program was:" >&5
45194 sed 's/^/| /' conftest.$ac_ext >&5
45195
45196 ac_cv_func_socket=no
45197 fi
45198
45199 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45200 conftest$ac_exeext conftest.$ac_ext
45201 fi
45202 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
45203 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
45204 if test $ac_cv_func_socket = yes; then
45205 :
45206 else
45207
45208 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
45209 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
45210 if test "${ac_cv_lib_socket_socket+set}" = set; then
45211 echo $ECHO_N "(cached) $ECHO_C" >&6
45212 else
45213 ac_check_lib_save_LIBS=$LIBS
45214 LIBS="-lsocket $LIBS"
45215 cat >conftest.$ac_ext <<_ACEOF
45216 /* confdefs.h. */
45217 _ACEOF
45218 cat confdefs.h >>conftest.$ac_ext
45219 cat >>conftest.$ac_ext <<_ACEOF
45220 /* end confdefs.h. */
45221
45222 /* Override any GCC internal prototype to avoid an error.
45223 Use char because int might match the return type of a GCC
45224 builtin and then its argument prototype would still apply. */
45225 #ifdef __cplusplus
45226 extern "C"
45227 #endif
45228 char socket ();
45229 int
45230 main ()
45231 {
45232 return socket ();
45233 ;
45234 return 0;
45235 }
45236 _ACEOF
45237 rm -f conftest.$ac_objext conftest$ac_exeext
45238 if { (ac_try="$ac_link"
45239 case "(($ac_try" in
45240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45241 *) ac_try_echo=$ac_try;;
45242 esac
45243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45244 (eval "$ac_link") 2>conftest.er1
45245 ac_status=$?
45246 grep -v '^ *+' conftest.er1 >conftest.err
45247 rm -f conftest.er1
45248 cat conftest.err >&5
45249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45250 (exit $ac_status); } && {
45251 test -z "$ac_c_werror_flag" ||
45252 test ! -s conftest.err
45253 } && test -s conftest$ac_exeext &&
45254 $as_test_x conftest$ac_exeext; then
45255 ac_cv_lib_socket_socket=yes
45256 else
45257 echo "$as_me: failed program was:" >&5
45258 sed 's/^/| /' conftest.$ac_ext >&5
45259
45260 ac_cv_lib_socket_socket=no
45261 fi
45262
45263 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45264 conftest$ac_exeext conftest.$ac_ext
45265 LIBS=$ac_check_lib_save_LIBS
45266 fi
45267 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
45268 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
45269 if test $ac_cv_lib_socket_socket = yes; then
45270 if test "$INET_LINK" != " -lsocket"; then
45271 INET_LINK="$INET_LINK -lsocket"
45272 fi
45273 else
45274
45275 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
45276 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
45277 wxUSE_SOCKETS=no
45278
45279
45280 fi
45281
45282
45283
45284 fi
45285
45286 fi
45287 fi
45288
45289 if test "$wxUSE_SOCKETS" = "yes" ; then
45290 if test "$TOOLKIT" != "MSW"; then
45291 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
45292 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
45293 if test "${wx_cv_type_getsockname3+set}" = set; then
45294 echo $ECHO_N "(cached) $ECHO_C" >&6
45295 else
45296
45297 ac_ext=cpp
45298 ac_cpp='$CXXCPP $CPPFLAGS'
45299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45302
45303 cat >conftest.$ac_ext <<_ACEOF
45304 /* confdefs.h. */
45305 _ACEOF
45306 cat confdefs.h >>conftest.$ac_ext
45307 cat >>conftest.$ac_ext <<_ACEOF
45308 /* end confdefs.h. */
45309
45310 #include <sys/types.h>
45311 #include <sys/socket.h>
45312
45313 int
45314 main ()
45315 {
45316
45317 socklen_t len;
45318 getsockname(0, 0, &len);
45319
45320 ;
45321 return 0;
45322 }
45323 _ACEOF
45324 rm -f conftest.$ac_objext
45325 if { (ac_try="$ac_compile"
45326 case "(($ac_try" in
45327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45328 *) ac_try_echo=$ac_try;;
45329 esac
45330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45331 (eval "$ac_compile") 2>conftest.er1
45332 ac_status=$?
45333 grep -v '^ *+' conftest.er1 >conftest.err
45334 rm -f conftest.er1
45335 cat conftest.err >&5
45336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45337 (exit $ac_status); } && {
45338 test -z "$ac_cxx_werror_flag" ||
45339 test ! -s conftest.err
45340 } && test -s conftest.$ac_objext; then
45341 wx_cv_type_getsockname3=socklen_t
45342 else
45343 echo "$as_me: failed program was:" >&5
45344 sed 's/^/| /' conftest.$ac_ext >&5
45345
45346
45347 CFLAGS_OLD="$CFLAGS"
45348 if test "$GCC" = yes ; then
45349 CFLAGS="-Werror $CFLAGS"
45350 fi
45351
45352 cat >conftest.$ac_ext <<_ACEOF
45353 /* confdefs.h. */
45354 _ACEOF
45355 cat confdefs.h >>conftest.$ac_ext
45356 cat >>conftest.$ac_ext <<_ACEOF
45357 /* end confdefs.h. */
45358
45359 #include <sys/types.h>
45360 #include <sys/socket.h>
45361
45362 int
45363 main ()
45364 {
45365
45366 size_t len;
45367 getsockname(0, 0, &len);
45368
45369 ;
45370 return 0;
45371 }
45372 _ACEOF
45373 rm -f conftest.$ac_objext
45374 if { (ac_try="$ac_compile"
45375 case "(($ac_try" in
45376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45377 *) ac_try_echo=$ac_try;;
45378 esac
45379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45380 (eval "$ac_compile") 2>conftest.er1
45381 ac_status=$?
45382 grep -v '^ *+' conftest.er1 >conftest.err
45383 rm -f conftest.er1
45384 cat conftest.err >&5
45385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45386 (exit $ac_status); } && {
45387 test -z "$ac_cxx_werror_flag" ||
45388 test ! -s conftest.err
45389 } && test -s conftest.$ac_objext; then
45390 wx_cv_type_getsockname3=size_t
45391 else
45392 echo "$as_me: failed program was:" >&5
45393 sed 's/^/| /' conftest.$ac_ext >&5
45394
45395 cat >conftest.$ac_ext <<_ACEOF
45396 /* confdefs.h. */
45397 _ACEOF
45398 cat confdefs.h >>conftest.$ac_ext
45399 cat >>conftest.$ac_ext <<_ACEOF
45400 /* end confdefs.h. */
45401
45402 #include <sys/types.h>
45403 #include <sys/socket.h>
45404
45405 int
45406 main ()
45407 {
45408
45409 int len;
45410 getsockname(0, 0, &len);
45411
45412 ;
45413 return 0;
45414 }
45415 _ACEOF
45416 rm -f conftest.$ac_objext
45417 if { (ac_try="$ac_compile"
45418 case "(($ac_try" in
45419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45420 *) ac_try_echo=$ac_try;;
45421 esac
45422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45423 (eval "$ac_compile") 2>conftest.er1
45424 ac_status=$?
45425 grep -v '^ *+' conftest.er1 >conftest.err
45426 rm -f conftest.er1
45427 cat conftest.err >&5
45428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45429 (exit $ac_status); } && {
45430 test -z "$ac_cxx_werror_flag" ||
45431 test ! -s conftest.err
45432 } && test -s conftest.$ac_objext; then
45433 wx_cv_type_getsockname3=int
45434 else
45435 echo "$as_me: failed program was:" >&5
45436 sed 's/^/| /' conftest.$ac_ext >&5
45437
45438 wx_cv_type_getsockname3=unknown
45439
45440 fi
45441
45442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45443
45444 fi
45445
45446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45447
45448 CFLAGS="$CFLAGS_OLD"
45449
45450
45451 fi
45452
45453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45454 ac_ext=c
45455 ac_cpp='$CPP $CPPFLAGS'
45456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45459
45460
45461 fi
45462 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
45463 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
45464
45465 if test "$wx_cv_type_getsockname3" = "unknown"; then
45466 wxUSE_SOCKETS=no
45467 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45468 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45469 else
45470 cat >>confdefs.h <<_ACEOF
45471 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
45472 _ACEOF
45473
45474 fi
45475 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
45476 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
45477 if test "${wx_cv_type_getsockopt5+set}" = set; then
45478 echo $ECHO_N "(cached) $ECHO_C" >&6
45479 else
45480
45481 ac_ext=cpp
45482 ac_cpp='$CXXCPP $CPPFLAGS'
45483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45486
45487 cat >conftest.$ac_ext <<_ACEOF
45488 /* confdefs.h. */
45489 _ACEOF
45490 cat confdefs.h >>conftest.$ac_ext
45491 cat >>conftest.$ac_ext <<_ACEOF
45492 /* end confdefs.h. */
45493
45494 #include <sys/types.h>
45495 #include <sys/socket.h>
45496
45497 int
45498 main ()
45499 {
45500
45501 socklen_t len;
45502 getsockopt(0, 0, 0, 0, &len);
45503
45504 ;
45505 return 0;
45506 }
45507 _ACEOF
45508 rm -f conftest.$ac_objext
45509 if { (ac_try="$ac_compile"
45510 case "(($ac_try" in
45511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45512 *) ac_try_echo=$ac_try;;
45513 esac
45514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45515 (eval "$ac_compile") 2>conftest.er1
45516 ac_status=$?
45517 grep -v '^ *+' conftest.er1 >conftest.err
45518 rm -f conftest.er1
45519 cat conftest.err >&5
45520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45521 (exit $ac_status); } && {
45522 test -z "$ac_cxx_werror_flag" ||
45523 test ! -s conftest.err
45524 } && test -s conftest.$ac_objext; then
45525 wx_cv_type_getsockopt5=socklen_t
45526 else
45527 echo "$as_me: failed program was:" >&5
45528 sed 's/^/| /' conftest.$ac_ext >&5
45529
45530
45531 cat >conftest.$ac_ext <<_ACEOF
45532 /* confdefs.h. */
45533 _ACEOF
45534 cat confdefs.h >>conftest.$ac_ext
45535 cat >>conftest.$ac_ext <<_ACEOF
45536 /* end confdefs.h. */
45537
45538 #include <sys/types.h>
45539 #include <sys/socket.h>
45540
45541 int
45542 main ()
45543 {
45544
45545 size_t len;
45546 getsockopt(0, 0, 0, 0, &len);
45547
45548 ;
45549 return 0;
45550 }
45551 _ACEOF
45552 rm -f conftest.$ac_objext
45553 if { (ac_try="$ac_compile"
45554 case "(($ac_try" in
45555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45556 *) ac_try_echo=$ac_try;;
45557 esac
45558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45559 (eval "$ac_compile") 2>conftest.er1
45560 ac_status=$?
45561 grep -v '^ *+' conftest.er1 >conftest.err
45562 rm -f conftest.er1
45563 cat conftest.err >&5
45564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45565 (exit $ac_status); } && {
45566 test -z "$ac_cxx_werror_flag" ||
45567 test ! -s conftest.err
45568 } && test -s conftest.$ac_objext; then
45569 wx_cv_type_getsockopt5=size_t
45570 else
45571 echo "$as_me: failed program was:" >&5
45572 sed 's/^/| /' conftest.$ac_ext >&5
45573
45574 cat >conftest.$ac_ext <<_ACEOF
45575 /* confdefs.h. */
45576 _ACEOF
45577 cat confdefs.h >>conftest.$ac_ext
45578 cat >>conftest.$ac_ext <<_ACEOF
45579 /* end confdefs.h. */
45580
45581 #include <sys/types.h>
45582 #include <sys/socket.h>
45583
45584 int
45585 main ()
45586 {
45587
45588 int len;
45589 getsockopt(0, 0, 0, 0, &len);
45590
45591 ;
45592 return 0;
45593 }
45594 _ACEOF
45595 rm -f conftest.$ac_objext
45596 if { (ac_try="$ac_compile"
45597 case "(($ac_try" in
45598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45599 *) ac_try_echo=$ac_try;;
45600 esac
45601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45602 (eval "$ac_compile") 2>conftest.er1
45603 ac_status=$?
45604 grep -v '^ *+' conftest.er1 >conftest.err
45605 rm -f conftest.er1
45606 cat conftest.err >&5
45607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45608 (exit $ac_status); } && {
45609 test -z "$ac_cxx_werror_flag" ||
45610 test ! -s conftest.err
45611 } && test -s conftest.$ac_objext; then
45612 wx_cv_type_getsockopt5=int
45613 else
45614 echo "$as_me: failed program was:" >&5
45615 sed 's/^/| /' conftest.$ac_ext >&5
45616
45617 wx_cv_type_getsockopt5=unknown
45618
45619 fi
45620
45621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45622
45623 fi
45624
45625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45626
45627
45628 fi
45629
45630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45631 ac_ext=c
45632 ac_cpp='$CPP $CPPFLAGS'
45633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45636
45637
45638 fi
45639 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
45640 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
45641
45642 if test "$wx_cv_type_getsockopt5" = "unknown"; then
45643 wxUSE_SOCKETS=no
45644 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45645 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45646 else
45647 cat >>confdefs.h <<_ACEOF
45648 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
45649 _ACEOF
45650
45651 fi
45652 fi
45653 fi
45654
45655 if test "$wxUSE_SOCKETS" = "yes" ; then
45656 if test "$wxUSE_IPV6" = "yes"; then
45657 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
45658 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
45659 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
45660 echo $ECHO_N "(cached) $ECHO_C" >&6
45661 else
45662
45663 cat >conftest.$ac_ext <<_ACEOF
45664 /* confdefs.h. */
45665 _ACEOF
45666 cat confdefs.h >>conftest.$ac_ext
45667 cat >>conftest.$ac_ext <<_ACEOF
45668 /* end confdefs.h. */
45669
45670 #include <sys/types.h>
45671 #include <sys/socket.h>
45672 #include <netinet/in.h>
45673
45674 int
45675 main ()
45676 {
45677
45678 struct sockaddr_in6 sa6;
45679
45680 ;
45681 return 0;
45682 }
45683 _ACEOF
45684 rm -f conftest.$ac_objext
45685 if { (ac_try="$ac_compile"
45686 case "(($ac_try" in
45687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45688 *) ac_try_echo=$ac_try;;
45689 esac
45690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45691 (eval "$ac_compile") 2>conftest.er1
45692 ac_status=$?
45693 grep -v '^ *+' conftest.er1 >conftest.err
45694 rm -f conftest.er1
45695 cat conftest.err >&5
45696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45697 (exit $ac_status); } && {
45698 test -z "$ac_c_werror_flag" ||
45699 test ! -s conftest.err
45700 } && test -s conftest.$ac_objext; then
45701 wx_cv_type_sockaddr_in6=yes
45702 else
45703 echo "$as_me: failed program was:" >&5
45704 sed 's/^/| /' conftest.$ac_ext >&5
45705
45706 wx_cv_type_sockaddr_in6=no
45707
45708 fi
45709
45710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45711
45712
45713 fi
45714 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
45715 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
45716
45717 if test "$wx_cv_type_sockaddr_in6"="yes"; then
45718 cat >>confdefs.h <<\_ACEOF
45719 #define wxUSE_IPV6 1
45720 _ACEOF
45721
45722 else
45723 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
45724 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
45725 fi
45726 fi
45727
45728 cat >>confdefs.h <<\_ACEOF
45729 #define wxUSE_SOCKETS 1
45730 _ACEOF
45731
45732 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
45733 fi
45734
45735 if test "$wxUSE_PROTOCOL" = "yes"; then
45736 if test "$wxUSE_SOCKETS" != "yes"; then
45737 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
45738 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
45739 wxUSE_PROTOCOL=no
45740 fi
45741 fi
45742
45743 if test "$wxUSE_PROTOCOL" = "yes"; then
45744 cat >>confdefs.h <<\_ACEOF
45745 #define wxUSE_PROTOCOL 1
45746 _ACEOF
45747
45748
45749 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
45750 cat >>confdefs.h <<\_ACEOF
45751 #define wxUSE_PROTOCOL_HTTP 1
45752 _ACEOF
45753
45754 fi
45755 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
45756 cat >>confdefs.h <<\_ACEOF
45757 #define wxUSE_PROTOCOL_FTP 1
45758 _ACEOF
45759
45760 fi
45761 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
45762 cat >>confdefs.h <<\_ACEOF
45763 #define wxUSE_PROTOCOL_FILE 1
45764 _ACEOF
45765
45766 fi
45767 else
45768 if test "$wxUSE_FS_INET" = "yes"; then
45769 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
45770 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
45771 wxUSE_FS_INET="no"
45772 fi
45773 fi
45774
45775 if test "$wxUSE_URL" = "yes"; then
45776 if test "$wxUSE_PROTOCOL" != "yes"; then
45777 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
45778 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
45779 wxUSE_URL=no
45780 fi
45781 if test "$wxUSE_URL" = "yes"; then
45782 cat >>confdefs.h <<\_ACEOF
45783 #define wxUSE_URL 1
45784 _ACEOF
45785
45786 fi
45787 fi
45788
45789 if test "$wxUSE_VARIANT" = "yes"; then
45790 cat >>confdefs.h <<\_ACEOF
45791 #define wxUSE_VARIANT 1
45792 _ACEOF
45793
45794 fi
45795
45796 if test "$wxUSE_FS_INET" = "yes"; then
45797 cat >>confdefs.h <<\_ACEOF
45798 #define wxUSE_FS_INET 1
45799 _ACEOF
45800
45801 fi
45802
45803
45804 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
45805 wxUSE_JOYSTICK=no
45806
45807 if test "$TOOLKIT" = "MSW"; then
45808 wxUSE_JOYSTICK=yes
45809
45810 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
45811 if test "$USE_DARWIN" = 1; then
45812 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
45813 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
45814 ac_ext=cpp
45815 ac_cpp='$CXXCPP $CPPFLAGS'
45816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45819
45820 cat >conftest.$ac_ext <<_ACEOF
45821 /* confdefs.h. */
45822 _ACEOF
45823 cat confdefs.h >>conftest.$ac_ext
45824 cat >>conftest.$ac_ext <<_ACEOF
45825 /* end confdefs.h. */
45826 #include <IOKit/hid/IOHIDLib.h>
45827 int
45828 main ()
45829 {
45830 IOHIDQueueInterface *qi = NULL;
45831 IOHIDCallbackFunction cb = NULL;
45832 qi->setEventCallout(NULL, cb, NULL, NULL);
45833 ;
45834 return 0;
45835 }
45836 _ACEOF
45837 rm -f conftest.$ac_objext
45838 if { (ac_try="$ac_compile"
45839 case "(($ac_try" in
45840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45841 *) ac_try_echo=$ac_try;;
45842 esac
45843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45844 (eval "$ac_compile") 2>conftest.er1
45845 ac_status=$?
45846 grep -v '^ *+' conftest.er1 >conftest.err
45847 rm -f conftest.er1
45848 cat conftest.err >&5
45849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45850 (exit $ac_status); } && {
45851 test -z "$ac_cxx_werror_flag" ||
45852 test ! -s conftest.err
45853 } && test -s conftest.$ac_objext; then
45854 wxUSE_JOYSTICK=yes
45855
45856 else
45857 echo "$as_me: failed program was:" >&5
45858 sed 's/^/| /' conftest.$ac_ext >&5
45859
45860
45861 fi
45862
45863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45864 ac_ext=c
45865 ac_cpp='$CPP $CPPFLAGS'
45866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45869
45870 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
45871 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
45872 fi
45873
45874 else
45875 if test "$wxUSE_MGL" != 1; then
45876
45877 for ac_header in linux/joystick.h
45878 do
45879 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45880 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45881 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45882 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45883 echo $ECHO_N "(cached) $ECHO_C" >&6
45884 else
45885 cat >conftest.$ac_ext <<_ACEOF
45886 /* confdefs.h. */
45887 _ACEOF
45888 cat confdefs.h >>conftest.$ac_ext
45889 cat >>conftest.$ac_ext <<_ACEOF
45890 /* end confdefs.h. */
45891 $ac_includes_default
45892
45893 #include <$ac_header>
45894 _ACEOF
45895 rm -f conftest.$ac_objext
45896 if { (ac_try="$ac_compile"
45897 case "(($ac_try" in
45898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45899 *) ac_try_echo=$ac_try;;
45900 esac
45901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45902 (eval "$ac_compile") 2>conftest.er1
45903 ac_status=$?
45904 grep -v '^ *+' conftest.er1 >conftest.err
45905 rm -f conftest.er1
45906 cat conftest.err >&5
45907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45908 (exit $ac_status); } && {
45909 test -z "$ac_c_werror_flag" ||
45910 test ! -s conftest.err
45911 } && test -s conftest.$ac_objext; then
45912 eval "$as_ac_Header=yes"
45913 else
45914 echo "$as_me: failed program was:" >&5
45915 sed 's/^/| /' conftest.$ac_ext >&5
45916
45917 eval "$as_ac_Header=no"
45918 fi
45919
45920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45921 fi
45922 ac_res=`eval echo '${'$as_ac_Header'}'`
45923 { echo "$as_me:$LINENO: result: $ac_res" >&5
45924 echo "${ECHO_T}$ac_res" >&6; }
45925 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45926 cat >>confdefs.h <<_ACEOF
45927 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45928 _ACEOF
45929 wxUSE_JOYSTICK=yes
45930 fi
45931
45932 done
45933
45934 fi
45935 fi
45936
45937 if test "$wxUSE_JOYSTICK" = "yes"; then
45938 cat >>confdefs.h <<\_ACEOF
45939 #define wxUSE_JOYSTICK 1
45940 _ACEOF
45941
45942 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45943 else
45944 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45945 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45946 fi
45947 fi
45948
45949
45950
45951 if test "$wxUSE_FONTENUM" = "yes" ; then
45952 cat >>confdefs.h <<\_ACEOF
45953 #define wxUSE_FONTENUM 1
45954 _ACEOF
45955
45956 fi
45957
45958 if test "$wxUSE_FONTMAP" = "yes" ; then
45959 cat >>confdefs.h <<\_ACEOF
45960 #define wxUSE_FONTMAP 1
45961 _ACEOF
45962
45963 fi
45964
45965 if test "$wxUSE_UNICODE" = "yes" ; then
45966 cat >>confdefs.h <<\_ACEOF
45967 #define wxUSE_UNICODE 1
45968 _ACEOF
45969
45970
45971 if test "$USE_WIN32" != 1; then
45972 wxUSE_UNICODE_MSLU=no
45973 fi
45974
45975 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45976 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45977 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
45978 if test "${ac_cv_lib_unicows_main+set}" = set; then
45979 echo $ECHO_N "(cached) $ECHO_C" >&6
45980 else
45981 ac_check_lib_save_LIBS=$LIBS
45982 LIBS="-lunicows $LIBS"
45983 cat >conftest.$ac_ext <<_ACEOF
45984 /* confdefs.h. */
45985 _ACEOF
45986 cat confdefs.h >>conftest.$ac_ext
45987 cat >>conftest.$ac_ext <<_ACEOF
45988 /* end confdefs.h. */
45989
45990
45991 int
45992 main ()
45993 {
45994 return main ();
45995 ;
45996 return 0;
45997 }
45998 _ACEOF
45999 rm -f conftest.$ac_objext conftest$ac_exeext
46000 if { (ac_try="$ac_link"
46001 case "(($ac_try" in
46002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46003 *) ac_try_echo=$ac_try;;
46004 esac
46005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46006 (eval "$ac_link") 2>conftest.er1
46007 ac_status=$?
46008 grep -v '^ *+' conftest.er1 >conftest.err
46009 rm -f conftest.er1
46010 cat conftest.err >&5
46011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46012 (exit $ac_status); } && {
46013 test -z "$ac_c_werror_flag" ||
46014 test ! -s conftest.err
46015 } && test -s conftest$ac_exeext &&
46016 $as_test_x conftest$ac_exeext; then
46017 ac_cv_lib_unicows_main=yes
46018 else
46019 echo "$as_me: failed program was:" >&5
46020 sed 's/^/| /' conftest.$ac_ext >&5
46021
46022 ac_cv_lib_unicows_main=no
46023 fi
46024
46025 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46026 conftest$ac_exeext conftest.$ac_ext
46027 LIBS=$ac_check_lib_save_LIBS
46028 fi
46029 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
46030 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
46031 if test $ac_cv_lib_unicows_main = yes; then
46032
46033 cat >>confdefs.h <<\_ACEOF
46034 #define wxUSE_UNICODE_MSLU 1
46035 _ACEOF
46036
46037
46038 else
46039
46040 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46041 Applications will only run on Windows NT/2000/XP!" >&5
46042 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46043 Applications will only run on Windows NT/2000/XP!" >&2;}
46044 wxUSE_UNICODE_MSLU=no
46045
46046 fi
46047
46048 fi
46049 fi
46050
46051 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
46052 cat >>confdefs.h <<\_ACEOF
46053 #define wxUSE_UNICODE_UTF8 1
46054 _ACEOF
46055
46056
46057 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
46058 cat >>confdefs.h <<\_ACEOF
46059 #define wxUSE_UTF8_LOCALE_ONLY 1
46060 _ACEOF
46061
46062 fi
46063 fi
46064
46065
46066 if test "$wxUSE_CONSTRAINTS" = "yes"; then
46067 cat >>confdefs.h <<\_ACEOF
46068 #define wxUSE_CONSTRAINTS 1
46069 _ACEOF
46070
46071 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
46072 fi
46073
46074 if test "$wxUSE_MDI" = "yes"; then
46075 cat >>confdefs.h <<\_ACEOF
46076 #define wxUSE_MDI 1
46077 _ACEOF
46078
46079
46080 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
46081 cat >>confdefs.h <<\_ACEOF
46082 #define wxUSE_MDI_ARCHITECTURE 1
46083 _ACEOF
46084
46085 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
46086 fi
46087 fi
46088
46089 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
46090 cat >>confdefs.h <<\_ACEOF
46091 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
46092 _ACEOF
46093
46094 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
46095 fi
46096
46097 if test "$wxUSE_HELP" = "yes"; then
46098 cat >>confdefs.h <<\_ACEOF
46099 #define wxUSE_HELP 1
46100 _ACEOF
46101
46102 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
46103
46104 if test "$wxUSE_MSW" = 1; then
46105 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
46106 cat >>confdefs.h <<\_ACEOF
46107 #define wxUSE_MS_HTML_HELP 1
46108 _ACEOF
46109
46110 fi
46111 fi
46112
46113 if test "$wxUSE_WXHTML_HELP" = "yes"; then
46114 if test "$wxUSE_HTML" = "yes"; then
46115 cat >>confdefs.h <<\_ACEOF
46116 #define wxUSE_WXHTML_HELP 1
46117 _ACEOF
46118
46119 else
46120 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
46121 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
46122 wxUSE_WXHTML_HELP=no
46123 fi
46124 fi
46125 fi
46126
46127 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
46128 cat >>confdefs.h <<\_ACEOF
46129 #define wxUSE_PRINTING_ARCHITECTURE 1
46130 _ACEOF
46131
46132 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
46133 fi
46134
46135 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
46136 cat >>confdefs.h <<\_ACEOF
46137 #define wxUSE_POSTSCRIPT 1
46138 _ACEOF
46139
46140 fi
46141
46142 cat >>confdefs.h <<\_ACEOF
46143 #define wxUSE_AFM_FOR_POSTSCRIPT 1
46144 _ACEOF
46145
46146
46147 if test "$wxUSE_SVG" = "yes"; then
46148 cat >>confdefs.h <<\_ACEOF
46149 #define wxUSE_SVG 1
46150 _ACEOF
46151
46152 fi
46153
46154
46155 if test "$wxUSE_METAFILE" = "yes"; then
46156 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
46157 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
46158 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
46159 wxUSE_METAFILE=no
46160 fi
46161 fi
46162
46163
46164 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
46165 -o "$wxUSE_CLIPBOARD" = "yes" \
46166 -o "$wxUSE_OLE" = "yes" \
46167 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
46168 { echo "$as_me:$LINENO: checking for ole2.h" >&5
46169 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
46170 if test "${ac_cv_header_ole2_h+set}" = set; then
46171 echo $ECHO_N "(cached) $ECHO_C" >&6
46172 else
46173 cat >conftest.$ac_ext <<_ACEOF
46174 /* confdefs.h. */
46175 _ACEOF
46176 cat confdefs.h >>conftest.$ac_ext
46177 cat >>conftest.$ac_ext <<_ACEOF
46178 /* end confdefs.h. */
46179
46180
46181 #include <ole2.h>
46182 _ACEOF
46183 rm -f conftest.$ac_objext
46184 if { (ac_try="$ac_compile"
46185 case "(($ac_try" in
46186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46187 *) ac_try_echo=$ac_try;;
46188 esac
46189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46190 (eval "$ac_compile") 2>conftest.er1
46191 ac_status=$?
46192 grep -v '^ *+' conftest.er1 >conftest.err
46193 rm -f conftest.er1
46194 cat conftest.err >&5
46195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46196 (exit $ac_status); } && {
46197 test -z "$ac_c_werror_flag" ||
46198 test ! -s conftest.err
46199 } && test -s conftest.$ac_objext; then
46200 ac_cv_header_ole2_h=yes
46201 else
46202 echo "$as_me: failed program was:" >&5
46203 sed 's/^/| /' conftest.$ac_ext >&5
46204
46205 ac_cv_header_ole2_h=no
46206 fi
46207
46208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46209 fi
46210 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
46211 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
46212
46213
46214
46215 if test "$ac_cv_header_ole2_h" = "yes" ; then
46216 if test "$GCC" = yes ; then
46217 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
46218 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
46219 cat >conftest.$ac_ext <<_ACEOF
46220 /* confdefs.h. */
46221 _ACEOF
46222 cat confdefs.h >>conftest.$ac_ext
46223 cat >>conftest.$ac_ext <<_ACEOF
46224 /* end confdefs.h. */
46225 #include <windows.h>
46226 #include <ole2.h>
46227 int
46228 main ()
46229 {
46230
46231 ;
46232 return 0;
46233 }
46234 _ACEOF
46235 rm -f conftest.$ac_objext
46236 if { (ac_try="$ac_compile"
46237 case "(($ac_try" in
46238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46239 *) ac_try_echo=$ac_try;;
46240 esac
46241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46242 (eval "$ac_compile") 2>conftest.er1
46243 ac_status=$?
46244 grep -v '^ *+' conftest.er1 >conftest.err
46245 rm -f conftest.er1
46246 cat conftest.err >&5
46247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46248 (exit $ac_status); } && {
46249 test -z "$ac_c_werror_flag" ||
46250 test ! -s conftest.err
46251 } && test -s conftest.$ac_objext; then
46252 { echo "$as_me:$LINENO: result: no" >&5
46253 echo "${ECHO_T}no" >&6; }
46254 else
46255 echo "$as_me: failed program was:" >&5
46256 sed 's/^/| /' conftest.$ac_ext >&5
46257
46258 { echo "$as_me:$LINENO: result: yes" >&5
46259 echo "${ECHO_T}yes" >&6; }
46260 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
46261 fi
46262
46263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46264 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
46265 if test "$wxUSE_OLE" = "yes" ; then
46266 cat >>confdefs.h <<\_ACEOF
46267 #define wxUSE_OLE 1
46268 _ACEOF
46269
46270 cat >>confdefs.h <<\_ACEOF
46271 #define wxUSE_OLE_AUTOMATION 1
46272 _ACEOF
46273
46274 cat >>confdefs.h <<\_ACEOF
46275 #define wxUSE_ACTIVEX 1
46276 _ACEOF
46277
46278 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
46279 fi
46280 fi
46281
46282 if test "$wxUSE_DATAOBJ" = "yes" ; then
46283 cat >>confdefs.h <<\_ACEOF
46284 #define wxUSE_DATAOBJ 1
46285 _ACEOF
46286
46287 fi
46288 else
46289 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
46290 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
46291
46292 wxUSE_CLIPBOARD=no
46293 wxUSE_DRAG_AND_DROP=no
46294 wxUSE_DATAOBJ=no
46295 wxUSE_OLE=no
46296 fi
46297
46298 if test "$wxUSE_METAFILE" = "yes"; then
46299 cat >>confdefs.h <<\_ACEOF
46300 #define wxUSE_METAFILE 1
46301 _ACEOF
46302
46303
46304 cat >>confdefs.h <<\_ACEOF
46305 #define wxUSE_ENH_METAFILE 1
46306 _ACEOF
46307
46308 fi
46309 fi
46310
46311 if test "$wxUSE_IPC" = "yes"; then
46312 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
46313 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
46314 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
46315 wxUSE_IPC=no
46316 fi
46317
46318 if test "$wxUSE_IPC" = "yes"; then
46319 cat >>confdefs.h <<\_ACEOF
46320 #define wxUSE_IPC 1
46321 _ACEOF
46322
46323 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
46324 fi
46325 fi
46326
46327 if test "$wxUSE_DATAOBJ" = "yes"; then
46328 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46329 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
46330 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
46331 wxUSE_DATAOBJ=no
46332 else
46333 cat >>confdefs.h <<\_ACEOF
46334 #define wxUSE_DATAOBJ 1
46335 _ACEOF
46336
46337 fi
46338 else
46339 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
46340 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
46341 wxUSE_CLIPBOARD=no
46342 wxUSE_DRAG_AND_DROP=no
46343 fi
46344
46345 if test "$wxUSE_CLIPBOARD" = "yes"; then
46346 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46347 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
46348 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
46349 wxUSE_CLIPBOARD=no
46350 fi
46351
46352 if test "$wxUSE_CLIPBOARD" = "yes"; then
46353 cat >>confdefs.h <<\_ACEOF
46354 #define wxUSE_CLIPBOARD 1
46355 _ACEOF
46356
46357 fi
46358 fi
46359
46360 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
46361 if test "$wxUSE_GTK" = 1; then
46362 if test "$WXGTK12" != 1; then
46363 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
46364 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
46365 wxUSE_DRAG_AND_DROP=no
46366 fi
46367 fi
46368
46369 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
46370 "$wxUSE_DFB" = 1; then
46371 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
46372 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
46373 wxUSE_DRAG_AND_DROP=no
46374 fi
46375
46376 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
46377 cat >>confdefs.h <<\_ACEOF
46378 #define wxUSE_DRAG_AND_DROP 1
46379 _ACEOF
46380
46381 fi
46382
46383 fi
46384
46385 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
46386 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
46387 fi
46388
46389 if test "$wxUSE_CLIPBOARD" = "yes"; then
46390 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
46391 fi
46392
46393 if test "$wxUSE_SPLINES" = "yes" ; then
46394 cat >>confdefs.h <<\_ACEOF
46395 #define wxUSE_SPLINES 1
46396 _ACEOF
46397
46398 fi
46399
46400 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
46401 cat >>confdefs.h <<\_ACEOF
46402 #define wxUSE_MOUSEWHEEL 1
46403 _ACEOF
46404
46405 fi
46406
46407 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
46408 cat >>confdefs.h <<\_ACEOF
46409 #define wxUSE_UIACTIONSIMULATOR 1
46410 _ACEOF
46411
46412 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS uiaction"
46413 fi
46414
46415
46416 USES_CONTROLS=0
46417 if test "$wxUSE_CONTROLS" = "yes"; then
46418 USES_CONTROLS=1
46419 fi
46420
46421 if test "$wxUSE_ACCEL" = "yes"; then
46422 cat >>confdefs.h <<\_ACEOF
46423 #define wxUSE_ACCEL 1
46424 _ACEOF
46425
46426 USES_CONTROLS=1
46427 fi
46428
46429 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
46430 cat >>confdefs.h <<\_ACEOF
46431 #define wxUSE_ANIMATIONCTRL 1
46432 _ACEOF
46433
46434 USES_CONTROLS=1
46435 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
46436 fi
46437
46438 if test "$wxUSE_BUTTON" = "yes"; then
46439 cat >>confdefs.h <<\_ACEOF
46440 #define wxUSE_BUTTON 1
46441 _ACEOF
46442
46443 USES_CONTROLS=1
46444 fi
46445
46446 if test "$wxUSE_BMPBUTTON" = "yes"; then
46447 cat >>confdefs.h <<\_ACEOF
46448 #define wxUSE_BMPBUTTON 1
46449 _ACEOF
46450
46451 USES_CONTROLS=1
46452 fi
46453
46454 if test "$wxUSE_CALCTRL" = "yes"; then
46455 cat >>confdefs.h <<\_ACEOF
46456 #define wxUSE_CALENDARCTRL 1
46457 _ACEOF
46458
46459 USES_CONTROLS=1
46460 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
46461 fi
46462
46463 if test "$wxUSE_CARET" = "yes"; then
46464 cat >>confdefs.h <<\_ACEOF
46465 #define wxUSE_CARET 1
46466 _ACEOF
46467
46468 USES_CONTROLS=1
46469 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
46470 fi
46471
46472 if test "$wxUSE_COLLPANE" = "yes"; then
46473 cat >>confdefs.h <<\_ACEOF
46474 #define wxUSE_COLLPANE 1
46475 _ACEOF
46476
46477 USES_CONTROLS=1
46478 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
46479 fi
46480
46481 if test "$wxUSE_COMBOBOX" = "yes"; then
46482 cat >>confdefs.h <<\_ACEOF
46483 #define wxUSE_COMBOBOX 1
46484 _ACEOF
46485
46486 USES_CONTROLS=1
46487 fi
46488
46489 if test "$wxUSE_COMBOCTRL" = "yes"; then
46490 cat >>confdefs.h <<\_ACEOF
46491 #define wxUSE_COMBOCTRL 1
46492 _ACEOF
46493
46494 USES_CONTROLS=1
46495 fi
46496
46497 if test "$wxUSE_CHOICE" = "yes"; then
46498 cat >>confdefs.h <<\_ACEOF
46499 #define wxUSE_CHOICE 1
46500 _ACEOF
46501
46502 USES_CONTROLS=1
46503 fi
46504
46505 if test "$wxUSE_CHOICEBOOK" = "yes"; then
46506 cat >>confdefs.h <<\_ACEOF
46507 #define wxUSE_CHOICEBOOK 1
46508 _ACEOF
46509
46510 USES_CONTROLS=1
46511 fi
46512
46513 if test "$wxUSE_CHECKBOX" = "yes"; then
46514 cat >>confdefs.h <<\_ACEOF
46515 #define wxUSE_CHECKBOX 1
46516 _ACEOF
46517
46518 USES_CONTROLS=1
46519 fi
46520
46521 if test "$wxUSE_CHECKLST" = "yes"; then
46522 cat >>confdefs.h <<\_ACEOF
46523 #define wxUSE_CHECKLISTBOX 1
46524 _ACEOF
46525
46526 USES_CONTROLS=1
46527 fi
46528
46529 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
46530 cat >>confdefs.h <<\_ACEOF
46531 #define wxUSE_COLOURPICKERCTRL 1
46532 _ACEOF
46533
46534 USES_CONTROLS=1
46535 fi
46536
46537 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
46538 cat >>confdefs.h <<\_ACEOF
46539 #define wxUSE_DATEPICKCTRL 1
46540 _ACEOF
46541
46542 USES_CONTROLS=1
46543 fi
46544
46545 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
46546 cat >>confdefs.h <<\_ACEOF
46547 #define wxUSE_DIRPICKERCTRL 1
46548 _ACEOF
46549
46550 USES_CONTROLS=1
46551 fi
46552
46553 if test "$wxUSE_FILECTRL" = "yes"; then
46554 cat >>confdefs.h <<\_ACEOF
46555 #define wxUSE_FILECTRL 1
46556 _ACEOF
46557
46558 USES_CONTROLS=1
46559 fi
46560
46561 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
46562 cat >>confdefs.h <<\_ACEOF
46563 #define wxUSE_FILEPICKERCTRL 1
46564 _ACEOF
46565
46566 USES_CONTROLS=1
46567 fi
46568
46569 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
46570 cat >>confdefs.h <<\_ACEOF
46571 #define wxUSE_FONTPICKERCTRL 1
46572 _ACEOF
46573
46574 USES_CONTROLS=1
46575 fi
46576
46577 if test "$wxUSE_DISPLAY" = "yes"; then
46578 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
46579 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
46580 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
46581 wxUSE_DISPLAY=no
46582 else
46583 cat >>confdefs.h <<\_ACEOF
46584 #define wxUSE_DISPLAY 1
46585 _ACEOF
46586
46587 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
46588 fi
46589 fi
46590
46591 if test "$wxUSE_DETECT_SM" = "yes"; then
46592 cat >>confdefs.h <<\_ACEOF
46593 #define wxUSE_DETECT_SM 1
46594 _ACEOF
46595
46596 fi
46597
46598 if test "$wxUSE_GAUGE" = "yes"; then
46599 cat >>confdefs.h <<\_ACEOF
46600 #define wxUSE_GAUGE 1
46601 _ACEOF
46602
46603 USES_CONTROLS=1
46604 fi
46605
46606 if test "$wxUSE_GRID" = "yes"; then
46607 cat >>confdefs.h <<\_ACEOF
46608 #define wxUSE_GRID 1
46609 _ACEOF
46610
46611 USES_CONTROLS=1
46612 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
46613 fi
46614
46615 if test "$wxUSE_HEADERCTRL" = "yes"; then
46616 cat >>confdefs.h <<\_ACEOF
46617 #define wxUSE_HEADERCTRL 1
46618 _ACEOF
46619
46620 USES_CONTROLS=1
46621 fi
46622
46623 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
46624 cat >>confdefs.h <<\_ACEOF
46625 #define wxUSE_HYPERLINKCTRL 1
46626 _ACEOF
46627
46628 USES_CONTROLS=1
46629 fi
46630
46631 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
46632 cat >>confdefs.h <<\_ACEOF
46633 #define wxUSE_BITMAPCOMBOBOX 1
46634 _ACEOF
46635
46636 USES_CONTROLS=1
46637 fi
46638
46639 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
46640 cat >>confdefs.h <<\_ACEOF
46641 #define wxUSE_DATAVIEWCTRL 1
46642 _ACEOF
46643
46644 USES_CONTROLS=1
46645 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
46646 fi
46647
46648 if test "$wxUSE_IMAGLIST" = "yes"; then
46649 cat >>confdefs.h <<\_ACEOF
46650 #define wxUSE_IMAGLIST 1
46651 _ACEOF
46652
46653 fi
46654
46655 if test "$wxUSE_INFOBAR" = "yes"; then
46656 cat >>confdefs.h <<\_ACEOF
46657 #define wxUSE_INFOBAR 1
46658 _ACEOF
46659
46660 fi
46661
46662 if test "$wxUSE_LISTBOOK" = "yes"; then
46663 cat >>confdefs.h <<\_ACEOF
46664 #define wxUSE_LISTBOOK 1
46665 _ACEOF
46666
46667 USES_CONTROLS=1
46668 fi
46669
46670 if test "$wxUSE_LISTBOX" = "yes"; then
46671 cat >>confdefs.h <<\_ACEOF
46672 #define wxUSE_LISTBOX 1
46673 _ACEOF
46674
46675 USES_CONTROLS=1
46676 fi
46677
46678 if test "$wxUSE_LISTCTRL" = "yes"; then
46679 if test "$wxUSE_IMAGLIST" = "yes"; then
46680 cat >>confdefs.h <<\_ACEOF
46681 #define wxUSE_LISTCTRL 1
46682 _ACEOF
46683
46684 USES_CONTROLS=1
46685 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
46686 else
46687 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
46688 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
46689 fi
46690 fi
46691
46692 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
46693 cat >>confdefs.h <<\_ACEOF
46694 #define wxUSE_EDITABLELISTBOX 1
46695 _ACEOF
46696
46697 USES_CONTROLS=1
46698 fi
46699
46700 if test "$wxUSE_NOTEBOOK" = "yes"; then
46701 cat >>confdefs.h <<\_ACEOF
46702 #define wxUSE_NOTEBOOK 1
46703 _ACEOF
46704
46705 USES_CONTROLS=1
46706 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
46707 fi
46708
46709 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
46710 cat >>confdefs.h <<\_ACEOF
46711 #define wxUSE_NOTIFICATION_MESSAGE 1
46712 _ACEOF
46713
46714 fi
46715
46716 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
46717 cat >>confdefs.h <<\_ACEOF
46718 #define wxUSE_ODCOMBOBOX 1
46719 _ACEOF
46720
46721 USES_CONTROLS=1
46722 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
46723 fi
46724
46725 if test "$wxUSE_RADIOBOX" = "yes"; then
46726 cat >>confdefs.h <<\_ACEOF
46727 #define wxUSE_RADIOBOX 1
46728 _ACEOF
46729
46730 USES_CONTROLS=1
46731 fi
46732
46733 if test "$wxUSE_RADIOBTN" = "yes"; then
46734 cat >>confdefs.h <<\_ACEOF
46735 #define wxUSE_RADIOBTN 1
46736 _ACEOF
46737
46738 USES_CONTROLS=1
46739 fi
46740
46741 if test "$wxUSE_REARRANGECTRL" = "yes"; then
46742 cat >>confdefs.h <<\_ACEOF
46743 #define wxUSE_REARRANGECTRL 1
46744 _ACEOF
46745
46746 fi
46747
46748 if test "$wxUSE_SASH" = "yes"; then
46749 cat >>confdefs.h <<\_ACEOF
46750 #define wxUSE_SASH 1
46751 _ACEOF
46752
46753 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
46754 fi
46755
46756 if test "$wxUSE_SCROLLBAR" = "yes"; then
46757 cat >>confdefs.h <<\_ACEOF
46758 #define wxUSE_SCROLLBAR 1
46759 _ACEOF
46760
46761 USES_CONTROLS=1
46762 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
46763 fi
46764
46765 if test "$wxUSE_SEARCHCTRL" = "yes"; then
46766 cat >>confdefs.h <<\_ACEOF
46767 #define wxUSE_SEARCHCTRL 1
46768 _ACEOF
46769
46770 USES_CONTROLS=1
46771 fi
46772
46773 if test "$wxUSE_SLIDER" = "yes"; then
46774 cat >>confdefs.h <<\_ACEOF
46775 #define wxUSE_SLIDER 1
46776 _ACEOF
46777
46778 USES_CONTROLS=1
46779 fi
46780
46781 if test "$wxUSE_SPINBTN" = "yes"; then
46782 cat >>confdefs.h <<\_ACEOF
46783 #define wxUSE_SPINBTN 1
46784 _ACEOF
46785
46786 USES_CONTROLS=1
46787 fi
46788
46789 if test "$wxUSE_SPINCTRL" = "yes"; then
46790 cat >>confdefs.h <<\_ACEOF
46791 #define wxUSE_SPINCTRL 1
46792 _ACEOF
46793
46794 USES_CONTROLS=1
46795 fi
46796
46797 if test "$wxUSE_SPLITTER" = "yes"; then
46798 cat >>confdefs.h <<\_ACEOF
46799 #define wxUSE_SPLITTER 1
46800 _ACEOF
46801
46802 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
46803 fi
46804
46805 if test "$wxUSE_STATBMP" = "yes"; then
46806 cat >>confdefs.h <<\_ACEOF
46807 #define wxUSE_STATBMP 1
46808 _ACEOF
46809
46810 USES_CONTROLS=1
46811 fi
46812
46813 if test "$wxUSE_STATBOX" = "yes"; then
46814 cat >>confdefs.h <<\_ACEOF
46815 #define wxUSE_STATBOX 1
46816 _ACEOF
46817
46818 USES_CONTROLS=1
46819 fi
46820
46821 if test "$wxUSE_STATTEXT" = "yes"; then
46822 cat >>confdefs.h <<\_ACEOF
46823 #define wxUSE_STATTEXT 1
46824 _ACEOF
46825
46826 USES_CONTROLS=1
46827 fi
46828
46829 if test "$wxUSE_STATLINE" = "yes"; then
46830 cat >>confdefs.h <<\_ACEOF
46831 #define wxUSE_STATLINE 1
46832 _ACEOF
46833
46834 USES_CONTROLS=1
46835 fi
46836
46837 if test "$wxUSE_STATUSBAR" = "yes"; then
46838 cat >>confdefs.h <<\_ACEOF
46839 #define wxUSE_NATIVE_STATUSBAR 1
46840 _ACEOF
46841
46842 cat >>confdefs.h <<\_ACEOF
46843 #define wxUSE_STATUSBAR 1
46844 _ACEOF
46845
46846 USES_CONTROLS=1
46847
46848 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
46849 fi
46850
46851 if test "$wxUSE_TEXTCTRL" = "yes"; then
46852 cat >>confdefs.h <<\_ACEOF
46853 #define wxUSE_TEXTCTRL 1
46854 _ACEOF
46855
46856 USES_CONTROLS=1
46857 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
46858
46859 cat >>confdefs.h <<\_ACEOF
46860 #define wxUSE_RICHEDIT 1
46861 _ACEOF
46862
46863 cat >>confdefs.h <<\_ACEOF
46864 #define wxUSE_RICHEDIT2 1
46865 _ACEOF
46866
46867 fi
46868
46869 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46870 if test "$wxUSE_OLD_COCOA" = 1 ; then
46871 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
46872 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46873 wxUSE_TOGGLEBTN=no
46874 fi
46875
46876 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46877 cat >>confdefs.h <<\_ACEOF
46878 #define wxUSE_TOGGLEBTN 1
46879 _ACEOF
46880
46881 USES_CONTROLS=1
46882 fi
46883 fi
46884
46885 if test "$wxUSE_TOOLBAR" = "yes"; then
46886 cat >>confdefs.h <<\_ACEOF
46887 #define wxUSE_TOOLBAR 1
46888 _ACEOF
46889
46890 USES_CONTROLS=1
46891
46892 if test "$wxUSE_UNIVERSAL" = "yes"; then
46893 wxUSE_TOOLBAR_NATIVE="no"
46894 else
46895 wxUSE_TOOLBAR_NATIVE="yes"
46896 cat >>confdefs.h <<\_ACEOF
46897 #define wxUSE_TOOLBAR_NATIVE 1
46898 _ACEOF
46899
46900 fi
46901
46902 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
46903 fi
46904
46905 if test "$wxUSE_TOOLTIPS" = "yes"; then
46906 if test "$wxUSE_MOTIF" = 1; then
46907 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46908 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46909 else
46910 if test "$wxUSE_UNIVERSAL" = "yes"; then
46911 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46912 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46913 else
46914 cat >>confdefs.h <<\_ACEOF
46915 #define wxUSE_TOOLTIPS 1
46916 _ACEOF
46917
46918 fi
46919 fi
46920 fi
46921
46922 if test "$wxUSE_TREEBOOK" = "yes"; then
46923 cat >>confdefs.h <<\_ACEOF
46924 #define wxUSE_TREEBOOK 1
46925 _ACEOF
46926
46927 USES_CONTROLS=1
46928 fi
46929
46930 if test "$wxUSE_TOOLBOOK" = "yes"; then
46931 cat >>confdefs.h <<\_ACEOF
46932 #define wxUSE_TOOLBOOK 1
46933 _ACEOF
46934
46935 USES_CONTROLS=1
46936 fi
46937
46938 if test "$wxUSE_TREECTRL" = "yes"; then
46939 if test "$wxUSE_IMAGLIST" = "yes"; then
46940 cat >>confdefs.h <<\_ACEOF
46941 #define wxUSE_TREECTRL 1
46942 _ACEOF
46943
46944 USES_CONTROLS=1
46945 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
46946 else
46947 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46948 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46949 fi
46950 fi
46951
46952 if test "$wxUSE_POPUPWIN" = "yes"; then
46953 if test "$wxUSE_OLD_COCOA" = 1 ; then
46954 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46955 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46956 else
46957 if test "$wxUSE_PM" = 1; then
46958 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46959 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46960 else
46961 cat >>confdefs.h <<\_ACEOF
46962 #define wxUSE_POPUPWIN 1
46963 _ACEOF
46964
46965 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
46966
46967 USES_CONTROLS=1
46968 fi
46969 fi
46970 fi
46971
46972 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46973 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46974 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46975 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46976 else
46977 cat >>confdefs.h <<\_ACEOF
46978 #define wxUSE_DIALUP_MANAGER 1
46979 _ACEOF
46980
46981 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
46982 fi
46983 fi
46984
46985 if test "$wxUSE_TIPWINDOW" = "yes"; then
46986 if test "$wxUSE_PM" = 1; then
46987 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46988 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46989 else
46990 cat >>confdefs.h <<\_ACEOF
46991 #define wxUSE_TIPWINDOW 1
46992 _ACEOF
46993
46994 fi
46995 fi
46996
46997 if test "$USES_CONTROLS" = 1; then
46998 cat >>confdefs.h <<\_ACEOF
46999 #define wxUSE_CONTROLS 1
47000 _ACEOF
47001
47002 fi
47003
47004
47005 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
47006 cat >>confdefs.h <<\_ACEOF
47007 #define wxUSE_ACCESSIBILITY 1
47008 _ACEOF
47009
47010 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
47011 fi
47012
47013 if test "$wxUSE_DRAGIMAGE" = "yes"; then
47014 cat >>confdefs.h <<\_ACEOF
47015 #define wxUSE_DRAGIMAGE 1
47016 _ACEOF
47017
47018 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
47019 fi
47020
47021 if test "$wxUSE_EXCEPTIONS" = "yes"; then
47022 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
47023 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
47024 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
47025 else
47026 cat >>confdefs.h <<\_ACEOF
47027 #define wxUSE_EXCEPTIONS 1
47028 _ACEOF
47029
47030 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
47031 fi
47032 fi
47033
47034 USE_HTML=0
47035 if test "$wxUSE_HTML" = "yes"; then
47036 cat >>confdefs.h <<\_ACEOF
47037 #define wxUSE_HTML 1
47038 _ACEOF
47039
47040 USE_HTML=1
47041 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
47042 fi
47043 if test "$wxUSE_WEBKIT" = "yes"; then
47044 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
47045 old_CPPFLAGS="$CPPFLAGS"
47046 CPPFLAGS="-x objective-c++ $CPPFLAGS"
47047 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
47048 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
47049 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
47050 echo $ECHO_N "(cached) $ECHO_C" >&6
47051 else
47052 cat >conftest.$ac_ext <<_ACEOF
47053 /* confdefs.h. */
47054 _ACEOF
47055 cat confdefs.h >>conftest.$ac_ext
47056 cat >>conftest.$ac_ext <<_ACEOF
47057 /* end confdefs.h. */
47058
47059 #include <Carbon/Carbon.h>
47060 #include <WebKit/WebKit.h>
47061
47062
47063 #include <WebKit/HIWebView.h>
47064 _ACEOF
47065 rm -f conftest.$ac_objext
47066 if { (ac_try="$ac_compile"
47067 case "(($ac_try" in
47068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47069 *) ac_try_echo=$ac_try;;
47070 esac
47071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47072 (eval "$ac_compile") 2>conftest.er1
47073 ac_status=$?
47074 grep -v '^ *+' conftest.er1 >conftest.err
47075 rm -f conftest.er1
47076 cat conftest.err >&5
47077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47078 (exit $ac_status); } && {
47079 test -z "$ac_c_werror_flag" ||
47080 test ! -s conftest.err
47081 } && test -s conftest.$ac_objext; then
47082 ac_cv_header_WebKit_HIWebView_h=yes
47083 else
47084 echo "$as_me: failed program was:" >&5
47085 sed 's/^/| /' conftest.$ac_ext >&5
47086
47087 ac_cv_header_WebKit_HIWebView_h=no
47088 fi
47089
47090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47091 fi
47092 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
47093 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
47094 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
47095
47096 cat >>confdefs.h <<\_ACEOF
47097 #define wxUSE_WEBKIT 1
47098 _ACEOF
47099
47100 WEBKIT_LINK="-framework WebKit"
47101
47102 else
47103
47104 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
47105 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
47106 wxUSE_WEBKIT=no
47107
47108 fi
47109
47110
47111 CPPFLAGS="$old_CPPFLAGS"
47112 elif test "$wxUSE_OLD_COCOA" = 1; then
47113 cat >>confdefs.h <<\_ACEOF
47114 #define wxUSE_WEBKIT 1
47115 _ACEOF
47116
47117 else
47118 wxUSE_WEBKIT=no
47119 fi
47120 if test "$wxUSE_WEBKIT" = "yes"; then
47121 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
47122 fi
47123 fi
47124
47125 USE_XRC=0
47126 if test "$wxUSE_XRC" = "yes"; then
47127 if test "$wxUSE_XML" != "yes"; then
47128 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
47129 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
47130 wxUSE_XRC=no
47131 else
47132 cat >>confdefs.h <<\_ACEOF
47133 #define wxUSE_XRC 1
47134 _ACEOF
47135
47136 USE_XRC=1
47137 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
47138 fi
47139 fi
47140
47141 USE_AUI=0
47142 if test "$wxUSE_AUI" = "yes"; then
47143 cat >>confdefs.h <<\_ACEOF
47144 #define wxUSE_AUI 1
47145 _ACEOF
47146
47147 USE_AUI=1
47148 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
47149 fi
47150
47151 USE_PROPGRID=0
47152 if test "$wxUSE_PROPGRID" = "yes"; then
47153 cat >>confdefs.h <<\_ACEOF
47154 #define wxUSE_PROPGRID 1
47155 _ACEOF
47156
47157 USE_PROPGRID=1
47158 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
47159 fi
47160
47161 USE_RIBBON=0
47162 if test "$wxUSE_RIBBON" = "yes"; then
47163 cat >>confdefs.h <<\_ACEOF
47164 #define wxUSE_RIBBON 1
47165 _ACEOF
47166
47167 USE_RIBBON=1
47168 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
47169 fi
47170
47171 USE_STC=0
47172 if test "$wxUSE_STC" = "yes"; then
47173 cat >>confdefs.h <<\_ACEOF
47174 #define wxUSE_STC 1
47175 _ACEOF
47176
47177 USE_STC=1
47178 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
47179
47180 # Extract the first word of "python", so it can be a program name with args.
47181 set dummy python; ac_word=$2
47182 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47183 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47184 if test "${ac_cv_path_PYTHON+set}" = set; then
47185 echo $ECHO_N "(cached) $ECHO_C" >&6
47186 else
47187 case $PYTHON in
47188 [\\/]* | ?:[\\/]*)
47189 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
47190 ;;
47191 *)
47192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47193 for as_dir in $PATH
47194 do
47195 IFS=$as_save_IFS
47196 test -z "$as_dir" && as_dir=.
47197 for ac_exec_ext in '' $ac_executable_extensions; do
47198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47199 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
47200 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47201 break 2
47202 fi
47203 done
47204 done
47205 IFS=$as_save_IFS
47206
47207 ;;
47208 esac
47209 fi
47210 PYTHON=$ac_cv_path_PYTHON
47211 if test -n "$PYTHON"; then
47212 { echo "$as_me:$LINENO: result: $PYTHON" >&5
47213 echo "${ECHO_T}$PYTHON" >&6; }
47214 else
47215 { echo "$as_me:$LINENO: result: no" >&5
47216 echo "${ECHO_T}no" >&6; }
47217 fi
47218
47219
47220 if test "x$PYTHON" = "x"; then
47221 COND_PYTHON="#"
47222 fi
47223
47224 fi
47225
47226 if test "$wxUSE_MENUS" = "yes"; then
47227 cat >>confdefs.h <<\_ACEOF
47228 #define wxUSE_MENUS 1
47229 _ACEOF
47230
47231 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
47232 fi
47233
47234 if test "$wxUSE_METAFILE" = "yes"; then
47235 cat >>confdefs.h <<\_ACEOF
47236 #define wxUSE_METAFILE 1
47237 _ACEOF
47238
47239 fi
47240
47241 if test "$wxUSE_MIMETYPE" = "yes"; then
47242 cat >>confdefs.h <<\_ACEOF
47243 #define wxUSE_MIMETYPE 1
47244 _ACEOF
47245
47246 fi
47247
47248 if test "$wxUSE_MINIFRAME" = "yes"; then
47249 cat >>confdefs.h <<\_ACEOF
47250 #define wxUSE_MINIFRAME 1
47251 _ACEOF
47252
47253 fi
47254
47255 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
47256 cat >>confdefs.h <<\_ACEOF
47257 #define wxUSE_SYSTEM_OPTIONS 1
47258 _ACEOF
47259
47260 fi
47261
47262 if test "$wxUSE_TASKBARICON" = "yes"; then
47263 cat >>confdefs.h <<\_ACEOF
47264 #define wxUSE_TASKBARICON 1
47265 _ACEOF
47266
47267 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
47268 fi
47269
47270
47271 if test "$wxUSE_VALIDATORS" = "yes"; then
47272 cat >>confdefs.h <<\_ACEOF
47273 #define wxUSE_VALIDATORS 1
47274 _ACEOF
47275
47276 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
47277 fi
47278
47279 if test "$wxUSE_PALETTE" = "yes" ; then
47280 if test "$wxUSE_DFB" = 1; then
47281 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
47282 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
47283 wxUSE_PALETTE=no
47284 else
47285 cat >>confdefs.h <<\_ACEOF
47286 #define wxUSE_PALETTE 1
47287 _ACEOF
47288
47289 fi
47290 fi
47291
47292 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
47293 LIBS=" -lunicows $LIBS"
47294 fi
47295
47296 USE_RICHTEXT=0
47297 if test "$wxUSE_RICHTEXT" = "yes"; then
47298 cat >>confdefs.h <<\_ACEOF
47299 #define wxUSE_RICHTEXT 1
47300 _ACEOF
47301
47302 USE_RICHTEXT=1
47303 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
47304 fi
47305
47306
47307 if test "$wxUSE_IMAGE" = "yes" ; then
47308 cat >>confdefs.h <<\_ACEOF
47309 #define wxUSE_IMAGE 1
47310 _ACEOF
47311
47312
47313 if test "$wxUSE_GIF" = "yes" ; then
47314 cat >>confdefs.h <<\_ACEOF
47315 #define wxUSE_GIF 1
47316 _ACEOF
47317
47318 fi
47319
47320 if test "$wxUSE_PCX" = "yes" ; then
47321 cat >>confdefs.h <<\_ACEOF
47322 #define wxUSE_PCX 1
47323 _ACEOF
47324
47325 fi
47326
47327 if test "$wxUSE_TGA" = "yes" ; then
47328 cat >>confdefs.h <<\_ACEOF
47329 #define wxUSE_TGA 1
47330 _ACEOF
47331
47332 fi
47333
47334 if test "$wxUSE_IFF" = "yes" ; then
47335 cat >>confdefs.h <<\_ACEOF
47336 #define wxUSE_IFF 1
47337 _ACEOF
47338
47339 fi
47340
47341 if test "$wxUSE_PNM" = "yes" ; then
47342 cat >>confdefs.h <<\_ACEOF
47343 #define wxUSE_PNM 1
47344 _ACEOF
47345
47346 fi
47347
47348 if test "$wxUSE_XPM" = "yes" ; then
47349 cat >>confdefs.h <<\_ACEOF
47350 #define wxUSE_XPM 1
47351 _ACEOF
47352
47353 fi
47354
47355 if test "$wxUSE_ICO_CUR" = "yes" ; then
47356 cat >>confdefs.h <<\_ACEOF
47357 #define wxUSE_ICO_CUR 1
47358 _ACEOF
47359
47360 fi
47361 fi
47362
47363
47364 if test "$wxUSE_ABOUTDLG" = "yes"; then
47365 cat >>confdefs.h <<\_ACEOF
47366 #define wxUSE_ABOUTDLG 1
47367 _ACEOF
47368
47369 fi
47370
47371 if test "$wxUSE_CHOICEDLG" = "yes"; then
47372 cat >>confdefs.h <<\_ACEOF
47373 #define wxUSE_CHOICEDLG 1
47374 _ACEOF
47375
47376 fi
47377
47378 if test "$wxUSE_COLOURDLG" = "yes"; then
47379 cat >>confdefs.h <<\_ACEOF
47380 #define wxUSE_COLOURDLG 1
47381 _ACEOF
47382
47383 fi
47384
47385 if test "$wxUSE_FILEDLG" = "yes"; then
47386 cat >>confdefs.h <<\_ACEOF
47387 #define wxUSE_FILEDLG 1
47388 _ACEOF
47389
47390 fi
47391
47392 if test "$wxUSE_FINDREPLDLG" = "yes"; then
47393 cat >>confdefs.h <<\_ACEOF
47394 #define wxUSE_FINDREPLDLG 1
47395 _ACEOF
47396
47397 fi
47398
47399 if test "$wxUSE_FONTDLG" = "yes"; then
47400 cat >>confdefs.h <<\_ACEOF
47401 #define wxUSE_FONTDLG 1
47402 _ACEOF
47403
47404 fi
47405
47406 if test "$wxUSE_DIRDLG" = "yes"; then
47407 if test "$wxUSE_TREECTRL" != "yes"; then
47408 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
47409 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
47410 else
47411 cat >>confdefs.h <<\_ACEOF
47412 #define wxUSE_DIRDLG 1
47413 _ACEOF
47414
47415 fi
47416 fi
47417
47418 if test "$wxUSE_MSGDLG" = "yes"; then
47419 cat >>confdefs.h <<\_ACEOF
47420 #define wxUSE_MSGDLG 1
47421 _ACEOF
47422
47423 fi
47424
47425 if test "$wxUSE_NUMBERDLG" = "yes"; then
47426 cat >>confdefs.h <<\_ACEOF
47427 #define wxUSE_NUMBERDLG 1
47428 _ACEOF
47429
47430 fi
47431
47432 if test "$wxUSE_PROGRESSDLG" = "yes"; then
47433 cat >>confdefs.h <<\_ACEOF
47434 #define wxUSE_PROGRESSDLG 1
47435 _ACEOF
47436
47437 fi
47438
47439 if test "$wxUSE_SPLASH" = "yes"; then
47440 cat >>confdefs.h <<\_ACEOF
47441 #define wxUSE_SPLASH 1
47442 _ACEOF
47443
47444 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
47445 fi
47446
47447 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
47448 cat >>confdefs.h <<\_ACEOF
47449 #define wxUSE_STARTUP_TIPS 1
47450 _ACEOF
47451
47452 fi
47453
47454 if test "$wxUSE_TEXTDLG" = "yes"; then
47455 cat >>confdefs.h <<\_ACEOF
47456 #define wxUSE_TEXTDLG 1
47457 _ACEOF
47458
47459 fi
47460
47461 if test "$wxUSE_WIZARDDLG" = "yes"; then
47462 cat >>confdefs.h <<\_ACEOF
47463 #define wxUSE_WIZARDDLG 1
47464 _ACEOF
47465
47466 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
47467 fi
47468
47469
47470 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
47471 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
47472 cat >>confdefs.h <<\_ACEOF
47473 #define wxUSE_OWNER_DRAWN 1
47474 _ACEOF
47475
47476 fi
47477 fi
47478
47479
47480 if test "$wxUSE_MSW" = 1 ; then
47481
47482 if test "$wxUSE_DC_CACHEING" = "yes"; then
47483 cat >>confdefs.h <<\_ACEOF
47484 #define wxUSE_DC_CACHEING 1
47485 _ACEOF
47486
47487 fi
47488
47489 if test "$wxUSE_DIB" = "yes"; then
47490 cat >>confdefs.h <<\_ACEOF
47491 #define wxUSE_WXDIB 1
47492 _ACEOF
47493
47494 fi
47495
47496 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
47497 cat >>confdefs.h <<\_ACEOF
47498 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
47499 _ACEOF
47500
47501 fi
47502
47503 if test "$wxUSE_UXTHEME" = "yes"; then
47504 cat >>confdefs.h <<\_ACEOF
47505 #define wxUSE_UXTHEME 1
47506 _ACEOF
47507
47508 fi
47509
47510 fi
47511
47512 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
47513 cat >>confdefs.h <<\_ACEOF
47514 #define wxUSE_AUTOID_MANAGEMENT 1
47515 _ACEOF
47516
47517 fi
47518
47519 if test "$USE_WIN32" = 1 ; then
47520 if test "$wxUSE_INICONF" = "yes"; then
47521 cat >>confdefs.h <<\_ACEOF
47522 #define wxUSE_INICONF 1
47523 _ACEOF
47524
47525 fi
47526
47527 if test "$wxUSE_REGKEY" = "yes"; then
47528 cat >>confdefs.h <<\_ACEOF
47529 #define wxUSE_REGKEY 1
47530 _ACEOF
47531
47532 fi
47533 fi
47534
47535
47536 if test "$wxUSE_MAC" = 1; then
47537 wxUSE_GRAPHICS_CONTEXT="yes"
47538 fi
47539
47540 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
47541 wx_has_graphics=0
47542 if test "$wxUSE_MSW" = 1; then
47543 { echo "$as_me:$LINENO: checking if GDI+ is available" >&5
47544 echo $ECHO_N "checking if GDI+ is available... $ECHO_C" >&6; }
47545 if test "${wx_cv_lib_gdiplus+set}" = set; then
47546 echo $ECHO_N "(cached) $ECHO_C" >&6
47547 else
47548
47549 ac_ext=cpp
47550 ac_cpp='$CXXCPP $CPPFLAGS'
47551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47554
47555 cat >conftest.$ac_ext <<_ACEOF
47556 /* confdefs.h. */
47557 _ACEOF
47558 cat confdefs.h >>conftest.$ac_ext
47559 cat >>conftest.$ac_ext <<_ACEOF
47560 /* end confdefs.h. */
47561 #include <windows.h>
47562 #include <gdiplus.h>
47563 int
47564 main ()
47565 {
47566
47567 using namespace Gdiplus;
47568
47569 ;
47570 return 0;
47571 }
47572 _ACEOF
47573 rm -f conftest.$ac_objext
47574 if { (ac_try="$ac_compile"
47575 case "(($ac_try" in
47576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47577 *) ac_try_echo=$ac_try;;
47578 esac
47579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47580 (eval "$ac_compile") 2>conftest.er1
47581 ac_status=$?
47582 grep -v '^ *+' conftest.er1 >conftest.err
47583 rm -f conftest.er1
47584 cat conftest.err >&5
47585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47586 (exit $ac_status); } && {
47587 test -z "$ac_cxx_werror_flag" ||
47588 test ! -s conftest.err
47589 } && test -s conftest.$ac_objext; then
47590 wx_cv_lib_gdiplus=yes
47591 else
47592 echo "$as_me: failed program was:" >&5
47593 sed 's/^/| /' conftest.$ac_ext >&5
47594
47595 wx_cv_lib_gdiplus=no
47596
47597 fi
47598
47599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47600 ac_ext=c
47601 ac_cpp='$CPP $CPPFLAGS'
47602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47605
47606
47607
47608 fi
47609 { echo "$as_me:$LINENO: result: $wx_cv_lib_gdiplus" >&5
47610 echo "${ECHO_T}$wx_cv_lib_gdiplus" >&6; }
47611 if test "$wx_cv_lib_gdiplus" = "yes"; then
47612 wx_has_graphics=1
47613 fi
47614 elif test "$wxUSE_GTK" = 1; then
47615
47616 pkg_failed=no
47617 { echo "$as_me:$LINENO: checking for CAIRO" >&5
47618 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
47619
47620 if test -n "$PKG_CONFIG"; then
47621 if test -n "$CAIRO_CFLAGS"; then
47622 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
47623 else
47624 if test -n "$PKG_CONFIG" && \
47625 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47626 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47627 ac_status=$?
47628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47629 (exit $ac_status); }; then
47630 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
47631 else
47632 pkg_failed=yes
47633 fi
47634 fi
47635 else
47636 pkg_failed=untried
47637 fi
47638 if test -n "$PKG_CONFIG"; then
47639 if test -n "$CAIRO_LIBS"; then
47640 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
47641 else
47642 if test -n "$PKG_CONFIG" && \
47643 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47644 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47645 ac_status=$?
47646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47647 (exit $ac_status); }; then
47648 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
47649 else
47650 pkg_failed=yes
47651 fi
47652 fi
47653 else
47654 pkg_failed=untried
47655 fi
47656
47657
47658
47659 if test $pkg_failed = yes; then
47660
47661 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47662 _pkg_short_errors_supported=yes
47663 else
47664 _pkg_short_errors_supported=no
47665 fi
47666 if test $_pkg_short_errors_supported = yes; then
47667 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
47668 else
47669 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
47670 fi
47671 # Put the nasty error message in config.log where it belongs
47672 echo "$CAIRO_PKG_ERRORS" >&5
47673
47674 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
47675 echo "$as_me: WARNING: Cairo library not found" >&2;}
47676
47677 elif test $pkg_failed = untried; then
47678 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
47679 echo "$as_me: WARNING: Cairo library not found" >&2;}
47680
47681 else
47682 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
47683 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
47684 { echo "$as_me:$LINENO: result: yes" >&5
47685 echo "${ECHO_T}yes" >&6; }
47686 wx_has_graphics=1
47687 fi
47688 else
47689 wx_has_graphics=1
47690 fi
47691
47692 if test "$wx_has_graphics" = 1; then
47693 cat >>confdefs.h <<\_ACEOF
47694 #define wxUSE_GRAPHICS_CONTEXT 1
47695 _ACEOF
47696
47697 else
47698 { echo "$as_me:$LINENO: WARNING: wxGraphicsContext won't be available" >&5
47699 echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
47700 fi
47701 fi
47702
47703
47704 USE_MEDIA=0
47705
47706 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
47707 USE_MEDIA=1
47708
47709 if test "$wxUSE_GTK" = 1; then
47710 wxUSE_GSTREAMER="no"
47711
47712 GST_VERSION_MAJOR=0
47713 GST_VERSION_MINOR=10
47714 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
47715
47716 if test "$wxUSE_GSTREAMER8" = "no"; then
47717
47718 pkg_failed=no
47719 { echo "$as_me:$LINENO: checking for GST" >&5
47720 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
47721
47722 if test -n "$PKG_CONFIG"; then
47723 if test -n "$GST_CFLAGS"; then
47724 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
47725 else
47726 if test -n "$PKG_CONFIG" && \
47727 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47728 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47729 ac_status=$?
47730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47731 (exit $ac_status); }; then
47732 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47733 else
47734 pkg_failed=yes
47735 fi
47736 fi
47737 else
47738 pkg_failed=untried
47739 fi
47740 if test -n "$PKG_CONFIG"; then
47741 if test -n "$GST_LIBS"; then
47742 pkg_cv_GST_LIBS="$GST_LIBS"
47743 else
47744 if test -n "$PKG_CONFIG" && \
47745 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47746 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47747 ac_status=$?
47748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47749 (exit $ac_status); }; then
47750 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47751 else
47752 pkg_failed=yes
47753 fi
47754 fi
47755 else
47756 pkg_failed=untried
47757 fi
47758
47759
47760
47761 if test $pkg_failed = yes; then
47762
47763 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47764 _pkg_short_errors_supported=yes
47765 else
47766 _pkg_short_errors_supported=no
47767 fi
47768 if test $_pkg_short_errors_supported = yes; then
47769 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47770 else
47771 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47772 fi
47773 # Put the nasty error message in config.log where it belongs
47774 echo "$GST_PKG_ERRORS" >&5
47775
47776
47777 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47778 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47779 GST_VERSION_MINOR=8
47780
47781
47782 elif test $pkg_failed = untried; then
47783
47784 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47785 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47786 GST_VERSION_MINOR=8
47787
47788
47789 else
47790 GST_CFLAGS=$pkg_cv_GST_CFLAGS
47791 GST_LIBS=$pkg_cv_GST_LIBS
47792 { echo "$as_me:$LINENO: result: yes" >&5
47793 echo "${ECHO_T}yes" >&6; }
47794
47795 wxUSE_GSTREAMER="yes"
47796 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
47797
47798 fi
47799 else
47800 GST_VERSION_MINOR=8
47801 fi
47802
47803 if test $GST_VERSION_MINOR = "8"; then
47804 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
47805
47806 pkg_failed=no
47807 { echo "$as_me:$LINENO: checking for GST" >&5
47808 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
47809
47810 if test -n "$PKG_CONFIG"; then
47811 if test -n "$GST_CFLAGS"; then
47812 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
47813 else
47814 if test -n "$PKG_CONFIG" && \
47815 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47816 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47817 ac_status=$?
47818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47819 (exit $ac_status); }; then
47820 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47821 else
47822 pkg_failed=yes
47823 fi
47824 fi
47825 else
47826 pkg_failed=untried
47827 fi
47828 if test -n "$PKG_CONFIG"; then
47829 if test -n "$GST_LIBS"; then
47830 pkg_cv_GST_LIBS="$GST_LIBS"
47831 else
47832 if test -n "$PKG_CONFIG" && \
47833 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47834 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47835 ac_status=$?
47836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47837 (exit $ac_status); }; then
47838 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47839 else
47840 pkg_failed=yes
47841 fi
47842 fi
47843 else
47844 pkg_failed=untried
47845 fi
47846
47847
47848
47849 if test $pkg_failed = yes; then
47850
47851 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47852 _pkg_short_errors_supported=yes
47853 else
47854 _pkg_short_errors_supported=no
47855 fi
47856 if test $_pkg_short_errors_supported = yes; then
47857 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47858 else
47859 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47860 fi
47861 # Put the nasty error message in config.log where it belongs
47862 echo "$GST_PKG_ERRORS" >&5
47863
47864
47865 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47866 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47867
47868 elif test $pkg_failed = untried; then
47869
47870 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47871 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47872
47873 else
47874 GST_CFLAGS=$pkg_cv_GST_CFLAGS
47875 GST_LIBS=$pkg_cv_GST_LIBS
47876 { echo "$as_me:$LINENO: result: yes" >&5
47877 echo "${ECHO_T}yes" >&6; }
47878 wxUSE_GSTREAMER="yes"
47879 fi
47880 fi
47881
47882
47883 if test "$wxUSE_GSTREAMER" = "yes"; then
47884 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
47885 EXTRALIBS_MEDIA="$GST_LIBS"
47886
47887 cat >>confdefs.h <<\_ACEOF
47888 #define wxUSE_GSTREAMER 1
47889 _ACEOF
47890
47891 else
47892 USE_MEDIA=0
47893 fi
47894 fi
47895
47896 if test $USE_MEDIA = 1; then
47897 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
47898 cat >>confdefs.h <<\_ACEOF
47899 #define wxUSE_MEDIACTRL 1
47900 _ACEOF
47901
47902 else
47903 if test "$wxUSE_MEDIACTRL" = "yes"; then
47904 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
47905 echo "$as_me: error: GStreamer not available" >&2;}
47906 { (exit 1); exit 1; }; }
47907 else
47908 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
47909 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
47910 fi
47911 fi
47912 fi
47913
47914
47915 if test "$cross_compiling" != "no"; then
47916 OSINFO="\"$host\""
47917 else
47918 OSINFO=`uname -s -r -m`
47919 OSINFO="\"$OSINFO\""
47920 fi
47921
47922 cat >>confdefs.h <<_ACEOF
47923 #define WXWIN_OS_DESCRIPTION $OSINFO
47924 _ACEOF
47925
47926
47927
47928 if test "x$prefix" != "xNONE"; then
47929 wxPREFIX=$prefix
47930 else
47931 wxPREFIX=$ac_default_prefix
47932 fi
47933
47934 cat >>confdefs.h <<_ACEOF
47935 #define wxINSTALL_PREFIX "$wxPREFIX"
47936 _ACEOF
47937
47938
47939
47940
47941 STD_BASE_LIBS="base"
47942 STD_GUI_LIBS=""
47943 BUILT_WX_LIBS="base"
47944 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
47945
47946 if test "$wxUSE_SOCKETS" = "yes" ; then
47947 STD_BASE_LIBS="net $STD_BASE_LIBS"
47948 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
47949 fi
47950 if test "$wxUSE_XML" = "yes" ; then
47951 STD_BASE_LIBS="xml $STD_BASE_LIBS"
47952 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
47953 fi
47954
47955 if test "$wxUSE_GUI" = "yes"; then
47956 STD_GUI_LIBS="adv core"
47957 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
47958
47959 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47960 STD_GUI_LIBS="qa $STD_GUI_LIBS"
47961 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
47962 fi
47963 if test "$wxUSE_HTML" = "yes" ; then
47964 STD_GUI_LIBS="html $STD_GUI_LIBS"
47965 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
47966 fi
47967 if test "$wxUSE_MEDIACTRL" = "yes" ; then
47968 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
47969 fi
47970 if test "$wxUSE_OPENGL" = "yes" ; then
47971 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
47972 fi
47973 if test "$wxUSE_AUI" = "yes" ; then
47974 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
47975 fi
47976 if test "$wxUSE_PROPGRID" = "yes" ; then
47977 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
47978 fi
47979 if test "$wxUSE_RIBBON" = "yes" ; then
47980 BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
47981 fi
47982 if test "$wxUSE_RICHTEXT" = "yes" ; then
47983 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
47984 fi
47985 if test "$wxUSE_STC" = "yes" ; then
47986 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
47987 fi
47988 if test "$wxUSE_XRC" = "yes" ; then
47989 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
47990 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
47991 fi
47992 fi
47993
47994
47995
47996
47997
47998
47999
48000 EXTRA_FRAMEWORKS=
48001 if test "$wxUSE_MAC" = 1 ; then
48002 if test "$USE_DARWIN" = 1; then
48003 EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime"
48004 fi
48005 fi
48006 if test "$wxUSE_OLD_COCOA" = 1 ; then
48007 EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
48008 if test "$wxUSE_MEDIACTRL" = "yes"; then
48009 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
48010 fi
48011 fi
48012 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
48013 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
48014 fi
48015
48016 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
48017 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
48018
48019 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
48020
48021 if test "$wxUSE_GUI" = "yes"; then
48022
48023
48024 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
48025 erase event exec font image minimal render \
48026 shaped svg taborder vscroll widgets wrapsizer"
48027
48028 if test "$wxUSE_MONOLITHIC" != "yes"; then
48029 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
48030 fi
48031 if test "$TOOLKIT" = "MSW"; then
48032 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
48033 if test "$wxUSE_UNIVERSAL" != "yes"; then
48034 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
48035 fi
48036 fi
48037 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
48038 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
48039 fi
48040 else
48041 SAMPLES_SUBDIRS="console"
48042 if test "$wxUSE_SOCKETS" = "yes" ; then
48043 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
48044 fi
48045 if test "$wxUSE_IPC" = "yes" ; then
48046 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
48047 fi
48048 fi
48049
48050
48051 if test "x$INTELCC" = "xyes" ; then
48052 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
48053 elif test "$GCC" = yes ; then
48054 CWARNINGS="-Wall -Wundef"
48055 fi
48056
48057 if test "x$INTELCXX" = "xyes" ; then
48058 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
48059 elif test "$GXX" = yes ; then
48060 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
48061 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
48062 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
48063 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
48064 echo $ECHO_N "(cached) $ECHO_C" >&6
48065 else
48066 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
48067
48068 ac_ext=cpp
48069 ac_cpp='$CXXCPP $CPPFLAGS'
48070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48073
48074 ac_save_CXXFLAGS="$CXXFLAGS"
48075 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
48076 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
48077 cat >conftest.$ac_ext <<_ACEOF
48078 /* confdefs.h. */
48079 _ACEOF
48080 cat confdefs.h >>conftest.$ac_ext
48081 cat >>conftest.$ac_ext <<_ACEOF
48082 /* end confdefs.h. */
48083
48084 int
48085 main ()
48086 {
48087 return 0;
48088 ;
48089 return 0;
48090 }
48091 _ACEOF
48092 rm -f conftest.$ac_objext
48093 if { (ac_try="$ac_compile"
48094 case "(($ac_try" in
48095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48096 *) ac_try_echo=$ac_try;;
48097 esac
48098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48099 (eval "$ac_compile") 2>conftest.er1
48100 ac_status=$?
48101 grep -v '^ *+' conftest.er1 >conftest.err
48102 rm -f conftest.er1
48103 cat conftest.err >&5
48104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48105 (exit $ac_status); } && {
48106 test -z "$ac_cxx_werror_flag" ||
48107 test ! -s conftest.err
48108 } && test -s conftest.$ac_objext; then
48109 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
48110 else
48111 echo "$as_me: failed program was:" >&5
48112 sed 's/^/| /' conftest.$ac_ext >&5
48113
48114
48115 fi
48116
48117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48118 done
48119 CXXFLAGS="$ac_save_CXXFLAGS"
48120 ac_ext=c
48121 ac_cpp='$CPP $CPPFLAGS'
48122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48125
48126
48127 fi
48128 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
48129 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
48130 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
48131 .ok|.ok,*) ;;
48132 .|.no|.no,*) ;;
48133 *)
48134 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
48135 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
48136 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
48137 ac_status=$?
48138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48139 (exit $ac_status); }
48140 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
48141 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
48142 ac_status=$?
48143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48144 (exit $ac_status); }
48145 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
48146 fi
48147 ;;
48148 esac
48149
48150
48151 if test "$wxUSE_MAC" = 1 ; then
48152 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
48153 fi
48154 fi
48155
48156
48157 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
48158 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
48159
48160
48161 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
48162 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
48163 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
48164 $CPPFLAGS `
48165
48166 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
48167 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
48168 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
48169 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
48170 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
48171
48172 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
48173
48174
48175 if test "x$MWCC" = "xyes"; then
48176
48177 CC="$CC -cwd source -I-"
48178 CXX="$CXX -cwd source -I-"
48179 fi
48180
48181
48182 LIBS=`echo $LIBS`
48183 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
48184 EXTRALIBS_XML="$EXPAT_LINK"
48185 EXTRALIBS_HTML="$MSPACK_LINK"
48186 EXTRALIBS_MEDIA="$GST_LIBS"
48187 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
48188 if test "$wxUSE_GUI" = "yes"; then
48189 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
48190 fi
48191 if test "$wxUSE_OPENGL" = "yes"; then
48192 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
48193 fi
48194
48195 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
48196
48197 WXCONFIG_LIBS="$LIBS"
48198
48199 if test "$wxUSE_REGEX" = "builtin" ; then
48200 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
48201 fi
48202 if test "$wxUSE_EXPAT" = "builtin" ; then
48203 wxconfig_3rdparty="expat $wxconfig_3rdparty"
48204 fi
48205 if test "$wxUSE_LIBTIFF" = "builtin" ; then
48206 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
48207 fi
48208 if test "$wxUSE_LIBJPEG" = "builtin" ; then
48209 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
48210 fi
48211 if test "$wxUSE_LIBPNG" = "builtin" ; then
48212 wxconfig_3rdparty="png $wxconfig_3rdparty"
48213 fi
48214 if test "$wxUSE_ZLIB" = "builtin" ; then
48215 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
48216 fi
48217
48218 for i in $wxconfig_3rdparty ; do
48219 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
48220 done
48221
48222
48223 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
48224 WXUNIV=1
48225
48226 case "$wxUNIV_THEMES" in
48227 ''|all)
48228 cat >>confdefs.h <<\_ACEOF
48229 #define wxUSE_ALL_THEMES 1
48230 _ACEOF
48231
48232 ;;
48233
48234 *)
48235 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
48236 cat >>confdefs.h <<_ACEOF
48237 #define wxUSE_THEME_$t 1
48238 _ACEOF
48239
48240 done
48241 esac
48242 else
48243 WXUNIV=0
48244 fi
48245
48246
48247
48248
48249
48250
48251
48252
48253 if test $wxUSE_MONOLITHIC = "yes" ; then
48254 MONOLITHIC=1
48255 else
48256 MONOLITHIC=0
48257 fi
48258
48259 if test $wxUSE_PLUGINS = "yes" ; then
48260 USE_PLUGINS=1
48261 else
48262 USE_PLUGINS=0
48263 fi
48264
48265 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48266 USE_QA=1
48267 else
48268 USE_QA=0
48269 fi
48270
48271 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
48272 OFFICIAL_BUILD=1
48273 else
48274 OFFICIAL_BUILD=0
48275 fi
48276
48277
48278
48279
48280
48281
48282
48283
48284
48285
48286
48287
48288
48289
48290
48291
48292
48293
48294
48295
48296
48297
48298
48299
48300
48301
48302
48303 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
48304
48305
48306
48307
48308
48309
48310
48311
48312
48313
48314 case "$TOOLKIT" in
48315 GTK)
48316 TOOLKIT_DESC="GTK+"
48317 if test "$WXGTK2" = 1; then
48318 TOOLKIT_DESC="$TOOLKIT_DESC 2"
48319 if test "$wxUSE_GTKPRINT" = "yes" ; then
48320 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
48321 fi
48322 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
48323 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
48324 fi
48325 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
48326 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
48327 fi
48328 if test "$wxUSE_LIBHILDON" = "yes"; then
48329 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
48330 fi
48331 if test "$wxUSE_LIBHILDON2" = "yes"; then
48332 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
48333 fi
48334
48335 if test "$TOOLKIT_EXTRA" != ""; then
48336 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
48337 fi
48338 fi
48339 ;;
48340
48341 ?*)
48342 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
48343 ;;
48344
48345 *)
48346 TOOLKIT_DESC="base only"
48347 ;;
48348 esac
48349
48350 if test "$wxUSE_WINE" = "yes"; then
48351 BAKEFILE_FORCE_PLATFORM=win32
48352 fi
48353
48354 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
48355 then
48356 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
48357 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
48358 if test "${wx_cv_gcc_pch_bug+set}" = set; then
48359 echo $ECHO_N "(cached) $ECHO_C" >&6
48360 else
48361
48362 echo '#include <stdio.h>
48363 const wchar_t test_var[] = L"awidetest";' > conftest.h
48364
48365 echo '#include "conftest.h"
48366 int main()
48367 {
48368 printf("%ls", test_var);
48369 return 0;
48370 }' > conftest.cpp
48371
48372 wx_cv_gcc_pch_bug="pch not supported"
48373
48374 if $CXX conftest.h >/dev/null 2>&1
48375 then
48376 wx_cv_gcc_pch_bug=
48377
48378 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
48379 then
48380 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
48381 grep awidetest >/dev/null
48382 then
48383 wx_cv_gcc_pch_bug=no
48384 else
48385 wx_cv_gcc_pch_bug=yes
48386 fi
48387 fi
48388 fi
48389
48390 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
48391
48392 fi
48393 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
48394 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
48395
48396 if test "$wx_cv_gcc_pch_bug" = yes; then
48397 bk_use_pch=no
48398 fi
48399 fi
48400
48401
48402
48403
48404
48405
48406
48407 if test "x$BAKEFILE_HOST" = "x"; then
48408 if test "x${host}" = "x" ; then
48409 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
48410 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
48411 { (exit 1); exit 1; }; }
48412 fi
48413
48414 BAKEFILE_HOST="${host}"
48415 fi
48416
48417 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
48418
48419 if test -n "$ac_tool_prefix"; then
48420 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
48421 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
48422 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48423 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48424 if test "${ac_cv_prog_RANLIB+set}" = set; then
48425 echo $ECHO_N "(cached) $ECHO_C" >&6
48426 else
48427 if test -n "$RANLIB"; then
48428 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
48429 else
48430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48431 for as_dir in $PATH
48432 do
48433 IFS=$as_save_IFS
48434 test -z "$as_dir" && as_dir=.
48435 for ac_exec_ext in '' $ac_executable_extensions; do
48436 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48437 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
48438 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48439 break 2
48440 fi
48441 done
48442 done
48443 IFS=$as_save_IFS
48444
48445 fi
48446 fi
48447 RANLIB=$ac_cv_prog_RANLIB
48448 if test -n "$RANLIB"; then
48449 { echo "$as_me:$LINENO: result: $RANLIB" >&5
48450 echo "${ECHO_T}$RANLIB" >&6; }
48451 else
48452 { echo "$as_me:$LINENO: result: no" >&5
48453 echo "${ECHO_T}no" >&6; }
48454 fi
48455
48456
48457 fi
48458 if test -z "$ac_cv_prog_RANLIB"; then
48459 ac_ct_RANLIB=$RANLIB
48460 # Extract the first word of "ranlib", so it can be a program name with args.
48461 set dummy ranlib; ac_word=$2
48462 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48463 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48464 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
48465 echo $ECHO_N "(cached) $ECHO_C" >&6
48466 else
48467 if test -n "$ac_ct_RANLIB"; then
48468 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
48469 else
48470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48471 for as_dir in $PATH
48472 do
48473 IFS=$as_save_IFS
48474 test -z "$as_dir" && as_dir=.
48475 for ac_exec_ext in '' $ac_executable_extensions; do
48476 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48477 ac_cv_prog_ac_ct_RANLIB="ranlib"
48478 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48479 break 2
48480 fi
48481 done
48482 done
48483 IFS=$as_save_IFS
48484
48485 fi
48486 fi
48487 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
48488 if test -n "$ac_ct_RANLIB"; then
48489 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
48490 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
48491 else
48492 { echo "$as_me:$LINENO: result: no" >&5
48493 echo "${ECHO_T}no" >&6; }
48494 fi
48495
48496 if test "x$ac_ct_RANLIB" = x; then
48497 RANLIB=":"
48498 else
48499 case $cross_compiling:$ac_tool_warned in
48500 yes:)
48501 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48502 whose name does not start with the host triplet. If you think this
48503 configuration is useful to you, please write to autoconf@gnu.org." >&5
48504 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48505 whose name does not start with the host triplet. If you think this
48506 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48507 ac_tool_warned=yes ;;
48508 esac
48509 RANLIB=$ac_ct_RANLIB
48510 fi
48511 else
48512 RANLIB="$ac_cv_prog_RANLIB"
48513 fi
48514
48515 # Find a good install program. We prefer a C program (faster),
48516 # so one script is as good as another. But avoid the broken or
48517 # incompatible versions:
48518 # SysV /etc/install, /usr/sbin/install
48519 # SunOS /usr/etc/install
48520 # IRIX /sbin/install
48521 # AIX /bin/install
48522 # AmigaOS /C/install, which installs bootblocks on floppy discs
48523 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
48524 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
48525 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
48526 # OS/2's system install, which has a completely different semantic
48527 # ./install, which can be erroneously created by make from ./install.sh.
48528 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
48529 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
48530 if test -z "$INSTALL"; then
48531 if test "${ac_cv_path_install+set}" = set; then
48532 echo $ECHO_N "(cached) $ECHO_C" >&6
48533 else
48534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48535 for as_dir in $PATH
48536 do
48537 IFS=$as_save_IFS
48538 test -z "$as_dir" && as_dir=.
48539 # Account for people who put trailing slashes in PATH elements.
48540 case $as_dir/ in
48541 ./ | .// | /cC/* | \
48542 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
48543 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
48544 /usr/ucb/* ) ;;
48545 *)
48546 # OSF1 and SCO ODT 3.0 have their own names for install.
48547 # Don't use installbsd from OSF since it installs stuff as root
48548 # by default.
48549 for ac_prog in ginstall scoinst install; do
48550 for ac_exec_ext in '' $ac_executable_extensions; do
48551 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
48552 if test $ac_prog = install &&
48553 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
48554 # AIX install. It has an incompatible calling convention.
48555 :
48556 elif test $ac_prog = install &&
48557 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
48558 # program-specific install script used by HP pwplus--don't use.
48559 :
48560 else
48561 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
48562 break 3
48563 fi
48564 fi
48565 done
48566 done
48567 ;;
48568 esac
48569 done
48570 IFS=$as_save_IFS
48571
48572
48573 fi
48574 if test "${ac_cv_path_install+set}" = set; then
48575 INSTALL=$ac_cv_path_install
48576 else
48577 # As a last resort, use the slow shell script. Don't cache a
48578 # value for INSTALL within a source directory, because that will
48579 # break other packages using the cache if that directory is
48580 # removed, or if the value is a relative name.
48581 INSTALL=$ac_install_sh
48582 fi
48583 fi
48584 { echo "$as_me:$LINENO: result: $INSTALL" >&5
48585 echo "${ECHO_T}$INSTALL" >&6; }
48586
48587 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
48588 # It thinks the first close brace ends the variable substitution.
48589 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
48590
48591 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
48592
48593 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
48594
48595 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
48596 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
48597 LN_S=$as_ln_s
48598 if test "$LN_S" = "ln -s"; then
48599 { echo "$as_me:$LINENO: result: yes" >&5
48600 echo "${ECHO_T}yes" >&6; }
48601 else
48602 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
48603 echo "${ECHO_T}no, using $LN_S" >&6; }
48604 fi
48605
48606
48607 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48608 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
48609 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
48610 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
48611 echo $ECHO_N "(cached) $ECHO_C" >&6
48612 else
48613 cat >conftest.make <<\_ACEOF
48614 SHELL = /bin/sh
48615 all:
48616 @echo '@@@%%%=$(MAKE)=@@@%%%'
48617 _ACEOF
48618 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48619 case `${MAKE-make} -f conftest.make 2>/dev/null` in
48620 *@@@%%%=?*=@@@%%%*)
48621 eval ac_cv_prog_make_${ac_make}_set=yes;;
48622 *)
48623 eval ac_cv_prog_make_${ac_make}_set=no;;
48624 esac
48625 rm -f conftest.make
48626 fi
48627 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
48628 { echo "$as_me:$LINENO: result: yes" >&5
48629 echo "${ECHO_T}yes" >&6; }
48630 SET_MAKE=
48631 else
48632 { echo "$as_me:$LINENO: result: no" >&5
48633 echo "${ECHO_T}no" >&6; }
48634 SET_MAKE="MAKE=${MAKE-make}"
48635 fi
48636
48637
48638
48639 if test "x$SUNCXX" = "xyes"; then
48640 AR=$CXX
48641 AROPTIONS="-xar -o"
48642
48643 elif test "x$SGICC" = "xyes"; then
48644 AR=$CXX
48645 AROPTIONS="-ar -o"
48646
48647 else
48648 if test -n "$ac_tool_prefix"; then
48649 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
48650 set dummy ${ac_tool_prefix}ar; ac_word=$2
48651 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48652 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48653 if test "${ac_cv_prog_AR+set}" = set; then
48654 echo $ECHO_N "(cached) $ECHO_C" >&6
48655 else
48656 if test -n "$AR"; then
48657 ac_cv_prog_AR="$AR" # Let the user override the test.
48658 else
48659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48660 for as_dir in $PATH
48661 do
48662 IFS=$as_save_IFS
48663 test -z "$as_dir" && as_dir=.
48664 for ac_exec_ext in '' $ac_executable_extensions; do
48665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48666 ac_cv_prog_AR="${ac_tool_prefix}ar"
48667 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48668 break 2
48669 fi
48670 done
48671 done
48672 IFS=$as_save_IFS
48673
48674 fi
48675 fi
48676 AR=$ac_cv_prog_AR
48677 if test -n "$AR"; then
48678 { echo "$as_me:$LINENO: result: $AR" >&5
48679 echo "${ECHO_T}$AR" >&6; }
48680 else
48681 { echo "$as_me:$LINENO: result: no" >&5
48682 echo "${ECHO_T}no" >&6; }
48683 fi
48684
48685
48686 fi
48687 if test -z "$ac_cv_prog_AR"; then
48688 ac_ct_AR=$AR
48689 # Extract the first word of "ar", so it can be a program name with args.
48690 set dummy ar; ac_word=$2
48691 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48692 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48693 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
48694 echo $ECHO_N "(cached) $ECHO_C" >&6
48695 else
48696 if test -n "$ac_ct_AR"; then
48697 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
48698 else
48699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48700 for as_dir in $PATH
48701 do
48702 IFS=$as_save_IFS
48703 test -z "$as_dir" && as_dir=.
48704 for ac_exec_ext in '' $ac_executable_extensions; do
48705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48706 ac_cv_prog_ac_ct_AR="ar"
48707 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48708 break 2
48709 fi
48710 done
48711 done
48712 IFS=$as_save_IFS
48713
48714 fi
48715 fi
48716 ac_ct_AR=$ac_cv_prog_ac_ct_AR
48717 if test -n "$ac_ct_AR"; then
48718 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
48719 echo "${ECHO_T}$ac_ct_AR" >&6; }
48720 else
48721 { echo "$as_me:$LINENO: result: no" >&5
48722 echo "${ECHO_T}no" >&6; }
48723 fi
48724
48725 if test "x$ac_ct_AR" = x; then
48726 AR="ar"
48727 else
48728 case $cross_compiling:$ac_tool_warned in
48729 yes:)
48730 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48731 whose name does not start with the host triplet. If you think this
48732 configuration is useful to you, please write to autoconf@gnu.org." >&5
48733 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48734 whose name does not start with the host triplet. If you think this
48735 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48736 ac_tool_warned=yes ;;
48737 esac
48738 AR=$ac_ct_AR
48739 fi
48740 else
48741 AR="$ac_cv_prog_AR"
48742 fi
48743
48744 AROPTIONS=rcu
48745 fi
48746
48747
48748 if test -n "$ac_tool_prefix"; then
48749 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
48750 set dummy ${ac_tool_prefix}strip; ac_word=$2
48751 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48752 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48753 if test "${ac_cv_prog_STRIP+set}" = set; then
48754 echo $ECHO_N "(cached) $ECHO_C" >&6
48755 else
48756 if test -n "$STRIP"; then
48757 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
48758 else
48759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48760 for as_dir in $PATH
48761 do
48762 IFS=$as_save_IFS
48763 test -z "$as_dir" && as_dir=.
48764 for ac_exec_ext in '' $ac_executable_extensions; do
48765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48766 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
48767 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48768 break 2
48769 fi
48770 done
48771 done
48772 IFS=$as_save_IFS
48773
48774 fi
48775 fi
48776 STRIP=$ac_cv_prog_STRIP
48777 if test -n "$STRIP"; then
48778 { echo "$as_me:$LINENO: result: $STRIP" >&5
48779 echo "${ECHO_T}$STRIP" >&6; }
48780 else
48781 { echo "$as_me:$LINENO: result: no" >&5
48782 echo "${ECHO_T}no" >&6; }
48783 fi
48784
48785
48786 fi
48787 if test -z "$ac_cv_prog_STRIP"; then
48788 ac_ct_STRIP=$STRIP
48789 # Extract the first word of "strip", so it can be a program name with args.
48790 set dummy strip; ac_word=$2
48791 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48792 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48793 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
48794 echo $ECHO_N "(cached) $ECHO_C" >&6
48795 else
48796 if test -n "$ac_ct_STRIP"; then
48797 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
48798 else
48799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48800 for as_dir in $PATH
48801 do
48802 IFS=$as_save_IFS
48803 test -z "$as_dir" && as_dir=.
48804 for ac_exec_ext in '' $ac_executable_extensions; do
48805 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48806 ac_cv_prog_ac_ct_STRIP="strip"
48807 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48808 break 2
48809 fi
48810 done
48811 done
48812 IFS=$as_save_IFS
48813
48814 fi
48815 fi
48816 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
48817 if test -n "$ac_ct_STRIP"; then
48818 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
48819 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
48820 else
48821 { echo "$as_me:$LINENO: result: no" >&5
48822 echo "${ECHO_T}no" >&6; }
48823 fi
48824
48825 if test "x$ac_ct_STRIP" = x; then
48826 STRIP=":"
48827 else
48828 case $cross_compiling:$ac_tool_warned in
48829 yes:)
48830 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48831 whose name does not start with the host triplet. If you think this
48832 configuration is useful to you, please write to autoconf@gnu.org." >&5
48833 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48834 whose name does not start with the host triplet. If you think this
48835 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48836 ac_tool_warned=yes ;;
48837 esac
48838 STRIP=$ac_ct_STRIP
48839 fi
48840 else
48841 STRIP="$ac_cv_prog_STRIP"
48842 fi
48843
48844 if test -n "$ac_tool_prefix"; then
48845 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
48846 set dummy ${ac_tool_prefix}nm; ac_word=$2
48847 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48848 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48849 if test "${ac_cv_prog_NM+set}" = set; then
48850 echo $ECHO_N "(cached) $ECHO_C" >&6
48851 else
48852 if test -n "$NM"; then
48853 ac_cv_prog_NM="$NM" # Let the user override the test.
48854 else
48855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48856 for as_dir in $PATH
48857 do
48858 IFS=$as_save_IFS
48859 test -z "$as_dir" && as_dir=.
48860 for ac_exec_ext in '' $ac_executable_extensions; do
48861 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48862 ac_cv_prog_NM="${ac_tool_prefix}nm"
48863 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48864 break 2
48865 fi
48866 done
48867 done
48868 IFS=$as_save_IFS
48869
48870 fi
48871 fi
48872 NM=$ac_cv_prog_NM
48873 if test -n "$NM"; then
48874 { echo "$as_me:$LINENO: result: $NM" >&5
48875 echo "${ECHO_T}$NM" >&6; }
48876 else
48877 { echo "$as_me:$LINENO: result: no" >&5
48878 echo "${ECHO_T}no" >&6; }
48879 fi
48880
48881
48882 fi
48883 if test -z "$ac_cv_prog_NM"; then
48884 ac_ct_NM=$NM
48885 # Extract the first word of "nm", so it can be a program name with args.
48886 set dummy nm; ac_word=$2
48887 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48888 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48889 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
48890 echo $ECHO_N "(cached) $ECHO_C" >&6
48891 else
48892 if test -n "$ac_ct_NM"; then
48893 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
48894 else
48895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48896 for as_dir in $PATH
48897 do
48898 IFS=$as_save_IFS
48899 test -z "$as_dir" && as_dir=.
48900 for ac_exec_ext in '' $ac_executable_extensions; do
48901 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48902 ac_cv_prog_ac_ct_NM="nm"
48903 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48904 break 2
48905 fi
48906 done
48907 done
48908 IFS=$as_save_IFS
48909
48910 fi
48911 fi
48912 ac_ct_NM=$ac_cv_prog_ac_ct_NM
48913 if test -n "$ac_ct_NM"; then
48914 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
48915 echo "${ECHO_T}$ac_ct_NM" >&6; }
48916 else
48917 { echo "$as_me:$LINENO: result: no" >&5
48918 echo "${ECHO_T}no" >&6; }
48919 fi
48920
48921 if test "x$ac_ct_NM" = x; then
48922 NM=":"
48923 else
48924 case $cross_compiling:$ac_tool_warned in
48925 yes:)
48926 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48927 whose name does not start with the host triplet. If you think this
48928 configuration is useful to you, please write to autoconf@gnu.org." >&5
48929 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48930 whose name does not start with the host triplet. If you think this
48931 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48932 ac_tool_warned=yes ;;
48933 esac
48934 NM=$ac_ct_NM
48935 fi
48936 else
48937 NM="$ac_cv_prog_NM"
48938 fi
48939
48940
48941 { echo "$as_me:$LINENO: checking for command to install directories" >&5
48942 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
48943 INSTALL_TEST_DIR=acbftest$$
48944 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
48945 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
48946 rmdir $INSTALL_TEST_DIR
48947 INSTALL_DIR='$(INSTALL) -d'
48948 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
48949 echo "${ECHO_T}$INSTALL -d" >&6; }
48950 else
48951 INSTALL_DIR="mkdir -p"
48952 { echo "$as_me:$LINENO: result: mkdir -p" >&5
48953 echo "${ECHO_T}mkdir -p" >&6; }
48954 fi
48955
48956
48957 LDFLAGS_GUI=
48958 case ${BAKEFILE_HOST} in
48959 *-*-cygwin* | *-*-mingw32* )
48960 LDFLAGS_GUI="-mwindows"
48961 esac
48962
48963
48964 fi
48965
48966 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
48967 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
48968 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
48969 echo $ECHO_N "(cached) $ECHO_C" >&6
48970 else
48971
48972 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
48973 egrep -s GNU > /dev/null); then
48974 bakefile_cv_prog_makeisgnu="yes"
48975 else
48976 bakefile_cv_prog_makeisgnu="no"
48977 fi
48978
48979 fi
48980 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
48981 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
48982
48983 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
48984 IF_GNU_MAKE=""
48985 else
48986 IF_GNU_MAKE="#"
48987 fi
48988
48989
48990
48991 PLATFORM_UNIX=0
48992 PLATFORM_WIN32=0
48993 PLATFORM_MSDOS=0
48994 PLATFORM_MAC=0
48995 PLATFORM_MACOS=0
48996 PLATFORM_MACOSX=0
48997 PLATFORM_OS2=0
48998 PLATFORM_BEOS=0
48999
49000 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
49001 case "${BAKEFILE_HOST}" in
49002 *-*-mingw32* )
49003 PLATFORM_WIN32=1
49004 ;;
49005 *-pc-msdosdjgpp )
49006 PLATFORM_MSDOS=1
49007 ;;
49008 *-pc-os2_emx | *-pc-os2-emx )
49009 PLATFORM_OS2=1
49010 ;;
49011 *-*-darwin* )
49012 PLATFORM_MAC=1
49013 PLATFORM_MACOSX=1
49014 ;;
49015 *-*-beos* )
49016 PLATFORM_BEOS=1
49017 ;;
49018 powerpc-apple-macos* )
49019 PLATFORM_MAC=1
49020 PLATFORM_MACOS=1
49021 ;;
49022 * )
49023 PLATFORM_UNIX=1
49024 ;;
49025 esac
49026 else
49027 case "$BAKEFILE_FORCE_PLATFORM" in
49028 win32 )
49029 PLATFORM_WIN32=1
49030 ;;
49031 msdos )
49032 PLATFORM_MSDOS=1
49033 ;;
49034 os2 )
49035 PLATFORM_OS2=1
49036 ;;
49037 darwin )
49038 PLATFORM_MAC=1
49039 PLATFORM_MACOSX=1
49040 ;;
49041 unix )
49042 PLATFORM_UNIX=1
49043 ;;
49044 beos )
49045 PLATFORM_BEOS=1
49046 ;;
49047 * )
49048 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
49049 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
49050 { (exit 1); exit 1; }; }
49051 ;;
49052 esac
49053 fi
49054
49055
49056
49057
49058
49059
49060
49061
49062
49063
49064
49065 # Check whether --enable-omf was given.
49066 if test "${enable_omf+set}" = set; then
49067 enableval=$enable_omf; bk_os2_use_omf="$enableval"
49068 fi
49069
49070
49071 case "${BAKEFILE_HOST}" in
49072 *-*-darwin* )
49073 if test "x$GCC" = "xyes"; then
49074 CFLAGS="$CFLAGS -fno-common"
49075 CXXFLAGS="$CXXFLAGS -fno-common"
49076 fi
49077 if test "x$XLCC" = "xyes"; then
49078 CFLAGS="$CFLAGS -qnocommon"
49079 CXXFLAGS="$CXXFLAGS -qnocommon"
49080 fi
49081 ;;
49082
49083 *-pc-os2_emx | *-pc-os2-emx )
49084 if test "x$bk_os2_use_omf" = "xyes" ; then
49085 AR=emxomfar
49086 RANLIB=:
49087 LDFLAGS="-Zomf $LDFLAGS"
49088 CFLAGS="-Zomf $CFLAGS"
49089 CXXFLAGS="-Zomf $CXXFLAGS"
49090 OS2_LIBEXT="lib"
49091 else
49092 OS2_LIBEXT="a"
49093 fi
49094 ;;
49095
49096 i*86-*-beos* )
49097 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
49098 ;;
49099 esac
49100
49101
49102 SO_SUFFIX="so"
49103 SO_SUFFIX_MODULE="so"
49104 EXEEXT=""
49105 LIBPREFIX="lib"
49106 LIBEXT=".a"
49107 DLLPREFIX="lib"
49108 DLLPREFIX_MODULE=""
49109 DLLIMP_SUFFIX=""
49110 dlldir="$libdir"
49111
49112 case "${BAKEFILE_HOST}" in
49113 ia64-hp-hpux* )
49114 ;;
49115 *-hp-hpux* )
49116 SO_SUFFIX="sl"
49117 SO_SUFFIX_MODULE="sl"
49118 ;;
49119 *-*-aix* )
49120 SO_SUFFIX="a"
49121 SO_SUFFIX_MODULE="a"
49122 ;;
49123 *-*-cygwin* )
49124 SO_SUFFIX="dll"
49125 SO_SUFFIX_MODULE="dll"
49126 DLLIMP_SUFFIX="dll.a"
49127 EXEEXT=".exe"
49128 DLLPREFIX="cyg"
49129 dlldir="$bindir"
49130 ;;
49131 *-*-mingw32* )
49132 SO_SUFFIX="dll"
49133 SO_SUFFIX_MODULE="dll"
49134 DLLIMP_SUFFIX="dll.a"
49135 EXEEXT=".exe"
49136 DLLPREFIX=""
49137 dlldir="$bindir"
49138 ;;
49139 *-pc-msdosdjgpp )
49140 EXEEXT=".exe"
49141 DLLPREFIX=""
49142 dlldir="$bindir"
49143 ;;
49144 *-pc-os2_emx | *-pc-os2-emx )
49145 SO_SUFFIX="dll"
49146 SO_SUFFIX_MODULE="dll"
49147 DLLIMP_SUFFIX=$OS2_LIBEXT
49148 EXEEXT=".exe"
49149 DLLPREFIX=""
49150 LIBPREFIX=""
49151 LIBEXT=".$OS2_LIBEXT"
49152 dlldir="$bindir"
49153 ;;
49154 *-*-darwin* )
49155 SO_SUFFIX="dylib"
49156 SO_SUFFIX_MODULE="bundle"
49157 ;;
49158 esac
49159
49160 if test "x$DLLIMP_SUFFIX" = "x" ; then
49161 DLLIMP_SUFFIX="$SO_SUFFIX"
49162 fi
49163
49164
49165
49166
49167
49168
49169
49170
49171
49172
49173
49174
49175 PIC_FLAG=""
49176 if test "x$GCC" = "xyes"; then
49177 PIC_FLAG="-fPIC"
49178 fi
49179
49180 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
49181 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
49182 WINDOWS_IMPLIB=0
49183
49184 case "${BAKEFILE_HOST}" in
49185 *-hp-hpux* )
49186 if test "x$GCC" != "xyes"; then
49187 LDFLAGS="$LDFLAGS -L/usr/lib"
49188
49189 SHARED_LD_CC="${CC} -b -o"
49190 SHARED_LD_CXX="${CXX} -b -o"
49191 PIC_FLAG="+Z"
49192 fi
49193 ;;
49194
49195 *-*-linux* )
49196 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
49197 PIC_FLAG="-KPIC"
49198 elif test "x$SUNCXX" = "xyes"; then
49199 SHARED_LD_CC="${CC} -G -o"
49200 SHARED_LD_CXX="${CXX} -G -o"
49201 PIC_FLAG="-KPIC"
49202 fi
49203 ;;
49204
49205 *-*-solaris2* )
49206 if test "x$SUNCXX" = xyes ; then
49207 SHARED_LD_CC="${CC} -G -o"
49208 SHARED_LD_CXX="${CXX} -G -o"
49209 PIC_FLAG="-KPIC"
49210 fi
49211 ;;
49212
49213 *-*-darwin* )
49214
49215 D='$'
49216 cat <<EOF >shared-ld-sh
49217 #!/bin/sh
49218 #-----------------------------------------------------------------------------
49219 #-- Name: distrib/mac/shared-ld-sh
49220 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
49221 #-- Author: Gilles Depeyrot
49222 #-- Copyright: (c) 2002 Gilles Depeyrot
49223 #-- Licence: any use permitted
49224 #-----------------------------------------------------------------------------
49225
49226 verbose=0
49227 args=""
49228 objects=""
49229 linking_flag="-dynamiclib"
49230 ldargs="-r -keep_private_externs -nostdlib"
49231
49232 if test "x${D}CXX" = "x"; then
49233 CXX="c++"
49234 fi
49235
49236 while test ${D}# -gt 0; do
49237 case ${D}1 in
49238
49239 -v)
49240 verbose=1
49241 ;;
49242
49243 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
49244 # collect these options and values
49245 args="${D}{args} ${D}1 ${D}2"
49246 shift
49247 ;;
49248
49249 -arch|-isysroot)
49250 # collect these options and values
49251 ldargs="${D}{ldargs} ${D}1 ${D}2"
49252 shift
49253 ;;
49254
49255 -s|-Wl,*)
49256 # collect these load args
49257 ldargs="${D}{ldargs} ${D}1"
49258 ;;
49259
49260 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
49261 # collect these options
49262 args="${D}{args} ${D}1"
49263 ;;
49264
49265 -dynamiclib|-bundle)
49266 linking_flag="${D}1"
49267 ;;
49268
49269 -*)
49270 echo "shared-ld: unhandled option '${D}1'"
49271 exit 1
49272 ;;
49273
49274 *.o | *.a | *.dylib)
49275 # collect object files
49276 objects="${D}{objects} ${D}1"
49277 ;;
49278
49279 *)
49280 echo "shared-ld: unhandled argument '${D}1'"
49281 exit 1
49282 ;;
49283
49284 esac
49285 shift
49286 done
49287
49288 status=0
49289
49290 #
49291 # Link one module containing all the others
49292 #
49293 if test ${D}{verbose} = 1; then
49294 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
49295 fi
49296 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
49297 status=${D}?
49298
49299 #
49300 # Link the shared library from the single module created, but only if the
49301 # previous command didn't fail:
49302 #
49303 if test ${D}{status} = 0; then
49304 if test ${D}{verbose} = 1; then
49305 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
49306 fi
49307 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
49308 status=${D}?
49309 fi
49310
49311 #
49312 # Remove intermediate module
49313 #
49314 rm -f master.${D}${D}.o
49315
49316 exit ${D}status
49317 EOF
49318
49319 chmod +x shared-ld-sh
49320
49321 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
49322 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
49323
49324
49325 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
49326 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
49327 if test "${bakefile_cv_gcc31+set}" = set; then
49328 echo $ECHO_N "(cached) $ECHO_C" >&6
49329 else
49330
49331 cat >conftest.$ac_ext <<_ACEOF
49332 /* confdefs.h. */
49333 _ACEOF
49334 cat confdefs.h >>conftest.$ac_ext
49335 cat >>conftest.$ac_ext <<_ACEOF
49336 /* end confdefs.h. */
49337
49338 int
49339 main ()
49340 {
49341
49342 #if (__GNUC__ < 3) || \
49343 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
49344 This is old gcc
49345 #endif
49346
49347 ;
49348 return 0;
49349 }
49350 _ACEOF
49351 rm -f conftest.$ac_objext
49352 if { (ac_try="$ac_compile"
49353 case "(($ac_try" in
49354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49355 *) ac_try_echo=$ac_try;;
49356 esac
49357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49358 (eval "$ac_compile") 2>conftest.er1
49359 ac_status=$?
49360 grep -v '^ *+' conftest.er1 >conftest.err
49361 rm -f conftest.er1
49362 cat conftest.err >&5
49363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49364 (exit $ac_status); } && {
49365 test -z "$ac_c_werror_flag" ||
49366 test ! -s conftest.err
49367 } && test -s conftest.$ac_objext; then
49368
49369 bakefile_cv_gcc31=yes
49370
49371 else
49372 echo "$as_me: failed program was:" >&5
49373 sed 's/^/| /' conftest.$ac_ext >&5
49374
49375
49376 bakefile_cv_gcc31=no
49377
49378
49379 fi
49380
49381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49382
49383 fi
49384 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
49385 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
49386 if test "$bakefile_cv_gcc31" = "no"; then
49387 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
49388 SHARED_LD_CXX="$SHARED_LD_CC"
49389 else
49390 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
49391 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
49392 fi
49393
49394 if test "x$GCC" == "xyes"; then
49395 PIC_FLAG="-dynamic -fPIC"
49396 fi
49397 if test "x$XLCC" = "xyes"; then
49398 PIC_FLAG="-dynamic -DPIC"
49399 fi
49400 ;;
49401
49402 *-*-aix* )
49403 if test "x$GCC" = "xyes"; then
49404 PIC_FLAG=""
49405
49406 case "${BAKEFILE_HOST}" in
49407 *-*-aix5* )
49408 LD_EXPFULL="-Wl,-bexpfull"
49409 ;;
49410 esac
49411
49412 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
49413 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
49414 else
49415 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
49416 set dummy makeC++SharedLib; ac_word=$2
49417 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49418 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49419 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
49420 echo $ECHO_N "(cached) $ECHO_C" >&6
49421 else
49422 if test -n "$AIX_CXX_LD"; then
49423 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
49424 else
49425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49426 for as_dir in $PATH
49427 do
49428 IFS=$as_save_IFS
49429 test -z "$as_dir" && as_dir=.
49430 for ac_exec_ext in '' $ac_executable_extensions; do
49431 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49432 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
49433 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49434 break 2
49435 fi
49436 done
49437 done
49438 IFS=$as_save_IFS
49439
49440 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
49441 fi
49442 fi
49443 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
49444 if test -n "$AIX_CXX_LD"; then
49445 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
49446 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
49447 else
49448 { echo "$as_me:$LINENO: result: no" >&5
49449 echo "${ECHO_T}no" >&6; }
49450 fi
49451
49452
49453 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
49454 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
49455 fi
49456 ;;
49457
49458 *-*-beos* )
49459 SHARED_LD_CC="${LD} -nostart -o"
49460 SHARED_LD_CXX="${LD} -nostart -o"
49461 ;;
49462
49463 *-*-irix* )
49464 if test "x$GCC" != "xyes"; then
49465 PIC_FLAG="-KPIC"
49466 fi
49467 ;;
49468
49469 *-*-cygwin* | *-*-mingw32* )
49470 PIC_FLAG=""
49471 SHARED_LD_CC="\$(CC) -shared -o"
49472 SHARED_LD_CXX="\$(CXX) -shared -o"
49473 WINDOWS_IMPLIB=1
49474 ;;
49475
49476 *-pc-os2_emx | *-pc-os2-emx )
49477 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49478 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49479 PIC_FLAG=""
49480
49481 D='$'
49482 cat <<EOF >dllar.sh
49483 #!/bin/sh
49484 #
49485 # dllar - a tool to build both a .dll and an .a file
49486 # from a set of object (.o) files for EMX/OS2.
49487 #
49488 # Written by Andrew Zabolotny, bit@freya.etu.ru
49489 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
49490 #
49491 # This script will accept a set of files on the command line.
49492 # All the public symbols from the .o files will be exported into
49493 # a .DEF file, then linker will be run (through gcc) against them to
49494 # build a shared library consisting of all given .o files. All libraries
49495 # (.a) will be first decompressed into component .o files then act as
49496 # described above. You can optionally give a description (-d "description")
49497 # which will be put into .DLL. To see the list of accepted options (as well
49498 # as command-line format) simply run this program without options. The .DLL
49499 # is built to be imported by name (there is no guarantee that new versions
49500 # of the library you build will have same ordinals for same symbols).
49501 #
49502 # dllar is free software; you can redistribute it and/or modify
49503 # it under the terms of the GNU General Public License as published by
49504 # the Free Software Foundation; either version 2, or (at your option)
49505 # any later version.
49506 #
49507 # dllar is distributed in the hope that it will be useful,
49508 # but WITHOUT ANY WARRANTY; without even the implied warranty of
49509 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
49510 # GNU General Public License for more details.
49511 #
49512 # You should have received a copy of the GNU General Public License
49513 # along with dllar; see the file COPYING. If not, write to the Free
49514 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
49515 # 02111-1307, USA.
49516
49517 # To successfuly run this program you will need:
49518 # - Current drive should have LFN support (HPFS, ext2, network, etc)
49519 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
49520 # - gcc
49521 # (used to build the .dll)
49522 # - emxexp
49523 # (used to create .def file from .o files)
49524 # - emximp
49525 # (used to create .a file from .def file)
49526 # - GNU text utilites (cat, sort, uniq)
49527 # used to process emxexp output
49528 # - GNU file utilities (mv, rm)
49529 # - GNU sed
49530 # - lxlite (optional, see flag below)
49531 # (used for general .dll cleanup)
49532 #
49533
49534 flag_USE_LXLITE=1;
49535
49536 #
49537 # helper functions
49538 # basnam, variant of basename, which does _not_ remove the path, _iff_
49539 # second argument (suffix to remove) is given
49540 basnam(){
49541 case ${D}# in
49542 1)
49543 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
49544 ;;
49545 2)
49546 echo ${D}1 | sed 's/'${D}2'${D}//'
49547 ;;
49548 *)
49549 echo "error in basnam ${D}*"
49550 exit 8
49551 ;;
49552 esac
49553 }
49554
49555 # Cleanup temporary files and output
49556 CleanUp() {
49557 cd ${D}curDir
49558 for i in ${D}inputFiles ; do
49559 case ${D}i in
49560 *!)
49561 rm -rf \`basnam ${D}i !\`
49562 ;;
49563 *)
49564 ;;
49565 esac
49566 done
49567
49568 # Kill result in case of failure as there is just to many stupid make/nmake
49569 # things out there which doesn't do this.
49570 if [ ${D}# -eq 0 ]; then
49571 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
49572 fi
49573 }
49574
49575 # Print usage and exit script with rc=1.
49576 PrintHelp() {
49577 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
49578 echo ' [-name-mangler-script script.sh]'
49579 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
49580 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
49581 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
49582 echo ' [*.o] [*.a]'
49583 echo '*> "output_file" should have no extension.'
49584 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
49585 echo ' The import library name is derived from this and is set to "name".a,'
49586 echo ' unless overridden by -import'
49587 echo '*> "importlib_name" should have no extension.'
49588 echo ' If it has the .o, or .a extension, it is automatically removed.'
49589 echo ' This name is used as the import library name and may be longer and'
49590 echo ' more descriptive than the DLL name which has to follow the old '
49591 echo ' 8.3 convention of FAT.'
49592 echo '*> "script.sh may be given to override the output_file name by a'
49593 echo ' different name. It is mainly useful if the regular make process'
49594 echo ' of some package does not take into account OS/2 restriction of'
49595 echo ' DLL name lengths. It takes the importlib name as input and is'
49596 echo ' supposed to procude a shorter name as output. The script should'
49597 echo ' expect to get importlib_name without extension and should produce'
49598 echo ' a (max.) 8 letter name without extension.'
49599 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
49600 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
49601 echo ' These flags will be put at the start of GCC command line.'
49602 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
49603 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
49604 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
49605 echo ' If the last character of a symbol is "*", all symbols beginning'
49606 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
49607 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
49608 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
49609 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
49610 echo ' C runtime DLLs.'
49611 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
49612 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
49613 echo ' unchanged to GCC at the end of command line.'
49614 echo '*> If you create a DLL from a library and you do not specify -o,'
49615 echo ' the basename for DLL and import library will be set to library name,'
49616 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
49617 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
49618 echo ' library will be renamed into gcc_s.a.'
49619 echo '--------'
49620 echo 'Example:'
49621 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
49622 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
49623 CleanUp
49624 exit 1
49625 }
49626
49627 # Execute a command.
49628 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
49629 # @Uses Whatever CleanUp() uses.
49630 doCommand() {
49631 echo "${D}*"
49632 eval ${D}*
49633 rcCmd=${D}?
49634
49635 if [ ${D}rcCmd -ne 0 ]; then
49636 echo "command failed, exit code="${D}rcCmd
49637 CleanUp
49638 exit ${D}rcCmd
49639 fi
49640 }
49641
49642 # main routine
49643 # setup globals
49644 cmdLine=${D}*
49645 outFile=""
49646 outimpFile=""
49647 inputFiles=""
49648 renameScript=""
49649 description=""
49650 CC=gcc.exe
49651 CFLAGS="-s -Zcrtdll"
49652 EXTRA_CFLAGS=""
49653 EXPORT_BY_ORDINALS=0
49654 exclude_symbols=""
49655 library_flags=""
49656 curDir=\`pwd\`
49657 curDirS=curDir
49658 case ${D}curDirS in
49659 */)
49660 ;;
49661 *)
49662 curDirS=${D}{curDirS}"/"
49663 ;;
49664 esac
49665 # Parse commandline
49666 libsToLink=0
49667 omfLinking=0
49668 while [ ${D}1 ]; do
49669 case ${D}1 in
49670 -ord*)
49671 EXPORT_BY_ORDINALS=1;
49672 ;;
49673 -o*)
49674 shift
49675 outFile=${D}1
49676 ;;
49677 -i*)
49678 shift
49679 outimpFile=${D}1
49680 ;;
49681 -name-mangler-script)
49682 shift
49683 renameScript=${D}1
49684 ;;
49685 -d*)
49686 shift
49687 description=${D}1
49688 ;;
49689 -f*)
49690 shift
49691 CFLAGS=${D}1
49692 ;;
49693 -c*)
49694 shift
49695 CC=${D}1
49696 ;;
49697 -h*)
49698 PrintHelp
49699 ;;
49700 -ex*)
49701 shift
49702 exclude_symbols=${D}{exclude_symbols}${D}1" "
49703 ;;
49704 -libf*)
49705 shift
49706 library_flags=${D}{library_flags}${D}1" "
49707 ;;
49708 -nocrt*)
49709 CFLAGS="-s"
49710 ;;
49711 -nolxl*)
49712 flag_USE_LXLITE=0
49713 ;;
49714 -* | /*)
49715 case ${D}1 in
49716 -L* | -l*)
49717 libsToLink=1
49718 ;;
49719 -Zomf)
49720 omfLinking=1
49721 ;;
49722 *)
49723 ;;
49724 esac
49725 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49726 ;;
49727 *.dll)
49728 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
49729 if [ ${D}omfLinking -eq 1 ]; then
49730 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
49731 else
49732 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
49733 fi
49734 ;;
49735 *)
49736 found=0;
49737 if [ ${D}libsToLink -ne 0 ]; then
49738 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49739 else
49740 for file in ${D}1 ; do
49741 if [ -f ${D}file ]; then
49742 inputFiles="${D}{inputFiles} ${D}file"
49743 found=1
49744 fi
49745 done
49746 if [ ${D}found -eq 0 ]; then
49747 echo "ERROR: No file(s) found: "${D}1
49748 exit 8
49749 fi
49750 fi
49751 ;;
49752 esac
49753 shift
49754 done # iterate cmdline words
49755
49756 #
49757 if [ -z "${D}inputFiles" ]; then
49758 echo "dllar: no input files"
49759 PrintHelp
49760 fi
49761
49762 # Now extract all .o files from .a files
49763 newInputFiles=""
49764 for file in ${D}inputFiles ; do
49765 case ${D}file in
49766 *.a | *.lib)
49767 case ${D}file in
49768 *.a)
49769 suffix=".a"
49770 AR="ar"
49771 ;;
49772 *.lib)
49773 suffix=".lib"
49774 AR="emxomfar"
49775 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
49776 ;;
49777 *)
49778 ;;
49779 esac
49780 dirname=\`basnam ${D}file ${D}suffix\`"_%"
49781 mkdir ${D}dirname
49782 if [ ${D}? -ne 0 ]; then
49783 echo "Failed to create subdirectory ./${D}dirname"
49784 CleanUp
49785 exit 8;
49786 fi
49787 # Append '!' to indicate archive
49788 newInputFiles="${D}newInputFiles ${D}{dirname}!"
49789 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
49790 cd ${D}curDir
49791 found=0;
49792 for subfile in ${D}dirname/*.o* ; do
49793 if [ -f ${D}subfile ]; then
49794 found=1
49795 if [ -s ${D}subfile ]; then
49796 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
49797 newInputFiles="${D}newInputFiles ${D}subfile"
49798 fi
49799 fi
49800 done
49801 if [ ${D}found -eq 0 ]; then
49802 echo "WARNING: there are no files in archive \\'${D}file\\'"
49803 fi
49804 ;;
49805 *)
49806 newInputFiles="${D}{newInputFiles} ${D}file"
49807 ;;
49808 esac
49809 done
49810 inputFiles="${D}newInputFiles"
49811
49812 # Output filename(s).
49813 do_backup=0;
49814 if [ -z ${D}outFile ]; then
49815 do_backup=1;
49816 set outFile ${D}inputFiles; outFile=${D}2
49817 fi
49818
49819 # If it is an archive, remove the '!' and the '_%' suffixes
49820 case ${D}outFile in
49821 *_%!)
49822 outFile=\`basnam ${D}outFile _%!\`
49823 ;;
49824 *)
49825 ;;
49826 esac
49827 case ${D}outFile in
49828 *.dll)
49829 outFile=\`basnam ${D}outFile .dll\`
49830 ;;
49831 *.DLL)
49832 outFile=\`basnam ${D}outFile .DLL\`
49833 ;;
49834 *.o)
49835 outFile=\`basnam ${D}outFile .o\`
49836 ;;
49837 *.obj)
49838 outFile=\`basnam ${D}outFile .obj\`
49839 ;;
49840 *.a)
49841 outFile=\`basnam ${D}outFile .a\`
49842 ;;
49843 *.lib)
49844 outFile=\`basnam ${D}outFile .lib\`
49845 ;;
49846 *)
49847 ;;
49848 esac
49849 case ${D}outimpFile in
49850 *.a)
49851 outimpFile=\`basnam ${D}outimpFile .a\`
49852 ;;
49853 *.lib)
49854 outimpFile=\`basnam ${D}outimpFile .lib\`
49855 ;;
49856 *)
49857 ;;
49858 esac
49859 if [ -z ${D}outimpFile ]; then
49860 outimpFile=${D}outFile
49861 fi
49862 defFile="${D}{outFile}.def"
49863 arcFile="${D}{outimpFile}.a"
49864 arcFile2="${D}{outimpFile}.lib"
49865
49866 #create ${D}dllFile as something matching 8.3 restrictions,
49867 if [ -z ${D}renameScript ] ; then
49868 dllFile="${D}outFile"
49869 else
49870 dllFile=\`${D}renameScript ${D}outimpFile\`
49871 fi
49872
49873 if [ ${D}do_backup -ne 0 ] ; then
49874 if [ -f ${D}arcFile ] ; then
49875 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
49876 fi
49877 if [ -f ${D}arcFile2 ] ; then
49878 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
49879 fi
49880 fi
49881
49882 # Extract public symbols from all the object files.
49883 tmpdefFile=${D}{defFile}_%
49884 rm -f ${D}tmpdefFile
49885 for file in ${D}inputFiles ; do
49886 case ${D}file in
49887 *!)
49888 ;;
49889 *)
49890 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
49891 ;;
49892 esac
49893 done
49894
49895 # Create the def file.
49896 rm -f ${D}defFile
49897 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
49898 dllFile="${D}{dllFile}.dll"
49899 if [ ! -z ${D}description ]; then
49900 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
49901 fi
49902 echo "EXPORTS" >> ${D}defFile
49903
49904 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
49905 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
49906
49907 # Checks if the export is ok or not.
49908 for word in ${D}exclude_symbols; do
49909 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
49910 mv ${D}{tmpdefFile}% ${D}tmpdefFile
49911 done
49912
49913
49914 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49915 sed "=" < ${D}tmpdefFile | \\
49916 sed '
49917 N
49918 : loop
49919 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
49920 t loop
49921 ' > ${D}{tmpdefFile}%
49922 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
49923 else
49924 rm -f ${D}{tmpdefFile}%
49925 fi
49926 cat ${D}tmpdefFile >> ${D}defFile
49927 rm -f ${D}tmpdefFile
49928
49929 # Do linking, create implib, and apply lxlite.
49930 gccCmdl="";
49931 for file in ${D}inputFiles ; do
49932 case ${D}file in
49933 *!)
49934 ;;
49935 *)
49936 gccCmdl="${D}gccCmdl ${D}file"
49937 ;;
49938 esac
49939 done
49940 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
49941 touch "${D}{outFile}.dll"
49942
49943 doCommand "emximp -o ${D}arcFile ${D}defFile"
49944 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
49945 add_flags="";
49946 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49947 add_flags="-ynd"
49948 fi
49949 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
49950 fi
49951 doCommand "emxomf -s -l ${D}arcFile"
49952
49953 # Successful exit.
49954 CleanUp 1
49955 exit 0
49956 EOF
49957
49958 chmod +x dllar.sh
49959 ;;
49960
49961 powerpc-apple-macos* | \
49962 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
49963 *-*-mirbsd* | \
49964 *-*-sunos4* | \
49965 *-*-osf* | \
49966 *-*-dgux5* | \
49967 *-*-sysv5* | \
49968 *-pc-msdosdjgpp )
49969 ;;
49970
49971 *)
49972 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
49973 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
49974 { (exit 1); exit 1; }; }
49975 esac
49976
49977 if test "x$PIC_FLAG" != "x" ; then
49978 PIC_FLAG="$PIC_FLAG -DPIC"
49979 fi
49980
49981 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
49982 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
49983 fi
49984 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
49985 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
49986 fi
49987
49988
49989
49990
49991
49992
49993
49994
49995
49996 USE_SOVERSION=0
49997 USE_SOVERLINUX=0
49998 USE_SOVERSOLARIS=0
49999 USE_SOVERCYGWIN=0
50000 USE_SOTWOSYMLINKS=0
50001 USE_MACVERSION=0
50002 SONAME_FLAG=
50003
50004 case "${BAKEFILE_HOST}" in
50005 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
50006 *-*-k*bsd*-gnu | *-*-mirbsd* )
50007 if test "x$SUNCXX" = "xyes"; then
50008 SONAME_FLAG="-h "
50009 else
50010 SONAME_FLAG="-Wl,-soname,"
50011 fi
50012 USE_SOVERSION=1
50013 USE_SOVERLINUX=1
50014 USE_SOTWOSYMLINKS=1
50015 ;;
50016
50017 *-*-solaris2* )
50018 SONAME_FLAG="-h "
50019 USE_SOVERSION=1
50020 USE_SOVERSOLARIS=1
50021 ;;
50022
50023 *-*-darwin* )
50024 USE_MACVERSION=1
50025 USE_SOVERSION=1
50026 USE_SOTWOSYMLINKS=1
50027 ;;
50028
50029 *-*-cygwin* )
50030 USE_SOVERSION=1
50031 USE_SOVERCYGWIN=1
50032 ;;
50033 esac
50034
50035
50036
50037
50038
50039
50040
50041
50042
50043
50044 # Check whether --enable-dependency-tracking was given.
50045 if test "${enable_dependency_tracking+set}" = set; then
50046 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
50047 fi
50048
50049
50050 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
50051 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
50052
50053 BK_DEPS=""
50054 if test "x$bk_use_trackdeps" = "xno" ; then
50055 DEPS_TRACKING=0
50056 { echo "$as_me:$LINENO: result: disabled" >&5
50057 echo "${ECHO_T}disabled" >&6; }
50058 else
50059 DEPS_TRACKING=1
50060
50061 if test "x$GCC" = "xyes"; then
50062 DEPSMODE=gcc
50063 case "${BAKEFILE_HOST}" in
50064 *-*-darwin* )
50065 DEPSFLAG="-no-cpp-precomp -MMD"
50066 ;;
50067 * )
50068 DEPSFLAG="-MMD"
50069 ;;
50070 esac
50071 { echo "$as_me:$LINENO: result: gcc" >&5
50072 echo "${ECHO_T}gcc" >&6; }
50073 elif test "x$MWCC" = "xyes"; then
50074 DEPSMODE=mwcc
50075 DEPSFLAG="-MM"
50076 { echo "$as_me:$LINENO: result: mwcc" >&5
50077 echo "${ECHO_T}mwcc" >&6; }
50078 elif test "x$SUNCC" = "xyes"; then
50079 DEPSMODE=unixcc
50080 DEPSFLAG="-xM1"
50081 { echo "$as_me:$LINENO: result: Sun cc" >&5
50082 echo "${ECHO_T}Sun cc" >&6; }
50083 elif test "x$SGICC" = "xyes"; then
50084 DEPSMODE=unixcc
50085 DEPSFLAG="-M"
50086 { echo "$as_me:$LINENO: result: SGI cc" >&5
50087 echo "${ECHO_T}SGI cc" >&6; }
50088 elif test "x$HPCC" = "xyes"; then
50089 DEPSMODE=unixcc
50090 DEPSFLAG="+make"
50091 { echo "$as_me:$LINENO: result: HP cc" >&5
50092 echo "${ECHO_T}HP cc" >&6; }
50093 elif test "x$COMPAQCC" = "xyes"; then
50094 DEPSMODE=gcc
50095 DEPSFLAG="-MD"
50096 { echo "$as_me:$LINENO: result: Compaq cc" >&5
50097 echo "${ECHO_T}Compaq cc" >&6; }
50098 else
50099 DEPS_TRACKING=0
50100 { echo "$as_me:$LINENO: result: none" >&5
50101 echo "${ECHO_T}none" >&6; }
50102 fi
50103
50104 if test $DEPS_TRACKING = 1 ; then
50105
50106 D='$'
50107 cat <<EOF >bk-deps
50108 #!/bin/sh
50109
50110 # This script is part of Bakefile (http://www.bakefile.org) autoconf
50111 # script. It is used to track C/C++ files dependencies in portable way.
50112 #
50113 # Permission is given to use this file in any way.
50114
50115 DEPSMODE=${DEPSMODE}
50116 DEPSFLAG="${DEPSFLAG}"
50117 DEPSDIRBASE=.deps
50118
50119 if test ${D}DEPSMODE = gcc ; then
50120 ${D}* ${D}{DEPSFLAG}
50121 status=${D}?
50122
50123 # determine location of created files:
50124 while test ${D}# -gt 0; do
50125 case "${D}1" in
50126 -o )
50127 shift
50128 objfile=${D}1
50129 ;;
50130 -* )
50131 ;;
50132 * )
50133 srcfile=${D}1
50134 ;;
50135 esac
50136 shift
50137 done
50138 objfilebase=\`basename ${D}objfile\`
50139 builddir=\`dirname ${D}objfile\`
50140 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
50141 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
50142 depsdir=${D}builddir/${D}DEPSDIRBASE
50143 mkdir -p ${D}depsdir
50144
50145 # if the compiler failed, we're done:
50146 if test ${D}{status} != 0 ; then
50147 rm -f ${D}depfile
50148 exit ${D}{status}
50149 fi
50150
50151 # move created file to the location we want it in:
50152 if test -f ${D}depfile ; then
50153 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
50154 rm -f ${D}depfile
50155 else
50156 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
50157 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
50158 if test ! -f ${D}depfile ; then
50159 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
50160 depfile="${D}objfile.d"
50161 fi
50162 if test -f ${D}depfile ; then
50163 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
50164 rm -f ${D}depfile
50165 fi
50166 fi
50167 exit 0
50168
50169 elif test ${D}DEPSMODE = mwcc ; then
50170 ${D}* || exit ${D}?
50171 # Run mwcc again with -MM and redirect into the dep file we want
50172 # NOTE: We can't use shift here because we need ${D}* to be valid
50173 prevarg=
50174 for arg in ${D}* ; do
50175 if test "${D}prevarg" = "-o"; then
50176 objfile=${D}arg
50177 else
50178 case "${D}arg" in
50179 -* )
50180 ;;
50181 * )
50182 srcfile=${D}arg
50183 ;;
50184 esac
50185 fi
50186 prevarg="${D}arg"
50187 done
50188
50189 objfilebase=\`basename ${D}objfile\`
50190 builddir=\`dirname ${D}objfile\`
50191 depsdir=${D}builddir/${D}DEPSDIRBASE
50192 mkdir -p ${D}depsdir
50193
50194 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
50195 exit 0
50196
50197 elif test ${D}DEPSMODE = unixcc; then
50198 ${D}* || exit ${D}?
50199 # Run compiler again with deps flag and redirect into the dep file.
50200 # It doesn't work if the '-o FILE' option is used, but without it the
50201 # dependency file will contain the wrong name for the object. So it is
50202 # removed from the command line, and the dep file is fixed with sed.
50203 cmd=""
50204 while test ${D}# -gt 0; do
50205 case "${D}1" in
50206 -o )
50207 shift
50208 objfile=${D}1
50209 ;;
50210 * )
50211 eval arg${D}#=\\${D}1
50212 cmd="${D}cmd \\${D}arg${D}#"
50213 ;;
50214 esac
50215 shift
50216 done
50217
50218 objfilebase=\`basename ${D}objfile\`
50219 builddir=\`dirname ${D}objfile\`
50220 depsdir=${D}builddir/${D}DEPSDIRBASE
50221 mkdir -p ${D}depsdir
50222
50223 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
50224 exit 0
50225
50226 else
50227 ${D}*
50228 exit ${D}?
50229 fi
50230 EOF
50231
50232 chmod +x bk-deps
50233 BK_DEPS="`pwd`/bk-deps"
50234 fi
50235 fi
50236
50237
50238
50239
50240
50241 case ${BAKEFILE_HOST} in
50242 *-*-cygwin* | *-*-mingw32* )
50243 if test -n "$ac_tool_prefix"; then
50244 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
50245 set dummy ${ac_tool_prefix}windres; ac_word=$2
50246 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50247 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50248 if test "${ac_cv_prog_WINDRES+set}" = set; then
50249 echo $ECHO_N "(cached) $ECHO_C" >&6
50250 else
50251 if test -n "$WINDRES"; then
50252 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
50253 else
50254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50255 for as_dir in $PATH
50256 do
50257 IFS=$as_save_IFS
50258 test -z "$as_dir" && as_dir=.
50259 for ac_exec_ext in '' $ac_executable_extensions; do
50260 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50261 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
50262 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50263 break 2
50264 fi
50265 done
50266 done
50267 IFS=$as_save_IFS
50268
50269 fi
50270 fi
50271 WINDRES=$ac_cv_prog_WINDRES
50272 if test -n "$WINDRES"; then
50273 { echo "$as_me:$LINENO: result: $WINDRES" >&5
50274 echo "${ECHO_T}$WINDRES" >&6; }
50275 else
50276 { echo "$as_me:$LINENO: result: no" >&5
50277 echo "${ECHO_T}no" >&6; }
50278 fi
50279
50280
50281 fi
50282 if test -z "$ac_cv_prog_WINDRES"; then
50283 ac_ct_WINDRES=$WINDRES
50284 # Extract the first word of "windres", so it can be a program name with args.
50285 set dummy windres; ac_word=$2
50286 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50287 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50288 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
50289 echo $ECHO_N "(cached) $ECHO_C" >&6
50290 else
50291 if test -n "$ac_ct_WINDRES"; then
50292 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
50293 else
50294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50295 for as_dir in $PATH
50296 do
50297 IFS=$as_save_IFS
50298 test -z "$as_dir" && as_dir=.
50299 for ac_exec_ext in '' $ac_executable_extensions; do
50300 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50301 ac_cv_prog_ac_ct_WINDRES="windres"
50302 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50303 break 2
50304 fi
50305 done
50306 done
50307 IFS=$as_save_IFS
50308
50309 fi
50310 fi
50311 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
50312 if test -n "$ac_ct_WINDRES"; then
50313 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
50314 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
50315 else
50316 { echo "$as_me:$LINENO: result: no" >&5
50317 echo "${ECHO_T}no" >&6; }
50318 fi
50319
50320 if test "x$ac_ct_WINDRES" = x; then
50321 WINDRES=""
50322 else
50323 case $cross_compiling:$ac_tool_warned in
50324 yes:)
50325 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50326 whose name does not start with the host triplet. If you think this
50327 configuration is useful to you, please write to autoconf@gnu.org." >&5
50328 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50329 whose name does not start with the host triplet. If you think this
50330 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50331 ac_tool_warned=yes ;;
50332 esac
50333 WINDRES=$ac_ct_WINDRES
50334 fi
50335 else
50336 WINDRES="$ac_cv_prog_WINDRES"
50337 fi
50338
50339 ;;
50340
50341 *-*-darwin* | powerpc-apple-macos* )
50342 # Extract the first word of "Rez", so it can be a program name with args.
50343 set dummy Rez; ac_word=$2
50344 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50345 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50346 if test "${ac_cv_prog_REZ+set}" = set; then
50347 echo $ECHO_N "(cached) $ECHO_C" >&6
50348 else
50349 if test -n "$REZ"; then
50350 ac_cv_prog_REZ="$REZ" # Let the user override the test.
50351 else
50352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50353 for as_dir in $PATH
50354 do
50355 IFS=$as_save_IFS
50356 test -z "$as_dir" && as_dir=.
50357 for ac_exec_ext in '' $ac_executable_extensions; do
50358 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50359 ac_cv_prog_REZ="Rez"
50360 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50361 break 2
50362 fi
50363 done
50364 done
50365 IFS=$as_save_IFS
50366
50367 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
50368 fi
50369 fi
50370 REZ=$ac_cv_prog_REZ
50371 if test -n "$REZ"; then
50372 { echo "$as_me:$LINENO: result: $REZ" >&5
50373 echo "${ECHO_T}$REZ" >&6; }
50374 else
50375 { echo "$as_me:$LINENO: result: no" >&5
50376 echo "${ECHO_T}no" >&6; }
50377 fi
50378
50379
50380 # Extract the first word of "SetFile", so it can be a program name with args.
50381 set dummy SetFile; ac_word=$2
50382 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50383 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50384 if test "${ac_cv_prog_SETFILE+set}" = set; then
50385 echo $ECHO_N "(cached) $ECHO_C" >&6
50386 else
50387 if test -n "$SETFILE"; then
50388 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
50389 else
50390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50391 for as_dir in $PATH
50392 do
50393 IFS=$as_save_IFS
50394 test -z "$as_dir" && as_dir=.
50395 for ac_exec_ext in '' $ac_executable_extensions; do
50396 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50397 ac_cv_prog_SETFILE="SetFile"
50398 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50399 break 2
50400 fi
50401 done
50402 done
50403 IFS=$as_save_IFS
50404
50405 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
50406 fi
50407 fi
50408 SETFILE=$ac_cv_prog_SETFILE
50409 if test -n "$SETFILE"; then
50410 { echo "$as_me:$LINENO: result: $SETFILE" >&5
50411 echo "${ECHO_T}$SETFILE" >&6; }
50412 else
50413 { echo "$as_me:$LINENO: result: no" >&5
50414 echo "${ECHO_T}no" >&6; }
50415 fi
50416
50417
50418 ;;
50419 esac
50420
50421
50422
50423
50424
50425
50426
50427
50428
50429 BAKEFILE_BAKEFILE_M4_VERSION="0.2.8"
50430
50431
50432 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.8"
50433
50434
50435
50436 # Check whether --enable-precomp-headers was given.
50437 if test "${enable_precomp_headers+set}" = set; then
50438 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
50439 fi
50440
50441
50442 GCC_PCH=0
50443 ICC_PCH=0
50444 USE_PCH=0
50445 BK_MAKE_PCH=""
50446
50447 case ${BAKEFILE_HOST} in
50448 *-*-cygwin* )
50449 bk_use_pch="no"
50450 ;;
50451 esac
50452
50453 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
50454 if test "x$GCC" = "xyes"; then
50455 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
50456 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
50457 cat >conftest.$ac_ext <<_ACEOF
50458 /* confdefs.h. */
50459 _ACEOF
50460 cat confdefs.h >>conftest.$ac_ext
50461 cat >>conftest.$ac_ext <<_ACEOF
50462 /* end confdefs.h. */
50463
50464 int
50465 main ()
50466 {
50467
50468 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
50469 There is no PCH support
50470 #endif
50471 #if (__GNUC__ < 3)
50472 There is no PCH support
50473 #endif
50474 #if (__GNUC__ == 3) && \
50475 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
50476 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
50477 ( defined(__INTEL_COMPILER) )
50478 There is no PCH support
50479 #endif
50480
50481 ;
50482 return 0;
50483 }
50484 _ACEOF
50485 rm -f conftest.$ac_objext
50486 if { (ac_try="$ac_compile"
50487 case "(($ac_try" in
50488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50489 *) ac_try_echo=$ac_try;;
50490 esac
50491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50492 (eval "$ac_compile") 2>conftest.er1
50493 ac_status=$?
50494 grep -v '^ *+' conftest.er1 >conftest.err
50495 rm -f conftest.er1
50496 cat conftest.err >&5
50497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50498 (exit $ac_status); } && {
50499 test -z "$ac_c_werror_flag" ||
50500 test ! -s conftest.err
50501 } && test -s conftest.$ac_objext; then
50502
50503 { echo "$as_me:$LINENO: result: yes" >&5
50504 echo "${ECHO_T}yes" >&6; }
50505 GCC_PCH=1
50506
50507 else
50508 echo "$as_me: failed program was:" >&5
50509 sed 's/^/| /' conftest.$ac_ext >&5
50510
50511
50512 if test "$INTELCXX8" = "yes"; then
50513 { echo "$as_me:$LINENO: result: yes" >&5
50514 echo "${ECHO_T}yes" >&6; }
50515 ICC_PCH=1
50516 if test "$INTELCXX10" = "yes"; then
50517 ICC_PCH_CREATE_SWITCH="-pch-create"
50518 ICC_PCH_USE_SWITCH="-pch-use"
50519 else
50520 ICC_PCH_CREATE_SWITCH="-create-pch"
50521 ICC_PCH_USE_SWITCH="-use-pch"
50522 fi
50523 else
50524 { echo "$as_me:$LINENO: result: no" >&5
50525 echo "${ECHO_T}no" >&6; }
50526 fi
50527
50528 fi
50529
50530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50531 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
50532 USE_PCH=1
50533
50534 D='$'
50535 cat <<EOF >bk-make-pch
50536 #!/bin/sh
50537
50538 # This script is part of Bakefile (http://www.bakefile.org) autoconf
50539 # script. It is used to generated precompiled headers.
50540 #
50541 # Permission is given to use this file in any way.
50542
50543 outfile="${D}{1}"
50544 header="${D}{2}"
50545 shift
50546 shift
50547
50548 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
50549
50550 compiler=""
50551 headerfile=""
50552
50553 while test ${D}{#} -gt 0; do
50554 add_to_cmdline=1
50555 case "${D}{1}" in
50556 -I* )
50557 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
50558 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
50559 headerfile="${D}{incdir}/${D}{header}"
50560 fi
50561 ;;
50562 -use-pch|-use_pch|-pch-use )
50563 shift
50564 add_to_cmdline=0
50565 ;;
50566 esac
50567 if test ${D}add_to_cmdline = 1 ; then
50568 compiler="${D}{compiler} ${D}{1}"
50569 fi
50570 shift
50571 done
50572
50573 if test "x${D}{headerfile}" = "x" ; then
50574 echo "error: can't find header ${D}{header} in include paths" >&2
50575 else
50576 if test -f ${D}{outfile} ; then
50577 rm -f ${D}{outfile}
50578 else
50579 mkdir -p \`dirname ${D}{outfile}\`
50580 fi
50581 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
50582 mkdir -p ${D}{builddir}/.deps
50583 if test "x${GCC_PCH}" = "x1" ; then
50584 # can do this because gcc is >= 3.4:
50585 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
50586 elif test "x${ICC_PCH}" = "x1" ; then
50587 filename=pch_gen-${D}${D}
50588 file=${D}{filename}.c
50589 dfile=${D}{filename}.d
50590 cat > ${D}file <<EOT
50591 #include "${D}header"
50592 EOT
50593 # using -MF icc complains about differing command lines in creation/use
50594 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
50595 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
50596 rm -f ${D}file ${D}dfile ${D}{filename}.o
50597 fi
50598 exit ${D}{?}
50599 fi
50600 EOF
50601
50602 chmod +x bk-make-pch
50603 BK_MAKE_PCH="`pwd`/bk-make-pch"
50604 fi
50605 fi
50606 fi
50607
50608
50609
50610
50611
50612
50613
50614 COND_BUILD_DEBUG="#"
50615 if test "x$BUILD" = "xdebug" ; then
50616 COND_BUILD_DEBUG=""
50617 fi
50618
50619 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
50620 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
50621 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
50622 fi
50623
50624 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
50625 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
50626 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
50627 fi
50628
50629 COND_BUILD_DEBUG_UNICODE_0="#"
50630 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
50631 COND_BUILD_DEBUG_UNICODE_0=""
50632 fi
50633
50634 COND_BUILD_DEBUG_UNICODE_1="#"
50635 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
50636 COND_BUILD_DEBUG_UNICODE_1=""
50637 fi
50638
50639 COND_BUILD_RELEASE="#"
50640 if test "x$BUILD" = "xrelease" ; then
50641 COND_BUILD_RELEASE=""
50642 fi
50643
50644 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
50645 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
50646 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
50647 fi
50648
50649 COND_BUILD_RELEASE_UNICODE_0="#"
50650 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
50651 COND_BUILD_RELEASE_UNICODE_0=""
50652 fi
50653
50654 COND_BUILD_RELEASE_UNICODE_1="#"
50655 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
50656 COND_BUILD_RELEASE_UNICODE_1=""
50657 fi
50658
50659 COND_BUILD_debug="#"
50660 if test "x$BUILD" = "xdebug" ; then
50661 COND_BUILD_debug=""
50662 fi
50663
50664 COND_BUILD_debug_DEBUG_FLAG_default="#"
50665 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
50666 COND_BUILD_debug_DEBUG_FLAG_default=""
50667 fi
50668
50669 COND_BUILD_debug_DEBUG_INFO_default="#"
50670 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
50671 COND_BUILD_debug_DEBUG_INFO_default=""
50672 fi
50673
50674 COND_BUILD_debug_UNICODE_0="#"
50675 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
50676 COND_BUILD_debug_UNICODE_0=""
50677 fi
50678
50679 COND_BUILD_debug_UNICODE_1="#"
50680 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
50681 COND_BUILD_debug_UNICODE_1=""
50682 fi
50683
50684 COND_BUILD_release="#"
50685 if test "x$BUILD" = "xrelease" ; then
50686 COND_BUILD_release=""
50687 fi
50688
50689 COND_BUILD_release_DEBUG_INFO_default="#"
50690 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
50691 COND_BUILD_release_DEBUG_INFO_default=""
50692 fi
50693
50694 COND_BUILD_release_UNICODE_0="#"
50695 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
50696 COND_BUILD_release_UNICODE_0=""
50697 fi
50698
50699 COND_BUILD_release_UNICODE_1="#"
50700 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
50701 COND_BUILD_release_UNICODE_1=""
50702 fi
50703
50704 COND_DEBUG_FLAG_0="#"
50705 if test "x$DEBUG_FLAG" = "x0" ; then
50706 COND_DEBUG_FLAG_0=""
50707 fi
50708
50709 COND_DEBUG_FLAG_1="#"
50710 if test "x$DEBUG_FLAG" = "x1" ; then
50711 COND_DEBUG_FLAG_1=""
50712 fi
50713
50714 COND_DEBUG_INFO_0="#"
50715 if test "x$DEBUG_INFO" = "x0" ; then
50716 COND_DEBUG_INFO_0=""
50717 fi
50718
50719 COND_DEBUG_INFO_1="#"
50720 if test "x$DEBUG_INFO" = "x1" ; then
50721 COND_DEBUG_INFO_1=""
50722 fi
50723
50724 COND_DEPS_TRACKING_0="#"
50725 if test "x$DEPS_TRACKING" = "x0" ; then
50726 COND_DEPS_TRACKING_0=""
50727 fi
50728
50729 COND_DEPS_TRACKING_1="#"
50730 if test "x$DEPS_TRACKING" = "x1" ; then
50731 COND_DEPS_TRACKING_1=""
50732 fi
50733
50734 COND_GCC_PCH_1="#"
50735 if test "x$GCC_PCH" = "x1" ; then
50736 COND_GCC_PCH_1=""
50737 fi
50738
50739 COND_ICC_PCH_1="#"
50740 if test "x$ICC_PCH" = "x1" ; then
50741 COND_ICC_PCH_1=""
50742 fi
50743
50744 COND_MONOLITHIC_0="#"
50745 if test "x$MONOLITHIC" = "x0" ; then
50746 COND_MONOLITHIC_0=""
50747 fi
50748
50749 COND_MONOLITHIC_0_SHARED_0="#"
50750 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
50751 COND_MONOLITHIC_0_SHARED_0=""
50752 fi
50753
50754 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
50755 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
50756 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
50757 fi
50758
50759 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
50760 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
50761 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
50762 fi
50763
50764 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
50765 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50766 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
50767 fi
50768
50769 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
50770 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50771 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
50772 fi
50773
50774 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
50775 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50776 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
50777 fi
50778
50779 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
50780 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
50781 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
50782 fi
50783
50784 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
50785 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
50786 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
50787 fi
50788
50789 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
50790 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50791 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
50792 fi
50793
50794 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
50795 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50796 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
50797 fi
50798
50799 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
50800 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
50801 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
50802 fi
50803
50804 COND_MONOLITHIC_0_SHARED_1="#"
50805 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
50806 COND_MONOLITHIC_0_SHARED_1=""
50807 fi
50808
50809 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
50810 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
50811 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
50812 fi
50813
50814 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
50815 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
50816 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
50817 fi
50818
50819 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
50820 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50821 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
50822 fi
50823
50824 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
50825 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50826 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
50827 fi
50828
50829 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
50830 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50831 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
50832 fi
50833
50834 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
50835 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
50836 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
50837 fi
50838
50839 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
50840 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
50841 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
50842 fi
50843
50844 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
50845 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
50846 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
50847 fi
50848
50849 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
50850 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
50851 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
50852 fi
50853
50854 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
50855 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
50856 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
50857 fi
50858
50859 COND_MONOLITHIC_0_USE_AUI_1="#"
50860 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
50861 COND_MONOLITHIC_0_USE_AUI_1=""
50862 fi
50863
50864 COND_MONOLITHIC_0_USE_GUI_1="#"
50865 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
50866 COND_MONOLITHIC_0_USE_GUI_1=""
50867 fi
50868
50869 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
50870 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50871 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
50872 fi
50873
50874 COND_MONOLITHIC_0_USE_HTML_1="#"
50875 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
50876 COND_MONOLITHIC_0_USE_HTML_1=""
50877 fi
50878
50879 COND_MONOLITHIC_0_USE_MEDIA_1="#"
50880 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
50881 COND_MONOLITHIC_0_USE_MEDIA_1=""
50882 fi
50883
50884 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
50885 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
50886 COND_MONOLITHIC_0_USE_PROPGRID_1=""
50887 fi
50888
50889 COND_MONOLITHIC_0_USE_QA_1="#"
50890 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
50891 COND_MONOLITHIC_0_USE_QA_1=""
50892 fi
50893
50894 COND_MONOLITHIC_0_USE_RIBBON_1="#"
50895 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
50896 COND_MONOLITHIC_0_USE_RIBBON_1=""
50897 fi
50898
50899 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
50900 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50901 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
50902 fi
50903
50904 COND_MONOLITHIC_0_USE_STC_1="#"
50905 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
50906 COND_MONOLITHIC_0_USE_STC_1=""
50907 fi
50908
50909 COND_MONOLITHIC_0_USE_XRC_1="#"
50910 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
50911 COND_MONOLITHIC_0_USE_XRC_1=""
50912 fi
50913
50914 COND_MONOLITHIC_1="#"
50915 if test "x$MONOLITHIC" = "x1" ; then
50916 COND_MONOLITHIC_1=""
50917 fi
50918
50919 COND_MONOLITHIC_1_SHARED_0="#"
50920 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
50921 COND_MONOLITHIC_1_SHARED_0=""
50922 fi
50923
50924 COND_MONOLITHIC_1_SHARED_1="#"
50925 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
50926 COND_MONOLITHIC_1_SHARED_1=""
50927 fi
50928
50929 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
50930 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
50931 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
50932 fi
50933
50934 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
50935 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
50936 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
50937 fi
50938
50939 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
50940 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50941 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
50942 fi
50943
50944 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
50945 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50946 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
50947 fi
50948
50949 COND_PLATFORM_MACOSX_1="#"
50950 if test "x$PLATFORM_MACOSX" = "x1" ; then
50951 COND_PLATFORM_MACOSX_1=""
50952 fi
50953
50954 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
50955 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
50956 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
50957 fi
50958
50959 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
50960 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
50961 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
50962 fi
50963
50964 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
50965 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50966 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
50967 fi
50968
50969 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
50970 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50971 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
50972 fi
50973
50974 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
50975 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50976 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
50977 fi
50978
50979 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
50980 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50981 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
50982 fi
50983
50984 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
50985 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
50986 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
50987 fi
50988
50989 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
50990 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50991 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
50992 fi
50993
50994 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
50995 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50996 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
50997 fi
50998
50999 COND_PLATFORM_MACOS_1="#"
51000 if test "x$PLATFORM_MACOS" = "x1" ; then
51001 COND_PLATFORM_MACOS_1=""
51002 fi
51003
51004 COND_PLATFORM_MAC_0="#"
51005 if test "x$PLATFORM_MAC" = "x0" ; then
51006 COND_PLATFORM_MAC_0=""
51007 fi
51008
51009 COND_PLATFORM_MAC_1="#"
51010 if test "x$PLATFORM_MAC" = "x1" ; then
51011 COND_PLATFORM_MAC_1=""
51012 fi
51013
51014 COND_PLATFORM_MSDOS_0="#"
51015 if test "x$PLATFORM_MSDOS" = "x0" ; then
51016 COND_PLATFORM_MSDOS_0=""
51017 fi
51018
51019 COND_PLATFORM_MSDOS_1="#"
51020 if test "x$PLATFORM_MSDOS" = "x1" ; then
51021 COND_PLATFORM_MSDOS_1=""
51022 fi
51023
51024 COND_PLATFORM_OS2_1="#"
51025 if test "x$PLATFORM_OS2" = "x1" ; then
51026 COND_PLATFORM_OS2_1=""
51027 fi
51028
51029 COND_PLATFORM_UNIX_0="#"
51030 if test "x$PLATFORM_UNIX" = "x0" ; then
51031 COND_PLATFORM_UNIX_0=""
51032 fi
51033
51034 COND_PLATFORM_UNIX_1="#"
51035 if test "x$PLATFORM_UNIX" = "x1" ; then
51036 COND_PLATFORM_UNIX_1=""
51037 fi
51038
51039 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
51040 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
51041 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
51042 fi
51043
51044 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
51045 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51046 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
51047 fi
51048
51049 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
51050 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
51051 COND_PLATFORM_UNIX_1_USE_GUI_1=""
51052 fi
51053
51054 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
51055 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
51056 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
51057 fi
51058
51059 COND_PLATFORM_WIN32_0="#"
51060 if test "x$PLATFORM_WIN32" = "x0" ; then
51061 COND_PLATFORM_WIN32_0=""
51062 fi
51063
51064 COND_PLATFORM_WIN32_1="#"
51065 if test "x$PLATFORM_WIN32" = "x1" ; then
51066 COND_PLATFORM_WIN32_1=""
51067 fi
51068
51069 COND_PLATFORM_WIN32_1_SHARED_0="#"
51070 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
51071 COND_PLATFORM_WIN32_1_SHARED_0=""
51072 fi
51073
51074 COND_SHARED_0="#"
51075 if test "x$SHARED" = "x0" ; then
51076 COND_SHARED_0=""
51077 fi
51078
51079 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
51080 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
51081 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
51082 fi
51083
51084 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
51085 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51086 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
51087 fi
51088
51089 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
51090 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
51091 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
51092 fi
51093
51094 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
51095 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51096 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
51097 fi
51098
51099 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
51100 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51101 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
51102 fi
51103
51104 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
51105 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51106 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
51107 fi
51108
51109 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
51110 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51111 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
51112 fi
51113
51114 COND_SHARED_0_USE_STC_1="#"
51115 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51116 COND_SHARED_0_USE_STC_1=""
51117 fi
51118
51119 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
51120 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
51121 COND_SHARED_0_wxUSE_EXPAT_builtin=""
51122 fi
51123
51124 COND_SHARED_0_wxUSE_REGEX_builtin="#"
51125 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
51126 COND_SHARED_0_wxUSE_REGEX_builtin=""
51127 fi
51128
51129 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
51130 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
51131 COND_SHARED_0_wxUSE_ZLIB_builtin=""
51132 fi
51133
51134 COND_SHARED_1="#"
51135 if test "x$SHARED" = "x1" ; then
51136 COND_SHARED_1=""
51137 fi
51138
51139 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
51140 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51141 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
51142 fi
51143
51144 COND_TOOLKIT_="#"
51145 if test "x$TOOLKIT" = "x" ; then
51146 COND_TOOLKIT_=""
51147 fi
51148
51149 COND_TOOLKIT_COCOA="#"
51150 if test "x$TOOLKIT" = "xCOCOA" ; then
51151 COND_TOOLKIT_COCOA=""
51152 fi
51153
51154 COND_TOOLKIT_COCOA_USE_GUI_1="#"
51155 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
51156 COND_TOOLKIT_COCOA_USE_GUI_1=""
51157 fi
51158
51159 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
51160 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51161 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
51162 fi
51163
51164 COND_TOOLKIT_DFB="#"
51165 if test "x$TOOLKIT" = "xDFB" ; then
51166 COND_TOOLKIT_DFB=""
51167 fi
51168
51169 COND_TOOLKIT_DFB_USE_GUI_1="#"
51170 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
51171 COND_TOOLKIT_DFB_USE_GUI_1=""
51172 fi
51173
51174 COND_TOOLKIT_GTK="#"
51175 if test "x$TOOLKIT" = "xGTK" ; then
51176 COND_TOOLKIT_GTK=""
51177 fi
51178
51179 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
51180 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
51181 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
51182 fi
51183
51184 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
51185 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
51186 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
51187 fi
51188
51189 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
51190 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
51191 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
51192 fi
51193
51194 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
51195 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51196 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
51197 fi
51198
51199 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
51200 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
51201 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
51202 fi
51203
51204 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
51205 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51206 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
51207 fi
51208
51209 COND_TOOLKIT_GTK_USE_GUI_1="#"
51210 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
51211 COND_TOOLKIT_GTK_USE_GUI_1=""
51212 fi
51213
51214 COND_TOOLKIT_MAC="#"
51215 if test "x$TOOLKIT" = "xMAC" ; then
51216 COND_TOOLKIT_MAC=""
51217 fi
51218
51219 COND_TOOLKIT_MGL="#"
51220 if test "x$TOOLKIT" = "xMGL" ; then
51221 COND_TOOLKIT_MGL=""
51222 fi
51223
51224 COND_TOOLKIT_MGL_USE_GUI_1="#"
51225 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51226 COND_TOOLKIT_MGL_USE_GUI_1=""
51227 fi
51228
51229 COND_TOOLKIT_MOTIF="#"
51230 if test "x$TOOLKIT" = "xMOTIF" ; then
51231 COND_TOOLKIT_MOTIF=""
51232 fi
51233
51234 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
51235 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
51236 COND_TOOLKIT_MOTIF_USE_GUI_1=""
51237 fi
51238
51239 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
51240 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51241 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
51242 fi
51243
51244 COND_TOOLKIT_MSW="#"
51245 if test "x$TOOLKIT" = "xMSW" ; then
51246 COND_TOOLKIT_MSW=""
51247 fi
51248
51249 COND_TOOLKIT_MSW_USE_GUI_1="#"
51250 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
51251 COND_TOOLKIT_MSW_USE_GUI_1=""
51252 fi
51253
51254 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
51255 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51256 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
51257 fi
51258
51259 COND_TOOLKIT_MSW_WXUNIV_0="#"
51260 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51261 COND_TOOLKIT_MSW_WXUNIV_0=""
51262 fi
51263
51264 COND_TOOLKIT_OSX_CARBON="#"
51265 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
51266 COND_TOOLKIT_OSX_CARBON=""
51267 fi
51268
51269 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
51270 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
51271 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
51272 fi
51273
51274 COND_TOOLKIT_OSX_COCOA="#"
51275 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
51276 COND_TOOLKIT_OSX_COCOA=""
51277 fi
51278
51279 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
51280 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
51281 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
51282 fi
51283
51284 COND_TOOLKIT_OSX_IPHONE="#"
51285 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
51286 COND_TOOLKIT_OSX_IPHONE=""
51287 fi
51288
51289 COND_TOOLKIT_PM="#"
51290 if test "x$TOOLKIT" = "xPM" ; then
51291 COND_TOOLKIT_PM=""
51292 fi
51293
51294 COND_TOOLKIT_PM_USE_GUI_1="#"
51295 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
51296 COND_TOOLKIT_PM_USE_GUI_1=""
51297 fi
51298
51299 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
51300 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51301 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
51302 fi
51303
51304 COND_TOOLKIT_WINCE="#"
51305 if test "x$TOOLKIT" = "xWINCE" ; then
51306 COND_TOOLKIT_WINCE=""
51307 fi
51308
51309 COND_TOOLKIT_WINCE_USE_GUI_1="#"
51310 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
51311 COND_TOOLKIT_WINCE_USE_GUI_1=""
51312 fi
51313
51314 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
51315 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51316 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
51317 fi
51318
51319 COND_TOOLKIT_WINCE_WXUNIV_0="#"
51320 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
51321 COND_TOOLKIT_WINCE_WXUNIV_0=""
51322 fi
51323
51324 COND_TOOLKIT_X11="#"
51325 if test "x$TOOLKIT" = "xX11" ; then
51326 COND_TOOLKIT_X11=""
51327 fi
51328
51329 COND_TOOLKIT_X11_USE_GUI_1="#"
51330 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
51331 COND_TOOLKIT_X11_USE_GUI_1=""
51332 fi
51333
51334 COND_UNICODE_1="#"
51335 if test "x$UNICODE" = "x1" ; then
51336 COND_UNICODE_1=""
51337 fi
51338
51339 COND_USE_CAIRO_1="#"
51340 if test "x$USE_CAIRO" = "x1" ; then
51341 COND_USE_CAIRO_1=""
51342 fi
51343
51344 COND_USE_EXCEPTIONS_0="#"
51345 if test "x$USE_EXCEPTIONS" = "x0" ; then
51346 COND_USE_EXCEPTIONS_0=""
51347 fi
51348
51349 COND_USE_EXCEPTIONS_1="#"
51350 if test "x$USE_EXCEPTIONS" = "x1" ; then
51351 COND_USE_EXCEPTIONS_1=""
51352 fi
51353
51354 COND_USE_GUI_0="#"
51355 if test "x$USE_GUI" = "x0" ; then
51356 COND_USE_GUI_0=""
51357 fi
51358
51359 COND_USE_GUI_1="#"
51360 if test "x$USE_GUI" = "x1" ; then
51361 COND_USE_GUI_1=""
51362 fi
51363
51364 COND_USE_GUI_1_USE_OPENGL_1="#"
51365 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51366 COND_USE_GUI_1_USE_OPENGL_1=""
51367 fi
51368
51369 COND_USE_GUI_1_WXUNIV_0="#"
51370 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51371 COND_USE_GUI_1_WXUNIV_0=""
51372 fi
51373
51374 COND_USE_GUI_1_WXUNIV_1="#"
51375 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
51376 COND_USE_GUI_1_WXUNIV_1=""
51377 fi
51378
51379 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
51380 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51381 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
51382 fi
51383
51384 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
51385 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51386 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
51387 fi
51388
51389 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
51390 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51391 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
51392 fi
51393
51394 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
51395 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51396 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
51397 fi
51398
51399 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
51400 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51401 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
51402 fi
51403
51404 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
51405 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51406 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
51407 fi
51408
51409 COND_USE_OPENGL_1="#"
51410 if test "x$USE_OPENGL" = "x1" ; then
51411 COND_USE_OPENGL_1=""
51412 fi
51413
51414 COND_USE_PCH_1="#"
51415 if test "x$USE_PCH" = "x1" ; then
51416 COND_USE_PCH_1=""
51417 fi
51418
51419 COND_USE_PLUGINS_0="#"
51420 if test "x$USE_PLUGINS" = "x0" ; then
51421 COND_USE_PLUGINS_0=""
51422 fi
51423
51424 COND_USE_RTTI_0="#"
51425 if test "x$USE_RTTI" = "x0" ; then
51426 COND_USE_RTTI_0=""
51427 fi
51428
51429 COND_USE_RTTI_1="#"
51430 if test "x$USE_RTTI" = "x1" ; then
51431 COND_USE_RTTI_1=""
51432 fi
51433
51434 COND_USE_SOTWOSYMLINKS_1="#"
51435 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
51436 COND_USE_SOTWOSYMLINKS_1=""
51437 fi
51438
51439 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
51440 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51441 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
51442 fi
51443
51444 COND_USE_SOVERLINUX_1="#"
51445 if test "x$USE_SOVERLINUX" = "x1" ; then
51446 COND_USE_SOVERLINUX_1=""
51447 fi
51448
51449 COND_USE_SOVERSION_0="#"
51450 if test "x$USE_SOVERSION" = "x0" ; then
51451 COND_USE_SOVERSION_0=""
51452 fi
51453
51454 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
51455 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
51456 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
51457 fi
51458
51459 COND_USE_SOVERSOLARIS_1="#"
51460 if test "x$USE_SOVERSOLARIS" = "x1" ; then
51461 COND_USE_SOVERSOLARIS_1=""
51462 fi
51463
51464 COND_USE_STC_1="#"
51465 if test "x$USE_STC" = "x1" ; then
51466 COND_USE_STC_1=""
51467 fi
51468
51469 COND_USE_THREADS_0="#"
51470 if test "x$USE_THREADS" = "x0" ; then
51471 COND_USE_THREADS_0=""
51472 fi
51473
51474 COND_USE_THREADS_1="#"
51475 if test "x$USE_THREADS" = "x1" ; then
51476 COND_USE_THREADS_1=""
51477 fi
51478
51479 COND_USE_XRC_1="#"
51480 if test "x$USE_XRC" = "x1" ; then
51481 COND_USE_XRC_1=""
51482 fi
51483
51484 COND_WINDOWS_IMPLIB_1="#"
51485 if test "x$WINDOWS_IMPLIB" = "x1" ; then
51486 COND_WINDOWS_IMPLIB_1=""
51487 fi
51488
51489 COND_WITH_PLUGIN_SDL_1="#"
51490 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
51491 COND_WITH_PLUGIN_SDL_1=""
51492 fi
51493
51494 COND_WXUNIV_0="#"
51495 if test "x$WXUNIV" = "x0" ; then
51496 COND_WXUNIV_0=""
51497 fi
51498
51499 COND_WXUNIV_1="#"
51500 if test "x$WXUNIV" = "x1" ; then
51501 COND_WXUNIV_1=""
51502 fi
51503
51504 COND_WXUSE_EXPAT_BUILTIN="#"
51505 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
51506 COND_WXUSE_EXPAT_BUILTIN=""
51507 fi
51508
51509 COND_WXUSE_LIBJPEG_BUILTIN="#"
51510 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51511 COND_WXUSE_LIBJPEG_BUILTIN=""
51512 fi
51513
51514 COND_WXUSE_LIBPNG_BUILTIN="#"
51515 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51516 COND_WXUSE_LIBPNG_BUILTIN=""
51517 fi
51518
51519 COND_WXUSE_LIBTIFF_BUILTIN="#"
51520 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51521 COND_WXUSE_LIBTIFF_BUILTIN=""
51522 fi
51523
51524 COND_WXUSE_REGEX_BUILTIN="#"
51525 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
51526 COND_WXUSE_REGEX_BUILTIN=""
51527 fi
51528
51529 COND_WXUSE_ZLIB_BUILTIN="#"
51530 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
51531 COND_WXUSE_ZLIB_BUILTIN=""
51532 fi
51533
51534 COND_wxUSE_EXPAT_builtin="#"
51535 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
51536 COND_wxUSE_EXPAT_builtin=""
51537 fi
51538
51539 COND_wxUSE_LIBJPEG_builtin="#"
51540 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51541 COND_wxUSE_LIBJPEG_builtin=""
51542 fi
51543
51544 COND_wxUSE_LIBPNG_builtin="#"
51545 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51546 COND_wxUSE_LIBPNG_builtin=""
51547 fi
51548
51549 COND_wxUSE_LIBTIFF_builtin="#"
51550 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51551 COND_wxUSE_LIBTIFF_builtin=""
51552 fi
51553
51554 COND_wxUSE_REGEX_builtin="#"
51555 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
51556 COND_wxUSE_REGEX_builtin=""
51557 fi
51558
51559 COND_wxUSE_ZLIB_builtin="#"
51560 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
51561 COND_wxUSE_ZLIB_builtin=""
51562 fi
51563
51564
51565
51566 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
51567 { { 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
51568 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;}
51569 { (exit 1); exit 1; }; }
51570 fi
51571
51572 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
51573 { { 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
51574 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;}
51575 { (exit 1); exit 1; }; }
51576 fi
51577
51578
51579 case ${INSTALL} in
51580 /* ) # Absolute
51581 ;;
51582 ?:* ) # Drive letter, considered as absolute.
51583 ;;
51584 *)
51585 INSTALL=`pwd`/${INSTALL} ;;
51586 esac
51587
51588 if test "$wxUSE_GUI" = "yes"; then
51589
51590 if test "$wxUSE_MSW" = 1 ; then
51591 if test "x$WINDRES" = "x"; then
51592 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
51593 echo "$as_me: error: Required windres program not found" >&2;}
51594 { (exit 1); exit 1; }; }
51595 fi
51596
51597 RESCOMP="$WINDRES $WINDRES_CPU_DEFINE"
51598 fi
51599
51600 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
51601 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
51602 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
51603
51604 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
51605
51606 # Extract the first word of "DeRez", so it can be a program name with args.
51607 set dummy DeRez; ac_word=$2
51608 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51609 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51610 if test "${ac_cv_prog_DEREZ+set}" = set; then
51611 echo $ECHO_N "(cached) $ECHO_C" >&6
51612 else
51613 if test -n "$DEREZ"; then
51614 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
51615 else
51616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51617 for as_dir in $PATH
51618 do
51619 IFS=$as_save_IFS
51620 test -z "$as_dir" && as_dir=.
51621 for ac_exec_ext in '' $ac_executable_extensions; do
51622 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51623 ac_cv_prog_DEREZ="DeRez"
51624 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51625 break 2
51626 fi
51627 done
51628 done
51629 IFS=$as_save_IFS
51630
51631 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
51632 fi
51633 fi
51634 DEREZ=$ac_cv_prog_DEREZ
51635 if test -n "$DEREZ"; then
51636 { echo "$as_me:$LINENO: result: $DEREZ" >&5
51637 echo "${ECHO_T}$DEREZ" >&6; }
51638 else
51639 { echo "$as_me:$LINENO: result: no" >&5
51640 echo "${ECHO_T}no" >&6; }
51641 fi
51642
51643
51644
51645 MACSETFILE="\$(SETFILE)"
51646
51647 if test "$wxUSE_OSX_CARBON" = 1; then
51648 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
51649 RESCOMP="$REZ"
51650 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
51651 else
51652 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
51653 RESCOMP="cat /dev/null \| $REZ"
51654 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
51655 fi
51656
51657 else
51658 MACSETFILE="@true"
51659
51660 if test "$wxUSE_PM" = 1; then
51661 RESCOMP="emxbind"
51662 WXCONFIG_RESFLAGS="-ep"
51663
51664 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
51665 else
51666 POSTLINK_COMMAND="@true"
51667 fi
51668 fi
51669
51670 fi
51671
51672
51673 if test $GCC_PCH = 1
51674 then
51675 if test "$wx_cv_gcc_pch_bug" = yes; then
51676 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
51677 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
51678 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
51679 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
51680 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
51681 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
51682 fi
51683
51684 # Our WX_PRECOMP flag does not make sense for any language except C++ because
51685 # the headers that benefit from precompilation are mostly C++ headers.
51686 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
51687 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
51688 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
51689 fi
51690
51691
51692 if test "$wxUSE_MAC" = 1 ; then
51693 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
51694 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
51695 mv temp bk-deps
51696 chmod +x bk-deps
51697 fi
51698 fi
51699
51700 if test "$wxUSE_SHARED" = "yes"; then
51701 case "${host}" in
51702 *-pc-os2_emx | *-pc-os2-emx )
51703 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
51704 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
51705 cp -p ${srcdir}/src/os2/dllnames.sh .
51706 cp -p ${srcdir}/src/os2/dllar.sh .
51707 ;;
51708 esac
51709 fi
51710 if test "$wxUSE_OMF" = "yes"; then
51711 case "${host}" in
51712 *-pc-os2_emx | *-pc-os2-emx )
51713 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
51714 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
51715 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
51716 ;;
51717 esac
51718 fi
51719
51720 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
51721
51722
51723 case "${host}" in
51724 *-*-solaris2* )
51725 if test "$GCC" = yes; then
51726 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
51727 LIBS=`echo $LIBS | sed 's/-mt//'`
51728 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
51729 fi
51730 ;;
51731
51732 *-*-linux* )
51733 if test "x$SUNCXX" = xyes; then
51734 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
51735 LIBS=`echo $LIBS | sed 's/-pthread//'`
51736 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
51737 fi
51738 ;;
51739 esac
51740
51741 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
51742 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
51743 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
51744 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
51745
51746 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
51747
51748
51749
51750
51751
51752
51753
51754
51755
51756
51757
51758
51759
51760
51761
51762
51763
51764
51765
51766
51767
51768
51769
51770
51771
51772
51773
51774
51775
51776
51777
51778
51779
51780
51781
51782
51783
51784
51785
51786
51787
51788
51789
51790
51791
51792
51793
51794
51795
51796
51797
51798
51799
51800
51801
51802
51803
51804
51805
51806
51807 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
51808 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
51809 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
51810 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
51811 echo $ECHO_N "(cached) $ECHO_C" >&6
51812 else
51813 cat >conftest.make <<\_ACEOF
51814 SHELL = /bin/sh
51815 all:
51816 @echo '@@@%%%=$(MAKE)=@@@%%%'
51817 _ACEOF
51818 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
51819 case `${MAKE-make} -f conftest.make 2>/dev/null` in
51820 *@@@%%%=?*=@@@%%%*)
51821 eval ac_cv_prog_make_${ac_make}_set=yes;;
51822 *)
51823 eval ac_cv_prog_make_${ac_make}_set=no;;
51824 esac
51825 rm -f conftest.make
51826 fi
51827 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
51828 { echo "$as_me:$LINENO: result: yes" >&5
51829 echo "${ECHO_T}yes" >&6; }
51830 SET_MAKE=
51831 else
51832 { echo "$as_me:$LINENO: result: no" >&5
51833 echo "${ECHO_T}no" >&6; }
51834 SET_MAKE="MAKE=${MAKE-make}"
51835 fi
51836
51837
51838
51839 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
51840
51841
51842 if test "$USE_WIN32" = 1; then
51843 ac_config_commands="$ac_config_commands rcdefs.h"
51844
51845 fi
51846
51847 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
51848
51849
51850 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
51851
51852
51853 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
51854
51855
51856 if test "$wx_cv_version_script" = "yes"; then
51857 ac_config_files="$ac_config_files version-script"
51858
51859 fi
51860 ac_config_files="$ac_config_files Makefile"
51861
51862
51863 ac_config_commands="$ac_config_commands wx-config"
51864
51865
51866
51867 if test "$wxWITH_SUBDIRS" != "no"; then
51868 if test "$wxUSE_GUI" = "yes"; then
51869 SUBDIRS="samples demos utils"
51870 else
51871 SUBDIRS="samples utils"
51872 fi
51873
51874
51875
51876 # Check whether --with-cppunit-prefix was given.
51877 if test "${with_cppunit_prefix+set}" = set; then
51878 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
51879 else
51880 cppunit_config_prefix=""
51881 fi
51882
51883
51884 # Check whether --with-cppunit-exec-prefix was given.
51885 if test "${with_cppunit_exec_prefix+set}" = set; then
51886 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
51887 else
51888 cppunit_config_exec_prefix=""
51889 fi
51890
51891
51892 if test x$cppunit_config_exec_prefix != x ; then
51893 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
51894 if test x${CPPUNIT_CONFIG+set} != xset ; then
51895 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
51896 fi
51897 fi
51898 if test x$cppunit_config_prefix != x ; then
51899 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
51900 if test x${CPPUNIT_CONFIG+set} != xset ; then
51901 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
51902 fi
51903 fi
51904
51905 # Extract the first word of "cppunit-config", so it can be a program name with args.
51906 set dummy cppunit-config; ac_word=$2
51907 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51908 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51909 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
51910 echo $ECHO_N "(cached) $ECHO_C" >&6
51911 else
51912 case $CPPUNIT_CONFIG in
51913 [\\/]* | ?:[\\/]*)
51914 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
51915 ;;
51916 *)
51917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51918 for as_dir in $PATH
51919 do
51920 IFS=$as_save_IFS
51921 test -z "$as_dir" && as_dir=.
51922 for ac_exec_ext in '' $ac_executable_extensions; do
51923 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51924 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
51925 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51926 break 2
51927 fi
51928 done
51929 done
51930 IFS=$as_save_IFS
51931
51932 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
51933 ;;
51934 esac
51935 fi
51936 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
51937 if test -n "$CPPUNIT_CONFIG"; then
51938 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
51939 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
51940 else
51941 { echo "$as_me:$LINENO: result: no" >&5
51942 echo "${ECHO_T}no" >&6; }
51943 fi
51944
51945
51946 cppunit_version_min=1.8.0
51947
51948 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
51949 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
51950 no_cppunit=""
51951 if test "$CPPUNIT_CONFIG" = "no" ; then
51952 { echo "$as_me:$LINENO: result: no" >&5
51953 echo "${ECHO_T}no" >&6; }
51954 no_cppunit=yes
51955 else
51956 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
51957 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
51958 cppunit_version=`$CPPUNIT_CONFIG --version`
51959
51960 cppunit_major_version=`echo $cppunit_version | \
51961 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51962 cppunit_minor_version=`echo $cppunit_version | \
51963 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51964 cppunit_micro_version=`echo $cppunit_version | \
51965 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51966
51967 cppunit_major_min=`echo $cppunit_version_min | \
51968 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51969 cppunit_minor_min=`echo $cppunit_version_min | \
51970 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51971 cppunit_micro_min=`echo $cppunit_version_min | \
51972 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51973
51974 cppunit_version_proper=`expr \
51975 $cppunit_major_version \> $cppunit_major_min \| \
51976 $cppunit_major_version \= $cppunit_major_min \& \
51977 $cppunit_minor_version \> $cppunit_minor_min \| \
51978 $cppunit_major_version \= $cppunit_major_min \& \
51979 $cppunit_minor_version \= $cppunit_minor_min \& \
51980 $cppunit_micro_version \>= $cppunit_micro_min `
51981
51982 if test "$cppunit_version_proper" = "1" ; then
51983 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
51984 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
51985 else
51986 { echo "$as_me:$LINENO: result: no" >&5
51987 echo "${ECHO_T}no" >&6; }
51988 no_cppunit=yes
51989 fi
51990 fi
51991
51992 if test "x$no_cppunit" = x ; then
51993 SUBDIRS="$SUBDIRS tests"
51994 else
51995 CPPUNIT_CFLAGS=""
51996 CPPUNIT_LIBS=""
51997 :
51998 fi
51999
52000
52001
52002
52003
52004 for subdir in $SUBDIRS; do
52005 if test -d ${srcdir}/${subdir} ; then
52006 if test "$wxUSE_GUI" = "yes"; then
52007 if test ${subdir} = "samples"; then
52008 makefiles="samples/Makefile.in $makefiles"
52009 for sample in $SAMPLES_SUBDIRS; do
52010 if test -d $srcdir/samples/$sample; then
52011 makefiles="samples/$sample/Makefile.in $makefiles"
52012 fi
52013 done
52014 else
52015 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
52016 eval "disabled=\$$disabled_var"
52017 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
52018 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
52019 fi
52020 else
52021 if test ${subdir} = "samples"; then
52022 makefiles="samples/Makefile.in $makefiles"
52023 for sample in `echo $SAMPLES_SUBDIRS`; do
52024 if test -d $srcdir/samples/$sample; then
52025 makefiles="samples/$sample/Makefile.in $makefiles"
52026 fi
52027 done
52028 elif test ${subdir} = "utils"; then
52029 makefiles=""
52030 for util in ifacecheck ; do
52031 if test -d $srcdir/utils/$util ; then
52032 makefiles="utils/$util/src/Makefile.in \
52033 $makefiles"
52034 fi
52035 done
52036 else
52037 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
52038 fi
52039 fi
52040
52041 for mkin in $makefiles ; do
52042 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
52043 ac_config_files="$ac_config_files $mk"
52044
52045 done
52046 fi
52047 done
52048 fi
52049 cat >confcache <<\_ACEOF
52050 # This file is a shell script that caches the results of configure
52051 # tests run on this system so they can be shared between configure
52052 # scripts and configure runs, see configure's option --config-cache.
52053 # It is not useful on other systems. If it contains results you don't
52054 # want to keep, you may remove or edit it.
52055 #
52056 # config.status only pays attention to the cache file if you give it
52057 # the --recheck option to rerun configure.
52058 #
52059 # `ac_cv_env_foo' variables (set or unset) will be overridden when
52060 # loading this file, other *unset* `ac_cv_foo' will be assigned the
52061 # following values.
52062
52063 _ACEOF
52064
52065 # The following way of writing the cache mishandles newlines in values,
52066 # but we know of no workaround that is simple, portable, and efficient.
52067 # So, we kill variables containing newlines.
52068 # Ultrix sh set writes to stderr and can't be redirected directly,
52069 # and sets the high bit in the cache file unless we assign to the vars.
52070 (
52071 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
52072 eval ac_val=\$$ac_var
52073 case $ac_val in #(
52074 *${as_nl}*)
52075 case $ac_var in #(
52076 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
52077 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
52078 esac
52079 case $ac_var in #(
52080 _ | IFS | as_nl) ;; #(
52081 *) $as_unset $ac_var ;;
52082 esac ;;
52083 esac
52084 done
52085
52086 (set) 2>&1 |
52087 case $as_nl`(ac_space=' '; set) 2>&1` in #(
52088 *${as_nl}ac_space=\ *)
52089 # `set' does not quote correctly, so add quotes (double-quote
52090 # substitution turns \\\\ into \\, and sed turns \\ into \).
52091 sed -n \
52092 "s/'/'\\\\''/g;
52093 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
52094 ;; #(
52095 *)
52096 # `set' quotes correctly as required by POSIX, so do not add quotes.
52097 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
52098 ;;
52099 esac |
52100 sort
52101 ) |
52102 sed '
52103 /^ac_cv_env_/b end
52104 t clear
52105 :clear
52106 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
52107 t end
52108 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
52109 :end' >>confcache
52110 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
52111 if test -w "$cache_file"; then
52112 test "x$cache_file" != "x/dev/null" &&
52113 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
52114 echo "$as_me: updating cache $cache_file" >&6;}
52115 cat confcache >$cache_file
52116 else
52117 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
52118 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
52119 fi
52120 fi
52121 rm -f confcache
52122
52123 test "x$prefix" = xNONE && prefix=$ac_default_prefix
52124 # Let make expand exec_prefix.
52125 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
52126
52127 DEFS=-DHAVE_CONFIG_H
52128
52129 ac_libobjs=
52130 ac_ltlibobjs=
52131 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
52132 # 1. Remove the extension, and $U if already installed.
52133 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
52134 ac_i=`echo "$ac_i" | sed "$ac_script"`
52135 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
52136 # will be set to the directory where LIBOBJS objects are built.
52137 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
52138 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
52139 done
52140 LIBOBJS=$ac_libobjs
52141
52142 LTLIBOBJS=$ac_ltlibobjs
52143
52144
52145
52146 : ${CONFIG_STATUS=./config.status}
52147 ac_clean_files_save=$ac_clean_files
52148 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
52149 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
52150 echo "$as_me: creating $CONFIG_STATUS" >&6;}
52151 cat >$CONFIG_STATUS <<_ACEOF
52152 #! $SHELL
52153 # Generated by $as_me.
52154 # Run this file to recreate the current configuration.
52155 # Compiler output produced by configure, useful for debugging
52156 # configure, is in config.log if it exists.
52157
52158 debug=false
52159 ac_cs_recheck=false
52160 ac_cs_silent=false
52161 SHELL=\${CONFIG_SHELL-$SHELL}
52162 _ACEOF
52163
52164 cat >>$CONFIG_STATUS <<\_ACEOF
52165 ## --------------------- ##
52166 ## M4sh Initialization. ##
52167 ## --------------------- ##
52168
52169 # Be more Bourne compatible
52170 DUALCASE=1; export DUALCASE # for MKS sh
52171 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
52172 emulate sh
52173 NULLCMD=:
52174 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
52175 # is contrary to our usage. Disable this feature.
52176 alias -g '${1+"$@"}'='"$@"'
52177 setopt NO_GLOB_SUBST
52178 else
52179 case `(set -o) 2>/dev/null` in
52180 *posix*) set -o posix ;;
52181 esac
52182
52183 fi
52184
52185
52186
52187
52188 # PATH needs CR
52189 # Avoid depending upon Character Ranges.
52190 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
52191 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
52192 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
52193 as_cr_digits='0123456789'
52194 as_cr_alnum=$as_cr_Letters$as_cr_digits
52195
52196 # The user is always right.
52197 if test "${PATH_SEPARATOR+set}" != set; then
52198 echo "#! /bin/sh" >conf$$.sh
52199 echo "exit 0" >>conf$$.sh
52200 chmod +x conf$$.sh
52201 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
52202 PATH_SEPARATOR=';'
52203 else
52204 PATH_SEPARATOR=:
52205 fi
52206 rm -f conf$$.sh
52207 fi
52208
52209 # Support unset when possible.
52210 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
52211 as_unset=unset
52212 else
52213 as_unset=false
52214 fi
52215
52216
52217 # IFS
52218 # We need space, tab and new line, in precisely that order. Quoting is
52219 # there to prevent editors from complaining about space-tab.
52220 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
52221 # splitting by setting IFS to empty value.)
52222 as_nl='
52223 '
52224 IFS=" "" $as_nl"
52225
52226 # Find who we are. Look in the path if we contain no directory separator.
52227 case $0 in
52228 *[\\/]* ) as_myself=$0 ;;
52229 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52230 for as_dir in $PATH
52231 do
52232 IFS=$as_save_IFS
52233 test -z "$as_dir" && as_dir=.
52234 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
52235 done
52236 IFS=$as_save_IFS
52237
52238 ;;
52239 esac
52240 # We did not find ourselves, most probably we were run as `sh COMMAND'
52241 # in which case we are not to be found in the path.
52242 if test "x$as_myself" = x; then
52243 as_myself=$0
52244 fi
52245 if test ! -f "$as_myself"; then
52246 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
52247 { (exit 1); exit 1; }
52248 fi
52249
52250 # Work around bugs in pre-3.0 UWIN ksh.
52251 for as_var in ENV MAIL MAILPATH
52252 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
52253 done
52254 PS1='$ '
52255 PS2='> '
52256 PS4='+ '
52257
52258 # NLS nuisances.
52259 for as_var in \
52260 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
52261 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
52262 LC_TELEPHONE LC_TIME
52263 do
52264 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
52265 eval $as_var=C; export $as_var
52266 else
52267 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
52268 fi
52269 done
52270
52271 # Required to use basename.
52272 if expr a : '\(a\)' >/dev/null 2>&1 &&
52273 test "X`expr 00001 : '.*\(...\)'`" = X001; then
52274 as_expr=expr
52275 else
52276 as_expr=false
52277 fi
52278
52279 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
52280 as_basename=basename
52281 else
52282 as_basename=false
52283 fi
52284
52285
52286 # Name of the executable.
52287 as_me=`$as_basename -- "$0" ||
52288 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
52289 X"$0" : 'X\(//\)$' \| \
52290 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
52291 echo X/"$0" |
52292 sed '/^.*\/\([^/][^/]*\)\/*$/{
52293 s//\1/
52294 q
52295 }
52296 /^X\/\(\/\/\)$/{
52297 s//\1/
52298 q
52299 }
52300 /^X\/\(\/\).*/{
52301 s//\1/
52302 q
52303 }
52304 s/.*/./; q'`
52305
52306 # CDPATH.
52307 $as_unset CDPATH
52308
52309
52310
52311 as_lineno_1=$LINENO
52312 as_lineno_2=$LINENO
52313 test "x$as_lineno_1" != "x$as_lineno_2" &&
52314 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
52315
52316 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
52317 # uniformly replaced by the line number. The first 'sed' inserts a
52318 # line-number line after each line using $LINENO; the second 'sed'
52319 # does the real work. The second script uses 'N' to pair each
52320 # line-number line with the line containing $LINENO, and appends
52321 # trailing '-' during substitution so that $LINENO is not a special
52322 # case at line end.
52323 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
52324 # scripts with optimization help from Paolo Bonzini. Blame Lee
52325 # E. McMahon (1931-1989) for sed's syntax. :-)
52326 sed -n '
52327 p
52328 /[$]LINENO/=
52329 ' <$as_myself |
52330 sed '
52331 s/[$]LINENO.*/&-/
52332 t lineno
52333 b
52334 :lineno
52335 N
52336 :loop
52337 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
52338 t loop
52339 s/-\n.*//
52340 ' >$as_me.lineno &&
52341 chmod +x "$as_me.lineno" ||
52342 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
52343 { (exit 1); exit 1; }; }
52344
52345 # Don't try to exec as it changes $[0], causing all sort of problems
52346 # (the dirname of $[0] is not the place where we might find the
52347 # original and so on. Autoconf is especially sensitive to this).
52348 . "./$as_me.lineno"
52349 # Exit status is that of the last command.
52350 exit
52351 }
52352
52353
52354 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
52355 as_dirname=dirname
52356 else
52357 as_dirname=false
52358 fi
52359
52360 ECHO_C= ECHO_N= ECHO_T=
52361 case `echo -n x` in
52362 -n*)
52363 case `echo 'x\c'` in
52364 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
52365 *) ECHO_C='\c';;
52366 esac;;
52367 *)
52368 ECHO_N='-n';;
52369 esac
52370
52371 if expr a : '\(a\)' >/dev/null 2>&1 &&
52372 test "X`expr 00001 : '.*\(...\)'`" = X001; then
52373 as_expr=expr
52374 else
52375 as_expr=false
52376 fi
52377
52378 rm -f conf$$ conf$$.exe conf$$.file
52379 if test -d conf$$.dir; then
52380 rm -f conf$$.dir/conf$$.file
52381 else
52382 rm -f conf$$.dir
52383 mkdir conf$$.dir
52384 fi
52385 echo >conf$$.file
52386 if ln -s conf$$.file conf$$ 2>/dev/null; then
52387 as_ln_s='ln -s'
52388 # ... but there are two gotchas:
52389 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
52390 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
52391 # In both cases, we have to default to `cp -p'.
52392 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
52393 as_ln_s='cp -p'
52394 elif ln conf$$.file conf$$ 2>/dev/null; then
52395 as_ln_s=ln
52396 else
52397 as_ln_s='cp -p'
52398 fi
52399 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
52400 rmdir conf$$.dir 2>/dev/null
52401
52402 if mkdir -p . 2>/dev/null; then
52403 as_mkdir_p=:
52404 else
52405 test -d ./-p && rmdir ./-p
52406 as_mkdir_p=false
52407 fi
52408
52409 if test -x / >/dev/null 2>&1; then
52410 as_test_x='test -x'
52411 else
52412 if ls -dL / >/dev/null 2>&1; then
52413 as_ls_L_option=L
52414 else
52415 as_ls_L_option=
52416 fi
52417 as_test_x='
52418 eval sh -c '\''
52419 if test -d "$1"; then
52420 test -d "$1/.";
52421 else
52422 case $1 in
52423 -*)set "./$1";;
52424 esac;
52425 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
52426 ???[sx]*):;;*)false;;esac;fi
52427 '\'' sh
52428 '
52429 fi
52430 as_executable_p=$as_test_x
52431
52432 # Sed expression to map a string onto a valid CPP name.
52433 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
52434
52435 # Sed expression to map a string onto a valid variable name.
52436 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
52437
52438
52439 exec 6>&1
52440
52441 # Save the log message, to keep $[0] and so on meaningful, and to
52442 # report actual input values of CONFIG_FILES etc. instead of their
52443 # values after options handling.
52444 ac_log="
52445 This file was extended by wxWidgets $as_me 2.9.1, which was
52446 generated by GNU Autoconf 2.61. Invocation command line was
52447
52448 CONFIG_FILES = $CONFIG_FILES
52449 CONFIG_HEADERS = $CONFIG_HEADERS
52450 CONFIG_LINKS = $CONFIG_LINKS
52451 CONFIG_COMMANDS = $CONFIG_COMMANDS
52452 $ $0 $@
52453
52454 on `(hostname || uname -n) 2>/dev/null | sed 1q`
52455 "
52456
52457 _ACEOF
52458
52459 cat >>$CONFIG_STATUS <<_ACEOF
52460 # Files that config.status was made for.
52461 config_files="$ac_config_files"
52462 config_headers="$ac_config_headers"
52463 config_commands="$ac_config_commands"
52464
52465 _ACEOF
52466
52467 cat >>$CONFIG_STATUS <<\_ACEOF
52468 ac_cs_usage="\
52469 \`$as_me' instantiates files from templates according to the
52470 current configuration.
52471
52472 Usage: $0 [OPTIONS] [FILE]...
52473
52474 -h, --help print this help, then exit
52475 -V, --version print version number and configuration settings, then exit
52476 -q, --quiet do not print progress messages
52477 -d, --debug don't remove temporary files
52478 --recheck update $as_me by reconfiguring in the same conditions
52479 --file=FILE[:TEMPLATE]
52480 instantiate the configuration file FILE
52481 --header=FILE[:TEMPLATE]
52482 instantiate the configuration header FILE
52483
52484 Configuration files:
52485 $config_files
52486
52487 Configuration headers:
52488 $config_headers
52489
52490 Configuration commands:
52491 $config_commands
52492
52493 Report bugs to <bug-autoconf@gnu.org>."
52494
52495 _ACEOF
52496 cat >>$CONFIG_STATUS <<_ACEOF
52497 ac_cs_version="\\
52498 wxWidgets config.status 2.9.1
52499 configured by $0, generated by GNU Autoconf 2.61,
52500 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
52501
52502 Copyright (C) 2006 Free Software Foundation, Inc.
52503 This config.status script is free software; the Free Software Foundation
52504 gives unlimited permission to copy, distribute and modify it."
52505
52506 ac_pwd='$ac_pwd'
52507 srcdir='$srcdir'
52508 INSTALL='$INSTALL'
52509 _ACEOF
52510
52511 cat >>$CONFIG_STATUS <<\_ACEOF
52512 # If no file are specified by the user, then we need to provide default
52513 # value. By we need to know if files were specified by the user.
52514 ac_need_defaults=:
52515 while test $# != 0
52516 do
52517 case $1 in
52518 --*=*)
52519 ac_option=`expr "X$1" : 'X\([^=]*\)='`
52520 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
52521 ac_shift=:
52522 ;;
52523 *)
52524 ac_option=$1
52525 ac_optarg=$2
52526 ac_shift=shift
52527 ;;
52528 esac
52529
52530 case $ac_option in
52531 # Handling of the options.
52532 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
52533 ac_cs_recheck=: ;;
52534 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
52535 echo "$ac_cs_version"; exit ;;
52536 --debug | --debu | --deb | --de | --d | -d )
52537 debug=: ;;
52538 --file | --fil | --fi | --f )
52539 $ac_shift
52540 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
52541 ac_need_defaults=false;;
52542 --header | --heade | --head | --hea )
52543 $ac_shift
52544 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
52545 ac_need_defaults=false;;
52546 --he | --h)
52547 # Conflict between --help and --header
52548 { echo "$as_me: error: ambiguous option: $1
52549 Try \`$0 --help' for more information." >&2
52550 { (exit 1); exit 1; }; };;
52551 --help | --hel | -h )
52552 echo "$ac_cs_usage"; exit ;;
52553 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
52554 | -silent | --silent | --silen | --sile | --sil | --si | --s)
52555 ac_cs_silent=: ;;
52556
52557 # This is an error.
52558 -*) { echo "$as_me: error: unrecognized option: $1
52559 Try \`$0 --help' for more information." >&2
52560 { (exit 1); exit 1; }; } ;;
52561
52562 *) ac_config_targets="$ac_config_targets $1"
52563 ac_need_defaults=false ;;
52564
52565 esac
52566 shift
52567 done
52568
52569 ac_configure_extra_args=
52570
52571 if $ac_cs_silent; then
52572 exec 6>/dev/null
52573 ac_configure_extra_args="$ac_configure_extra_args --silent"
52574 fi
52575
52576 _ACEOF
52577 cat >>$CONFIG_STATUS <<_ACEOF
52578 if \$ac_cs_recheck; then
52579 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
52580 CONFIG_SHELL=$SHELL
52581 export CONFIG_SHELL
52582 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
52583 fi
52584
52585 _ACEOF
52586 cat >>$CONFIG_STATUS <<\_ACEOF
52587 exec 5>>config.log
52588 {
52589 echo
52590 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
52591 ## Running $as_me. ##
52592 _ASBOX
52593 echo "$ac_log"
52594 } >&5
52595
52596 _ACEOF
52597 cat >>$CONFIG_STATUS <<_ACEOF
52598 #
52599 # INIT-COMMANDS
52600 #
52601
52602 CPP="$CPP"
52603 infile="$srcdir/include/wx/msw/genrcdefs.h"
52604 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
52605
52606
52607 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52608 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52609 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52610 LN_S="${LN_S}"
52611
52612
52613 _ACEOF
52614
52615 cat >>$CONFIG_STATUS <<\_ACEOF
52616
52617 # Handling of arguments.
52618 for ac_config_target in $ac_config_targets
52619 do
52620 case $ac_config_target in
52621 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
52622 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
52623 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
52624 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
52625 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
52626 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
52627 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
52628 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
52629 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
52630
52631 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
52632 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
52633 { (exit 1); exit 1; }; };;
52634 esac
52635 done
52636
52637
52638 # If the user did not use the arguments to specify the items to instantiate,
52639 # then the envvar interface is used. Set only those that are not.
52640 # We use the long form for the default assignment because of an extremely
52641 # bizarre bug on SunOS 4.1.3.
52642 if $ac_need_defaults; then
52643 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
52644 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
52645 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
52646 fi
52647
52648 # Have a temporary directory for convenience. Make it in the build tree
52649 # simply because there is no reason against having it here, and in addition,
52650 # creating and moving files from /tmp can sometimes cause problems.
52651 # Hook for its removal unless debugging.
52652 # Note that there is a small window in which the directory will not be cleaned:
52653 # after its creation but before its name has been assigned to `$tmp'.
52654 $debug ||
52655 {
52656 tmp=
52657 trap 'exit_status=$?
52658 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
52659 ' 0
52660 trap '{ (exit 1); exit 1; }' 1 2 13 15
52661 }
52662 # Create a (secure) tmp directory for tmp files.
52663
52664 {
52665 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
52666 test -n "$tmp" && test -d "$tmp"
52667 } ||
52668 {
52669 tmp=./conf$$-$RANDOM
52670 (umask 077 && mkdir "$tmp")
52671 } ||
52672 {
52673 echo "$me: cannot create a temporary directory in ." >&2
52674 { (exit 1); exit 1; }
52675 }
52676
52677 #
52678 # Set up the sed scripts for CONFIG_FILES section.
52679 #
52680
52681 # No need to generate the scripts if there are no CONFIG_FILES.
52682 # This happens for instance when ./config.status config.h
52683 if test -n "$CONFIG_FILES"; then
52684
52685 _ACEOF
52686
52687
52688
52689 ac_delim='%!_!# '
52690 for ac_last_try in false false false false false :; do
52691 cat >conf$$subs.sed <<_ACEOF
52692 SHELL!$SHELL$ac_delim
52693 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
52694 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
52695 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
52696 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
52697 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
52698 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
52699 exec_prefix!$exec_prefix$ac_delim
52700 prefix!$prefix$ac_delim
52701 program_transform_name!$program_transform_name$ac_delim
52702 bindir!$bindir$ac_delim
52703 sbindir!$sbindir$ac_delim
52704 libexecdir!$libexecdir$ac_delim
52705 datarootdir!$datarootdir$ac_delim
52706 datadir!$datadir$ac_delim
52707 sysconfdir!$sysconfdir$ac_delim
52708 sharedstatedir!$sharedstatedir$ac_delim
52709 localstatedir!$localstatedir$ac_delim
52710 includedir!$includedir$ac_delim
52711 oldincludedir!$oldincludedir$ac_delim
52712 docdir!$docdir$ac_delim
52713 infodir!$infodir$ac_delim
52714 htmldir!$htmldir$ac_delim
52715 dvidir!$dvidir$ac_delim
52716 pdfdir!$pdfdir$ac_delim
52717 psdir!$psdir$ac_delim
52718 libdir!$libdir$ac_delim
52719 localedir!$localedir$ac_delim
52720 mandir!$mandir$ac_delim
52721 DEFS!$DEFS$ac_delim
52722 ECHO_C!$ECHO_C$ac_delim
52723 ECHO_N!$ECHO_N$ac_delim
52724 ECHO_T!$ECHO_T$ac_delim
52725 LIBS!$LIBS$ac_delim
52726 build_alias!$build_alias$ac_delim
52727 host_alias!$host_alias$ac_delim
52728 target_alias!$target_alias$ac_delim
52729 build!$build$ac_delim
52730 build_cpu!$build_cpu$ac_delim
52731 build_vendor!$build_vendor$ac_delim
52732 build_os!$build_os$ac_delim
52733 host!$host$ac_delim
52734 host_cpu!$host_cpu$ac_delim
52735 host_vendor!$host_vendor$ac_delim
52736 host_os!$host_os$ac_delim
52737 wx_top_builddir!$wx_top_builddir$ac_delim
52738 CC!$CC$ac_delim
52739 CFLAGS!$CFLAGS$ac_delim
52740 LDFLAGS!$LDFLAGS$ac_delim
52741 CPPFLAGS!$CPPFLAGS$ac_delim
52742 ac_ct_CC!$ac_ct_CC$ac_delim
52743 EXEEXT!$EXEEXT$ac_delim
52744 OBJEXT!$OBJEXT$ac_delim
52745 CPP!$CPP$ac_delim
52746 GREP!$GREP$ac_delim
52747 EGREP!$EGREP$ac_delim
52748 CXX!$CXX$ac_delim
52749 CXXFLAGS!$CXXFLAGS$ac_delim
52750 ac_ct_CXX!$ac_ct_CXX$ac_delim
52751 AR!$AR$ac_delim
52752 OSX_SW_VERS!$OSX_SW_VERS$ac_delim
52753 subdirs!$subdirs$ac_delim
52754 PKG_CONFIG!$PKG_CONFIG$ac_delim
52755 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
52756 GTK_LIBS!$GTK_LIBS$ac_delim
52757 GTK_CONFIG!$GTK_CONFIG$ac_delim
52758 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
52759 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
52760 XMKMF!$XMKMF$ac_delim
52761 X_CFLAGS!$X_CFLAGS$ac_delim
52762 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
52763 X_LIBS!$X_LIBS$ac_delim
52764 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
52765 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
52766 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
52767 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
52768 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
52769 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
52770 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
52771 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
52772 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
52773 LIBICONV!$LIBICONV$ac_delim
52774 GXX_VERSION!$GXX_VERSION$ac_delim
52775 SDL_CONFIG!$SDL_CONFIG$ac_delim
52776 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
52777 SDL_LIBS!$SDL_LIBS$ac_delim
52778 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
52779 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
52780 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
52781 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
52782 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
52783 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
52784 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
52785 HILDON_LIBS!$HILDON_LIBS$ac_delim
52786 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
52787 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
52788 PYTHON!$PYTHON$ac_delim
52789 _ACEOF
52790
52791 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52792 break
52793 elif $ac_last_try; then
52794 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52795 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52796 { (exit 1); exit 1; }; }
52797 else
52798 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52799 fi
52800 done
52801
52802 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52803 if test -n "$ac_eof"; then
52804 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52805 ac_eof=`expr $ac_eof + 1`
52806 fi
52807
52808 cat >>$CONFIG_STATUS <<_ACEOF
52809 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
52810 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52811 _ACEOF
52812 sed '
52813 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52814 s/^/s,@/; s/!/@,|#_!!_#|/
52815 :n
52816 t n
52817 s/'"$ac_delim"'$/,g/; t
52818 s/$/\\/; p
52819 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52820 ' >>$CONFIG_STATUS <conf$$subs.sed
52821 rm -f conf$$subs.sed
52822 cat >>$CONFIG_STATUS <<_ACEOF
52823 CEOF$ac_eof
52824 _ACEOF
52825
52826
52827 ac_delim='%!_!# '
52828 for ac_last_try in false false false false false :; do
52829 cat >conf$$subs.sed <<_ACEOF
52830 COND_PYTHON!$COND_PYTHON$ac_delim
52831 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
52832 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
52833 GST_CFLAGS!$GST_CFLAGS$ac_delim
52834 GST_LIBS!$GST_LIBS$ac_delim
52835 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
52836 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
52837 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
52838 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
52839 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
52840 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
52841 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
52842 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
52843 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
52844 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
52845 VENDOR!$VENDOR$ac_delim
52846 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
52847 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
52848 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
52849 WXUNIV!$WXUNIV$ac_delim
52850 MONOLITHIC!$MONOLITHIC$ac_delim
52851 USE_PLUGINS!$USE_PLUGINS$ac_delim
52852 CXXWARNINGS!$CXXWARNINGS$ac_delim
52853 EXTRALIBS!$EXTRALIBS$ac_delim
52854 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
52855 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
52856 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
52857 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
52858 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
52859 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
52860 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
52861 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
52862 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
52863 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
52864 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
52865 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
52866 UNICODE!$UNICODE$ac_delim
52867 DEBUG_INFO!$DEBUG_INFO$ac_delim
52868 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
52869 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
52870 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
52871 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
52872 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
52873 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
52874 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
52875 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
52876 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
52877 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
52878 RANLIB!$RANLIB$ac_delim
52879 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
52880 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
52881 INSTALL_DATA!$INSTALL_DATA$ac_delim
52882 LN_S!$LN_S$ac_delim
52883 SET_MAKE!$SET_MAKE$ac_delim
52884 MAKE_SET!$MAKE_SET$ac_delim
52885 AROPTIONS!$AROPTIONS$ac_delim
52886 STRIP!$STRIP$ac_delim
52887 NM!$NM$ac_delim
52888 INSTALL_DIR!$INSTALL_DIR$ac_delim
52889 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
52890 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
52891 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
52892 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
52893 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
52894 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
52895 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
52896 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
52897 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
52898 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
52899 SO_SUFFIX!$SO_SUFFIX$ac_delim
52900 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
52901 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
52902 LIBPREFIX!$LIBPREFIX$ac_delim
52903 LIBEXT!$LIBEXT$ac_delim
52904 DLLPREFIX!$DLLPREFIX$ac_delim
52905 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
52906 dlldir!$dlldir$ac_delim
52907 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
52908 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
52909 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
52910 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
52911 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
52912 PIC_FLAG!$PIC_FLAG$ac_delim
52913 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
52914 USE_SOVERSION!$USE_SOVERSION$ac_delim
52915 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
52916 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
52917 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
52918 USE_MACVERSION!$USE_MACVERSION$ac_delim
52919 USE_SOTWOSYMLINKS!$USE_SOTWOSYMLINKS$ac_delim
52920 SONAME_FLAG!$SONAME_FLAG$ac_delim
52921 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
52922 BK_DEPS!$BK_DEPS$ac_delim
52923 WINDRES!$WINDRES$ac_delim
52924 REZ!$REZ$ac_delim
52925 SETFILE!$SETFILE$ac_delim
52926 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
52927 _ACEOF
52928
52929 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52930 break
52931 elif $ac_last_try; then
52932 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52933 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52934 { (exit 1); exit 1; }; }
52935 else
52936 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52937 fi
52938 done
52939
52940 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52941 if test -n "$ac_eof"; then
52942 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52943 ac_eof=`expr $ac_eof + 1`
52944 fi
52945
52946 cat >>$CONFIG_STATUS <<_ACEOF
52947 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
52948 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52949 _ACEOF
52950 sed '
52951 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52952 s/^/s,@/; s/!/@,|#_!!_#|/
52953 :n
52954 t n
52955 s/'"$ac_delim"'$/,g/; t
52956 s/$/\\/; p
52957 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52958 ' >>$CONFIG_STATUS <conf$$subs.sed
52959 rm -f conf$$subs.sed
52960 cat >>$CONFIG_STATUS <<_ACEOF
52961 CEOF$ac_eof
52962 _ACEOF
52963
52964
52965 ac_delim='%!_!# '
52966 for ac_last_try in false false false false false :; do
52967 cat >conf$$subs.sed <<_ACEOF
52968 GCC_PCH!$GCC_PCH$ac_delim
52969 ICC_PCH!$ICC_PCH$ac_delim
52970 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
52971 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
52972 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
52973 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
52974 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
52975 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
52976 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
52977 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
52978 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
52979 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
52980 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
52981 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
52982 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
52983 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
52984 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
52985 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
52986 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
52987 COND_BUILD_release!$COND_BUILD_release$ac_delim
52988 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
52989 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
52990 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
52991 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
52992 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
52993 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
52994 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
52995 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
52996 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
52997 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
52998 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
52999 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
53000 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
53001 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
53002 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
53003 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
53004 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53005 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
53006 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
53007 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
53008 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
53009 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
53010 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
53011 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
53012 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
53013 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
53014 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
53015 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
53016 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
53017 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
53018 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
53019 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
53020 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
53021 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
53022 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
53023 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
53024 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53025 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
53026 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
53027 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
53028 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
53029 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
53030 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
53031 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
53032 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
53033 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
53034 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
53035 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
53036 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
53037 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
53038 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
53039 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
53040 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
53041 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
53042 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0$ac_delim
53043 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
53044 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
53045 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
53046 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
53047 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
53048 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
53049 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
53050 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
53051 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
53052 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
53053 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
53054 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
53055 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
53056 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
53057 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
53058 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
53059 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
53060 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
53061 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
53062 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
53063 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
53064 COND_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_WIN32_1_SHARED_0$ac_delim
53065 _ACEOF
53066
53067 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53068 break
53069 elif $ac_last_try; then
53070 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53071 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53072 { (exit 1); exit 1; }; }
53073 else
53074 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53075 fi
53076 done
53077
53078 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53079 if test -n "$ac_eof"; then
53080 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53081 ac_eof=`expr $ac_eof + 1`
53082 fi
53083
53084 cat >>$CONFIG_STATUS <<_ACEOF
53085 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
53086 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53087 _ACEOF
53088 sed '
53089 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53090 s/^/s,@/; s/!/@,|#_!!_#|/
53091 :n
53092 t n
53093 s/'"$ac_delim"'$/,g/; t
53094 s/$/\\/; p
53095 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53096 ' >>$CONFIG_STATUS <conf$$subs.sed
53097 rm -f conf$$subs.sed
53098 cat >>$CONFIG_STATUS <<_ACEOF
53099 CEOF$ac_eof
53100 _ACEOF
53101
53102
53103 ac_delim='%!_!# '
53104 for ac_last_try in false false false false false :; do
53105 cat >conf$$subs.sed <<_ACEOF
53106 COND_SHARED_0!$COND_SHARED_0$ac_delim
53107 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
53108 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
53109 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
53110 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
53111 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
53112 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
53113 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
53114 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
53115 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
53116 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
53117 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
53118 COND_SHARED_1!$COND_SHARED_1$ac_delim
53119 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
53120 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
53121 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
53122 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
53123 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
53124 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
53125 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
53126 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
53127 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
53128 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
53129 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
53130 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
53131 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
53132 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
53133 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
53134 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
53135 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
53136 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
53137 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
53138 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
53139 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
53140 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
53141 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
53142 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
53143 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
53144 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
53145 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
53146 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
53147 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
53148 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
53149 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
53150 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
53151 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
53152 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
53153 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
53154 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
53155 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
53156 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
53157 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
53158 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
53159 COND_USE_CAIRO_1!$COND_USE_CAIRO_1$ac_delim
53160 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
53161 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
53162 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
53163 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
53164 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
53165 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
53166 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
53167 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53168 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53169 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53170 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
53171 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
53172 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
53173 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
53174 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
53175 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
53176 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
53177 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
53178 COND_USE_SOTWOSYMLINKS_1!$COND_USE_SOTWOSYMLINKS_1$ac_delim
53179 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
53180 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
53181 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
53182 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1!$COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1$ac_delim
53183 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
53184 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
53185 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
53186 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
53187 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
53188 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
53189 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
53190 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
53191 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
53192 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
53193 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
53194 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
53195 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
53196 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
53197 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
53198 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
53199 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
53200 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
53201 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
53202 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
53203 _ACEOF
53204
53205 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53206 break
53207 elif $ac_last_try; then
53208 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53209 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53210 { (exit 1); exit 1; }; }
53211 else
53212 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53213 fi
53214 done
53215
53216 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53217 if test -n "$ac_eof"; then
53218 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53219 ac_eof=`expr $ac_eof + 1`
53220 fi
53221
53222 cat >>$CONFIG_STATUS <<_ACEOF
53223 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
53224 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53225 _ACEOF
53226 sed '
53227 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53228 s/^/s,@/; s/!/@,|#_!!_#|/
53229 :n
53230 t n
53231 s/'"$ac_delim"'$/,g/; t
53232 s/$/\\/; p
53233 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53234 ' >>$CONFIG_STATUS <conf$$subs.sed
53235 rm -f conf$$subs.sed
53236 cat >>$CONFIG_STATUS <<_ACEOF
53237 CEOF$ac_eof
53238 _ACEOF
53239
53240
53241 ac_delim='%!_!# '
53242 for ac_last_try in false false false false false :; do
53243 cat >conf$$subs.sed <<_ACEOF
53244 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
53245 DEREZ!$DEREZ$ac_delim
53246 SHARED!$SHARED$ac_delim
53247 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
53248 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
53249 USE_GUI!$USE_GUI$ac_delim
53250 AFMINSTALL!$AFMINSTALL$ac_delim
53251 WIN32INSTALL!$WIN32INSTALL$ac_delim
53252 TOOLKIT!$TOOLKIT$ac_delim
53253 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
53254 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
53255 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
53256 cross_compiling!$cross_compiling$ac_delim
53257 WIDGET_SET!$WIDGET_SET$ac_delim
53258 WX_RELEASE!$WX_RELEASE$ac_delim
53259 WX_VERSION!$WX_VERSION$ac_delim
53260 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
53261 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
53262 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
53263 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
53264 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
53265 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
53266 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
53267 WXCONFIG_LDFLAGS!$WXCONFIG_LDFLAGS$ac_delim
53268 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
53269 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
53270 GUIDIST!$GUIDIST$ac_delim
53271 DISTDIR!$DISTDIR$ac_delim
53272 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
53273 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
53274 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
53275 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
53276 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
53277 RESCOMP!$RESCOMP$ac_delim
53278 RESFLAGS!$RESFLAGS$ac_delim
53279 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
53280 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
53281 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
53282 LIBWXMACRES!$LIBWXMACRES$ac_delim
53283 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
53284 MACSETFILE!$MACSETFILE$ac_delim
53285 GCC!$GCC$ac_delim
53286 DLLTOOL!$DLLTOOL$ac_delim
53287 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
53288 LIBOBJS!$LIBOBJS$ac_delim
53289 LTLIBOBJS!$LTLIBOBJS$ac_delim
53290 _ACEOF
53291
53292 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 46; then
53293 break
53294 elif $ac_last_try; then
53295 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53296 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53297 { (exit 1); exit 1; }; }
53298 else
53299 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53300 fi
53301 done
53302
53303 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53304 if test -n "$ac_eof"; then
53305 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53306 ac_eof=`expr $ac_eof + 1`
53307 fi
53308
53309 cat >>$CONFIG_STATUS <<_ACEOF
53310 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
53311 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
53312 _ACEOF
53313 sed '
53314 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53315 s/^/s,@/; s/!/@,|#_!!_#|/
53316 :n
53317 t n
53318 s/'"$ac_delim"'$/,g/; t
53319 s/$/\\/; p
53320 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53321 ' >>$CONFIG_STATUS <conf$$subs.sed
53322 rm -f conf$$subs.sed
53323 cat >>$CONFIG_STATUS <<_ACEOF
53324 :end
53325 s/|#_!!_#|//g
53326 CEOF$ac_eof
53327 _ACEOF
53328
53329
53330 # VPATH may cause trouble with some makes, so we remove $(srcdir),
53331 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
53332 # trailing colons and then remove the whole line if VPATH becomes empty
53333 # (actually we leave an empty line to preserve line numbers).
53334 if test "x$srcdir" = x.; then
53335 ac_vpsub='/^[ ]*VPATH[ ]*=/{
53336 s/:*\$(srcdir):*/:/
53337 s/:*\${srcdir}:*/:/
53338 s/:*@srcdir@:*/:/
53339 s/^\([^=]*=[ ]*\):*/\1/
53340 s/:*$//
53341 s/^[^=]*=[ ]*$//
53342 }'
53343 fi
53344
53345 cat >>$CONFIG_STATUS <<\_ACEOF
53346 fi # test -n "$CONFIG_FILES"
53347
53348
53349 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
53350 do
53351 case $ac_tag in
53352 :[FHLC]) ac_mode=$ac_tag; continue;;
53353 esac
53354 case $ac_mode$ac_tag in
53355 :[FHL]*:*);;
53356 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
53357 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
53358 { (exit 1); exit 1; }; };;
53359 :[FH]-) ac_tag=-:-;;
53360 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
53361 esac
53362 ac_save_IFS=$IFS
53363 IFS=:
53364 set x $ac_tag
53365 IFS=$ac_save_IFS
53366 shift
53367 ac_file=$1
53368 shift
53369
53370 case $ac_mode in
53371 :L) ac_source=$1;;
53372 :[FH])
53373 ac_file_inputs=
53374 for ac_f
53375 do
53376 case $ac_f in
53377 -) ac_f="$tmp/stdin";;
53378 *) # Look for the file first in the build tree, then in the source tree
53379 # (if the path is not absolute). The absolute path cannot be DOS-style,
53380 # because $ac_f cannot contain `:'.
53381 test -f "$ac_f" ||
53382 case $ac_f in
53383 [\\/$]*) false;;
53384 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
53385 esac ||
53386 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
53387 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
53388 { (exit 1); exit 1; }; };;
53389 esac
53390 ac_file_inputs="$ac_file_inputs $ac_f"
53391 done
53392
53393 # Let's still pretend it is `configure' which instantiates (i.e., don't
53394 # use $as_me), people would be surprised to read:
53395 # /* config.h. Generated by config.status. */
53396 configure_input="Generated from "`IFS=:
53397 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
53398 if test x"$ac_file" != x-; then
53399 configure_input="$ac_file. $configure_input"
53400 { echo "$as_me:$LINENO: creating $ac_file" >&5
53401 echo "$as_me: creating $ac_file" >&6;}
53402 fi
53403
53404 case $ac_tag in
53405 *:-:* | *:-) cat >"$tmp/stdin";;
53406 esac
53407 ;;
53408 esac
53409
53410 ac_dir=`$as_dirname -- "$ac_file" ||
53411 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53412 X"$ac_file" : 'X\(//\)[^/]' \| \
53413 X"$ac_file" : 'X\(//\)$' \| \
53414 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
53415 echo X"$ac_file" |
53416 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53417 s//\1/
53418 q
53419 }
53420 /^X\(\/\/\)[^/].*/{
53421 s//\1/
53422 q
53423 }
53424 /^X\(\/\/\)$/{
53425 s//\1/
53426 q
53427 }
53428 /^X\(\/\).*/{
53429 s//\1/
53430 q
53431 }
53432 s/.*/./; q'`
53433 { as_dir="$ac_dir"
53434 case $as_dir in #(
53435 -*) as_dir=./$as_dir;;
53436 esac
53437 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
53438 as_dirs=
53439 while :; do
53440 case $as_dir in #(
53441 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
53442 *) as_qdir=$as_dir;;
53443 esac
53444 as_dirs="'$as_qdir' $as_dirs"
53445 as_dir=`$as_dirname -- "$as_dir" ||
53446 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53447 X"$as_dir" : 'X\(//\)[^/]' \| \
53448 X"$as_dir" : 'X\(//\)$' \| \
53449 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
53450 echo X"$as_dir" |
53451 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53452 s//\1/
53453 q
53454 }
53455 /^X\(\/\/\)[^/].*/{
53456 s//\1/
53457 q
53458 }
53459 /^X\(\/\/\)$/{
53460 s//\1/
53461 q
53462 }
53463 /^X\(\/\).*/{
53464 s//\1/
53465 q
53466 }
53467 s/.*/./; q'`
53468 test -d "$as_dir" && break
53469 done
53470 test -z "$as_dirs" || eval "mkdir $as_dirs"
53471 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
53472 echo "$as_me: error: cannot create directory $as_dir" >&2;}
53473 { (exit 1); exit 1; }; }; }
53474 ac_builddir=.
53475
53476 case "$ac_dir" in
53477 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
53478 *)
53479 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
53480 # A ".." for each directory in $ac_dir_suffix.
53481 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
53482 case $ac_top_builddir_sub in
53483 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
53484 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
53485 esac ;;
53486 esac
53487 ac_abs_top_builddir=$ac_pwd
53488 ac_abs_builddir=$ac_pwd$ac_dir_suffix
53489 # for backward compatibility:
53490 ac_top_builddir=$ac_top_build_prefix
53491
53492 case $srcdir in
53493 .) # We are building in place.
53494 ac_srcdir=.
53495 ac_top_srcdir=$ac_top_builddir_sub
53496 ac_abs_top_srcdir=$ac_pwd ;;
53497 [\\/]* | ?:[\\/]* ) # Absolute name.
53498 ac_srcdir=$srcdir$ac_dir_suffix;
53499 ac_top_srcdir=$srcdir
53500 ac_abs_top_srcdir=$srcdir ;;
53501 *) # Relative name.
53502 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
53503 ac_top_srcdir=$ac_top_build_prefix$srcdir
53504 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
53505 esac
53506 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
53507
53508
53509 case $ac_mode in
53510 :F)
53511 #
53512 # CONFIG_FILE
53513 #
53514
53515 case $INSTALL in
53516 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
53517 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
53518 esac
53519 _ACEOF
53520
53521 cat >>$CONFIG_STATUS <<\_ACEOF
53522 # If the template does not know about datarootdir, expand it.
53523 # FIXME: This hack should be removed a few years after 2.60.
53524 ac_datarootdir_hack=; ac_datarootdir_seen=
53525
53526 case `sed -n '/datarootdir/ {
53527 p
53528 q
53529 }
53530 /@datadir@/p
53531 /@docdir@/p
53532 /@infodir@/p
53533 /@localedir@/p
53534 /@mandir@/p
53535 ' $ac_file_inputs` in
53536 *datarootdir*) ac_datarootdir_seen=yes;;
53537 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
53538 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
53539 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
53540 _ACEOF
53541 cat >>$CONFIG_STATUS <<_ACEOF
53542 ac_datarootdir_hack='
53543 s&@datadir@&$datadir&g
53544 s&@docdir@&$docdir&g
53545 s&@infodir@&$infodir&g
53546 s&@localedir@&$localedir&g
53547 s&@mandir@&$mandir&g
53548 s&\\\${datarootdir}&$datarootdir&g' ;;
53549 esac
53550 _ACEOF
53551
53552 # Neutralize VPATH when `$srcdir' = `.'.
53553 # Shell code in configure.ac might set extrasub.
53554 # FIXME: do we really want to maintain this feature?
53555 cat >>$CONFIG_STATUS <<_ACEOF
53556 sed "$ac_vpsub
53557 $extrasub
53558 _ACEOF
53559 cat >>$CONFIG_STATUS <<\_ACEOF
53560 :t
53561 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53562 s&@configure_input@&$configure_input&;t t
53563 s&@top_builddir@&$ac_top_builddir_sub&;t t
53564 s&@srcdir@&$ac_srcdir&;t t
53565 s&@abs_srcdir@&$ac_abs_srcdir&;t t
53566 s&@top_srcdir@&$ac_top_srcdir&;t t
53567 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
53568 s&@builddir@&$ac_builddir&;t t
53569 s&@abs_builddir@&$ac_abs_builddir&;t t
53570 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
53571 s&@INSTALL@&$ac_INSTALL&;t t
53572 $ac_datarootdir_hack
53573 " $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
53574
53575 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
53576 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
53577 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
53578 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
53579 which seems to be undefined. Please make sure it is defined." >&5
53580 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
53581 which seems to be undefined. Please make sure it is defined." >&2;}
53582
53583 rm -f "$tmp/stdin"
53584 case $ac_file in
53585 -) cat "$tmp/out"; rm -f "$tmp/out";;
53586 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
53587 esac
53588 ;;
53589 :H)
53590 #
53591 # CONFIG_HEADER
53592 #
53593 _ACEOF
53594
53595 # Transform confdefs.h into a sed script `conftest.defines', that
53596 # substitutes the proper values into config.h.in to produce config.h.
53597 rm -f conftest.defines conftest.tail
53598 # First, append a space to every undef/define line, to ease matching.
53599 echo 's/$/ /' >conftest.defines
53600 # Then, protect against being on the right side of a sed subst, or in
53601 # an unquoted here document, in config.status. If some macros were
53602 # called several times there might be several #defines for the same
53603 # symbol, which is useless. But do not sort them, since the last
53604 # AC_DEFINE must be honored.
53605 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
53606 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
53607 # NAME is the cpp macro being defined, VALUE is the value it is being given.
53608 # PARAMS is the parameter list in the macro definition--in most cases, it's
53609 # just an empty string.
53610 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
53611 ac_dB='\\)[ (].*,\\1define\\2'
53612 ac_dC=' '
53613 ac_dD=' ,'
53614
53615 uniq confdefs.h |
53616 sed -n '
53617 t rset
53618 :rset
53619 s/^[ ]*#[ ]*define[ ][ ]*//
53620 t ok
53621 d
53622 :ok
53623 s/[\\&,]/\\&/g
53624 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
53625 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
53626 ' >>conftest.defines
53627
53628 # Remove the space that was appended to ease matching.
53629 # Then replace #undef with comments. This is necessary, for
53630 # example, in the case of _POSIX_SOURCE, which is predefined and required
53631 # on some systems where configure will not decide to define it.
53632 # (The regexp can be short, since the line contains either #define or #undef.)
53633 echo 's/ $//
53634 s,^[ #]*u.*,/* & */,' >>conftest.defines
53635
53636 # Break up conftest.defines:
53637 ac_max_sed_lines=50
53638
53639 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
53640 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
53641 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
53642 # et cetera.
53643 ac_in='$ac_file_inputs'
53644 ac_out='"$tmp/out1"'
53645 ac_nxt='"$tmp/out2"'
53646
53647 while :
53648 do
53649 # Write a here document:
53650 cat >>$CONFIG_STATUS <<_ACEOF
53651 # First, check the format of the line:
53652 cat >"\$tmp/defines.sed" <<\\CEOF
53653 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
53654 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
53655 b
53656 :def
53657 _ACEOF
53658 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
53659 echo 'CEOF
53660 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
53661 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
53662 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
53663 grep . conftest.tail >/dev/null || break
53664 rm -f conftest.defines
53665 mv conftest.tail conftest.defines
53666 done
53667 rm -f conftest.defines conftest.tail
53668
53669 echo "ac_result=$ac_in" >>$CONFIG_STATUS
53670 cat >>$CONFIG_STATUS <<\_ACEOF
53671 if test x"$ac_file" != x-; then
53672 echo "/* $configure_input */" >"$tmp/config.h"
53673 cat "$ac_result" >>"$tmp/config.h"
53674 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
53675 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
53676 echo "$as_me: $ac_file is unchanged" >&6;}
53677 else
53678 rm -f $ac_file
53679 mv "$tmp/config.h" $ac_file
53680 fi
53681 else
53682 echo "/* $configure_input */"
53683 cat "$ac_result"
53684 fi
53685 rm -f "$tmp/out12"
53686 ;;
53687
53688 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
53689 echo "$as_me: executing $ac_file commands" >&6;}
53690 ;;
53691 esac
53692
53693
53694 case $ac_file$ac_mode in
53695 "rcdefs.h":C)
53696 mkdir -p $outdir &&
53697 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
53698 ;;
53699 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
53700 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
53701 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
53702 "wx-config":C) rm -f wx-config
53703 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
53704 ;;
53705
53706 esac
53707 done # for ac_tag
53708
53709
53710 { (exit 0); exit 0; }
53711 _ACEOF
53712 chmod +x $CONFIG_STATUS
53713 ac_clean_files=$ac_clean_files_save
53714
53715
53716 # configure is writing to config.log, and then calls config.status.
53717 # config.status does its own redirection, appending to config.log.
53718 # Unfortunately, on DOS this fails, as config.log is still kept open
53719 # by configure, so config.status won't be able to write to it; its
53720 # output is simply discarded. So we exec the FD to /dev/null,
53721 # effectively closing config.log, so it can be properly (re)opened and
53722 # appended to by config.status. When coming back to configure, we
53723 # need to make the FD available again.
53724 if test "$no_create" != yes; then
53725 ac_cs_success=:
53726 ac_config_status_args=
53727 test "$silent" = yes &&
53728 ac_config_status_args="$ac_config_status_args --quiet"
53729 exec 5>/dev/null
53730 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
53731 exec 5>>config.log
53732 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
53733 # would make configure fail if this is the last instruction.
53734 $ac_cs_success || { (exit 1); exit 1; }
53735 fi
53736
53737 #
53738 # CONFIG_SUBDIRS section.
53739 #
53740 if test "$no_recursion" != yes; then
53741
53742 # Remove --cache-file and --srcdir arguments so they do not pile up.
53743 ac_sub_configure_args=
53744 ac_prev=
53745 eval "set x $ac_configure_args"
53746 shift
53747 for ac_arg
53748 do
53749 if test -n "$ac_prev"; then
53750 ac_prev=
53751 continue
53752 fi
53753 case $ac_arg in
53754 -cache-file | --cache-file | --cache-fil | --cache-fi \
53755 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
53756 ac_prev=cache_file ;;
53757 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
53758 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
53759 | --c=*)
53760 ;;
53761 --config-cache | -C)
53762 ;;
53763 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
53764 ac_prev=srcdir ;;
53765 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
53766 ;;
53767 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
53768 ac_prev=prefix ;;
53769 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
53770 ;;
53771 *)
53772 case $ac_arg in
53773 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
53774 esac
53775 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
53776 esac
53777 done
53778
53779 # Always prepend --prefix to ensure using the same prefix
53780 # in subdir configurations.
53781 ac_arg="--prefix=$prefix"
53782 case $ac_arg in
53783 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
53784 esac
53785 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
53786
53787 # Pass --silent
53788 if test "$silent" = yes; then
53789 ac_sub_configure_args="--silent $ac_sub_configure_args"
53790 fi
53791
53792 ac_popdir=`pwd`
53793 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
53794
53795 # Do not complain, so a configure script can configure whichever
53796 # parts of a large source tree are present.
53797 test -d "$srcdir/$ac_dir" || continue
53798
53799 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
53800 echo "$as_me:$LINENO: $ac_msg" >&5
53801 echo "$ac_msg" >&6
53802 { as_dir="$ac_dir"
53803 case $as_dir in #(
53804 -*) as_dir=./$as_dir;;
53805 esac
53806 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
53807 as_dirs=
53808 while :; do
53809 case $as_dir in #(
53810 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
53811 *) as_qdir=$as_dir;;
53812 esac
53813 as_dirs="'$as_qdir' $as_dirs"
53814 as_dir=`$as_dirname -- "$as_dir" ||
53815 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53816 X"$as_dir" : 'X\(//\)[^/]' \| \
53817 X"$as_dir" : 'X\(//\)$' \| \
53818 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
53819 echo X"$as_dir" |
53820 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53821 s//\1/
53822 q
53823 }
53824 /^X\(\/\/\)[^/].*/{
53825 s//\1/
53826 q
53827 }
53828 /^X\(\/\/\)$/{
53829 s//\1/
53830 q
53831 }
53832 /^X\(\/\).*/{
53833 s//\1/
53834 q
53835 }
53836 s/.*/./; q'`
53837 test -d "$as_dir" && break
53838 done
53839 test -z "$as_dirs" || eval "mkdir $as_dirs"
53840 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
53841 echo "$as_me: error: cannot create directory $as_dir" >&2;}
53842 { (exit 1); exit 1; }; }; }
53843 ac_builddir=.
53844
53845 case "$ac_dir" in
53846 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
53847 *)
53848 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
53849 # A ".." for each directory in $ac_dir_suffix.
53850 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
53851 case $ac_top_builddir_sub in
53852 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
53853 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
53854 esac ;;
53855 esac
53856 ac_abs_top_builddir=$ac_pwd
53857 ac_abs_builddir=$ac_pwd$ac_dir_suffix
53858 # for backward compatibility:
53859 ac_top_builddir=$ac_top_build_prefix
53860
53861 case $srcdir in
53862 .) # We are building in place.
53863 ac_srcdir=.
53864 ac_top_srcdir=$ac_top_builddir_sub
53865 ac_abs_top_srcdir=$ac_pwd ;;
53866 [\\/]* | ?:[\\/]* ) # Absolute name.
53867 ac_srcdir=$srcdir$ac_dir_suffix;
53868 ac_top_srcdir=$srcdir
53869 ac_abs_top_srcdir=$srcdir ;;
53870 *) # Relative name.
53871 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
53872 ac_top_srcdir=$ac_top_build_prefix$srcdir
53873 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
53874 esac
53875 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
53876
53877
53878 cd "$ac_dir"
53879
53880 # Check for guested configure; otherwise get Cygnus style configure.
53881 if test -f "$ac_srcdir/configure.gnu"; then
53882 ac_sub_configure=$ac_srcdir/configure.gnu
53883 elif test -f "$ac_srcdir/configure"; then
53884 ac_sub_configure=$ac_srcdir/configure
53885 elif test -f "$ac_srcdir/configure.in"; then
53886 # This should be Cygnus configure.
53887 ac_sub_configure=$ac_aux_dir/configure
53888 else
53889 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
53890 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
53891 ac_sub_configure=
53892 fi
53893
53894 # The recursion is here.
53895 if test -n "$ac_sub_configure"; then
53896 # Make the cache file name correct relative to the subdirectory.
53897 case $cache_file in
53898 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
53899 *) # Relative name.
53900 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
53901 esac
53902
53903 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
53904 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
53905 # The eval makes quoting arguments work.
53906 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
53907 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
53908 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
53909 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
53910 { (exit 1); exit 1; }; }
53911 fi
53912
53913 cd "$ac_popdir"
53914 done
53915 fi
53916
53917
53918 echo
53919 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
53920 echo ""
53921 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
53922 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
53923 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
53924 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
53925 if test "$wxUSE_UNICODE" = "yes"; then
53926 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
53927 echo " (using UTF-8)"
53928 else
53929 echo " (using wchar_t)"
53930 fi
53931 else
53932 echo
53933 fi
53934
53935 echo " What level of wxWidgets compatibility should be enabled?"
53936 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
53937 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
53938
53939 echo " Which libraries should wxWidgets use?"
53940 echo " STL ${wxUSE_STL}"
53941 echo " jpeg ${wxUSE_LIBJPEG-none}"
53942 echo " png ${wxUSE_LIBPNG-none}"
53943 echo " regex ${wxUSE_REGEX}"
53944 echo " tiff ${wxUSE_LIBTIFF-none}"
53945 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
53946 echo " xpm ${wxUSE_LIBXPM-none}"
53947 fi
53948 echo " zlib ${wxUSE_ZLIB}"
53949 echo " expat ${wxUSE_EXPAT}"
53950 echo " libmspack ${wxUSE_LIBMSPACK}"
53951 echo " sdl ${wxUSE_LIBSDL}"
53952
53953 echo ""
53954