]> git.saurik.com Git - wxWidgets.git/blob - configure
835353aab4625c0d28fa2fc7d791c97a990fde65
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.2.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
15
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19 emulate sh
20 NULLCMD=:
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
24 setopt NO_GLOB_SUBST
25 else
26 case `(set -o) 2>/dev/null` in
27 *posix*) set -o posix ;;
28 esac
29
30 fi
31
32
33
34
35 # PATH needs CR
36 # Avoid depending upon Character Ranges.
37 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits='0123456789'
41 as_cr_alnum=$as_cr_Letters$as_cr_digits
42
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
47 chmod +x conf$$.sh
48 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49 PATH_SEPARATOR=';'
50 else
51 PATH_SEPARATOR=:
52 fi
53 rm -f conf$$.sh
54 fi
55
56 # Support unset when possible.
57 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
58 as_unset=unset
59 else
60 as_unset=false
61 fi
62
63
64 # IFS
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
69 as_nl='
70 '
71 IFS=" "" $as_nl"
72
73 # Find who we are. Look in the path if we contain no directory separator.
74 case $0 in
75 *[\\/]* ) as_myself=$0 ;;
76 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77 for as_dir in $PATH
78 do
79 IFS=$as_save_IFS
80 test -z "$as_dir" && as_dir=.
81 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
82 done
83 IFS=$as_save_IFS
84
85 ;;
86 esac
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x; then
90 as_myself=$0
91 fi
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 { (exit 1); exit 1; }
95 fi
96
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
100 done
101 PS1='$ '
102 PS2='> '
103 PS4='+ '
104
105 # NLS nuisances.
106 for as_var in \
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
109 LC_TELEPHONE LC_TIME
110 do
111 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C; export $as_var
113 else
114 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 fi
116 done
117
118 # Required to use basename.
119 if expr a : '\(a\)' >/dev/null 2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001; then
121 as_expr=expr
122 else
123 as_expr=false
124 fi
125
126 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
127 as_basename=basename
128 else
129 as_basename=false
130 fi
131
132
133 # Name of the executable.
134 as_me=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 echo X/"$0" |
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
140 s//\1/
141 q
142 }
143 /^X\/\(\/\/\)$/{
144 s//\1/
145 q
146 }
147 /^X\/\(\/\).*/{
148 s//\1/
149 q
150 }
151 s/.*/./; q'`
152
153 # CDPATH.
154 $as_unset CDPATH
155
156
157 if test "x$CONFIG_SHELL" = x; then
158 if (eval ":") 2>/dev/null; then
159 as_have_required=yes
160 else
161 as_have_required=no
162 fi
163
164 if test $as_have_required = yes && (eval ":
165 (as_func_return () {
166 (exit \$1)
167 }
168 as_func_success () {
169 as_func_return 0
170 }
171 as_func_failure () {
172 as_func_return 1
173 }
174 as_func_ret_success () {
175 return 0
176 }
177 as_func_ret_failure () {
178 return 1
179 }
180
181 exitcode=0
182 if as_func_success; then
183 :
184 else
185 exitcode=1
186 echo as_func_success failed.
187 fi
188
189 if as_func_failure; then
190 exitcode=1
191 echo as_func_failure succeeded.
192 fi
193
194 if as_func_ret_success; then
195 :
196 else
197 exitcode=1
198 echo as_func_ret_success failed.
199 fi
200
201 if as_func_ret_failure; then
202 exitcode=1
203 echo as_func_ret_failure succeeded.
204 fi
205
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 :
208 else
209 exitcode=1
210 echo positional parameters were not saved.
211 fi
212
213 test \$exitcode = 0) || { (exit 1); exit 1; }
214
215 (
216 as_lineno_1=\$LINENO
217 as_lineno_2=\$LINENO
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev/null; then
221 :
222 else
223 as_candidate_shells=
224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
225 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
226 do
227 IFS=$as_save_IFS
228 test -z "$as_dir" && as_dir=.
229 case $as_dir in
230 /*)
231 for as_base in sh bash ksh sh5; do
232 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
233 done;;
234 esac
235 done
236 IFS=$as_save_IFS
237
238
239 for as_shell in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev/null <<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
244 emulate sh
245 NULLCMD=:
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
249 setopt NO_GLOB_SUBST
250 else
251 case `(set -o) 2>/dev/null` in
252 *posix*) set -o posix ;;
253 esac
254
255 fi
256
257
258 :
259 _ASEOF
260 }; then
261 CONFIG_SHELL=$as_shell
262 as_have_required=yes
263 if { "$as_shell" 2> /dev/null <<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
265 emulate sh
266 NULLCMD=:
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
270 setopt NO_GLOB_SUBST
271 else
272 case `(set -o) 2>/dev/null` in
273 *posix*) set -o posix ;;
274 esac
275
276 fi
277
278
279 :
280 (as_func_return () {
281 (exit $1)
282 }
283 as_func_success () {
284 as_func_return 0
285 }
286 as_func_failure () {
287 as_func_return 1
288 }
289 as_func_ret_success () {
290 return 0
291 }
292 as_func_ret_failure () {
293 return 1
294 }
295
296 exitcode=0
297 if as_func_success; then
298 :
299 else
300 exitcode=1
301 echo as_func_success failed.
302 fi
303
304 if as_func_failure; then
305 exitcode=1
306 echo as_func_failure succeeded.
307 fi
308
309 if as_func_ret_success; then
310 :
311 else
312 exitcode=1
313 echo as_func_ret_success failed.
314 fi
315
316 if as_func_ret_failure; then
317 exitcode=1
318 echo as_func_ret_failure succeeded.
319 fi
320
321 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 :
323 else
324 exitcode=1
325 echo positional parameters were not saved.
326 fi
327
328 test $exitcode = 0) || { (exit 1); exit 1; }
329
330 (
331 as_lineno_1=$LINENO
332 as_lineno_2=$LINENO
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
335
336 _ASEOF
337 }; then
338 break
339 fi
340
341 fi
342
343 done
344
345 if test "x$CONFIG_SHELL" != x; then
346 for as_var in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
348 done
349 export CONFIG_SHELL
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 fi
352
353
354 if test $as_have_required = no; then
355 echo This script requires a shell more modern than all the
356 echo shells that I found on your system. Please install a
357 echo modern shell, or manually run the script under such a
358 echo shell if you do have one.
359 { (exit 1); exit 1; }
360 fi
361
362
363 fi
364
365 fi
366
367
368
369 (eval "as_func_return () {
370 (exit \$1)
371 }
372 as_func_success () {
373 as_func_return 0
374 }
375 as_func_failure () {
376 as_func_return 1
377 }
378 as_func_ret_success () {
379 return 0
380 }
381 as_func_ret_failure () {
382 return 1
383 }
384
385 exitcode=0
386 if as_func_success; then
387 :
388 else
389 exitcode=1
390 echo as_func_success failed.
391 fi
392
393 if as_func_failure; then
394 exitcode=1
395 echo as_func_failure succeeded.
396 fi
397
398 if as_func_ret_success; then
399 :
400 else
401 exitcode=1
402 echo as_func_ret_success failed.
403 fi
404
405 if as_func_ret_failure; then
406 exitcode=1
407 echo as_func_ret_failure succeeded.
408 fi
409
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 :
412 else
413 exitcode=1
414 echo positional parameters were not saved.
415 fi
416
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system,
420 echo including any error possibly output before this
421 echo message
422 }
423
424
425
426 as_lineno_1=$LINENO
427 as_lineno_2=$LINENO
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
437 # case at line end.
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
441 sed -n '
442 p
443 /[$]LINENO/=
444 ' <$as_myself |
445 sed '
446 s/[$]LINENO.*/&-/
447 t lineno
448 b
449 :lineno
450 N
451 :loop
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 t loop
454 s/-\n.*//
455 ' >$as_me.lineno &&
456 chmod +x "$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
459
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
463 . "./$as_me.lineno"
464 # Exit status is that of the last command.
465 exit
466 }
467
468
469 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
470 as_dirname=dirname
471 else
472 as_dirname=false
473 fi
474
475 ECHO_C= ECHO_N= ECHO_T=
476 case `echo -n x` in
477 -n*)
478 case `echo 'x\c'` in
479 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
480 *) ECHO_C='\c';;
481 esac;;
482 *)
483 ECHO_N='-n';;
484 esac
485
486 if expr a : '\(a\)' >/dev/null 2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001; then
488 as_expr=expr
489 else
490 as_expr=false
491 fi
492
493 rm -f conf$$ conf$$.exe conf$$.file
494 if test -d conf$$.dir; then
495 rm -f conf$$.dir/conf$$.file
496 else
497 rm -f conf$$.dir
498 mkdir conf$$.dir
499 fi
500 echo >conf$$.file
501 if ln -s conf$$.file conf$$ 2>/dev/null; then
502 as_ln_s='ln -s'
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508 as_ln_s='cp -p'
509 elif ln conf$$.file conf$$ 2>/dev/null; then
510 as_ln_s=ln
511 else
512 as_ln_s='cp -p'
513 fi
514 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
515 rmdir conf$$.dir 2>/dev/null
516
517 if mkdir -p . 2>/dev/null; then
518 as_mkdir_p=:
519 else
520 test -d ./-p && rmdir ./-p
521 as_mkdir_p=false
522 fi
523
524 if test -x / >/dev/null 2>&1; then
525 as_test_x='test -x'
526 else
527 if ls -dL / >/dev/null 2>&1; then
528 as_ls_L_option=L
529 else
530 as_ls_L_option=
531 fi
532 as_test_x='
533 eval sh -c '\''
534 if test -d "$1"; then
535 test -d "$1/.";
536 else
537 case $1 in
538 -*)set "./$1";;
539 esac;
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
542 '\'' sh
543 '
544 fi
545 as_executable_p=$as_test_x
546
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552
553
554
555 exec 7<&0 </dev/null 6>&1
556
557 # Name of the host.
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
561
562 #
563 # Initializations.
564 #
565 ac_default_prefix=/usr/local
566 ac_clean_files=
567 ac_config_libobj_dir=.
568 LIBOBJS=
569 cross_compiling=no
570 subdirs=
571 MFLAGS=
572 MAKEFLAGS=
573 SHELL=${CONFIG_SHELL-/bin/sh}
574
575 # Identity of this package.
576 PACKAGE_NAME='wxWidgets'
577 PACKAGE_TARNAME='wxwidgets'
578 PACKAGE_VERSION='2.9.2'
579 PACKAGE_STRING='wxWidgets 2.9.2'
580 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
581
582 ac_unique_file="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default="\
585 #include <stdio.h>
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
588 #endif
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
591 #endif
592 #ifdef STDC_HEADERS
593 # include <stdlib.h>
594 # include <stddef.h>
595 #else
596 # ifdef HAVE_STDLIB_H
597 # include <stdlib.h>
598 # endif
599 #endif
600 #ifdef HAVE_STRING_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 # include <memory.h>
603 # endif
604 # include <string.h>
605 #endif
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
608 #endif
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
611 #endif
612 #ifdef HAVE_STDINT_H
613 # include <stdint.h>
614 #endif
615 #ifdef HAVE_UNISTD_H
616 # include <unistd.h>
617 #endif"
618
619 ac_subst_vars='SHELL
620 PATH_SEPARATOR
621 PACKAGE_NAME
622 PACKAGE_TARNAME
623 PACKAGE_VERSION
624 PACKAGE_STRING
625 PACKAGE_BUGREPORT
626 exec_prefix
627 prefix
628 program_transform_name
629 bindir
630 sbindir
631 libexecdir
632 datarootdir
633 datadir
634 sysconfdir
635 sharedstatedir
636 localstatedir
637 includedir
638 oldincludedir
639 docdir
640 infodir
641 htmldir
642 dvidir
643 pdfdir
644 psdir
645 libdir
646 localedir
647 mandir
648 DEFS
649 ECHO_C
650 ECHO_N
651 ECHO_T
652 LIBS
653 build_alias
654 host_alias
655 target_alias
656 build
657 build_cpu
658 build_vendor
659 build_os
660 host
661 host_cpu
662 host_vendor
663 host_os
664 wx_top_builddir
665 CC
666 CFLAGS
667 LDFLAGS
668 CPPFLAGS
669 ac_ct_CC
670 EXEEXT
671 OBJEXT
672 CPP
673 GREP
674 EGREP
675 CXX
676 CXXFLAGS
677 ac_ct_CXX
678 AR
679 OSX_SW_VERS
680 CXXCPP
681 subdirs
682 PKG_CONFIG
683 GTK_CFLAGS
684 GTK_LIBS
685 GTK_CONFIG
686 DIRECTFB_CFLAGS
687 DIRECTFB_LIBS
688 XMKMF
689 X_CFLAGS
690 X_PRE_LIBS
691 X_LIBS
692 X_EXTRA_LIBS
693 PANGOX_CFLAGS
694 PANGOX_LIBS
695 PANGOFT2_CFLAGS
696 PANGOFT2_LIBS
697 PANGOXFT_CFLAGS
698 PANGOXFT_LIBS
699 CFLAGS_VISIBILITY
700 CXXFLAGS_VISIBILITY
701 LIBICONV
702 GXX_VERSION
703 SDL_CONFIG
704 SDL_CFLAGS
705 SDL_LIBS
706 GTKPRINT_CFLAGS
707 GTKPRINT_LIBS
708 LIBGNOMEPRINTUI_CFLAGS
709 LIBGNOMEPRINTUI_LIBS
710 GNOMEVFS_CFLAGS
711 GNOMEVFS_LIBS
712 HILDON_CFLAGS
713 HILDON_LIBS
714 HILDON2_CFLAGS
715 HILDON2_LIBS
716 PYTHON
717 COND_PYTHON
718 CAIRO_CFLAGS
719 CAIRO_LIBS
720 GST_CFLAGS
721 GST_LIBS
722 ALL_WX_LIBS
723 BUILT_WX_LIBS
724 STD_BASE_LIBS
725 STD_GUI_LIBS
726 wxUSE_ZLIB
727 wxUSE_REGEX
728 wxUSE_EXPAT
729 wxUSE_LIBJPEG
730 wxUSE_LIBPNG
731 wxUSE_LIBTIFF
732 VENDOR
733 OFFICIAL_BUILD
734 WX_FLAVOUR
735 WX_LIB_FLAVOUR
736 WXUNIV
737 MONOLITHIC
738 USE_PLUGINS
739 CXXWARNINGS
740 EXTRALIBS
741 EXTRALIBS_XML
742 EXTRALIBS_HTML
743 EXTRALIBS_MEDIA
744 EXTRALIBS_GUI
745 EXTRALIBS_OPENGL
746 EXTRALIBS_SDL
747 EXTRALIBS_STC
748 WITH_PLUGIN_SDL
749 EXTRALIBS_GTKPRINT
750 EXTRALIBS_GNOMEPRINT
751 EXTRALIBS_GNOMEVFS
752 EXTRALIBS_HILDON
753 UNICODE
754 DEBUG_INFO
755 DEBUG_FLAG
756 TOOLKIT_LOWERCASE
757 TOOLKIT_VERSION
758 DYLIB_RPATH_INSTALL
759 DYLIB_RPATH_POSTLINK
760 SAMPLES_RPATH_FLAG
761 HEADER_PAD_OPTION
762 HOST_SUFFIX
763 CPPUNIT_CFLAGS
764 CPPUNIT_LIBS
765 RANLIB
766 INSTALL_PROGRAM
767 INSTALL_SCRIPT
768 INSTALL_DATA
769 LN_S
770 SET_MAKE
771 MAKE_SET
772 AROPTIONS
773 STRIP
774 NM
775 INSTALL_DIR
776 LDFLAGS_GUI
777 IF_GNU_MAKE
778 PLATFORM_UNIX
779 PLATFORM_WIN32
780 PLATFORM_MSDOS
781 PLATFORM_MAC
782 PLATFORM_MACOS
783 PLATFORM_MACOSX
784 PLATFORM_OS2
785 PLATFORM_BEOS
786 SO_SUFFIX
787 SO_SUFFIX_MODULE
788 DLLIMP_SUFFIX
789 LIBPREFIX
790 LIBEXT
791 DLLPREFIX
792 DLLPREFIX_MODULE
793 dlldir
794 AIX_CXX_LD
795 SHARED_LD_CC
796 SHARED_LD_CXX
797 SHARED_LD_MODULE_CC
798 SHARED_LD_MODULE_CXX
799 PIC_FLAG
800 WINDOWS_IMPLIB
801 USE_SOVERSION
802 USE_SOVERLINUX
803 USE_SOVERSOLARIS
804 USE_SOVERCYGWIN
805 USE_MACVERSION
806 USE_SOTWOSYMLINKS
807 SONAME_FLAG
808 DEPS_TRACKING
809 BK_DEPS
810 WINDRES
811 REZ
812 SETFILE
813 OBJCXXFLAGS
814 GCC_PCH
815 ICC_PCH
816 ICC_PCH_CREATE_SWITCH
817 ICC_PCH_USE_SWITCH
818 BK_MAKE_PCH
819 COND_BUILD_DEBUG
820 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
821 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
822 COND_BUILD_DEBUG_UNICODE_0
823 COND_BUILD_DEBUG_UNICODE_1
824 COND_BUILD_RELEASE
825 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
826 COND_BUILD_RELEASE_UNICODE_0
827 COND_BUILD_RELEASE_UNICODE_1
828 COND_BUILD_debug
829 COND_BUILD_debug_DEBUG_FLAG_default
830 COND_BUILD_debug_DEBUG_INFO_default
831 COND_BUILD_debug_UNICODE_0
832 COND_BUILD_debug_UNICODE_1
833 COND_BUILD_release
834 COND_BUILD_release_DEBUG_INFO_default
835 COND_BUILD_release_UNICODE_0
836 COND_BUILD_release_UNICODE_1
837 COND_DEBUG_FLAG_0
838 COND_DEBUG_FLAG_1
839 COND_DEBUG_INFO_0
840 COND_DEBUG_INFO_1
841 COND_DEPS_TRACKING_0
842 COND_DEPS_TRACKING_1
843 COND_GCC_PCH_1
844 COND_ICC_PCH_1
845 COND_MONOLITHIC_0
846 COND_MONOLITHIC_0_SHARED_0
847 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
848 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
849 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
850 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
851 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
852 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
853 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
854 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
855 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
856 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
857 COND_MONOLITHIC_0_SHARED_1
858 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
859 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
860 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
861 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
862 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
863 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
864 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
865 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
866 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
867 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
868 COND_MONOLITHIC_0_USE_AUI_1
869 COND_MONOLITHIC_0_USE_GUI_1
870 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
871 COND_MONOLITHIC_0_USE_HTML_1
872 COND_MONOLITHIC_0_USE_MEDIA_1
873 COND_MONOLITHIC_0_USE_PROPGRID_1
874 COND_MONOLITHIC_0_USE_QA_1
875 COND_MONOLITHIC_0_USE_RIBBON_1
876 COND_MONOLITHIC_0_USE_RICHTEXT_1
877 COND_MONOLITHIC_0_USE_STC_1
878 COND_MONOLITHIC_0_USE_XRC_1
879 COND_MONOLITHIC_1
880 COND_MONOLITHIC_1_SHARED_0
881 COND_MONOLITHIC_1_SHARED_1
882 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
883 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
884 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
885 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
886 COND_PLATFORM_MACOSX_1
887 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
888 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
889 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
890 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
891 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
892 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
893 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
894 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
895 COND_PLATFORM_MACOSX_1_USE_GUI_1
896 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
897 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
898 COND_PLATFORM_MACOS_1
899 COND_PLATFORM_MAC_0
900 COND_PLATFORM_MAC_1
901 COND_PLATFORM_MSDOS_0
902 COND_PLATFORM_MSDOS_1
903 COND_PLATFORM_OS2_1
904 COND_PLATFORM_UNIX_0
905 COND_PLATFORM_UNIX_1
906 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
907 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
908 COND_PLATFORM_UNIX_1_USE_GUI_1
909 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
910 COND_PLATFORM_WIN32_0
911 COND_PLATFORM_WIN32_1
912 COND_PLATFORM_WIN32_1_SHARED_0
913 COND_SHARED_0
914 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
915 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
916 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
917 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
918 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
919 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
920 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
921 COND_SHARED_0_USE_STC_1
922 COND_SHARED_0_wxUSE_EXPAT_builtin
923 COND_SHARED_0_wxUSE_REGEX_builtin
924 COND_SHARED_0_wxUSE_ZLIB_builtin
925 COND_SHARED_1
926 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
927 COND_TOOLKIT_
928 COND_TOOLKIT_COCOA
929 COND_TOOLKIT_COCOA_USE_GUI_1
930 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
931 COND_TOOLKIT_DFB
932 COND_TOOLKIT_DFB_USE_GUI_1
933 COND_TOOLKIT_GTK
934 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
935 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
936 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
937 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
938 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
939 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
940 COND_TOOLKIT_GTK_USE_GUI_1
941 COND_TOOLKIT_MAC
942 COND_TOOLKIT_MGL
943 COND_TOOLKIT_MGL_USE_GUI_1
944 COND_TOOLKIT_MOTIF
945 COND_TOOLKIT_MOTIF_USE_GUI_1
946 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
947 COND_TOOLKIT_MSW
948 COND_TOOLKIT_MSW_USE_GUI_1
949 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
950 COND_TOOLKIT_MSW_WXUNIV_0
951 COND_TOOLKIT_OSX_CARBON
952 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
953 COND_TOOLKIT_OSX_COCOA
954 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
955 COND_TOOLKIT_OSX_IPHONE
956 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
957 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
958 COND_TOOLKIT_PM
959 COND_TOOLKIT_PM_USE_GUI_1
960 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
961 COND_TOOLKIT_WINCE
962 COND_TOOLKIT_WINCE_USE_GUI_1
963 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
964 COND_TOOLKIT_WINCE_WXUNIV_0
965 COND_TOOLKIT_X11
966 COND_TOOLKIT_X11_USE_GUI_1
967 COND_UNICODE_1
968 COND_USE_CAIRO_1
969 COND_USE_EXCEPTIONS_0
970 COND_USE_EXCEPTIONS_1
971 COND_USE_GUI_0
972 COND_USE_GUI_1
973 COND_USE_GUI_1_USE_OPENGL_1
974 COND_USE_GUI_1_WXUNIV_0
975 COND_USE_GUI_1_WXUNIV_1
976 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
977 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
978 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
979 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
980 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
981 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
982 COND_USE_OPENGL_1
983 COND_USE_PCH_1
984 COND_USE_PLUGINS_0
985 COND_USE_RTTI_0
986 COND_USE_RTTI_1
987 COND_USE_SOTWOSYMLINKS_1
988 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
989 COND_USE_SOVERLINUX_1
990 COND_USE_SOVERSION_0
991 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
992 COND_USE_SOVERSOLARIS_1
993 COND_USE_STC_1
994 COND_USE_THREADS_0
995 COND_USE_THREADS_1
996 COND_USE_XRC_1
997 COND_WINDOWS_IMPLIB_1
998 COND_WITH_PLUGIN_SDL_1
999 COND_WXUNIV_0
1000 COND_WXUNIV_1
1001 COND_WXUSE_EXPAT_BUILTIN
1002 COND_WXUSE_LIBJPEG_BUILTIN
1003 COND_WXUSE_LIBPNG_BUILTIN
1004 COND_WXUSE_LIBTIFF_BUILTIN
1005 COND_WXUSE_REGEX_BUILTIN
1006 COND_WXUSE_ZLIB_BUILTIN
1007 COND_wxUSE_EXPAT_builtin
1008 COND_wxUSE_LIBJPEG_builtin
1009 COND_wxUSE_LIBPNG_builtin
1010 COND_wxUSE_LIBTIFF_builtin
1011 COND_wxUSE_REGEX_builtin
1012 COND_wxUSE_ZLIB_builtin
1013 DEREZ
1014 SHARED
1015 WX_LIBRARY_BASENAME_NOGUI
1016 WX_LIBRARY_BASENAME_GUI
1017 USE_GUI
1018 AFMINSTALL
1019 WIN32INSTALL
1020 TOOLKIT
1021 TOOLKIT_DIR
1022 TOOLCHAIN_NAME
1023 TOOLCHAIN_FULLNAME
1024 cross_compiling
1025 WIDGET_SET
1026 WX_RELEASE
1027 WX_VERSION
1028 WX_SUBVERSION
1029 WX_CHARTYPE
1030 WXCONFIG_CPPFLAGS
1031 WXCONFIG_CFLAGS
1032 WXCONFIG_CXXFLAGS
1033 WXCONFIG_LIBS
1034 WXCONFIG_RPATH
1035 WXCONFIG_LDFLAGS
1036 WXCONFIG_LDFLAGS_GUI
1037 WXCONFIG_RESFLAGS
1038 GUIDIST
1039 DISTDIR
1040 SAMPLES_SUBDIRS
1041 LDFLAGS_GL
1042 OPENGL_LIBS
1043 DMALLOC_LIBS
1044 WX_VERSION_TAG
1045 RESCOMP
1046 RESFLAGS
1047 RESPROGRAMOBJ
1048 WX_RESOURCES_MACOSX_ASCII
1049 WX_RESOURCES_MACOSX_DATA
1050 LIBWXMACRES
1051 POSTLINK_COMMAND
1052 MACSETFILE
1053 GCC
1054 DLLTOOL
1055 CPPUNIT_CONFIG
1056 LIBOBJS
1057 LTLIBOBJS'
1058 ac_subst_files=''
1059 ac_precious_vars='build_alias
1060 host_alias
1061 target_alias
1062 CC
1063 CFLAGS
1064 LDFLAGS
1065 LIBS
1066 CPPFLAGS
1067 CPP
1068 CXX
1069 CXXFLAGS
1070 CCC
1071 CXXCPP
1072 PKG_CONFIG
1073 DIRECTFB_CFLAGS
1074 DIRECTFB_LIBS
1075 XMKMF
1076 PANGOX_CFLAGS
1077 PANGOX_LIBS
1078 PANGOFT2_CFLAGS
1079 PANGOFT2_LIBS
1080 PANGOXFT_CFLAGS
1081 PANGOXFT_LIBS
1082 GTKPRINT_CFLAGS
1083 GTKPRINT_LIBS
1084 LIBGNOMEPRINTUI_CFLAGS
1085 LIBGNOMEPRINTUI_LIBS
1086 GNOMEVFS_CFLAGS
1087 GNOMEVFS_LIBS
1088 HILDON_CFLAGS
1089 HILDON_LIBS
1090 HILDON2_CFLAGS
1091 HILDON2_LIBS
1092 CAIRO_CFLAGS
1093 CAIRO_LIBS
1094 GST_CFLAGS
1095 GST_LIBS'
1096 ac_subdirs_all='src/tiff
1097 src/expat'
1098
1099 # Initialize some variables set by options.
1100 ac_init_help=
1101 ac_init_version=false
1102 # The variables have the same names as the options, with
1103 # dashes changed to underlines.
1104 cache_file=/dev/null
1105 exec_prefix=NONE
1106 no_create=
1107 no_recursion=
1108 prefix=NONE
1109 program_prefix=NONE
1110 program_suffix=NONE
1111 program_transform_name=s,x,x,
1112 silent=
1113 site=
1114 srcdir=
1115 verbose=
1116 x_includes=NONE
1117 x_libraries=NONE
1118
1119 # Installation directory options.
1120 # These are left unexpanded so users can "make install exec_prefix=/foo"
1121 # and all the variables that are supposed to be based on exec_prefix
1122 # by default will actually change.
1123 # Use braces instead of parens because sh, perl, etc. also accept them.
1124 # (The list follows the same order as the GNU Coding Standards.)
1125 bindir='${exec_prefix}/bin'
1126 sbindir='${exec_prefix}/sbin'
1127 libexecdir='${exec_prefix}/libexec'
1128 datarootdir='${prefix}/share'
1129 datadir='${datarootdir}'
1130 sysconfdir='${prefix}/etc'
1131 sharedstatedir='${prefix}/com'
1132 localstatedir='${prefix}/var'
1133 includedir='${prefix}/include'
1134 oldincludedir='/usr/include'
1135 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1136 infodir='${datarootdir}/info'
1137 htmldir='${docdir}'
1138 dvidir='${docdir}'
1139 pdfdir='${docdir}'
1140 psdir='${docdir}'
1141 libdir='${exec_prefix}/lib'
1142 localedir='${datarootdir}/locale'
1143 mandir='${datarootdir}/man'
1144
1145 ac_prev=
1146 ac_dashdash=
1147 for ac_option
1148 do
1149 # If the previous option needs an argument, assign it.
1150 if test -n "$ac_prev"; then
1151 eval $ac_prev=\$ac_option
1152 ac_prev=
1153 continue
1154 fi
1155
1156 case $ac_option in
1157 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1158 *) ac_optarg=yes ;;
1159 esac
1160
1161 # Accept the important Cygnus configure options, so we can diagnose typos.
1162
1163 case $ac_dashdash$ac_option in
1164 --)
1165 ac_dashdash=yes ;;
1166
1167 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1168 ac_prev=bindir ;;
1169 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1170 bindir=$ac_optarg ;;
1171
1172 -build | --build | --buil | --bui | --bu)
1173 ac_prev=build_alias ;;
1174 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1175 build_alias=$ac_optarg ;;
1176
1177 -cache-file | --cache-file | --cache-fil | --cache-fi \
1178 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1179 ac_prev=cache_file ;;
1180 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1181 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1182 cache_file=$ac_optarg ;;
1183
1184 --config-cache | -C)
1185 cache_file=config.cache ;;
1186
1187 -datadir | --datadir | --datadi | --datad)
1188 ac_prev=datadir ;;
1189 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1190 datadir=$ac_optarg ;;
1191
1192 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1193 | --dataroo | --dataro | --datar)
1194 ac_prev=datarootdir ;;
1195 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1196 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1197 datarootdir=$ac_optarg ;;
1198
1199 -disable-* | --disable-*)
1200 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1201 # Reject names that are not valid shell variable names.
1202 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1203 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1204 { (exit 1); exit 1; }; }
1205 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1206 eval enable_$ac_feature=no ;;
1207
1208 -docdir | --docdir | --docdi | --doc | --do)
1209 ac_prev=docdir ;;
1210 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1211 docdir=$ac_optarg ;;
1212
1213 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1214 ac_prev=dvidir ;;
1215 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1216 dvidir=$ac_optarg ;;
1217
1218 -enable-* | --enable-*)
1219 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1220 # Reject names that are not valid shell variable names.
1221 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1222 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1223 { (exit 1); exit 1; }; }
1224 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1225 eval enable_$ac_feature=\$ac_optarg ;;
1226
1227 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1228 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1229 | --exec | --exe | --ex)
1230 ac_prev=exec_prefix ;;
1231 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1232 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1233 | --exec=* | --exe=* | --ex=*)
1234 exec_prefix=$ac_optarg ;;
1235
1236 -gas | --gas | --ga | --g)
1237 # Obsolete; use --with-gas.
1238 with_gas=yes ;;
1239
1240 -help | --help | --hel | --he | -h)
1241 ac_init_help=long ;;
1242 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1243 ac_init_help=recursive ;;
1244 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1245 ac_init_help=short ;;
1246
1247 -host | --host | --hos | --ho)
1248 ac_prev=host_alias ;;
1249 -host=* | --host=* | --hos=* | --ho=*)
1250 host_alias=$ac_optarg ;;
1251
1252 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1253 ac_prev=htmldir ;;
1254 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1255 | --ht=*)
1256 htmldir=$ac_optarg ;;
1257
1258 -includedir | --includedir | --includedi | --included | --include \
1259 | --includ | --inclu | --incl | --inc)
1260 ac_prev=includedir ;;
1261 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1262 | --includ=* | --inclu=* | --incl=* | --inc=*)
1263 includedir=$ac_optarg ;;
1264
1265 -infodir | --infodir | --infodi | --infod | --info | --inf)
1266 ac_prev=infodir ;;
1267 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1268 infodir=$ac_optarg ;;
1269
1270 -libdir | --libdir | --libdi | --libd)
1271 ac_prev=libdir ;;
1272 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1273 libdir=$ac_optarg ;;
1274
1275 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1276 | --libexe | --libex | --libe)
1277 ac_prev=libexecdir ;;
1278 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1279 | --libexe=* | --libex=* | --libe=*)
1280 libexecdir=$ac_optarg ;;
1281
1282 -localedir | --localedir | --localedi | --localed | --locale)
1283 ac_prev=localedir ;;
1284 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1285 localedir=$ac_optarg ;;
1286
1287 -localstatedir | --localstatedir | --localstatedi | --localstated \
1288 | --localstate | --localstat | --localsta | --localst | --locals)
1289 ac_prev=localstatedir ;;
1290 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1291 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1292 localstatedir=$ac_optarg ;;
1293
1294 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1295 ac_prev=mandir ;;
1296 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1297 mandir=$ac_optarg ;;
1298
1299 -nfp | --nfp | --nf)
1300 # Obsolete; use --without-fp.
1301 with_fp=no ;;
1302
1303 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1304 | --no-cr | --no-c | -n)
1305 no_create=yes ;;
1306
1307 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1308 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1309 no_recursion=yes ;;
1310
1311 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1312 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1313 | --oldin | --oldi | --old | --ol | --o)
1314 ac_prev=oldincludedir ;;
1315 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1316 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1317 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1318 oldincludedir=$ac_optarg ;;
1319
1320 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1321 ac_prev=prefix ;;
1322 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1323 prefix=$ac_optarg ;;
1324
1325 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1326 | --program-pre | --program-pr | --program-p)
1327 ac_prev=program_prefix ;;
1328 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1329 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1330 program_prefix=$ac_optarg ;;
1331
1332 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1333 | --program-suf | --program-su | --program-s)
1334 ac_prev=program_suffix ;;
1335 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1336 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1337 program_suffix=$ac_optarg ;;
1338
1339 -program-transform-name | --program-transform-name \
1340 | --program-transform-nam | --program-transform-na \
1341 | --program-transform-n | --program-transform- \
1342 | --program-transform | --program-transfor \
1343 | --program-transfo | --program-transf \
1344 | --program-trans | --program-tran \
1345 | --progr-tra | --program-tr | --program-t)
1346 ac_prev=program_transform_name ;;
1347 -program-transform-name=* | --program-transform-name=* \
1348 | --program-transform-nam=* | --program-transform-na=* \
1349 | --program-transform-n=* | --program-transform-=* \
1350 | --program-transform=* | --program-transfor=* \
1351 | --program-transfo=* | --program-transf=* \
1352 | --program-trans=* | --program-tran=* \
1353 | --progr-tra=* | --program-tr=* | --program-t=*)
1354 program_transform_name=$ac_optarg ;;
1355
1356 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1357 ac_prev=pdfdir ;;
1358 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1359 pdfdir=$ac_optarg ;;
1360
1361 -psdir | --psdir | --psdi | --psd | --ps)
1362 ac_prev=psdir ;;
1363 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1364 psdir=$ac_optarg ;;
1365
1366 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1367 | -silent | --silent | --silen | --sile | --sil)
1368 silent=yes ;;
1369
1370 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1371 ac_prev=sbindir ;;
1372 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1373 | --sbi=* | --sb=*)
1374 sbindir=$ac_optarg ;;
1375
1376 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1377 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1378 | --sharedst | --shareds | --shared | --share | --shar \
1379 | --sha | --sh)
1380 ac_prev=sharedstatedir ;;
1381 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1382 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1383 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1384 | --sha=* | --sh=*)
1385 sharedstatedir=$ac_optarg ;;
1386
1387 -site | --site | --sit)
1388 ac_prev=site ;;
1389 -site=* | --site=* | --sit=*)
1390 site=$ac_optarg ;;
1391
1392 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1393 ac_prev=srcdir ;;
1394 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1395 srcdir=$ac_optarg ;;
1396
1397 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1398 | --syscon | --sysco | --sysc | --sys | --sy)
1399 ac_prev=sysconfdir ;;
1400 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1401 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1402 sysconfdir=$ac_optarg ;;
1403
1404 -target | --target | --targe | --targ | --tar | --ta | --t)
1405 ac_prev=target_alias ;;
1406 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1407 target_alias=$ac_optarg ;;
1408
1409 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1410 verbose=yes ;;
1411
1412 -version | --version | --versio | --versi | --vers | -V)
1413 ac_init_version=: ;;
1414
1415 -with-* | --with-*)
1416 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1417 # Reject names that are not valid shell variable names.
1418 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1419 { echo "$as_me: error: invalid package name: $ac_package" >&2
1420 { (exit 1); exit 1; }; }
1421 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1422 eval with_$ac_package=\$ac_optarg ;;
1423
1424 -without-* | --without-*)
1425 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1426 # Reject names that are not valid shell variable names.
1427 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1428 { echo "$as_me: error: invalid package name: $ac_package" >&2
1429 { (exit 1); exit 1; }; }
1430 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1431 eval with_$ac_package=no ;;
1432
1433 --x)
1434 # Obsolete; use --with-x.
1435 with_x=yes ;;
1436
1437 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1438 | --x-incl | --x-inc | --x-in | --x-i)
1439 ac_prev=x_includes ;;
1440 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1441 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1442 x_includes=$ac_optarg ;;
1443
1444 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1445 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1446 ac_prev=x_libraries ;;
1447 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1448 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1449 x_libraries=$ac_optarg ;;
1450
1451 -*) { echo "$as_me: error: unrecognized option: $ac_option
1452 Try \`$0 --help' for more information." >&2
1453 { (exit 1); exit 1; }; }
1454 ;;
1455
1456 *=*)
1457 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1458 # Reject names that are not valid shell variable names.
1459 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1460 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1461 { (exit 1); exit 1; }; }
1462 eval $ac_envvar=\$ac_optarg
1463 export $ac_envvar ;;
1464
1465 *)
1466 # FIXME: should be removed in autoconf 3.0.
1467 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1468 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1469 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1470 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1471 ;;
1472
1473 esac
1474 done
1475
1476 if test -n "$ac_prev"; then
1477 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1478 { echo "$as_me: error: missing argument to $ac_option" >&2
1479 { (exit 1); exit 1; }; }
1480 fi
1481
1482 # Be sure to have absolute directory names.
1483 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1484 datadir sysconfdir sharedstatedir localstatedir includedir \
1485 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1486 libdir localedir mandir
1487 do
1488 eval ac_val=\$$ac_var
1489 case $ac_val in
1490 [\\/$]* | ?:[\\/]* ) continue;;
1491 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1492 esac
1493 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1494 { (exit 1); exit 1; }; }
1495 done
1496
1497 # There might be people who depend on the old broken behavior: `$host'
1498 # used to hold the argument of --host etc.
1499 # FIXME: To remove some day.
1500 build=$build_alias
1501 host=$host_alias
1502 target=$target_alias
1503
1504 # FIXME: To remove some day.
1505 if test "x$host_alias" != x; then
1506 if test "x$build_alias" = x; then
1507 cross_compiling=maybe
1508 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1509 If a cross compiler is detected then cross compile mode will be used." >&2
1510 elif test "x$build_alias" != "x$host_alias"; then
1511 cross_compiling=yes
1512 fi
1513 fi
1514
1515 ac_tool_prefix=
1516 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1517
1518 test "$silent" = yes && exec 6>/dev/null
1519
1520
1521 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1522 ac_ls_di=`ls -di .` &&
1523 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1524 { echo "$as_me: error: Working directory cannot be determined" >&2
1525 { (exit 1); exit 1; }; }
1526 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1527 { echo "$as_me: error: pwd does not report name of working directory" >&2
1528 { (exit 1); exit 1; }; }
1529
1530
1531 # Find the source files, if location was not specified.
1532 if test -z "$srcdir"; then
1533 ac_srcdir_defaulted=yes
1534 # Try the directory containing this script, then the parent directory.
1535 ac_confdir=`$as_dirname -- "$0" ||
1536 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1537 X"$0" : 'X\(//\)[^/]' \| \
1538 X"$0" : 'X\(//\)$' \| \
1539 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1540 echo X"$0" |
1541 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1542 s//\1/
1543 q
1544 }
1545 /^X\(\/\/\)[^/].*/{
1546 s//\1/
1547 q
1548 }
1549 /^X\(\/\/\)$/{
1550 s//\1/
1551 q
1552 }
1553 /^X\(\/\).*/{
1554 s//\1/
1555 q
1556 }
1557 s/.*/./; q'`
1558 srcdir=$ac_confdir
1559 if test ! -r "$srcdir/$ac_unique_file"; then
1560 srcdir=..
1561 fi
1562 else
1563 ac_srcdir_defaulted=no
1564 fi
1565 if test ! -r "$srcdir/$ac_unique_file"; then
1566 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1567 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1568 { (exit 1); exit 1; }; }
1569 fi
1570 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1571 ac_abs_confdir=`(
1572 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1573 { (exit 1); exit 1; }; }
1574 pwd)`
1575 # When building in place, set srcdir=.
1576 if test "$ac_abs_confdir" = "$ac_pwd"; then
1577 srcdir=.
1578 fi
1579 # Remove unnecessary trailing slashes from srcdir.
1580 # Double slashes in file names in object file debugging info
1581 # mess up M-x gdb in Emacs.
1582 case $srcdir in
1583 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1584 esac
1585 for ac_var in $ac_precious_vars; do
1586 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1587 eval ac_env_${ac_var}_value=\$${ac_var}
1588 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1589 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1590 done
1591
1592 #
1593 # Report the --help message.
1594 #
1595 if test "$ac_init_help" = "long"; then
1596 # Omit some internal or obsolete options to make the list less imposing.
1597 # This message is too long to be a string in the A/UX 3.1 sh.
1598 cat <<_ACEOF
1599 \`configure' configures wxWidgets 2.9.2 to adapt to many kinds of systems.
1600
1601 Usage: $0 [OPTION]... [VAR=VALUE]...
1602
1603 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1604 VAR=VALUE. See below for descriptions of some of the useful variables.
1605
1606 Defaults for the options are specified in brackets.
1607
1608 Configuration:
1609 -h, --help display this help and exit
1610 --help=short display options specific to this package
1611 --help=recursive display the short help of all the included packages
1612 -V, --version display version information and exit
1613 -q, --quiet, --silent do not print \`checking...' messages
1614 --cache-file=FILE cache test results in FILE [disabled]
1615 -C, --config-cache alias for \`--cache-file=config.cache'
1616 -n, --no-create do not create output files
1617 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1618
1619 Installation directories:
1620 --prefix=PREFIX install architecture-independent files in PREFIX
1621 [$ac_default_prefix]
1622 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1623 [PREFIX]
1624
1625 By default, \`make install' will install all the files in
1626 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1627 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1628 for instance \`--prefix=\$HOME'.
1629
1630 For better control, use the options below.
1631
1632 Fine tuning of the installation directories:
1633 --bindir=DIR user executables [EPREFIX/bin]
1634 --sbindir=DIR system admin executables [EPREFIX/sbin]
1635 --libexecdir=DIR program executables [EPREFIX/libexec]
1636 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1637 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1638 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1639 --libdir=DIR object code libraries [EPREFIX/lib]
1640 --includedir=DIR C header files [PREFIX/include]
1641 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1642 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1643 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1644 --infodir=DIR info documentation [DATAROOTDIR/info]
1645 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1646 --mandir=DIR man documentation [DATAROOTDIR/man]
1647 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1648 --htmldir=DIR html documentation [DOCDIR]
1649 --dvidir=DIR dvi documentation [DOCDIR]
1650 --pdfdir=DIR pdf documentation [DOCDIR]
1651 --psdir=DIR ps documentation [DOCDIR]
1652 _ACEOF
1653
1654 cat <<\_ACEOF
1655
1656 X features:
1657 --x-includes=DIR X include files are in DIR
1658 --x-libraries=DIR X library files are in DIR
1659
1660 System types:
1661 --build=BUILD configure for building on BUILD [guessed]
1662 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1663 _ACEOF
1664 fi
1665
1666 if test -n "$ac_init_help"; then
1667 case $ac_init_help in
1668 short | recursive ) echo "Configuration of wxWidgets 2.9.2:";;
1669 esac
1670 cat <<\_ACEOF
1671
1672 Optional Features:
1673 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1674 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1675 --disable-gui don't build GUI parts of the library
1676 --enable-monolithic build wxWidgets as single library
1677 --enable-plugins build parts of wxWidgets as loadable components
1678 --enable-official_build official build of wxWidgets (win32 DLL only)
1679 --enable-vendor=VENDOR vendor name (win32 DLL only)
1680 --disable-all-features disable all optional features to build minimal library
1681 --enable-universal use wxWidgets GUI controls instead of native ones
1682 --enable-nanox use NanoX
1683 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1684 --enable-gpe use GNOME PDA Environment features if possible
1685 --enable-debug build library for debugging
1686 --disable-debug_flag disable all debugging support
1687 --enable-debug_info generate debug information
1688 --enable-debug_gdb create code with extra GDB debugging information
1689 --enable-debug_cntxt obsolete, don't use: use wxDebugContext
1690 --enable-mem_tracing obsolete, don't use: create code with memory tracing
1691 --disable-shared create static library instead of shared
1692 --enable-stl use STL for containers
1693 --enable-std_iostreams use standard C++ stream classes
1694 --enable-std_string use standard C++ string classes
1695 --disable-unicode compile without Unicode support
1696 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1697 --enable-utf8 use UTF-8 representation for strings (Unix only)
1698 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1699 --enable-extended_rtti use extended RTTI (XTI)
1700 --enable-omf use OMF object format
1701 --disable-optimise compile without optimisations
1702 --enable-profile create code with profiling information
1703 --enable-no_rtti create code without RTTI information
1704 --enable-no_exceptions create code without C++ exceptions handling
1705 --enable-permissive compile code disregarding strict ANSI
1706 --enable-no_deps create code without dependency information
1707 --disable-vararg_macros don't use vararg macros, even if they are supported
1708 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1709 --enable-compat26 enable wxWidgets 2.6 compatibility
1710 --disable-compat28 disable wxWidgets 2.8 compatibility
1711 --disable-rpath disable use of rpath for uninstalled builds
1712 --enable-objc_uniquifying enable Objective-C class name uniquifying
1713 --disable-visibility disable use of ELF symbols visibility even if supported
1714 --disable-tls disable use of compiler TLS support
1715 --enable-intl use internationalization system
1716 --enable-xlocale use x-locale support (requires wxLocale)
1717 --enable-config use wxConfig (and derived) classes
1718 --enable-protocols use wxProtocol and derived classes
1719 --enable-ftp use wxFTP (requires wxProtocol
1720 --enable-http use wxHTTP (requires wxProtocol
1721 --enable-fileproto use wxFileProto class (requires wxProtocol
1722 --enable-sockets use socket/network classes
1723 --enable-ipv6 enable IPv6 support in wxSocket
1724 --enable-ole use OLE classes (Win32 only)
1725 --enable-dataobj use data object classes
1726 --enable-ipc use interprocess communication (wxSocket etc.)
1727 --enable-baseevtloop use event loop in console programs too
1728 --enable-epollloop use wxEpollDispatcher class (Linux only)
1729 --enable-selectloop use wxSelectDispatcher class
1730 --enable-any use wxAny class
1731 --enable-apple_ieee use the Apple IEEE codec
1732 --enable-arcstream use wxArchive streams
1733 --enable-base64 use base64 encoding/decoding functions
1734 --enable-backtrace use wxStackWalker class for getting backtraces
1735 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1736 --enable-cmdline use wxCmdLineParser class
1737 --enable-datetime use wxDateTime class
1738 --enable-debugreport use wxDebugReport class
1739 --enable-dialupman use dialup network classes
1740 --enable-dynlib use wxLibrary class for DLL loading
1741 --enable-dynamicloader use (new) wxDynamicLibrary class
1742 --enable-exceptions build exception-safe library
1743 --enable-ffile use wxFFile class
1744 --enable-file use wxFile class
1745 --enable-filehistory use wxFileHistory class
1746 --enable-filesystem use virtual file systems classes
1747 --enable-fontenum use wxFontEnumerator class
1748 --enable-fontmap use font encodings conversion classes
1749 --enable-fs_archive use virtual archive filesystems
1750 --enable-fs_inet use virtual HTTP/FTP filesystems
1751 --enable-fs_zip now replaced by fs_archive
1752 --enable-fswatcher use wxFileSystemWatcher class
1753 --enable-geometry use geometry class
1754 --enable-log use logging system
1755 --enable-longlong use wxLongLong class
1756 --enable-mimetype use wxMimeTypesManager
1757 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1758 --enable-snglinst use wxSingleInstanceChecker class
1759 --enable-sound use wxSound class
1760 --enable-stdpaths use wxStandardPaths class
1761 --enable-stopwatch use wxStopWatch class
1762 --enable-streams use wxStream etc classes
1763 --enable-sysoptions use wxSystemOptions
1764 --enable-tarstream use wxTar streams
1765 --enable-textbuf use wxTextBuffer class
1766 --enable-textfile use wxTextFile class
1767 --enable-timer use wxTimer class
1768 --enable-variant use wxVariant class
1769 --enable-zipstream use wxZip streams
1770 --enable-url use wxURL class
1771 --enable-protocol use wxProtocol class
1772 --enable-protocol-http HTTP support in wxProtocol
1773 --enable-protocol-ftp FTP support in wxProtocol
1774 --enable-protocol-file FILE support in wxProtocol
1775 --enable-threads use threads
1776 --enable-iniconf use wxIniConfig (Win32 only)
1777 --enable-regkey use wxRegKey class (Win32 only)
1778 --enable-docview use document view architecture
1779 --enable-help use help subsystem
1780 --enable-mshtmlhelp use MS HTML Help (win32)
1781 --enable-html use wxHTML sub-library
1782 --enable-htmlhelp use wxHTML-based help
1783 --enable-xrc use XRC resources sub-library
1784 --enable-aui use AUI docking library
1785 --enable-propgrid use wxPropertyGrid library
1786 --enable-ribbon use wxRibbon library
1787 --enable-stc use wxStyledTextCtrl library
1788 --enable-constraints use layout-constraints system
1789 --enable-loggui use standard GUI logger
1790 --enable-logwin use wxLogWindow
1791 --enable-logdialog use wxLogDialog
1792 --enable-mdi use multiple document interface architecture
1793 --enable-mdidoc use docview architecture with MDI
1794 --enable-mediactrl use wxMediaCtrl class
1795 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1796 --enable-webkit use wxWebKitCtrl (Mac)
1797 --enable-richtext use wxRichTextCtrl
1798 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1799 --enable-printarch use printing architecture
1800 --enable-svg use wxSVGFileDC device context
1801 --enable-graphics_ctx use graphics context 2D drawing API
1802 --enable-clipboard use wxClipboard class
1803 --enable-dnd use Drag'n'Drop classes
1804 --enable-metafile use win32 metafiles
1805 --disable-controls disable compilation of all standard controls
1806 --enable-accel use accelerators
1807 --enable-animatectrl use wxAnimationCtrl class
1808 --enable-bmpbutton use wxBitmapButton class
1809 --enable-bmpcombobox use wxBitmapComboBox class
1810 --enable-button use wxButton class
1811 --enable-calendar use wxCalendarCtrl class
1812 --enable-caret use wxCaret class
1813 --enable-checkbox use wxCheckBox class
1814 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1815 --enable-choice use wxChoice class
1816 --enable-choicebook use wxChoicebook class
1817 --enable-collpane use wxCollapsiblePane class
1818 --enable-colourpicker use wxColourPickerCtrl class
1819 --enable-combobox use wxComboBox class
1820 --enable-comboctrl use wxComboCtrl class
1821 --enable-commandlinkbutton use wxCommmandLinkButton class
1822 --enable-dataviewctrl use wxDataViewCtrl class
1823 --enable-datepick use wxDatePickerCtrl class
1824 --enable-detect_sm use code to detect X11 session manager
1825 --enable-dirpicker use wxDirPickerCtrl class
1826 --enable-display use wxDisplay class
1827 --enable-editablebox use wxEditableListBox class
1828 --enable-filectrl use wxFileCtrl class
1829 --enable-filepicker use wxFilePickerCtrl class
1830 --enable-fontpicker use wxFontPickerCtrl class
1831 --enable-gauge use wxGauge class
1832 --enable-grid use wxGrid class
1833 --enable-headerctrl use wxHeaderCtrl class
1834 --enable-hyperlink use wxHyperlinkCtrl class
1835 --enable-imaglist use wxImageList class
1836 --enable-infobar use wxInfoBar class
1837 --enable-listbook use wxListbook class
1838 --enable-listbox use wxListBox class
1839 --enable-listctrl use wxListCtrl class
1840 --enable-notebook use wxNotebook class
1841 --enable-notifmsg use wxNotificationMessage class
1842 --enable-odcombobox use wxOwnerDrawnComboBox class
1843 --enable-popupwin use wxPopUpWindow class
1844 --enable-radiobox use wxRadioBox class
1845 --enable-radiobtn use wxRadioButton class
1846 --enable-rearrangectrl use wxRearrangeList/Ctrl/Dialog
1847 --enable-sash use wxSashWindow class
1848 --enable-scrollbar use wxScrollBar class and scrollable windows
1849 --enable-searchctrl use wxSearchCtrl class
1850 --enable-slider use wxSlider class
1851 --enable-spinbtn use wxSpinButton class
1852 --enable-spinctrl use wxSpinCtrl class
1853 --enable-splitter use wxSplitterWindow class
1854 --enable-statbmp use wxStaticBitmap class
1855 --enable-statbox use wxStaticBox class
1856 --enable-statline use wxStaticLine class
1857 --enable-stattext use wxStaticText class
1858 --enable-statusbar use wxStatusBar class
1859 --enable-taskbaricon use wxTaskBarIcon class
1860 --enable-tbarnative use native wxToolBar class
1861 --enable-textctrl use wxTextCtrl class
1862 --enable-tipwindow use wxTipWindow class
1863 --enable-togglebtn use wxToggleButton class
1864 --enable-toolbar use wxToolBar class
1865 --enable-toolbook use wxToolbook class
1866 --enable-treebook use wxTreebook class
1867 --enable-treectrl use wxTreeCtrl class
1868 --enable-commondlg use all common dialogs
1869 --enable-aboutdlg use wxAboutBox
1870 --enable-choicedlg use wxChoiceDialog
1871 --enable-coldlg use wxColourDialog
1872 --enable-filedlg use wxFileDialog
1873 --enable-finddlg use wxFindReplaceDialog
1874 --enable-fontdlg use wxFontDialog
1875 --enable-dirdlg use wxDirDialog
1876 --enable-msgdlg use wxMessageDialog
1877 --enable-numberdlg use wxNumberEntryDialog
1878 --enable-splash use wxSplashScreen
1879 --enable-textdlg use wxTextDialog
1880 --enable-tipdlg use startup tips
1881 --enable-progressdlg use wxProgressDialog
1882 --enable-wizarddlg use wxWizard
1883 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1884 --enable-miniframe use wxMiniFrame class
1885 --enable-tooltips use wxToolTip class
1886 --enable-splines use spline drawing code
1887 --enable-mousewheel use mousewheel
1888 --enable-validators use wxValidator and derived classes
1889 --enable-busyinfo use wxBusyInfo
1890 --enable-joystick use wxJoystick
1891 --enable-metafiles use wxMetaFile (Win32 only)
1892 --enable-dragimage use wxDragImage
1893 --enable-accessibility enable accessibility support
1894 --enable-uiactionsim use wxUIActionSimulator (experimental)
1895 --enable-palette use wxPalette class
1896 --enable-image use wxImage class
1897 --enable-gif use gif images (GIF file format)
1898 --enable-pcx use pcx images (PCX file format)
1899 --enable-tga use tga images (TGA file format)
1900 --enable-iff use iff images (IFF file format)
1901 --enable-pnm use pnm images (PNM file format)
1902 --enable-xpm use xpm images (XPM file format)
1903 --enable-ico_cur use Windows ICO and CUR formats
1904 --enable-dccache cache temporary wxDC objects (Win32 only)
1905 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1906 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1907 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1908 --enable-wxdib use wxDIB class (Win32 only)
1909 --enable-autoidman use automatic ids management
1910 --disable-largefile omit support for large files
1911 --disable-gtktest do not try to compile and run a test GTK+ program
1912 --disable-gtktest Do not try to compile and run a test GTK program
1913 --disable-sdltest Do not try to compile and run a test SDL program
1914 --enable-omf use OMF object format (OS/2)
1915 --disable-dependency-tracking
1916 don't use dependency tracking even if the compiler
1917 can
1918 --disable-precomp-headers
1919 don't use precompiled headers even if compiler can
1920
1921 Optional Packages:
1922 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1923 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1924 --without-subdirs don't generate makefiles for samples/demos/...
1925 --with-flavour=NAME specify a name to identify this build
1926 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1927 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1928 --with-motif use Motif/Lesstif
1929 --with-osx_carbon use Mac OS X (Carbon)
1930 --with-osx_cocoa use Mac OS X (Cocoa)
1931 --with-osx_iphone use iPhone OS X port
1932 --with-osx use Mac OS X (default port, currently Carbon)
1933 --with-carbon same as --with-osx_carbon
1934 --with-cocoa same as --with-osx_cocoa
1935 --with-iphone same as --with-osx_iphone
1936 --with-mac same as --with-osx
1937 --with-old_cocoa use old, deprecated, Cocoa port
1938 --with-wine use Wine
1939 --with-msw use MS-Windows
1940 --with-pm use OS/2 Presentation Manager
1941 --with-mgl use SciTech MGL
1942 --with-directfb use DirectFB
1943 --with-microwin use MicroWindows
1944 --with-x11 use X11
1945 --with-libpng use libpng (PNG image format)
1946 --with-libjpeg use libjpeg (JPEG file format)
1947 --with-libtiff use libtiff (TIFF file format)
1948 --with-libxpm use libxpm (XPM file format)
1949 --with-libiconv use libiconv (character conversion)
1950 --with-libmspack use libmspack (CHM help files loading)
1951 --without-gtkprint don't use GTK printing support
1952 --without-gnomeprint don't use GNOME printing libraries
1953 --with-gnomevfs use GNOME VFS for associating MIME types
1954 --with-hildon use Hildon framework for Nokia 770/800/810
1955 --with-opengl use OpenGL (or Mesa)
1956 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1957 --with-sdl use SDL for audio on Unix
1958 --with-regex enable support for wxRegEx class
1959 --with-zlib use zlib for LZW compression
1960 --with-expat enable XML support using expat parser
1961 --with-macosx-sdk=PATH use an OS X SDK at PATH
1962 --with-macosx-version-min=VER build binaries which require at least this OS X version
1963 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1964 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1965 --with-x use the X Window System
1966 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1967 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1968 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1969 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1970 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1971
1972 Some influential environment variables:
1973 CC C compiler command
1974 CFLAGS C compiler flags
1975 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1976 nonstandard directory <lib dir>
1977 LIBS libraries to pass to the linker, e.g. -l<library>
1978 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1979 you have headers in a nonstandard directory <include dir>
1980 CPP C preprocessor
1981 CXX C++ compiler command
1982 CXXFLAGS C++ compiler flags
1983 CXXCPP C++ preprocessor
1984 PKG_CONFIG path to pkg-config utility
1985 DIRECTFB_CFLAGS
1986 C compiler flags for DIRECTFB, overriding pkg-config
1987 DIRECTFB_LIBS
1988 linker flags for DIRECTFB, overriding pkg-config
1989 XMKMF Path to xmkmf, Makefile generator for X Window System
1990 PANGOX_CFLAGS
1991 C compiler flags for PANGOX, overriding pkg-config
1992 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1993 PANGOFT2_CFLAGS
1994 C compiler flags for PANGOFT2, overriding pkg-config
1995 PANGOFT2_LIBS
1996 linker flags for PANGOFT2, overriding pkg-config
1997 PANGOXFT_CFLAGS
1998 C compiler flags for PANGOXFT, overriding pkg-config
1999 PANGOXFT_LIBS
2000 linker flags for PANGOXFT, overriding pkg-config
2001 GTKPRINT_CFLAGS
2002 C compiler flags for GTKPRINT, overriding pkg-config
2003 GTKPRINT_LIBS
2004 linker flags for GTKPRINT, overriding pkg-config
2005 LIBGNOMEPRINTUI_CFLAGS
2006 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2007 LIBGNOMEPRINTUI_LIBS
2008 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2009 GNOMEVFS_CFLAGS
2010 C compiler flags for GNOMEVFS, overriding pkg-config
2011 GNOMEVFS_LIBS
2012 linker flags for GNOMEVFS, overriding pkg-config
2013 HILDON_CFLAGS
2014 C compiler flags for HILDON, overriding pkg-config
2015 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2016 HILDON2_CFLAGS
2017 C compiler flags for HILDON2, overriding pkg-config
2018 HILDON2_LIBS
2019 linker flags for HILDON2, overriding pkg-config
2020 CAIRO_CFLAGS
2021 C compiler flags for CAIRO, overriding pkg-config
2022 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2023 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2024 GST_LIBS linker flags for GST, overriding pkg-config
2025
2026 Use these variables to override the choices made by `configure' or to help
2027 it to find libraries and programs with nonstandard names/locations.
2028
2029 Report bugs to <wx-dev@lists.wxwidgets.org>.
2030 _ACEOF
2031 ac_status=$?
2032 fi
2033
2034 if test "$ac_init_help" = "recursive"; then
2035 # If there are subdirs, report their specific --help.
2036 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2037 test -d "$ac_dir" || continue
2038 ac_builddir=.
2039
2040 case "$ac_dir" in
2041 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2042 *)
2043 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2044 # A ".." for each directory in $ac_dir_suffix.
2045 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2046 case $ac_top_builddir_sub in
2047 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2048 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2049 esac ;;
2050 esac
2051 ac_abs_top_builddir=$ac_pwd
2052 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2053 # for backward compatibility:
2054 ac_top_builddir=$ac_top_build_prefix
2055
2056 case $srcdir in
2057 .) # We are building in place.
2058 ac_srcdir=.
2059 ac_top_srcdir=$ac_top_builddir_sub
2060 ac_abs_top_srcdir=$ac_pwd ;;
2061 [\\/]* | ?:[\\/]* ) # Absolute name.
2062 ac_srcdir=$srcdir$ac_dir_suffix;
2063 ac_top_srcdir=$srcdir
2064 ac_abs_top_srcdir=$srcdir ;;
2065 *) # Relative name.
2066 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2067 ac_top_srcdir=$ac_top_build_prefix$srcdir
2068 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2069 esac
2070 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2071
2072 cd "$ac_dir" || { ac_status=$?; continue; }
2073 # Check for guested configure.
2074 if test -f "$ac_srcdir/configure.gnu"; then
2075 echo &&
2076 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2077 elif test -f "$ac_srcdir/configure"; then
2078 echo &&
2079 $SHELL "$ac_srcdir/configure" --help=recursive
2080 else
2081 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2082 fi || ac_status=$?
2083 cd "$ac_pwd" || { ac_status=$?; break; }
2084 done
2085 fi
2086
2087 test -n "$ac_init_help" && exit $ac_status
2088 if $ac_init_version; then
2089 cat <<\_ACEOF
2090 wxWidgets configure 2.9.2
2091 generated by GNU Autoconf 2.61
2092
2093 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2094 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2095 This configure script is free software; the Free Software Foundation
2096 gives unlimited permission to copy, distribute and modify it.
2097 _ACEOF
2098 exit
2099 fi
2100 cat >config.log <<_ACEOF
2101 This file contains any messages produced by compilers while
2102 running configure, to aid debugging if configure makes a mistake.
2103
2104 It was created by wxWidgets $as_me 2.9.2, which was
2105 generated by GNU Autoconf 2.61. Invocation command line was
2106
2107 $ $0 $@
2108
2109 _ACEOF
2110 exec 5>>config.log
2111 {
2112 cat <<_ASUNAME
2113 ## --------- ##
2114 ## Platform. ##
2115 ## --------- ##
2116
2117 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2118 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2119 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2120 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2121 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2122
2123 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2124 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2125
2126 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2127 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2128 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2129 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2130 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2131 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2132 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2133
2134 _ASUNAME
2135
2136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2137 for as_dir in $PATH
2138 do
2139 IFS=$as_save_IFS
2140 test -z "$as_dir" && as_dir=.
2141 echo "PATH: $as_dir"
2142 done
2143 IFS=$as_save_IFS
2144
2145 } >&5
2146
2147 cat >&5 <<_ACEOF
2148
2149
2150 ## ----------- ##
2151 ## Core tests. ##
2152 ## ----------- ##
2153
2154 _ACEOF
2155
2156
2157 # Keep a trace of the command line.
2158 # Strip out --no-create and --no-recursion so they do not pile up.
2159 # Strip out --silent because we don't want to record it for future runs.
2160 # Also quote any args containing shell meta-characters.
2161 # Make two passes to allow for proper duplicate-argument suppression.
2162 ac_configure_args=
2163 ac_configure_args0=
2164 ac_configure_args1=
2165 ac_must_keep_next=false
2166 for ac_pass in 1 2
2167 do
2168 for ac_arg
2169 do
2170 case $ac_arg in
2171 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2172 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2173 | -silent | --silent | --silen | --sile | --sil)
2174 continue ;;
2175 *\'*)
2176 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2177 esac
2178 case $ac_pass in
2179 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2180 2)
2181 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2182 if test $ac_must_keep_next = true; then
2183 ac_must_keep_next=false # Got value, back to normal.
2184 else
2185 case $ac_arg in
2186 *=* | --config-cache | -C | -disable-* | --disable-* \
2187 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2188 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2189 | -with-* | --with-* | -without-* | --without-* | --x)
2190 case "$ac_configure_args0 " in
2191 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2192 esac
2193 ;;
2194 -* ) ac_must_keep_next=true ;;
2195 esac
2196 fi
2197 ac_configure_args="$ac_configure_args '$ac_arg'"
2198 ;;
2199 esac
2200 done
2201 done
2202 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2203 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2204
2205 # When interrupted or exit'd, cleanup temporary files, and complete
2206 # config.log. We remove comments because anyway the quotes in there
2207 # would cause problems or look ugly.
2208 # WARNING: Use '\'' to represent an apostrophe within the trap.
2209 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2210 trap 'exit_status=$?
2211 # Save into config.log some information that might help in debugging.
2212 {
2213 echo
2214
2215 cat <<\_ASBOX
2216 ## ---------------- ##
2217 ## Cache variables. ##
2218 ## ---------------- ##
2219 _ASBOX
2220 echo
2221 # The following way of writing the cache mishandles newlines in values,
2222 (
2223 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2224 eval ac_val=\$$ac_var
2225 case $ac_val in #(
2226 *${as_nl}*)
2227 case $ac_var in #(
2228 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2229 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2230 esac
2231 case $ac_var in #(
2232 _ | IFS | as_nl) ;; #(
2233 *) $as_unset $ac_var ;;
2234 esac ;;
2235 esac
2236 done
2237 (set) 2>&1 |
2238 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2239 *${as_nl}ac_space=\ *)
2240 sed -n \
2241 "s/'\''/'\''\\\\'\'''\''/g;
2242 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2243 ;; #(
2244 *)
2245 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2246 ;;
2247 esac |
2248 sort
2249 )
2250 echo
2251
2252 cat <<\_ASBOX
2253 ## ----------------- ##
2254 ## Output variables. ##
2255 ## ----------------- ##
2256 _ASBOX
2257 echo
2258 for ac_var in $ac_subst_vars
2259 do
2260 eval ac_val=\$$ac_var
2261 case $ac_val in
2262 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2263 esac
2264 echo "$ac_var='\''$ac_val'\''"
2265 done | sort
2266 echo
2267
2268 if test -n "$ac_subst_files"; then
2269 cat <<\_ASBOX
2270 ## ------------------- ##
2271 ## File substitutions. ##
2272 ## ------------------- ##
2273 _ASBOX
2274 echo
2275 for ac_var in $ac_subst_files
2276 do
2277 eval ac_val=\$$ac_var
2278 case $ac_val in
2279 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2280 esac
2281 echo "$ac_var='\''$ac_val'\''"
2282 done | sort
2283 echo
2284 fi
2285
2286 if test -s confdefs.h; then
2287 cat <<\_ASBOX
2288 ## ----------- ##
2289 ## confdefs.h. ##
2290 ## ----------- ##
2291 _ASBOX
2292 echo
2293 cat confdefs.h
2294 echo
2295 fi
2296 test "$ac_signal" != 0 &&
2297 echo "$as_me: caught signal $ac_signal"
2298 echo "$as_me: exit $exit_status"
2299 } >&5
2300 rm -f core *.core core.conftest.* &&
2301 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2302 exit $exit_status
2303 ' 0
2304 for ac_signal in 1 2 13 15; do
2305 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2306 done
2307 ac_signal=0
2308
2309 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2310 rm -f -r conftest* confdefs.h
2311
2312 # Predefined preprocessor variables.
2313
2314 cat >>confdefs.h <<_ACEOF
2315 #define PACKAGE_NAME "$PACKAGE_NAME"
2316 _ACEOF
2317
2318
2319 cat >>confdefs.h <<_ACEOF
2320 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2321 _ACEOF
2322
2323
2324 cat >>confdefs.h <<_ACEOF
2325 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2326 _ACEOF
2327
2328
2329 cat >>confdefs.h <<_ACEOF
2330 #define PACKAGE_STRING "$PACKAGE_STRING"
2331 _ACEOF
2332
2333
2334 cat >>confdefs.h <<_ACEOF
2335 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2336 _ACEOF
2337
2338
2339 # Let the site file select an alternate cache file if it wants to.
2340 # Prefer explicitly selected file to automatically selected ones.
2341 if test -n "$CONFIG_SITE"; then
2342 set x "$CONFIG_SITE"
2343 elif test "x$prefix" != xNONE; then
2344 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2345 else
2346 set x "$ac_default_prefix/share/config.site" \
2347 "$ac_default_prefix/etc/config.site"
2348 fi
2349 shift
2350 for ac_site_file
2351 do
2352 if test -r "$ac_site_file"; then
2353 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2354 echo "$as_me: loading site script $ac_site_file" >&6;}
2355 sed 's/^/| /' "$ac_site_file" >&5
2356 . "$ac_site_file"
2357 fi
2358 done
2359
2360 if test -r "$cache_file"; then
2361 # Some versions of bash will fail to source /dev/null (special
2362 # files actually), so we avoid doing that.
2363 if test -f "$cache_file"; then
2364 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2365 echo "$as_me: loading cache $cache_file" >&6;}
2366 case $cache_file in
2367 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2368 *) . "./$cache_file";;
2369 esac
2370 fi
2371 else
2372 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2373 echo "$as_me: creating cache $cache_file" >&6;}
2374 >$cache_file
2375 fi
2376
2377 # Check that the precious variables saved in the cache have kept the same
2378 # value.
2379 ac_cache_corrupted=false
2380 for ac_var in $ac_precious_vars; do
2381 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2382 eval ac_new_set=\$ac_env_${ac_var}_set
2383 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2384 eval ac_new_val=\$ac_env_${ac_var}_value
2385 case $ac_old_set,$ac_new_set in
2386 set,)
2387 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2388 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2389 ac_cache_corrupted=: ;;
2390 ,set)
2391 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2392 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2393 ac_cache_corrupted=: ;;
2394 ,);;
2395 *)
2396 if test "x$ac_old_val" != "x$ac_new_val"; then
2397 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2398 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2399 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2400 echo "$as_me: former value: $ac_old_val" >&2;}
2401 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2402 echo "$as_me: current value: $ac_new_val" >&2;}
2403 ac_cache_corrupted=:
2404 fi;;
2405 esac
2406 # Pass precious variables to config.status.
2407 if test "$ac_new_set" = set; then
2408 case $ac_new_val in
2409 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2410 *) ac_arg=$ac_var=$ac_new_val ;;
2411 esac
2412 case " $ac_configure_args " in
2413 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2414 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2415 esac
2416 fi
2417 done
2418 if $ac_cache_corrupted; then
2419 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2420 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2421 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2422 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2423 { (exit 1); exit 1; }; }
2424 fi
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450 ac_ext=c
2451 ac_cpp='$CPP $CPPFLAGS'
2452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2455
2456
2457
2458
2459
2460 ac_aux_dir=
2461 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2462 if test -f "$ac_dir/install-sh"; then
2463 ac_aux_dir=$ac_dir
2464 ac_install_sh="$ac_aux_dir/install-sh -c"
2465 break
2466 elif test -f "$ac_dir/install.sh"; then
2467 ac_aux_dir=$ac_dir
2468 ac_install_sh="$ac_aux_dir/install.sh -c"
2469 break
2470 elif test -f "$ac_dir/shtool"; then
2471 ac_aux_dir=$ac_dir
2472 ac_install_sh="$ac_aux_dir/shtool install -c"
2473 break
2474 fi
2475 done
2476 if test -z "$ac_aux_dir"; then
2477 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2478 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2479 { (exit 1); exit 1; }; }
2480 fi
2481
2482 # These three variables are undocumented and unsupported,
2483 # and are intended to be withdrawn in a future Autoconf release.
2484 # They can cause serious problems if a builder's source tree is in a directory
2485 # whose full name contains unusual characters.
2486 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2487 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2488 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2489
2490
2491 # Make sure we can run config.sub.
2492 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2493 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2494 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2495 { (exit 1); exit 1; }; }
2496
2497 { echo "$as_me:$LINENO: checking build system type" >&5
2498 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2499 if test "${ac_cv_build+set}" = set; then
2500 echo $ECHO_N "(cached) $ECHO_C" >&6
2501 else
2502 ac_build_alias=$build_alias
2503 test "x$ac_build_alias" = x &&
2504 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2505 test "x$ac_build_alias" = x &&
2506 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2507 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2508 { (exit 1); exit 1; }; }
2509 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2510 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2511 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2512 { (exit 1); exit 1; }; }
2513
2514 fi
2515 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2516 echo "${ECHO_T}$ac_cv_build" >&6; }
2517 case $ac_cv_build in
2518 *-*-*) ;;
2519 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2520 echo "$as_me: error: invalid value of canonical build" >&2;}
2521 { (exit 1); exit 1; }; };;
2522 esac
2523 build=$ac_cv_build
2524 ac_save_IFS=$IFS; IFS='-'
2525 set x $ac_cv_build
2526 shift
2527 build_cpu=$1
2528 build_vendor=$2
2529 shift; shift
2530 # Remember, the first character of IFS is used to create $*,
2531 # except with old shells:
2532 build_os=$*
2533 IFS=$ac_save_IFS
2534 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2535
2536
2537 { echo "$as_me:$LINENO: checking host system type" >&5
2538 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2539 if test "${ac_cv_host+set}" = set; then
2540 echo $ECHO_N "(cached) $ECHO_C" >&6
2541 else
2542 if test "x$host_alias" = x; then
2543 ac_cv_host=$ac_cv_build
2544 else
2545 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2546 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2547 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2548 { (exit 1); exit 1; }; }
2549 fi
2550
2551 fi
2552 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2553 echo "${ECHO_T}$ac_cv_host" >&6; }
2554 case $ac_cv_host in
2555 *-*-*) ;;
2556 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2557 echo "$as_me: error: invalid value of canonical host" >&2;}
2558 { (exit 1); exit 1; }; };;
2559 esac
2560 host=$ac_cv_host
2561 ac_save_IFS=$IFS; IFS='-'
2562 set x $ac_cv_host
2563 shift
2564 host_cpu=$1
2565 host_vendor=$2
2566 shift; shift
2567 # Remember, the first character of IFS is used to create $*,
2568 # except with old shells:
2569 host_os=$*
2570 IFS=$ac_save_IFS
2571 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2572
2573
2574
2575 if test "$cross_compiling" != "no"; then
2576 HOST_PREFIX="${host_alias}-"
2577 HOST_SUFFIX="-$host_alias"
2578 else
2579 HOST_PREFIX=
2580 HOST_SUFFIX=
2581 fi
2582
2583
2584 wx_major_version_number=2
2585 wx_minor_version_number=9
2586 wx_release_number=2
2587 wx_subrelease_number=0
2588
2589 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2590 WX_VERSION=$WX_RELEASE.$wx_release_number
2591 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2592
2593 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2594
2595
2596 wx_top_builddir="`pwd`"
2597
2598
2599
2600
2601 USE_UNIX=1
2602 USE_OS2=0
2603 USE_WIN32=0
2604 USE_DOS=0
2605 USE_BEOS=0
2606 USE_MAC=0
2607
2608 USE_AIX=
2609 USE_BSD= USE_DARWIN= USE_FREEBSD=
2610 USE_GNU= USE_HPUX=
2611 USE_LINUX=
2612 USE_NETBSD=
2613 USE_OPENBSD=
2614 USE_OSF= USE_SGI=
2615 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2616 USE_ULTRIX=
2617 USE_UNIXWARE=
2618
2619 USE_ALPHA=
2620
2621 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2622
2623 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MGL MICROWIN MOTIF MSW PM X11 DFB"
2624
2625 DEFAULT_wxUSE_OLD_COCOA=0
2626 DEFAULT_wxUSE_GTK=0
2627 DEFAULT_wxUSE_OSX_CARBON=0
2628 DEFAULT_wxUSE_OSX_COCOA=0
2629 DEFAULT_wxUSE_OSX_IPHONE=0
2630 DEFAULT_wxUSE_MGL=0
2631 DEFAULT_wxUSE_MICROWIN=0
2632 DEFAULT_wxUSE_MOTIF=0
2633 DEFAULT_wxUSE_MSW=0
2634 DEFAULT_wxUSE_PM=0
2635 DEFAULT_wxUSE_X11=0
2636 DEFAULT_wxUSE_DFB=0
2637
2638 DEFAULT_DEFAULT_wxUSE_OLD_COCOA=0
2639 DEFAULT_DEFAULT_wxUSE_GTK=0
2640 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
2641 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
2642 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=0
2643 DEFAULT_DEFAULT_wxUSE_MGL=0
2644 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2645 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2646 DEFAULT_DEFAULT_wxUSE_MSW=0
2647 DEFAULT_DEFAULT_wxUSE_PM=0
2648 DEFAULT_DEFAULT_wxUSE_X11=0
2649 DEFAULT_DEFAULT_wxUSE_DFB=0
2650
2651 PROGRAM_EXT=
2652 SAMPLES_RPATH_FLAG=
2653 DYLIB_RPATH_INSTALL=
2654 DYLIB_RPATH_POSTLINK=
2655
2656 DEFAULT_STD_FLAG=yes
2657
2658 case "${host}" in
2659 *-hp-hpux* )
2660 USE_HPUX=1
2661 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2662 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2663 cat >>confdefs.h <<\_ACEOF
2664 #define __HPUX__ 1
2665 _ACEOF
2666
2667
2668 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2669 ;;
2670 *-*-linux* )
2671 USE_LINUX=1
2672 cat >>confdefs.h <<\_ACEOF
2673 #define __LINUX__ 1
2674 _ACEOF
2675
2676 TMP=`uname -m`
2677 if test "x$TMP" = "xalpha"; then
2678 USE_ALPHA=1
2679 cat >>confdefs.h <<\_ACEOF
2680 #define __ALPHA__ 1
2681 _ACEOF
2682
2683 fi
2684 DEFAULT_DEFAULT_wxUSE_GTK=1
2685 ;;
2686 *-*-gnu* | *-*-k*bsd*-gnu )
2687 USE_GNU=1
2688 TMP=`uname -m`
2689 if test "x$TMP" = "xalpha"; then
2690 USE_ALPHA=1
2691 cat >>confdefs.h <<\_ACEOF
2692 #define __ALPHA__ 1
2693 _ACEOF
2694
2695 fi
2696 DEFAULT_DEFAULT_wxUSE_GTK=1
2697 ;;
2698 *-*-irix5* | *-*-irix6* )
2699 USE_SGI=1
2700 USE_SVR4=1
2701 cat >>confdefs.h <<\_ACEOF
2702 #define __SGI__ 1
2703 _ACEOF
2704
2705 cat >>confdefs.h <<\_ACEOF
2706 #define __SVR4__ 1
2707 _ACEOF
2708
2709 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2710 ;;
2711 *-*-qnx*)
2712 USE_QNX=1
2713 cat >>confdefs.h <<\_ACEOF
2714 #define __QNX__ 1
2715 _ACEOF
2716
2717 DEFAULT_DEFAULT_wxUSE_X11=1
2718 ;;
2719 *-*-solaris2* )
2720 USE_SUN=1
2721 USE_SOLARIS=1
2722 USE_SVR4=1
2723 cat >>confdefs.h <<\_ACEOF
2724 #define __SUN__ 1
2725 _ACEOF
2726
2727 cat >>confdefs.h <<\_ACEOF
2728 #define __SOLARIS__ 1
2729 _ACEOF
2730
2731 cat >>confdefs.h <<\_ACEOF
2732 #define __SVR4__ 1
2733 _ACEOF
2734
2735 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2736 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2737 ;;
2738 *-*-sunos4* )
2739 USE_SUN=1
2740 USE_SUNOS=1
2741 USE_BSD=1
2742 cat >>confdefs.h <<\_ACEOF
2743 #define __SUN__ 1
2744 _ACEOF
2745
2746 cat >>confdefs.h <<\_ACEOF
2747 #define __SUNOS__ 1
2748 _ACEOF
2749
2750 cat >>confdefs.h <<\_ACEOF
2751 #define __BSD__ 1
2752 _ACEOF
2753
2754 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2755 ;;
2756 *-*-freebsd*)
2757 USE_BSD=1
2758 USE_FREEBSD=1
2759 cat >>confdefs.h <<\_ACEOF
2760 #define __FREEBSD__ 1
2761 _ACEOF
2762
2763 cat >>confdefs.h <<\_ACEOF
2764 #define __BSD__ 1
2765 _ACEOF
2766
2767 DEFAULT_DEFAULT_wxUSE_GTK=1
2768 ;;
2769 *-*-openbsd*|*-*-mirbsd*)
2770 USE_BSD=1
2771 USE_OPENBSD=1
2772 cat >>confdefs.h <<\_ACEOF
2773 #define __OPENBSD__ 1
2774 _ACEOF
2775
2776 cat >>confdefs.h <<\_ACEOF
2777 #define __BSD__ 1
2778 _ACEOF
2779
2780 DEFAULT_DEFAULT_wxUSE_GTK=1
2781 ;;
2782 *-*-netbsd*)
2783 USE_BSD=1
2784 USE_NETBSD=1
2785 cat >>confdefs.h <<\_ACEOF
2786 #define __NETBSD__ 1
2787 _ACEOF
2788
2789 cat >>confdefs.h <<\_ACEOF
2790 #define __BSD__ 1
2791 _ACEOF
2792
2793 DEFAULT_DEFAULT_wxUSE_GTK=1
2794 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2795
2796 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2797 ;;
2798 *-*-osf* )
2799 USE_ALPHA=1
2800 USE_OSF=1
2801 cat >>confdefs.h <<\_ACEOF
2802 #define __ALPHA__ 1
2803 _ACEOF
2804
2805 cat >>confdefs.h <<\_ACEOF
2806 #define __OSF__ 1
2807 _ACEOF
2808
2809 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2810 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2811 ;;
2812 *-*-dgux5* )
2813 USE_ALPHA=1
2814 USE_SVR4=1
2815 cat >>confdefs.h <<\_ACEOF
2816 #define __ALPHA__ 1
2817 _ACEOF
2818
2819 cat >>confdefs.h <<\_ACEOF
2820 #define __SVR4__ 1
2821 _ACEOF
2822
2823 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2824 ;;
2825 *-*-sysv5* )
2826 USE_SYSV=1
2827 USE_SVR4=1
2828 cat >>confdefs.h <<\_ACEOF
2829 #define __SYSV__ 1
2830 _ACEOF
2831
2832 cat >>confdefs.h <<\_ACEOF
2833 #define __SVR4__ 1
2834 _ACEOF
2835
2836 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2837 ;;
2838 *-*-aix* )
2839 USE_AIX=1
2840 USE_SYSV=1
2841 USE_SVR4=1
2842 cat >>confdefs.h <<\_ACEOF
2843 #define __AIX__ 1
2844 _ACEOF
2845
2846 cat >>confdefs.h <<\_ACEOF
2847 #define __SYSV__ 1
2848 _ACEOF
2849
2850 cat >>confdefs.h <<\_ACEOF
2851 #define __SVR4__ 1
2852 _ACEOF
2853
2854 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2855 ;;
2856
2857 *-*-*UnixWare*)
2858 USE_SYSV=1
2859 USE_SVR4=1
2860 USE_UNIXWARE=1
2861 cat >>confdefs.h <<\_ACEOF
2862 #define __UNIXWARE__ 1
2863 _ACEOF
2864
2865 ;;
2866
2867 *-*-cygwin* | *-*-mingw32* )
2868 PROGRAM_EXT=".exe"
2869 DEFAULT_DEFAULT_wxUSE_MSW=1
2870 ;;
2871
2872 *-pc-msdosdjgpp )
2873 USE_UNIX=0
2874 USE_DOS=1
2875 cat >>confdefs.h <<\_ACEOF
2876 #define __DOS__ 1
2877 _ACEOF
2878
2879 PROGRAM_EXT=".exe"
2880 DEFAULT_DEFAULT_wxUSE_MGL=1
2881 ;;
2882
2883 *-pc-os2_emx | *-pc-os2-emx )
2884 cat >>confdefs.h <<\_ACEOF
2885 #define __EMX__ 1
2886 _ACEOF
2887
2888 USE_OS2=1
2889 cat >>confdefs.h <<\_ACEOF
2890 #define __OS2__ 1
2891 _ACEOF
2892
2893 PROGRAM_EXT=".exe"
2894 DEFAULT_DEFAULT_wxUSE_PM=1
2895 CXX=gcc
2896 LDFLAGS="$LDFLAGS -Zcrtdll"
2897 ac_executable_extensions=".exe"
2898 export ac_executable_extensions
2899 ac_save_IFS="$IFS"
2900 IFS='\\'
2901 ac_TEMP_PATH=
2902 for ac_dir in $PATH; do
2903 IFS=$ac_save_IFS
2904 if test -z "$ac_TEMP_PATH"; then
2905 ac_TEMP_PATH="$ac_dir"
2906 else
2907 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2908 fi
2909 done
2910 export PATH="$ac_TEMP_PATH"
2911 unset ac_TEMP_PATH
2912 DEFAULT_STD_FLAG=no
2913 ;;
2914
2915 arm-apple-darwin*)
2916 USE_BSD=1
2917 USE_DARWIN=1
2918 cat >>confdefs.h <<\_ACEOF
2919 #define __BSD__ 1
2920 _ACEOF
2921
2922 cat >>confdefs.h <<\_ACEOF
2923 #define __DARWIN__ 1
2924 _ACEOF
2925
2926 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=1
2927 ;;
2928
2929 *-*-darwin* )
2930 USE_BSD=1
2931 USE_DARWIN=1
2932 cat >>confdefs.h <<\_ACEOF
2933 #define __BSD__ 1
2934 _ACEOF
2935
2936 cat >>confdefs.h <<\_ACEOF
2937 #define __DARWIN__ 1
2938 _ACEOF
2939
2940 cat >>confdefs.h <<\_ACEOF
2941 #define TARGET_CARBON 1
2942 _ACEOF
2943
2944 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2945 ;;
2946
2947 *-*-beos* )
2948 USE_BEOS=1
2949 cat >>confdefs.h <<\_ACEOF
2950 #define __BEOS__ 1
2951 _ACEOF
2952
2953 ;;
2954
2955 *)
2956 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2957 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2958 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2959 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2960
2961 DEFAULT_DEFAULT_wxUSE_X11=1
2962 DEFAULT_wxUSE_SHARED=no
2963 esac
2964
2965
2966
2967 DEFAULT_wxUSE_ALL_FEATURES=yes
2968
2969 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2970 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2971
2972 DEFAULT_wxUSE_DMALLOC=no
2973 DEFAULT_wxUSE_LIBGNOMEVFS=no
2974 DEFAULT_wxUSE_LIBHILDON=no
2975 DEFAULT_wxUSE_LIBHILDON2=no
2976 DEFAULT_wxUSE_LIBMSPACK=no
2977 DEFAULT_wxUSE_LIBSDL=no
2978
2979 DEFAULT_wxUSE_ACCESSIBILITY=no
2980 DEFAULT_wxUSE_IPV6=no
2981 DEFAULT_wxUSE_GSTREAMER8=no
2982 DEFAULT_wxUSE_UIACTIONSIMULATOR=no
2983
2984 DEFAULT_wxUSE_UNICODE_UTF8=auto
2985 DEFAULT_wxUSE_OPENGL=auto
2986 DEFAULT_wxUSE_MEDIACTRL=auto
2987 DEFAULT_wxUSE_COMPILER_TLS=auto
2988
2989 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2990
2991 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2992
2993 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2994
2995 DEFAULT_wxUSE_GTK2=yes
2996
2997 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2998
2999
3000
3001
3002
3003 enablestring=disable
3004 defaultval=
3005 if test -z "$defaultval"; then
3006 if test x"$enablestring" = xdisable; then
3007 defaultval=yes
3008 else
3009 defaultval=no
3010 fi
3011 fi
3012
3013 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3014 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3015 # Check whether --enable-gui was given.
3016 if test "${enable_gui+set}" = set; then
3017 enableval=$enable_gui;
3018 if test "$enableval" = yes; then
3019 wx_cv_use_gui='wxUSE_GUI=yes'
3020 else
3021 wx_cv_use_gui='wxUSE_GUI=no'
3022 fi
3023
3024 else
3025
3026 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3027
3028 fi
3029
3030
3031 eval "$wx_cv_use_gui"
3032
3033 if test x"$enablestring" = xdisable; then
3034 if test $wxUSE_GUI = no; then
3035 result=yes
3036 else
3037 result=no
3038 fi
3039 else
3040 result=$wxUSE_GUI
3041 fi
3042
3043 { echo "$as_me:$LINENO: result: $result" >&5
3044 echo "${ECHO_T}$result" >&6; }
3045
3046
3047 enablestring=
3048 defaultval=
3049 if test -z "$defaultval"; then
3050 if test x"$enablestring" = xdisable; then
3051 defaultval=yes
3052 else
3053 defaultval=no
3054 fi
3055 fi
3056
3057 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3058 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3059 # Check whether --enable-monolithic was given.
3060 if test "${enable_monolithic+set}" = set; then
3061 enableval=$enable_monolithic;
3062 if test "$enableval" = yes; then
3063 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3064 else
3065 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3066 fi
3067
3068 else
3069
3070 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3071
3072 fi
3073
3074
3075 eval "$wx_cv_use_monolithic"
3076
3077 if test x"$enablestring" = xdisable; then
3078 if test $wxUSE_MONOLITHIC = no; then
3079 result=yes
3080 else
3081 result=no
3082 fi
3083 else
3084 result=$wxUSE_MONOLITHIC
3085 fi
3086
3087 { echo "$as_me:$LINENO: result: $result" >&5
3088 echo "${ECHO_T}$result" >&6; }
3089
3090
3091 enablestring=
3092 defaultval=
3093 if test -z "$defaultval"; then
3094 if test x"$enablestring" = xdisable; then
3095 defaultval=yes
3096 else
3097 defaultval=no
3098 fi
3099 fi
3100
3101 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3102 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3103 # Check whether --enable-plugins was given.
3104 if test "${enable_plugins+set}" = set; then
3105 enableval=$enable_plugins;
3106 if test "$enableval" = yes; then
3107 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3108 else
3109 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3110 fi
3111
3112 else
3113
3114 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3115
3116 fi
3117
3118
3119 eval "$wx_cv_use_plugins"
3120
3121 if test x"$enablestring" = xdisable; then
3122 if test $wxUSE_PLUGINS = no; then
3123 result=yes
3124 else
3125 result=no
3126 fi
3127 else
3128 result=$wxUSE_PLUGINS
3129 fi
3130
3131 { echo "$as_me:$LINENO: result: $result" >&5
3132 echo "${ECHO_T}$result" >&6; }
3133
3134
3135 withstring=without
3136 defaultval=$wxUSE_ALL_FEATURES
3137 if test -z "$defaultval"; then
3138 if test x"$withstring" = xwithout; then
3139 defaultval=yes
3140 else
3141 defaultval=no
3142 fi
3143 fi
3144 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3145 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3146
3147 # Check whether --with-subdirs was given.
3148 if test "${with_subdirs+set}" = set; then
3149 withval=$with_subdirs;
3150 if test "$withval" = yes; then
3151 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3152 else
3153 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3154 fi
3155
3156 else
3157
3158 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3159
3160 fi
3161
3162
3163 eval "$wx_cv_use_subdirs"
3164
3165 if test x"$withstring" = xwithout; then
3166 if test $wxWITH_SUBDIRS = yes; then
3167 result=no
3168 else
3169 result=yes
3170 fi
3171 else
3172 result=$wxWITH_SUBDIRS
3173 fi
3174
3175 { echo "$as_me:$LINENO: result: $result" >&5
3176 echo "${ECHO_T}$result" >&6; }
3177
3178
3179 # Check whether --with-flavour was given.
3180 if test "${with_flavour+set}" = set; then
3181 withval=$with_flavour; WX_FLAVOUR="$withval"
3182 fi
3183
3184
3185 enablestring=
3186 defaultval=
3187 if test -z "$defaultval"; then
3188 if test x"$enablestring" = xdisable; then
3189 defaultval=yes
3190 else
3191 defaultval=no
3192 fi
3193 fi
3194
3195 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3196 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3197 # Check whether --enable-official_build was given.
3198 if test "${enable_official_build+set}" = set; then
3199 enableval=$enable_official_build;
3200 if test "$enableval" = yes; then
3201 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3202 else
3203 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3204 fi
3205
3206 else
3207
3208 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3209
3210 fi
3211
3212
3213 eval "$wx_cv_use_official_build"
3214
3215 if test x"$enablestring" = xdisable; then
3216 if test $wxUSE_OFFICIAL_BUILD = no; then
3217 result=yes
3218 else
3219 result=no
3220 fi
3221 else
3222 result=$wxUSE_OFFICIAL_BUILD
3223 fi
3224
3225 { echo "$as_me:$LINENO: result: $result" >&5
3226 echo "${ECHO_T}$result" >&6; }
3227
3228 # Check whether --enable-vendor was given.
3229 if test "${enable_vendor+set}" = set; then
3230 enableval=$enable_vendor; VENDOR="$enableval"
3231 fi
3232
3233 if test "x$VENDOR" = "x"; then
3234 VENDOR="custom"
3235 fi
3236
3237
3238 enablestring=disable
3239 defaultval=
3240 if test -z "$defaultval"; then
3241 if test x"$enablestring" = xdisable; then
3242 defaultval=yes
3243 else
3244 defaultval=no
3245 fi
3246 fi
3247
3248 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3249 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3250 # Check whether --enable-all-features was given.
3251 if test "${enable_all_features+set}" = set; then
3252 enableval=$enable_all_features;
3253 if test "$enableval" = yes; then
3254 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3255 else
3256 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3257 fi
3258
3259 else
3260
3261 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3262
3263 fi
3264
3265
3266 eval "$wx_cv_use_all_features"
3267
3268 if test x"$enablestring" = xdisable; then
3269 if test $wxUSE_ALL_FEATURES = no; then
3270 result=yes
3271 else
3272 result=no
3273 fi
3274 else
3275 result=$wxUSE_ALL_FEATURES
3276 fi
3277
3278 { echo "$as_me:$LINENO: result: $result" >&5
3279 echo "${ECHO_T}$result" >&6; }
3280
3281
3282 if test "$wxUSE_ALL_FEATURES" = "no"; then
3283 DEFAULT_wxUSE_MEDIACTRL=no
3284 fi
3285
3286
3287 if test "$wxUSE_GUI" = "yes"; then
3288
3289
3290 enablestring=
3291 defaultval=
3292 if test -z "$defaultval"; then
3293 if test x"$enablestring" = xdisable; then
3294 defaultval=yes
3295 else
3296 defaultval=no
3297 fi
3298 fi
3299
3300 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3301 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3302 # Check whether --enable-universal was given.
3303 if test "${enable_universal+set}" = set; then
3304 enableval=$enable_universal;
3305 if test "$enableval" = yes; then
3306 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3307 else
3308 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3309 fi
3310
3311 else
3312
3313 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3314
3315 fi
3316
3317
3318 eval "$wx_cv_use_universal"
3319
3320 if test x"$enablestring" = xdisable; then
3321 if test $wxUSE_UNIVERSAL = no; then
3322 result=yes
3323 else
3324 result=no
3325 fi
3326 else
3327 result=$wxUSE_UNIVERSAL
3328 fi
3329
3330 { echo "$as_me:$LINENO: result: $result" >&5
3331 echo "${ECHO_T}$result" >&6; }
3332
3333 if test "$wxUSE_UNIVERSAL" = "yes"; then
3334
3335 # Check whether --with-themes was given.
3336 if test "${with_themes+set}" = set; then
3337 withval=$with_themes; wxUNIV_THEMES="$withval"
3338 fi
3339
3340 fi
3341
3342
3343 # Check whether --with-gtk was given.
3344 if test "${with_gtk+set}" = set; then
3345 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3346 fi
3347
3348
3349 # Check whether --with-motif was given.
3350 if test "${with_motif+set}" = set; then
3351 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3352 fi
3353
3354
3355 # Check whether --with-osx_carbon was given.
3356 if test "${with_osx_carbon+set}" = set; then
3357 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3358 fi
3359
3360
3361 # Check whether --with-osx_cocoa was given.
3362 if test "${with_osx_cocoa+set}" = set; then
3363 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3364 fi
3365
3366
3367 # Check whether --with-osx_iphone was given.
3368 if test "${with_osx_iphone+set}" = set; then
3369 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3370 fi
3371
3372
3373 # Check whether --with-osx was given.
3374 if test "${with_osx+set}" = set; then
3375 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3376 fi
3377
3378
3379 # Check whether --with-carbon was given.
3380 if test "${with_carbon+set}" = set; then
3381 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3382 fi
3383
3384
3385 # Check whether --with-cocoa was given.
3386 if test "${with_cocoa+set}" = set; then
3387 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3388 fi
3389
3390
3391 # Check whether --with-iphone was given.
3392 if test "${with_iphone+set}" = set; then
3393 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3394 fi
3395
3396
3397 # Check whether --with-mac was given.
3398 if test "${with_mac+set}" = set; then
3399 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3400 fi
3401
3402
3403 # Check whether --with-old_cocoa was given.
3404 if test "${with_old_cocoa+set}" = set; then
3405 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
3406 fi
3407
3408
3409 # Check whether --with-wine was given.
3410 if test "${with_wine+set}" = set; then
3411 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3412 fi
3413
3414
3415 # Check whether --with-msw was given.
3416 if test "${with_msw+set}" = set; then
3417 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3418 fi
3419
3420
3421 # Check whether --with-pm was given.
3422 if test "${with_pm+set}" = set; then
3423 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3424 fi
3425
3426
3427 # Check whether --with-mgl was given.
3428 if test "${with_mgl+set}" = set; then
3429 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3430 fi
3431
3432
3433 # Check whether --with-directfb was given.
3434 if test "${with_directfb+set}" = set; then
3435 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3436 fi
3437
3438
3439 # Check whether --with-microwin was given.
3440 if test "${with_microwin+set}" = set; then
3441 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3442 fi
3443
3444
3445 # Check whether --with-x11 was given.
3446 if test "${with_x11+set}" = set; then
3447 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3448 fi
3449
3450
3451 enablestring=
3452 defaultval=
3453 if test -z "$defaultval"; then
3454 if test x"$enablestring" = xdisable; then
3455 defaultval=yes
3456 else
3457 defaultval=no
3458 fi
3459 fi
3460
3461 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3462 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3463 # Check whether --enable-nanox was given.
3464 if test "${enable_nanox+set}" = set; then
3465 enableval=$enable_nanox;
3466 if test "$enableval" = yes; then
3467 wx_cv_use_nanox='wxUSE_NANOX=yes'
3468 else
3469 wx_cv_use_nanox='wxUSE_NANOX=no'
3470 fi
3471
3472 else
3473
3474 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3475
3476 fi
3477
3478
3479 eval "$wx_cv_use_nanox"
3480
3481 if test x"$enablestring" = xdisable; then
3482 if test $wxUSE_NANOX = no; then
3483 result=yes
3484 else
3485 result=no
3486 fi
3487 else
3488 result=$wxUSE_NANOX
3489 fi
3490
3491 { echo "$as_me:$LINENO: result: $result" >&5
3492 echo "${ECHO_T}$result" >&6; }
3493
3494
3495 # Check whether --enable-gtk2 was given.
3496 if test "${enable_gtk2+set}" = set; then
3497 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3498 fi
3499
3500
3501 enablestring=
3502 defaultval=
3503 if test -z "$defaultval"; then
3504 if test x"$enablestring" = xdisable; then
3505 defaultval=yes
3506 else
3507 defaultval=no
3508 fi
3509 fi
3510
3511 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3512 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3513 # Check whether --enable-gpe was given.
3514 if test "${enable_gpe+set}" = set; then
3515 enableval=$enable_gpe;
3516 if test "$enableval" = yes; then
3517 wx_cv_use_gpe='wxUSE_GPE=yes'
3518 else
3519 wx_cv_use_gpe='wxUSE_GPE=no'
3520 fi
3521
3522 else
3523
3524 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3525
3526 fi
3527
3528
3529 eval "$wx_cv_use_gpe"
3530
3531 if test x"$enablestring" = xdisable; then
3532 if test $wxUSE_GPE = no; then
3533 result=yes
3534 else
3535 result=no
3536 fi
3537 else
3538 result=$wxUSE_GPE
3539 fi
3540
3541 { echo "$as_me:$LINENO: result: $result" >&5
3542 echo "${ECHO_T}$result" >&6; }
3543
3544
3545
3546 { echo "$as_me:$LINENO: checking for toolkit" >&5
3547 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3548
3549
3550
3551 # In Wine, we need to default to MSW, not GTK or MOTIF
3552 if test "$wxUSE_WINE" = "yes"; then
3553 DEFAULT_DEFAULT_wxUSE_GTK=0
3554 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3555 DEFAULT_DEFAULT_wxUSE_MSW=1
3556 wxUSE_SHARED=no
3557 CC=${CC:-winegcc}
3558 CXX=${CXX:-wineg++}
3559 fi
3560
3561
3562 if test "$wxUSE_GUI" = "yes"; then
3563
3564 if test "$USE_BEOS" = 1; then
3565 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3566 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3567 { (exit 1); exit 1; }; }
3568 fi
3569
3570 if test "$TOOLKIT_GIVEN" = 1; then
3571 for toolkit in $ALL_TOOLKITS; do
3572 var=wxUSE_$toolkit
3573 eval "value=\$${var}"
3574 if test "x$value" = "xno"; then
3575 eval "$var=0"
3576 elif test "x$value" != "x"; then
3577 eval "$var=1"
3578 fi
3579
3580 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3581 eval "wx${toolkit}_VERSION=$value"
3582 fi
3583 done
3584 else
3585 for toolkit in $ALL_TOOLKITS; do
3586 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3587 eval "wxUSE_$toolkit=\$${var}"
3588 done
3589 fi
3590
3591 NUM_TOOLKITS=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3592 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3593 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3594
3595 case "${host}" in
3596 *-pc-os2_emx | *-pc-os2-emx )
3597 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3598 esac
3599
3600 case "$NUM_TOOLKITS" in
3601 1)
3602 ;;
3603 0)
3604 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3605 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3606 { (exit 1); exit 1; }; }
3607 ;;
3608 *)
3609 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3610 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3611 { (exit 1); exit 1; }; }
3612 esac
3613
3614 # to be removed when --disable-gtk2 isn't needed
3615 if test "x$wxUSE_GTK2" = "xyes"; then
3616 wxGTK_VERSION=2
3617 wxUSE_GTK1=0
3618 elif test "x$wxUSE_GTK2" = "xno"; then
3619 wxGTK_VERSION=1
3620 wxUSE_GTK1=1
3621 fi
3622
3623 for toolkit in $ALL_TOOLKITS; do
3624 var=wxUSE_$toolkit
3625 eval "value=\$${var}"
3626 if test "$value" = 1; then
3627 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3628 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3629 echo "${ECHO_T}$toolkit_echo" >&6; }
3630 fi
3631 done
3632 else
3633 if test "x$host_alias" != "x"; then
3634 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3635 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3636 else
3637 { echo "$as_me:$LINENO: result: base only" >&5
3638 echo "${ECHO_T}base only" >&6; }
3639 fi
3640 fi
3641
3642 wxUSE_MAC=0
3643 if test "$wxUSE_OSX_CARBON" = 1 \
3644 -o "$wxUSE_OSX_COCOA" = 1 \
3645 -o "$wxUSE_OSX_IPHONE" = 1; then
3646 wxUSE_MAC=1
3647 fi
3648
3649
3650
3651 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3652 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3653
3654 # Check whether --with-libpng was given.
3655 if test "${with_libpng+set}" = set; then
3656 withval=$with_libpng;
3657 if test "$withval" = yes; then
3658 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3659 elif test "$withval" = no; then
3660 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3661 elif test "$withval" = sys; then
3662 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3663 elif test "$withval" = builtin; then
3664 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3665 else
3666 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3667 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3668 { (exit 1); exit 1; }; }
3669 fi
3670
3671 else
3672
3673 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3674
3675 fi
3676
3677
3678 eval "$wx_cv_use_libpng"
3679
3680 if test "$wxUSE_LIBPNG" = yes; then
3681 { echo "$as_me:$LINENO: result: yes" >&5
3682 echo "${ECHO_T}yes" >&6; }
3683 elif test "$wxUSE_LIBPNG" = no; then
3684 { echo "$as_me:$LINENO: result: no" >&5
3685 echo "${ECHO_T}no" >&6; }
3686 elif test "$wxUSE_LIBPNG" = sys; then
3687 { echo "$as_me:$LINENO: result: system version" >&5
3688 echo "${ECHO_T}system version" >&6; }
3689 elif test "$wxUSE_LIBPNG" = builtin; then
3690 { echo "$as_me:$LINENO: result: builtin version" >&5
3691 echo "${ECHO_T}builtin version" >&6; }
3692 else
3693 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3694 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3695 { (exit 1); exit 1; }; }
3696 fi
3697
3698
3699 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3700 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3701
3702 # Check whether --with-libjpeg was given.
3703 if test "${with_libjpeg+set}" = set; then
3704 withval=$with_libjpeg;
3705 if test "$withval" = yes; then
3706 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3707 elif test "$withval" = no; then
3708 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3709 elif test "$withval" = sys; then
3710 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3711 elif test "$withval" = builtin; then
3712 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3713 else
3714 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3715 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3716 { (exit 1); exit 1; }; }
3717 fi
3718
3719 else
3720
3721 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3722
3723 fi
3724
3725
3726 eval "$wx_cv_use_libjpeg"
3727
3728 if test "$wxUSE_LIBJPEG" = yes; then
3729 { echo "$as_me:$LINENO: result: yes" >&5
3730 echo "${ECHO_T}yes" >&6; }
3731 elif test "$wxUSE_LIBJPEG" = no; then
3732 { echo "$as_me:$LINENO: result: no" >&5
3733 echo "${ECHO_T}no" >&6; }
3734 elif test "$wxUSE_LIBJPEG" = sys; then
3735 { echo "$as_me:$LINENO: result: system version" >&5
3736 echo "${ECHO_T}system version" >&6; }
3737 elif test "$wxUSE_LIBJPEG" = builtin; then
3738 { echo "$as_me:$LINENO: result: builtin version" >&5
3739 echo "${ECHO_T}builtin version" >&6; }
3740 else
3741 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3742 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3743 { (exit 1); exit 1; }; }
3744 fi
3745
3746
3747 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3748 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3749
3750 # Check whether --with-libtiff was given.
3751 if test "${with_libtiff+set}" = set; then
3752 withval=$with_libtiff;
3753 if test "$withval" = yes; then
3754 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3755 elif test "$withval" = no; then
3756 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3757 elif test "$withval" = sys; then
3758 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3759 elif test "$withval" = builtin; then
3760 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3761 else
3762 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3763 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3764 { (exit 1); exit 1; }; }
3765 fi
3766
3767 else
3768
3769 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3770
3771 fi
3772
3773
3774 eval "$wx_cv_use_libtiff"
3775
3776 if test "$wxUSE_LIBTIFF" = yes; then
3777 { echo "$as_me:$LINENO: result: yes" >&5
3778 echo "${ECHO_T}yes" >&6; }
3779 elif test "$wxUSE_LIBTIFF" = no; then
3780 { echo "$as_me:$LINENO: result: no" >&5
3781 echo "${ECHO_T}no" >&6; }
3782 elif test "$wxUSE_LIBTIFF" = sys; then
3783 { echo "$as_me:$LINENO: result: system version" >&5
3784 echo "${ECHO_T}system version" >&6; }
3785 elif test "$wxUSE_LIBTIFF" = builtin; then
3786 { echo "$as_me:$LINENO: result: builtin version" >&5
3787 echo "${ECHO_T}builtin version" >&6; }
3788 else
3789 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3790 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3791 { (exit 1); exit 1; }; }
3792 fi
3793
3794
3795 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3796 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3797
3798 # Check whether --with-libxpm was given.
3799 if test "${with_libxpm+set}" = set; then
3800 withval=$with_libxpm;
3801 if test "$withval" = yes; then
3802 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3803 elif test "$withval" = no; then
3804 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3805 elif test "$withval" = sys; then
3806 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3807 elif test "$withval" = builtin; then
3808 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3809 else
3810 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3811 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3812 { (exit 1); exit 1; }; }
3813 fi
3814
3815 else
3816
3817 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3818
3819 fi
3820
3821
3822 eval "$wx_cv_use_libxpm"
3823
3824 if test "$wxUSE_LIBXPM" = yes; then
3825 { echo "$as_me:$LINENO: result: yes" >&5
3826 echo "${ECHO_T}yes" >&6; }
3827 elif test "$wxUSE_LIBXPM" = no; then
3828 { echo "$as_me:$LINENO: result: no" >&5
3829 echo "${ECHO_T}no" >&6; }
3830 elif test "$wxUSE_LIBXPM" = sys; then
3831 { echo "$as_me:$LINENO: result: system version" >&5
3832 echo "${ECHO_T}system version" >&6; }
3833 elif test "$wxUSE_LIBXPM" = builtin; then
3834 { echo "$as_me:$LINENO: result: builtin version" >&5
3835 echo "${ECHO_T}builtin version" >&6; }
3836 else
3837 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3838 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3839 { (exit 1); exit 1; }; }
3840 fi
3841
3842
3843 withstring=
3844 defaultval=$wxUSE_ALL_FEATURES
3845 if test -z "$defaultval"; then
3846 if test x"$withstring" = xwithout; then
3847 defaultval=yes
3848 else
3849 defaultval=no
3850 fi
3851 fi
3852 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3853 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3854
3855 # Check whether --with-libiconv was given.
3856 if test "${with_libiconv+set}" = set; then
3857 withval=$with_libiconv;
3858 if test "$withval" = yes; then
3859 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3860 else
3861 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3862 fi
3863
3864 else
3865
3866 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3867
3868 fi
3869
3870
3871 eval "$wx_cv_use_libiconv"
3872
3873 if test x"$withstring" = xwithout; then
3874 if test $wxUSE_LIBICONV = yes; then
3875 result=no
3876 else
3877 result=yes
3878 fi
3879 else
3880 result=$wxUSE_LIBICONV
3881 fi
3882
3883 { echo "$as_me:$LINENO: result: $result" >&5
3884 echo "${ECHO_T}$result" >&6; }
3885
3886
3887 withstring=
3888 defaultval=$wxUSE_ALL_FEATURES
3889 if test -z "$defaultval"; then
3890 if test x"$withstring" = xwithout; then
3891 defaultval=yes
3892 else
3893 defaultval=no
3894 fi
3895 fi
3896 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3897 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3898
3899 # Check whether --with-libmspack was given.
3900 if test "${with_libmspack+set}" = set; then
3901 withval=$with_libmspack;
3902 if test "$withval" = yes; then
3903 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3904 else
3905 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3906 fi
3907
3908 else
3909
3910 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3911
3912 fi
3913
3914
3915 eval "$wx_cv_use_libmspack"
3916
3917 if test x"$withstring" = xwithout; then
3918 if test $wxUSE_LIBMSPACK = yes; then
3919 result=no
3920 else
3921 result=yes
3922 fi
3923 else
3924 result=$wxUSE_LIBMSPACK
3925 fi
3926
3927 { echo "$as_me:$LINENO: result: $result" >&5
3928 echo "${ECHO_T}$result" >&6; }
3929
3930
3931 withstring=without
3932 defaultval=$wxUSE_ALL_FEATURES
3933 if test -z "$defaultval"; then
3934 if test x"$withstring" = xwithout; then
3935 defaultval=yes
3936 else
3937 defaultval=no
3938 fi
3939 fi
3940 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3941 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3942
3943 # Check whether --with-gtkprint was given.
3944 if test "${with_gtkprint+set}" = set; then
3945 withval=$with_gtkprint;
3946 if test "$withval" = yes; then
3947 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3948 else
3949 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3950 fi
3951
3952 else
3953
3954 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3955
3956 fi
3957
3958
3959 eval "$wx_cv_use_gtkprint"
3960
3961 if test x"$withstring" = xwithout; then
3962 if test $wxUSE_GTKPRINT = yes; then
3963 result=no
3964 else
3965 result=yes
3966 fi
3967 else
3968 result=$wxUSE_GTKPRINT
3969 fi
3970
3971 { echo "$as_me:$LINENO: result: $result" >&5
3972 echo "${ECHO_T}$result" >&6; }
3973
3974
3975 withstring=without
3976 defaultval=$wxUSE_ALL_FEATURES
3977 if test -z "$defaultval"; then
3978 if test x"$withstring" = xwithout; then
3979 defaultval=yes
3980 else
3981 defaultval=no
3982 fi
3983 fi
3984 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3985 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3986
3987 # Check whether --with-gnomeprint was given.
3988 if test "${with_gnomeprint+set}" = set; then
3989 withval=$with_gnomeprint;
3990 if test "$withval" = yes; then
3991 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3992 else
3993 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3994 fi
3995
3996 else
3997
3998 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3999
4000 fi
4001
4002
4003 eval "$wx_cv_use_gnomeprint"
4004
4005 if test x"$withstring" = xwithout; then
4006 if test $wxUSE_LIBGNOMEPRINT = yes; then
4007 result=no
4008 else
4009 result=yes
4010 fi
4011 else
4012 result=$wxUSE_LIBGNOMEPRINT
4013 fi
4014
4015 { echo "$as_me:$LINENO: result: $result" >&5
4016 echo "${ECHO_T}$result" >&6; }
4017
4018
4019 withstring=
4020 defaultval=$wxUSE_ALL_FEATURES
4021 if test -z "$defaultval"; then
4022 if test x"$withstring" = xwithout; then
4023 defaultval=yes
4024 else
4025 defaultval=no
4026 fi
4027 fi
4028 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4029 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4030
4031 # Check whether --with-gnomevfs was given.
4032 if test "${with_gnomevfs+set}" = set; then
4033 withval=$with_gnomevfs;
4034 if test "$withval" = yes; then
4035 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4036 else
4037 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4038 fi
4039
4040 else
4041
4042 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4043
4044 fi
4045
4046
4047 eval "$wx_cv_use_gnomevfs"
4048
4049 if test x"$withstring" = xwithout; then
4050 if test $wxUSE_LIBGNOMEVFS = yes; then
4051 result=no
4052 else
4053 result=yes
4054 fi
4055 else
4056 result=$wxUSE_LIBGNOMEVFS
4057 fi
4058
4059 { echo "$as_me:$LINENO: result: $result" >&5
4060 echo "${ECHO_T}$result" >&6; }
4061
4062
4063 withstring=
4064 defaultval=$wxUSE_ALL_FEATURES
4065 if test -z "$defaultval"; then
4066 if test x"$withstring" = xwithout; then
4067 defaultval=yes
4068 else
4069 defaultval=no
4070 fi
4071 fi
4072 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4073 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4074
4075 # Check whether --with-hildon was given.
4076 if test "${with_hildon+set}" = set; then
4077 withval=$with_hildon;
4078 if test "$withval" = yes; then
4079 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4080 else
4081 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4082 fi
4083
4084 else
4085
4086 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4087
4088 fi
4089
4090
4091 eval "$wx_cv_use_hildon"
4092
4093 if test x"$withstring" = xwithout; then
4094 if test $wxUSE_LIBHILDON = yes; then
4095 result=no
4096 else
4097 result=yes
4098 fi
4099 else
4100 result=$wxUSE_LIBHILDON
4101 fi
4102
4103 { echo "$as_me:$LINENO: result: $result" >&5
4104 echo "${ECHO_T}$result" >&6; }
4105
4106
4107 withstring=
4108 defaultval=$wxUSE_ALL_FEATURES
4109 if test -z "$defaultval"; then
4110 if test x"$withstring" = xwithout; then
4111 defaultval=yes
4112 else
4113 defaultval=no
4114 fi
4115 fi
4116 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4117 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4118
4119 # Check whether --with-opengl was given.
4120 if test "${with_opengl+set}" = set; then
4121 withval=$with_opengl;
4122 if test "$withval" = yes; then
4123 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4124 else
4125 wx_cv_use_opengl='wxUSE_OPENGL=no'
4126 fi
4127
4128 else
4129
4130 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4131
4132 fi
4133
4134
4135 eval "$wx_cv_use_opengl"
4136
4137 if test x"$withstring" = xwithout; then
4138 if test $wxUSE_OPENGL = yes; then
4139 result=no
4140 else
4141 result=yes
4142 fi
4143 else
4144 result=$wxUSE_OPENGL
4145 fi
4146
4147 { echo "$as_me:$LINENO: result: $result" >&5
4148 echo "${ECHO_T}$result" >&6; }
4149
4150
4151 fi
4152
4153
4154 withstring=
4155 defaultval=$wxUSE_ALL_FEATURES
4156 if test -z "$defaultval"; then
4157 if test x"$withstring" = xwithout; then
4158 defaultval=yes
4159 else
4160 defaultval=no
4161 fi
4162 fi
4163 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4164 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4165
4166 # Check whether --with-dmalloc was given.
4167 if test "${with_dmalloc+set}" = set; then
4168 withval=$with_dmalloc;
4169 if test "$withval" = yes; then
4170 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4171 else
4172 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4173 fi
4174
4175 else
4176
4177 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4178
4179 fi
4180
4181
4182 eval "$wx_cv_use_dmalloc"
4183
4184 if test x"$withstring" = xwithout; then
4185 if test $wxUSE_DMALLOC = yes; then
4186 result=no
4187 else
4188 result=yes
4189 fi
4190 else
4191 result=$wxUSE_DMALLOC
4192 fi
4193
4194 { echo "$as_me:$LINENO: result: $result" >&5
4195 echo "${ECHO_T}$result" >&6; }
4196
4197
4198 withstring=
4199 defaultval=$wxUSE_ALL_FEATURES
4200 if test -z "$defaultval"; then
4201 if test x"$withstring" = xwithout; then
4202 defaultval=yes
4203 else
4204 defaultval=no
4205 fi
4206 fi
4207 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4208 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4209
4210 # Check whether --with-sdl was given.
4211 if test "${with_sdl+set}" = set; then
4212 withval=$with_sdl;
4213 if test "$withval" = yes; then
4214 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4215 else
4216 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4217 fi
4218
4219 else
4220
4221 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4222
4223 fi
4224
4225
4226 eval "$wx_cv_use_sdl"
4227
4228 if test x"$withstring" = xwithout; then
4229 if test $wxUSE_LIBSDL = yes; then
4230 result=no
4231 else
4232 result=yes
4233 fi
4234 else
4235 result=$wxUSE_LIBSDL
4236 fi
4237
4238 { echo "$as_me:$LINENO: result: $result" >&5
4239 echo "${ECHO_T}$result" >&6; }
4240
4241
4242 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4243 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4244
4245 # Check whether --with-regex was given.
4246 if test "${with_regex+set}" = set; then
4247 withval=$with_regex;
4248 if test "$withval" = yes; then
4249 wx_cv_use_regex='wxUSE_REGEX=yes'
4250 elif test "$withval" = no; then
4251 wx_cv_use_regex='wxUSE_REGEX=no'
4252 elif test "$withval" = sys; then
4253 wx_cv_use_regex='wxUSE_REGEX=sys'
4254 elif test "$withval" = builtin; then
4255 wx_cv_use_regex='wxUSE_REGEX=builtin'
4256 else
4257 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4258 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4259 { (exit 1); exit 1; }; }
4260 fi
4261
4262 else
4263
4264 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4265
4266 fi
4267
4268
4269 eval "$wx_cv_use_regex"
4270
4271 if test "$wxUSE_REGEX" = yes; then
4272 { echo "$as_me:$LINENO: result: yes" >&5
4273 echo "${ECHO_T}yes" >&6; }
4274 elif test "$wxUSE_REGEX" = no; then
4275 { echo "$as_me:$LINENO: result: no" >&5
4276 echo "${ECHO_T}no" >&6; }
4277 elif test "$wxUSE_REGEX" = sys; then
4278 { echo "$as_me:$LINENO: result: system version" >&5
4279 echo "${ECHO_T}system version" >&6; }
4280 elif test "$wxUSE_REGEX" = builtin; then
4281 { echo "$as_me:$LINENO: result: builtin version" >&5
4282 echo "${ECHO_T}builtin version" >&6; }
4283 else
4284 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4285 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4286 { (exit 1); exit 1; }; }
4287 fi
4288
4289
4290 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4291 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4292
4293 # Check whether --with-zlib was given.
4294 if test "${with_zlib+set}" = set; then
4295 withval=$with_zlib;
4296 if test "$withval" = yes; then
4297 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4298 elif test "$withval" = no; then
4299 wx_cv_use_zlib='wxUSE_ZLIB=no'
4300 elif test "$withval" = sys; then
4301 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4302 elif test "$withval" = builtin; then
4303 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4304 else
4305 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4306 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4307 { (exit 1); exit 1; }; }
4308 fi
4309
4310 else
4311
4312 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4313
4314 fi
4315
4316
4317 eval "$wx_cv_use_zlib"
4318
4319 if test "$wxUSE_ZLIB" = yes; then
4320 { echo "$as_me:$LINENO: result: yes" >&5
4321 echo "${ECHO_T}yes" >&6; }
4322 elif test "$wxUSE_ZLIB" = no; then
4323 { echo "$as_me:$LINENO: result: no" >&5
4324 echo "${ECHO_T}no" >&6; }
4325 elif test "$wxUSE_ZLIB" = sys; then
4326 { echo "$as_me:$LINENO: result: system version" >&5
4327 echo "${ECHO_T}system version" >&6; }
4328 elif test "$wxUSE_ZLIB" = builtin; then
4329 { echo "$as_me:$LINENO: result: builtin version" >&5
4330 echo "${ECHO_T}builtin version" >&6; }
4331 else
4332 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4333 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4334 { (exit 1); exit 1; }; }
4335 fi
4336
4337
4338 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4339 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4340
4341 # Check whether --with-expat was given.
4342 if test "${with_expat+set}" = set; then
4343 withval=$with_expat;
4344 if test "$withval" = yes; then
4345 wx_cv_use_expat='wxUSE_EXPAT=yes'
4346 elif test "$withval" = no; then
4347 wx_cv_use_expat='wxUSE_EXPAT=no'
4348 elif test "$withval" = sys; then
4349 wx_cv_use_expat='wxUSE_EXPAT=sys'
4350 elif test "$withval" = builtin; then
4351 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4352 else
4353 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4354 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4355 { (exit 1); exit 1; }; }
4356 fi
4357
4358 else
4359
4360 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4361
4362 fi
4363
4364
4365 eval "$wx_cv_use_expat"
4366
4367 if test "$wxUSE_EXPAT" = yes; then
4368 { echo "$as_me:$LINENO: result: yes" >&5
4369 echo "${ECHO_T}yes" >&6; }
4370 elif test "$wxUSE_EXPAT" = no; then
4371 { echo "$as_me:$LINENO: result: no" >&5
4372 echo "${ECHO_T}no" >&6; }
4373 elif test "$wxUSE_EXPAT" = sys; then
4374 { echo "$as_me:$LINENO: result: system version" >&5
4375 echo "${ECHO_T}system version" >&6; }
4376 elif test "$wxUSE_EXPAT" = builtin; then
4377 { echo "$as_me:$LINENO: result: builtin version" >&5
4378 echo "${ECHO_T}builtin version" >&6; }
4379 else
4380 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4381 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4382 { (exit 1); exit 1; }; }
4383 fi
4384
4385
4386 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4387 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4388
4389 # Check whether --with-macosx-sdk was given.
4390 if test "${with_macosx_sdk+set}" = set; then
4391 withval=$with_macosx_sdk;
4392 wxUSE_MACOSX_SDK=$withval
4393 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4394
4395 fi
4396
4397 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4398 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4399
4400 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4401 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4402
4403 # Check whether --with-macosx-version-min was given.
4404 if test "${with_macosx_version_min+set}" = set; then
4405 withval=$with_macosx_version_min;
4406 wxUSE_MACOSX_VERSION_MIN=$withval
4407 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4408
4409 fi
4410
4411 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4412 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4413
4414
4415 { echo "$as_me:$LINENO: checking for --enable-debug" >&5
4416 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6; }
4417 # Check whether --enable-debug was given.
4418 if test "${enable_debug+set}" = set; then
4419 enableval=$enable_debug;
4420 if test "$enableval" = yes; then
4421 wxUSE_DEBUG=yes
4422 elif test "$enableval" = no; then
4423 wxUSE_DEBUG=no
4424 elif test "$enableval" = max; then
4425 wxUSE_DEBUG=yes
4426 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
4427 else
4428 { { echo "$as_me:$LINENO: error: Invalid --enable-debug value, must be yes, no or max" >&5
4429 echo "$as_me: error: Invalid --enable-debug value, must be yes, no or max" >&2;}
4430 { (exit 1); exit 1; }; }
4431 fi
4432
4433 else
4434 wxUSE_DEBUG=default
4435
4436 fi
4437
4438
4439 case "$wxUSE_DEBUG" in
4440 yes)
4441 DEFAULT_wxUSE_DEBUG_FLAG=yes
4442 DEFAULT_wxUSE_DEBUG_INFO=yes
4443
4444 DEFAULT_wxUSE_OPTIMISE=no
4445 ;;
4446
4447 no)
4448 DEFAULT_wxUSE_DEBUG_FLAG=no
4449 DEFAULT_wxUSE_DEBUG_INFO=no
4450 ;;
4451
4452 default)
4453 DEFAULT_wxUSE_DEBUG_FLAG=yes
4454 DEFAULT_wxUSE_DEBUG_INFO=no
4455 ;;
4456 esac
4457
4458
4459 enablestring=disable
4460 defaultval=
4461 if test -z "$defaultval"; then
4462 if test x"$enablestring" = xdisable; then
4463 defaultval=yes
4464 else
4465 defaultval=no
4466 fi
4467 fi
4468
4469 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4470 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4471 # Check whether --enable-debug_flag was given.
4472 if test "${enable_debug_flag+set}" = set; then
4473 enableval=$enable_debug_flag;
4474 if test "$enableval" = yes; then
4475 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4476 else
4477 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4478 fi
4479
4480 else
4481
4482 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4483
4484 fi
4485
4486
4487 eval "$wx_cv_use_debug_flag"
4488
4489 if test x"$enablestring" = xdisable; then
4490 if test $wxUSE_DEBUG_FLAG = no; then
4491 result=yes
4492 else
4493 result=no
4494 fi
4495 else
4496 result=$wxUSE_DEBUG_FLAG
4497 fi
4498
4499 { echo "$as_me:$LINENO: result: $result" >&5
4500 echo "${ECHO_T}$result" >&6; }
4501
4502
4503 enablestring=
4504 defaultval=
4505 if test -z "$defaultval"; then
4506 if test x"$enablestring" = xdisable; then
4507 defaultval=yes
4508 else
4509 defaultval=no
4510 fi
4511 fi
4512
4513 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4514 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4515 # Check whether --enable-debug_info was given.
4516 if test "${enable_debug_info+set}" = set; then
4517 enableval=$enable_debug_info;
4518 if test "$enableval" = yes; then
4519 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4520 else
4521 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4522 fi
4523
4524 else
4525
4526 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4527
4528 fi
4529
4530
4531 eval "$wx_cv_use_debug_info"
4532
4533 if test x"$enablestring" = xdisable; then
4534 if test $wxUSE_DEBUG_INFO = no; then
4535 result=yes
4536 else
4537 result=no
4538 fi
4539 else
4540 result=$wxUSE_DEBUG_INFO
4541 fi
4542
4543 { echo "$as_me:$LINENO: result: $result" >&5
4544 echo "${ECHO_T}$result" >&6; }
4545
4546
4547
4548
4549 enablestring=
4550 defaultval=
4551 if test -z "$defaultval"; then
4552 if test x"$enablestring" = xdisable; then
4553 defaultval=yes
4554 else
4555 defaultval=no
4556 fi
4557 fi
4558
4559 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4560 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4561 # Check whether --enable-debug_gdb was given.
4562 if test "${enable_debug_gdb+set}" = set; then
4563 enableval=$enable_debug_gdb;
4564 if test "$enableval" = yes; then
4565 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4566 else
4567 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4568 fi
4569
4570 else
4571
4572 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4573
4574 fi
4575
4576
4577 eval "$wx_cv_use_debug_gdb"
4578
4579 if test x"$enablestring" = xdisable; then
4580 if test $wxUSE_DEBUG_GDB = no; then
4581 result=yes
4582 else
4583 result=no
4584 fi
4585 else
4586 result=$wxUSE_DEBUG_GDB
4587 fi
4588
4589 { echo "$as_me:$LINENO: result: $result" >&5
4590 echo "${ECHO_T}$result" >&6; }
4591
4592
4593 enablestring=
4594 defaultval=
4595 if test -z "$defaultval"; then
4596 if test x"$enablestring" = xdisable; then
4597 defaultval=yes
4598 else
4599 defaultval=no
4600 fi
4601 fi
4602
4603 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4604 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4605 # Check whether --enable-debug_cntxt was given.
4606 if test "${enable_debug_cntxt+set}" = set; then
4607 enableval=$enable_debug_cntxt;
4608 if test "$enableval" = yes; then
4609 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4610 else
4611 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4612 fi
4613
4614 else
4615
4616 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4617
4618 fi
4619
4620
4621 eval "$wx_cv_use_debug_cntxt"
4622
4623 if test x"$enablestring" = xdisable; then
4624 if test $wxUSE_DEBUG_CONTEXT = no; then
4625 result=yes
4626 else
4627 result=no
4628 fi
4629 else
4630 result=$wxUSE_DEBUG_CONTEXT
4631 fi
4632
4633 { echo "$as_me:$LINENO: result: $result" >&5
4634 echo "${ECHO_T}$result" >&6; }
4635
4636
4637 enablestring=
4638 defaultval=
4639 if test -z "$defaultval"; then
4640 if test x"$enablestring" = xdisable; then
4641 defaultval=yes
4642 else
4643 defaultval=no
4644 fi
4645 fi
4646
4647 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4648 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4649 # Check whether --enable-mem_tracing was given.
4650 if test "${enable_mem_tracing+set}" = set; then
4651 enableval=$enable_mem_tracing;
4652 if test "$enableval" = yes; then
4653 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4654 else
4655 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4656 fi
4657
4658 else
4659
4660 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4661
4662 fi
4663
4664
4665 eval "$wx_cv_use_mem_tracing"
4666
4667 if test x"$enablestring" = xdisable; then
4668 if test $wxUSE_MEM_TRACING = no; then
4669 result=yes
4670 else
4671 result=no
4672 fi
4673 else
4674 result=$wxUSE_MEM_TRACING
4675 fi
4676
4677 { echo "$as_me:$LINENO: result: $result" >&5
4678 echo "${ECHO_T}$result" >&6; }
4679
4680
4681
4682
4683 enablestring=disable
4684 defaultval=
4685 if test -z "$defaultval"; then
4686 if test x"$enablestring" = xdisable; then
4687 defaultval=yes
4688 else
4689 defaultval=no
4690 fi
4691 fi
4692
4693 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4694 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4695 # Check whether --enable-shared was given.
4696 if test "${enable_shared+set}" = set; then
4697 enableval=$enable_shared;
4698 if test "$enableval" = yes; then
4699 wx_cv_use_shared='wxUSE_SHARED=yes'
4700 else
4701 wx_cv_use_shared='wxUSE_SHARED=no'
4702 fi
4703
4704 else
4705
4706 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4707
4708 fi
4709
4710
4711 eval "$wx_cv_use_shared"
4712
4713 if test x"$enablestring" = xdisable; then
4714 if test $wxUSE_SHARED = no; then
4715 result=yes
4716 else
4717 result=no
4718 fi
4719 else
4720 result=$wxUSE_SHARED
4721 fi
4722
4723 { echo "$as_me:$LINENO: result: $result" >&5
4724 echo "${ECHO_T}$result" >&6; }
4725
4726
4727 enablestring=
4728 defaultval=
4729 if test -z "$defaultval"; then
4730 if test x"$enablestring" = xdisable; then
4731 defaultval=yes
4732 else
4733 defaultval=no
4734 fi
4735 fi
4736
4737 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4738 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4739 # Check whether --enable-stl was given.
4740 if test "${enable_stl+set}" = set; then
4741 enableval=$enable_stl;
4742 if test "$enableval" = yes; then
4743 wx_cv_use_stl='wxUSE_STL=yes'
4744 else
4745 wx_cv_use_stl='wxUSE_STL=no'
4746 fi
4747
4748 else
4749
4750 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4751
4752 fi
4753
4754
4755 eval "$wx_cv_use_stl"
4756
4757 if test x"$enablestring" = xdisable; then
4758 if test $wxUSE_STL = no; then
4759 result=yes
4760 else
4761 result=no
4762 fi
4763 else
4764 result=$wxUSE_STL
4765 fi
4766
4767 { echo "$as_me:$LINENO: result: $result" >&5
4768 echo "${ECHO_T}$result" >&6; }
4769
4770
4771 enablestring=
4772 defaultval=
4773 if test -z "$defaultval"; then
4774 if test x"$enablestring" = xdisable; then
4775 defaultval=yes
4776 else
4777 defaultval=no
4778 fi
4779 fi
4780
4781 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4782 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4783 # Check whether --enable-std_iostreams was given.
4784 if test "${enable_std_iostreams+set}" = set; then
4785 enableval=$enable_std_iostreams;
4786 if test "$enableval" = yes; then
4787 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4788 else
4789 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4790 fi
4791
4792 else
4793
4794 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4795
4796 fi
4797
4798
4799 eval "$wx_cv_use_std_iostreams"
4800
4801 if test x"$enablestring" = xdisable; then
4802 if test $wxUSE_STD_IOSTREAM = no; then
4803 result=yes
4804 else
4805 result=no
4806 fi
4807 else
4808 result=$wxUSE_STD_IOSTREAM
4809 fi
4810
4811 { echo "$as_me:$LINENO: result: $result" >&5
4812 echo "${ECHO_T}$result" >&6; }
4813
4814
4815 enablestring=
4816 defaultval=
4817 if test -z "$defaultval"; then
4818 if test x"$enablestring" = xdisable; then
4819 defaultval=yes
4820 else
4821 defaultval=no
4822 fi
4823 fi
4824
4825 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4826 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4827 # Check whether --enable-std_string was given.
4828 if test "${enable_std_string+set}" = set; then
4829 enableval=$enable_std_string;
4830 if test "$enableval" = yes; then
4831 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4832 else
4833 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4834 fi
4835
4836 else
4837
4838 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4839
4840 fi
4841
4842
4843 eval "$wx_cv_use_std_string"
4844
4845 if test x"$enablestring" = xdisable; then
4846 if test $wxUSE_STD_STRING = no; then
4847 result=yes
4848 else
4849 result=no
4850 fi
4851 else
4852 result=$wxUSE_STD_STRING
4853 fi
4854
4855 { echo "$as_me:$LINENO: result: $result" >&5
4856 echo "${ECHO_T}$result" >&6; }
4857
4858
4859 enablestring=disable
4860 defaultval=
4861 if test -z "$defaultval"; then
4862 if test x"$enablestring" = xdisable; then
4863 defaultval=yes
4864 else
4865 defaultval=no
4866 fi
4867 fi
4868
4869 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4870 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4871 # Check whether --enable-unicode was given.
4872 if test "${enable_unicode+set}" = set; then
4873 enableval=$enable_unicode;
4874 if test "$enableval" = yes; then
4875 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4876 else
4877 wx_cv_use_unicode='wxUSE_UNICODE=no'
4878 fi
4879
4880 else
4881
4882 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4883
4884 fi
4885
4886
4887 eval "$wx_cv_use_unicode"
4888
4889 if test x"$enablestring" = xdisable; then
4890 if test $wxUSE_UNICODE = no; then
4891 result=yes
4892 else
4893 result=no
4894 fi
4895 else
4896 result=$wxUSE_UNICODE
4897 fi
4898
4899 { echo "$as_me:$LINENO: result: $result" >&5
4900 echo "${ECHO_T}$result" >&6; }
4901
4902
4903 enablestring=
4904 defaultval=
4905 if test -z "$defaultval"; then
4906 if test x"$enablestring" = xdisable; then
4907 defaultval=yes
4908 else
4909 defaultval=no
4910 fi
4911 fi
4912
4913 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4914 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4915 # Check whether --enable-mslu was given.
4916 if test "${enable_mslu+set}" = set; then
4917 enableval=$enable_mslu;
4918 if test "$enableval" = yes; then
4919 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4920 else
4921 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4922 fi
4923
4924 else
4925
4926 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4927
4928 fi
4929
4930
4931 eval "$wx_cv_use_mslu"
4932
4933 if test x"$enablestring" = xdisable; then
4934 if test $wxUSE_UNICODE_MSLU = no; then
4935 result=yes
4936 else
4937 result=no
4938 fi
4939 else
4940 result=$wxUSE_UNICODE_MSLU
4941 fi
4942
4943 { echo "$as_me:$LINENO: result: $result" >&5
4944 echo "${ECHO_T}$result" >&6; }
4945
4946
4947 enablestring=
4948 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4949 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4950 # Check whether --enable-utf8 was given.
4951 if test "${enable_utf8+set}" = set; then
4952 enableval=$enable_utf8;
4953 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4954
4955 else
4956
4957 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4958
4959 fi
4960
4961
4962 eval "$wx_cv_use_utf8"
4963
4964 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4965 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4966
4967
4968 enablestring=
4969 defaultval=
4970 if test -z "$defaultval"; then
4971 if test x"$enablestring" = xdisable; then
4972 defaultval=yes
4973 else
4974 defaultval=no
4975 fi
4976 fi
4977
4978 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4979 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4980 # Check whether --enable-utf8only was given.
4981 if test "${enable_utf8only+set}" = set; then
4982 enableval=$enable_utf8only;
4983 if test "$enableval" = yes; then
4984 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4985 else
4986 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4987 fi
4988
4989 else
4990
4991 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4992
4993 fi
4994
4995
4996 eval "$wx_cv_use_utf8only"
4997
4998 if test x"$enablestring" = xdisable; then
4999 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
5000 result=yes
5001 else
5002 result=no
5003 fi
5004 else
5005 result=$wxUSE_UNICODE_UTF8_LOCALE
5006 fi
5007
5008 { echo "$as_me:$LINENO: result: $result" >&5
5009 echo "${ECHO_T}$result" >&6; }
5010
5011
5012 enablestring=
5013 defaultval=
5014 if test -z "$defaultval"; then
5015 if test x"$enablestring" = xdisable; then
5016 defaultval=yes
5017 else
5018 defaultval=no
5019 fi
5020 fi
5021
5022 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5023 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5024 # Check whether --enable-extended_rtti was given.
5025 if test "${enable_extended_rtti+set}" = set; then
5026 enableval=$enable_extended_rtti;
5027 if test "$enableval" = yes; then
5028 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
5029 else
5030 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
5031 fi
5032
5033 else
5034
5035 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5036
5037 fi
5038
5039
5040 eval "$wx_cv_use_extended_rtti"
5041
5042 if test x"$enablestring" = xdisable; then
5043 if test $wxUSE_EXTENDED_RTTI = no; then
5044 result=yes
5045 else
5046 result=no
5047 fi
5048 else
5049 result=$wxUSE_EXTENDED_RTTI
5050 fi
5051
5052 { echo "$as_me:$LINENO: result: $result" >&5
5053 echo "${ECHO_T}$result" >&6; }
5054
5055 if test "$USE_OS2" = 1; then
5056 DEFAULT_wxUSE_OMF=no
5057
5058 enablestring=
5059 defaultval=
5060 if test -z "$defaultval"; then
5061 if test x"$enablestring" = xdisable; then
5062 defaultval=yes
5063 else
5064 defaultval=no
5065 fi
5066 fi
5067
5068 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5069 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5070 # Check whether --enable-omf was given.
5071 if test "${enable_omf+set}" = set; then
5072 enableval=$enable_omf;
5073 if test "$enableval" = yes; then
5074 wx_cv_use_omf='wxUSE_OMF=yes'
5075 else
5076 wx_cv_use_omf='wxUSE_OMF=no'
5077 fi
5078
5079 else
5080
5081 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5082
5083 fi
5084
5085
5086 eval "$wx_cv_use_omf"
5087
5088 if test x"$enablestring" = xdisable; then
5089 if test $wxUSE_OMF = no; then
5090 result=yes
5091 else
5092 result=no
5093 fi
5094 else
5095 result=$wxUSE_OMF
5096 fi
5097
5098 { echo "$as_me:$LINENO: result: $result" >&5
5099 echo "${ECHO_T}$result" >&6; }
5100
5101 fi
5102
5103
5104 enablestring=disable
5105 defaultval=
5106 if test -z "$defaultval"; then
5107 if test x"$enablestring" = xdisable; then
5108 defaultval=yes
5109 else
5110 defaultval=no
5111 fi
5112 fi
5113
5114 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
5115 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
5116 # Check whether --enable-optimise was given.
5117 if test "${enable_optimise+set}" = set; then
5118 enableval=$enable_optimise;
5119 if test "$enableval" = yes; then
5120 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
5121 else
5122 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
5123 fi
5124
5125 else
5126
5127 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5128
5129 fi
5130
5131
5132 eval "$wx_cv_use_optimise"
5133
5134 if test x"$enablestring" = xdisable; then
5135 if test $wxUSE_OPTIMISE = no; then
5136 result=yes
5137 else
5138 result=no
5139 fi
5140 else
5141 result=$wxUSE_OPTIMISE
5142 fi
5143
5144 { echo "$as_me:$LINENO: result: $result" >&5
5145 echo "${ECHO_T}$result" >&6; }
5146
5147
5148
5149 enablestring=
5150 defaultval=
5151 if test -z "$defaultval"; then
5152 if test x"$enablestring" = xdisable; then
5153 defaultval=yes
5154 else
5155 defaultval=no
5156 fi
5157 fi
5158
5159 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5160 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5161 # Check whether --enable-profile was given.
5162 if test "${enable_profile+set}" = set; then
5163 enableval=$enable_profile;
5164 if test "$enableval" = yes; then
5165 wx_cv_use_profile='wxUSE_PROFILE=yes'
5166 else
5167 wx_cv_use_profile='wxUSE_PROFILE=no'
5168 fi
5169
5170 else
5171
5172 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5173
5174 fi
5175
5176
5177 eval "$wx_cv_use_profile"
5178
5179 if test x"$enablestring" = xdisable; then
5180 if test $wxUSE_PROFILE = no; then
5181 result=yes
5182 else
5183 result=no
5184 fi
5185 else
5186 result=$wxUSE_PROFILE
5187 fi
5188
5189 { echo "$as_me:$LINENO: result: $result" >&5
5190 echo "${ECHO_T}$result" >&6; }
5191
5192
5193 enablestring=
5194 defaultval=
5195 if test -z "$defaultval"; then
5196 if test x"$enablestring" = xdisable; then
5197 defaultval=yes
5198 else
5199 defaultval=no
5200 fi
5201 fi
5202
5203 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5204 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5205 # Check whether --enable-no_rtti was given.
5206 if test "${enable_no_rtti+set}" = set; then
5207 enableval=$enable_no_rtti;
5208 if test "$enableval" = yes; then
5209 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5210 else
5211 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5212 fi
5213
5214 else
5215
5216 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5217
5218 fi
5219
5220
5221 eval "$wx_cv_use_no_rtti"
5222
5223 if test x"$enablestring" = xdisable; then
5224 if test $wxUSE_NO_RTTI = no; then
5225 result=yes
5226 else
5227 result=no
5228 fi
5229 else
5230 result=$wxUSE_NO_RTTI
5231 fi
5232
5233 { echo "$as_me:$LINENO: result: $result" >&5
5234 echo "${ECHO_T}$result" >&6; }
5235
5236
5237 enablestring=
5238 defaultval=
5239 if test -z "$defaultval"; then
5240 if test x"$enablestring" = xdisable; then
5241 defaultval=yes
5242 else
5243 defaultval=no
5244 fi
5245 fi
5246
5247 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5248 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5249 # Check whether --enable-no_exceptions was given.
5250 if test "${enable_no_exceptions+set}" = set; then
5251 enableval=$enable_no_exceptions;
5252 if test "$enableval" = yes; then
5253 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5254 else
5255 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5256 fi
5257
5258 else
5259
5260 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5261
5262 fi
5263
5264
5265 eval "$wx_cv_use_no_exceptions"
5266
5267 if test x"$enablestring" = xdisable; then
5268 if test $wxUSE_NO_EXCEPTIONS = no; then
5269 result=yes
5270 else
5271 result=no
5272 fi
5273 else
5274 result=$wxUSE_NO_EXCEPTIONS
5275 fi
5276
5277 { echo "$as_me:$LINENO: result: $result" >&5
5278 echo "${ECHO_T}$result" >&6; }
5279
5280
5281 enablestring=
5282 defaultval=
5283 if test -z "$defaultval"; then
5284 if test x"$enablestring" = xdisable; then
5285 defaultval=yes
5286 else
5287 defaultval=no
5288 fi
5289 fi
5290
5291 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5292 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5293 # Check whether --enable-permissive was given.
5294 if test "${enable_permissive+set}" = set; then
5295 enableval=$enable_permissive;
5296 if test "$enableval" = yes; then
5297 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5298 else
5299 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5300 fi
5301
5302 else
5303
5304 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5305
5306 fi
5307
5308
5309 eval "$wx_cv_use_permissive"
5310
5311 if test x"$enablestring" = xdisable; then
5312 if test $wxUSE_PERMISSIVE = no; then
5313 result=yes
5314 else
5315 result=no
5316 fi
5317 else
5318 result=$wxUSE_PERMISSIVE
5319 fi
5320
5321 { echo "$as_me:$LINENO: result: $result" >&5
5322 echo "${ECHO_T}$result" >&6; }
5323
5324
5325 enablestring=
5326 defaultval=
5327 if test -z "$defaultval"; then
5328 if test x"$enablestring" = xdisable; then
5329 defaultval=yes
5330 else
5331 defaultval=no
5332 fi
5333 fi
5334
5335 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5336 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5337 # Check whether --enable-no_deps was given.
5338 if test "${enable_no_deps+set}" = set; then
5339 enableval=$enable_no_deps;
5340 if test "$enableval" = yes; then
5341 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5342 else
5343 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5344 fi
5345
5346 else
5347
5348 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5349
5350 fi
5351
5352
5353 eval "$wx_cv_use_no_deps"
5354
5355 if test x"$enablestring" = xdisable; then
5356 if test $wxUSE_NO_DEPS = no; then
5357 result=yes
5358 else
5359 result=no
5360 fi
5361 else
5362 result=$wxUSE_NO_DEPS
5363 fi
5364
5365 { echo "$as_me:$LINENO: result: $result" >&5
5366 echo "${ECHO_T}$result" >&6; }
5367
5368
5369 enablestring=disable
5370 defaultval=
5371 if test -z "$defaultval"; then
5372 if test x"$enablestring" = xdisable; then
5373 defaultval=yes
5374 else
5375 defaultval=no
5376 fi
5377 fi
5378
5379 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5380 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5381 # Check whether --enable-vararg_macros was given.
5382 if test "${enable_vararg_macros+set}" = set; then
5383 enableval=$enable_vararg_macros;
5384 if test "$enableval" = yes; then
5385 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5386 else
5387 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5388 fi
5389
5390 else
5391
5392 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5393
5394 fi
5395
5396
5397 eval "$wx_cv_use_vararg_macros"
5398
5399 if test x"$enablestring" = xdisable; then
5400 if test $wxUSE_VARARG_MACROS = no; then
5401 result=yes
5402 else
5403 result=no
5404 fi
5405 else
5406 result=$wxUSE_VARARG_MACROS
5407 fi
5408
5409 { echo "$as_me:$LINENO: result: $result" >&5
5410 echo "${ECHO_T}$result" >&6; }
5411
5412
5413 enablestring=
5414 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5415 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5416 # Check whether --enable-universal_binary was given.
5417 if test "${enable_universal_binary+set}" = set; then
5418 enableval=$enable_universal_binary;
5419 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5420
5421 else
5422
5423 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5424
5425 fi
5426
5427
5428 eval "$wx_cv_use_universal_binary"
5429
5430 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5431 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5432
5433
5434
5435 enablestring=
5436 defaultval=
5437 if test -z "$defaultval"; then
5438 if test x"$enablestring" = xdisable; then
5439 defaultval=yes
5440 else
5441 defaultval=no
5442 fi
5443 fi
5444
5445 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5446 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5447 # Check whether --enable-compat26 was given.
5448 if test "${enable_compat26+set}" = set; then
5449 enableval=$enable_compat26;
5450 if test "$enableval" = yes; then
5451 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5452 else
5453 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5454 fi
5455
5456 else
5457
5458 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5459
5460 fi
5461
5462
5463 eval "$wx_cv_use_compat26"
5464
5465 if test x"$enablestring" = xdisable; then
5466 if test $WXWIN_COMPATIBILITY_2_6 = no; then
5467 result=yes
5468 else
5469 result=no
5470 fi
5471 else
5472 result=$WXWIN_COMPATIBILITY_2_6
5473 fi
5474
5475 { echo "$as_me:$LINENO: result: $result" >&5
5476 echo "${ECHO_T}$result" >&6; }
5477
5478
5479 enablestring=disable
5480 defaultval=
5481 if test -z "$defaultval"; then
5482 if test x"$enablestring" = xdisable; then
5483 defaultval=yes
5484 else
5485 defaultval=no
5486 fi
5487 fi
5488
5489 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5490 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5491 # Check whether --enable-compat28 was given.
5492 if test "${enable_compat28+set}" = set; then
5493 enableval=$enable_compat28;
5494 if test "$enableval" = yes; then
5495 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5496 else
5497 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5498 fi
5499
5500 else
5501
5502 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5503
5504 fi
5505
5506
5507 eval "$wx_cv_use_compat28"
5508
5509 if test x"$enablestring" = xdisable; then
5510 if test $WXWIN_COMPATIBILITY_2_8 = no; then
5511 result=yes
5512 else
5513 result=no
5514 fi
5515 else
5516 result=$WXWIN_COMPATIBILITY_2_8
5517 fi
5518
5519 { echo "$as_me:$LINENO: result: $result" >&5
5520 echo "${ECHO_T}$result" >&6; }
5521
5522
5523
5524 enablestring=disable
5525 defaultval=
5526 if test -z "$defaultval"; then
5527 if test x"$enablestring" = xdisable; then
5528 defaultval=yes
5529 else
5530 defaultval=no
5531 fi
5532 fi
5533
5534 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5535 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5536 # Check whether --enable-rpath was given.
5537 if test "${enable_rpath+set}" = set; then
5538 enableval=$enable_rpath;
5539 if test "$enableval" = yes; then
5540 wx_cv_use_rpath='wxUSE_RPATH=yes'
5541 else
5542 wx_cv_use_rpath='wxUSE_RPATH=no'
5543 fi
5544
5545 else
5546
5547 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5548
5549 fi
5550
5551
5552 eval "$wx_cv_use_rpath"
5553
5554 if test x"$enablestring" = xdisable; then
5555 if test $wxUSE_RPATH = no; then
5556 result=yes
5557 else
5558 result=no
5559 fi
5560 else
5561 result=$wxUSE_RPATH
5562 fi
5563
5564 { echo "$as_me:$LINENO: result: $result" >&5
5565 echo "${ECHO_T}$result" >&6; }
5566
5567
5568
5569 enablestring=
5570 defaultval=
5571 if test -z "$defaultval"; then
5572 if test x"$enablestring" = xdisable; then
5573 defaultval=yes
5574 else
5575 defaultval=no
5576 fi
5577 fi
5578
5579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5580 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5581 # Check whether --enable-objc_uniquifying was given.
5582 if test "${enable_objc_uniquifying+set}" = set; then
5583 enableval=$enable_objc_uniquifying;
5584 if test "$enableval" = yes; then
5585 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5586 else
5587 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5588 fi
5589
5590 else
5591
5592 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5593
5594 fi
5595
5596
5597 eval "$wx_cv_use_objc_uniquifying"
5598
5599 if test x"$enablestring" = xdisable; then
5600 if test $wxUSE_OBJC_UNIQUIFYING = no; then
5601 result=yes
5602 else
5603 result=no
5604 fi
5605 else
5606 result=$wxUSE_OBJC_UNIQUIFYING
5607 fi
5608
5609 { echo "$as_me:$LINENO: result: $result" >&5
5610 echo "${ECHO_T}$result" >&6; }
5611
5612
5613
5614 enablestring=disable
5615 defaultval=
5616 if test -z "$defaultval"; then
5617 if test x"$enablestring" = xdisable; then
5618 defaultval=yes
5619 else
5620 defaultval=no
5621 fi
5622 fi
5623
5624 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5625 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5626 # Check whether --enable-visibility was given.
5627 if test "${enable_visibility+set}" = set; then
5628 enableval=$enable_visibility;
5629 if test "$enableval" = yes; then
5630 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5631 else
5632 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5633 fi
5634
5635 else
5636
5637 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5638
5639 fi
5640
5641
5642 eval "$wx_cv_use_visibility"
5643
5644 if test x"$enablestring" = xdisable; then
5645 if test $wxUSE_VISIBILITY = no; then
5646 result=yes
5647 else
5648 result=no
5649 fi
5650 else
5651 result=$wxUSE_VISIBILITY
5652 fi
5653
5654 { echo "$as_me:$LINENO: result: $result" >&5
5655 echo "${ECHO_T}$result" >&6; }
5656
5657
5658 enablestring=disable
5659 defaultval=
5660 if test -z "$defaultval"; then
5661 if test x"$enablestring" = xdisable; then
5662 defaultval=yes
5663 else
5664 defaultval=no
5665 fi
5666 fi
5667
5668 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tls" >&5
5669 echo $ECHO_N "checking for --${enablestring:-enable}-tls... $ECHO_C" >&6; }
5670 # Check whether --enable-tls was given.
5671 if test "${enable_tls+set}" = set; then
5672 enableval=$enable_tls;
5673 if test "$enableval" = yes; then
5674 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
5675 else
5676 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
5677 fi
5678
5679 else
5680
5681 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5682
5683 fi
5684
5685
5686 eval "$wx_cv_use_tls"
5687
5688 if test x"$enablestring" = xdisable; then
5689 if test $wxUSE_COMPILER_TLS = no; then
5690 result=yes
5691 else
5692 result=no
5693 fi
5694 else
5695 result=$wxUSE_COMPILER_TLS
5696 fi
5697
5698 { echo "$as_me:$LINENO: result: $result" >&5
5699 echo "${ECHO_T}$result" >&6; }
5700
5701
5702
5703
5704 enablestring=
5705 defaultval=$wxUSE_ALL_FEATURES
5706 if test -z "$defaultval"; then
5707 if test x"$enablestring" = xdisable; then
5708 defaultval=yes
5709 else
5710 defaultval=no
5711 fi
5712 fi
5713
5714 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5715 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5716 # Check whether --enable-intl was given.
5717 if test "${enable_intl+set}" = set; then
5718 enableval=$enable_intl;
5719 if test "$enableval" = yes; then
5720 wx_cv_use_intl='wxUSE_INTL=yes'
5721 else
5722 wx_cv_use_intl='wxUSE_INTL=no'
5723 fi
5724
5725 else
5726
5727 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5728
5729 fi
5730
5731
5732 eval "$wx_cv_use_intl"
5733
5734 if test x"$enablestring" = xdisable; then
5735 if test $wxUSE_INTL = no; then
5736 result=yes
5737 else
5738 result=no
5739 fi
5740 else
5741 result=$wxUSE_INTL
5742 fi
5743
5744 { echo "$as_me:$LINENO: result: $result" >&5
5745 echo "${ECHO_T}$result" >&6; }
5746
5747
5748 enablestring=
5749 defaultval=$wxUSE_ALL_FEATURES
5750 if test -z "$defaultval"; then
5751 if test x"$enablestring" = xdisable; then
5752 defaultval=yes
5753 else
5754 defaultval=no
5755 fi
5756 fi
5757
5758 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5759 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5760 # Check whether --enable-xlocale was given.
5761 if test "${enable_xlocale+set}" = set; then
5762 enableval=$enable_xlocale;
5763 if test "$enableval" = yes; then
5764 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5765 else
5766 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5767 fi
5768
5769 else
5770
5771 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5772
5773 fi
5774
5775
5776 eval "$wx_cv_use_xlocale"
5777
5778 if test x"$enablestring" = xdisable; then
5779 if test $wxUSE_XLOCALE = no; then
5780 result=yes
5781 else
5782 result=no
5783 fi
5784 else
5785 result=$wxUSE_XLOCALE
5786 fi
5787
5788 { echo "$as_me:$LINENO: result: $result" >&5
5789 echo "${ECHO_T}$result" >&6; }
5790
5791
5792 enablestring=
5793 defaultval=$wxUSE_ALL_FEATURES
5794 if test -z "$defaultval"; then
5795 if test x"$enablestring" = xdisable; then
5796 defaultval=yes
5797 else
5798 defaultval=no
5799 fi
5800 fi
5801
5802 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5803 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5804 # Check whether --enable-config was given.
5805 if test "${enable_config+set}" = set; then
5806 enableval=$enable_config;
5807 if test "$enableval" = yes; then
5808 wx_cv_use_config='wxUSE_CONFIG=yes'
5809 else
5810 wx_cv_use_config='wxUSE_CONFIG=no'
5811 fi
5812
5813 else
5814
5815 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5816
5817 fi
5818
5819
5820 eval "$wx_cv_use_config"
5821
5822 if test x"$enablestring" = xdisable; then
5823 if test $wxUSE_CONFIG = no; then
5824 result=yes
5825 else
5826 result=no
5827 fi
5828 else
5829 result=$wxUSE_CONFIG
5830 fi
5831
5832 { echo "$as_me:$LINENO: result: $result" >&5
5833 echo "${ECHO_T}$result" >&6; }
5834
5835
5836
5837 enablestring=
5838 defaultval=$wxUSE_ALL_FEATURES
5839 if test -z "$defaultval"; then
5840 if test x"$enablestring" = xdisable; then
5841 defaultval=yes
5842 else
5843 defaultval=no
5844 fi
5845 fi
5846
5847 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5848 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5849 # Check whether --enable-protocols was given.
5850 if test "${enable_protocols+set}" = set; then
5851 enableval=$enable_protocols;
5852 if test "$enableval" = yes; then
5853 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5854 else
5855 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5856 fi
5857
5858 else
5859
5860 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5861
5862 fi
5863
5864
5865 eval "$wx_cv_use_protocols"
5866
5867 if test x"$enablestring" = xdisable; then
5868 if test $wxUSE_PROTOCOL = no; then
5869 result=yes
5870 else
5871 result=no
5872 fi
5873 else
5874 result=$wxUSE_PROTOCOL
5875 fi
5876
5877 { echo "$as_me:$LINENO: result: $result" >&5
5878 echo "${ECHO_T}$result" >&6; }
5879
5880
5881 enablestring=
5882 defaultval=$wxUSE_ALL_FEATURES
5883 if test -z "$defaultval"; then
5884 if test x"$enablestring" = xdisable; then
5885 defaultval=yes
5886 else
5887 defaultval=no
5888 fi
5889 fi
5890
5891 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5892 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5893 # Check whether --enable-ftp was given.
5894 if test "${enable_ftp+set}" = set; then
5895 enableval=$enable_ftp;
5896 if test "$enableval" = yes; then
5897 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5898 else
5899 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5900 fi
5901
5902 else
5903
5904 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5905
5906 fi
5907
5908
5909 eval "$wx_cv_use_ftp"
5910
5911 if test x"$enablestring" = xdisable; then
5912 if test $wxUSE_PROTOCOL_FTP = no; then
5913 result=yes
5914 else
5915 result=no
5916 fi
5917 else
5918 result=$wxUSE_PROTOCOL_FTP
5919 fi
5920
5921 { echo "$as_me:$LINENO: result: $result" >&5
5922 echo "${ECHO_T}$result" >&6; }
5923
5924
5925 enablestring=
5926 defaultval=$wxUSE_ALL_FEATURES
5927 if test -z "$defaultval"; then
5928 if test x"$enablestring" = xdisable; then
5929 defaultval=yes
5930 else
5931 defaultval=no
5932 fi
5933 fi
5934
5935 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5936 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5937 # Check whether --enable-http was given.
5938 if test "${enable_http+set}" = set; then
5939 enableval=$enable_http;
5940 if test "$enableval" = yes; then
5941 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5942 else
5943 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5944 fi
5945
5946 else
5947
5948 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5949
5950 fi
5951
5952
5953 eval "$wx_cv_use_http"
5954
5955 if test x"$enablestring" = xdisable; then
5956 if test $wxUSE_PROTOCOL_HTTP = no; then
5957 result=yes
5958 else
5959 result=no
5960 fi
5961 else
5962 result=$wxUSE_PROTOCOL_HTTP
5963 fi
5964
5965 { echo "$as_me:$LINENO: result: $result" >&5
5966 echo "${ECHO_T}$result" >&6; }
5967
5968
5969 enablestring=
5970 defaultval=$wxUSE_ALL_FEATURES
5971 if test -z "$defaultval"; then
5972 if test x"$enablestring" = xdisable; then
5973 defaultval=yes
5974 else
5975 defaultval=no
5976 fi
5977 fi
5978
5979 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5980 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5981 # Check whether --enable-fileproto was given.
5982 if test "${enable_fileproto+set}" = set; then
5983 enableval=$enable_fileproto;
5984 if test "$enableval" = yes; then
5985 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5986 else
5987 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5988 fi
5989
5990 else
5991
5992 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5993
5994 fi
5995
5996
5997 eval "$wx_cv_use_fileproto"
5998
5999 if test x"$enablestring" = xdisable; then
6000 if test $wxUSE_PROTOCOL_FILE = no; then
6001 result=yes
6002 else
6003 result=no
6004 fi
6005 else
6006 result=$wxUSE_PROTOCOL_FILE
6007 fi
6008
6009 { echo "$as_me:$LINENO: result: $result" >&5
6010 echo "${ECHO_T}$result" >&6; }
6011
6012
6013 enablestring=
6014 defaultval=$wxUSE_ALL_FEATURES
6015 if test -z "$defaultval"; then
6016 if test x"$enablestring" = xdisable; then
6017 defaultval=yes
6018 else
6019 defaultval=no
6020 fi
6021 fi
6022
6023 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6024 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6025 # Check whether --enable-sockets was given.
6026 if test "${enable_sockets+set}" = set; then
6027 enableval=$enable_sockets;
6028 if test "$enableval" = yes; then
6029 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6030 else
6031 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6032 fi
6033
6034 else
6035
6036 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6037
6038 fi
6039
6040
6041 eval "$wx_cv_use_sockets"
6042
6043 if test x"$enablestring" = xdisable; then
6044 if test $wxUSE_SOCKETS = no; then
6045 result=yes
6046 else
6047 result=no
6048 fi
6049 else
6050 result=$wxUSE_SOCKETS
6051 fi
6052
6053 { echo "$as_me:$LINENO: result: $result" >&5
6054 echo "${ECHO_T}$result" >&6; }
6055
6056
6057 enablestring=
6058 defaultval=$wxUSE_ALL_FEATURES
6059 if test -z "$defaultval"; then
6060 if test x"$enablestring" = xdisable; then
6061 defaultval=yes
6062 else
6063 defaultval=no
6064 fi
6065 fi
6066
6067 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
6068 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
6069 # Check whether --enable-ipv6 was given.
6070 if test "${enable_ipv6+set}" = set; then
6071 enableval=$enable_ipv6;
6072 if test "$enableval" = yes; then
6073 wx_cv_use_ipv6='wxUSE_IPV6=yes'
6074 else
6075 wx_cv_use_ipv6='wxUSE_IPV6=no'
6076 fi
6077
6078 else
6079
6080 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6081
6082 fi
6083
6084
6085 eval "$wx_cv_use_ipv6"
6086
6087 if test x"$enablestring" = xdisable; then
6088 if test $wxUSE_IPV6 = no; then
6089 result=yes
6090 else
6091 result=no
6092 fi
6093 else
6094 result=$wxUSE_IPV6
6095 fi
6096
6097 { echo "$as_me:$LINENO: result: $result" >&5
6098 echo "${ECHO_T}$result" >&6; }
6099
6100
6101 enablestring=
6102 defaultval=$wxUSE_ALL_FEATURES
6103 if test -z "$defaultval"; then
6104 if test x"$enablestring" = xdisable; then
6105 defaultval=yes
6106 else
6107 defaultval=no
6108 fi
6109 fi
6110
6111 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6112 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6113 # Check whether --enable-ole was given.
6114 if test "${enable_ole+set}" = set; then
6115 enableval=$enable_ole;
6116 if test "$enableval" = yes; then
6117 wx_cv_use_ole='wxUSE_OLE=yes'
6118 else
6119 wx_cv_use_ole='wxUSE_OLE=no'
6120 fi
6121
6122 else
6123
6124 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6125
6126 fi
6127
6128
6129 eval "$wx_cv_use_ole"
6130
6131 if test x"$enablestring" = xdisable; then
6132 if test $wxUSE_OLE = no; then
6133 result=yes
6134 else
6135 result=no
6136 fi
6137 else
6138 result=$wxUSE_OLE
6139 fi
6140
6141 { echo "$as_me:$LINENO: result: $result" >&5
6142 echo "${ECHO_T}$result" >&6; }
6143
6144
6145 enablestring=
6146 defaultval=$wxUSE_ALL_FEATURES
6147 if test -z "$defaultval"; then
6148 if test x"$enablestring" = xdisable; then
6149 defaultval=yes
6150 else
6151 defaultval=no
6152 fi
6153 fi
6154
6155 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6156 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6157 # Check whether --enable-dataobj was given.
6158 if test "${enable_dataobj+set}" = set; then
6159 enableval=$enable_dataobj;
6160 if test "$enableval" = yes; then
6161 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6162 else
6163 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6164 fi
6165
6166 else
6167
6168 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6169
6170 fi
6171
6172
6173 eval "$wx_cv_use_dataobj"
6174
6175 if test x"$enablestring" = xdisable; then
6176 if test $wxUSE_DATAOBJ = no; then
6177 result=yes
6178 else
6179 result=no
6180 fi
6181 else
6182 result=$wxUSE_DATAOBJ
6183 fi
6184
6185 { echo "$as_me:$LINENO: result: $result" >&5
6186 echo "${ECHO_T}$result" >&6; }
6187
6188
6189
6190 enablestring=
6191 defaultval=$wxUSE_ALL_FEATURES
6192 if test -z "$defaultval"; then
6193 if test x"$enablestring" = xdisable; then
6194 defaultval=yes
6195 else
6196 defaultval=no
6197 fi
6198 fi
6199
6200 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6201 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6202 # Check whether --enable-ipc was given.
6203 if test "${enable_ipc+set}" = set; then
6204 enableval=$enable_ipc;
6205 if test "$enableval" = yes; then
6206 wx_cv_use_ipc='wxUSE_IPC=yes'
6207 else
6208 wx_cv_use_ipc='wxUSE_IPC=no'
6209 fi
6210
6211 else
6212
6213 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6214
6215 fi
6216
6217
6218 eval "$wx_cv_use_ipc"
6219
6220 if test x"$enablestring" = xdisable; then
6221 if test $wxUSE_IPC = no; then
6222 result=yes
6223 else
6224 result=no
6225 fi
6226 else
6227 result=$wxUSE_IPC
6228 fi
6229
6230 { echo "$as_me:$LINENO: result: $result" >&5
6231 echo "${ECHO_T}$result" >&6; }
6232
6233
6234
6235 enablestring=
6236 defaultval=$wxUSE_ALL_FEATURES
6237 if test -z "$defaultval"; then
6238 if test x"$enablestring" = xdisable; then
6239 defaultval=yes
6240 else
6241 defaultval=no
6242 fi
6243 fi
6244
6245 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6246 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6247 # Check whether --enable-baseevtloop was given.
6248 if test "${enable_baseevtloop+set}" = set; then
6249 enableval=$enable_baseevtloop;
6250 if test "$enableval" = yes; then
6251 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6252 else
6253 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6254 fi
6255
6256 else
6257
6258 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6259
6260 fi
6261
6262
6263 eval "$wx_cv_use_baseevtloop"
6264
6265 if test x"$enablestring" = xdisable; then
6266 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
6267 result=yes
6268 else
6269 result=no
6270 fi
6271 else
6272 result=$wxUSE_CONSOLE_EVENTLOOP
6273 fi
6274
6275 { echo "$as_me:$LINENO: result: $result" >&5
6276 echo "${ECHO_T}$result" >&6; }
6277
6278
6279 enablestring=
6280 defaultval=$wxUSE_ALL_FEATURES
6281 if test -z "$defaultval"; then
6282 if test x"$enablestring" = xdisable; then
6283 defaultval=yes
6284 else
6285 defaultval=no
6286 fi
6287 fi
6288
6289 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6290 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6291 # Check whether --enable-epollloop was given.
6292 if test "${enable_epollloop+set}" = set; then
6293 enableval=$enable_epollloop;
6294 if test "$enableval" = yes; then
6295 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6296 else
6297 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6298 fi
6299
6300 else
6301
6302 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6303
6304 fi
6305
6306
6307 eval "$wx_cv_use_epollloop"
6308
6309 if test x"$enablestring" = xdisable; then
6310 if test $wxUSE_EPOLL_DISPATCHER = no; then
6311 result=yes
6312 else
6313 result=no
6314 fi
6315 else
6316 result=$wxUSE_EPOLL_DISPATCHER
6317 fi
6318
6319 { echo "$as_me:$LINENO: result: $result" >&5
6320 echo "${ECHO_T}$result" >&6; }
6321
6322
6323 enablestring=
6324 defaultval=$wxUSE_ALL_FEATURES
6325 if test -z "$defaultval"; then
6326 if test x"$enablestring" = xdisable; then
6327 defaultval=yes
6328 else
6329 defaultval=no
6330 fi
6331 fi
6332
6333 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6334 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6335 # Check whether --enable-selectloop was given.
6336 if test "${enable_selectloop+set}" = set; then
6337 enableval=$enable_selectloop;
6338 if test "$enableval" = yes; then
6339 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6340 else
6341 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6342 fi
6343
6344 else
6345
6346 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6347
6348 fi
6349
6350
6351 eval "$wx_cv_use_selectloop"
6352
6353 if test x"$enablestring" = xdisable; then
6354 if test $wxUSE_SELECT_DISPATCHER = no; then
6355 result=yes
6356 else
6357 result=no
6358 fi
6359 else
6360 result=$wxUSE_SELECT_DISPATCHER
6361 fi
6362
6363 { echo "$as_me:$LINENO: result: $result" >&5
6364 echo "${ECHO_T}$result" >&6; }
6365
6366
6367
6368 enablestring=
6369 defaultval=$wxUSE_ALL_FEATURES
6370 if test -z "$defaultval"; then
6371 if test x"$enablestring" = xdisable; then
6372 defaultval=yes
6373 else
6374 defaultval=no
6375 fi
6376 fi
6377
6378 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-any" >&5
6379 echo $ECHO_N "checking for --${enablestring:-enable}-any... $ECHO_C" >&6; }
6380 # Check whether --enable-any was given.
6381 if test "${enable_any+set}" = set; then
6382 enableval=$enable_any;
6383 if test "$enableval" = yes; then
6384 wx_cv_use_any='wxUSE_ANY=yes'
6385 else
6386 wx_cv_use_any='wxUSE_ANY=no'
6387 fi
6388
6389 else
6390
6391 wx_cv_use_any='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
6392
6393 fi
6394
6395
6396 eval "$wx_cv_use_any"
6397
6398 if test x"$enablestring" = xdisable; then
6399 if test $wxUSE_ANY = no; then
6400 result=yes
6401 else
6402 result=no
6403 fi
6404 else
6405 result=$wxUSE_ANY
6406 fi
6407
6408 { echo "$as_me:$LINENO: result: $result" >&5
6409 echo "${ECHO_T}$result" >&6; }
6410
6411
6412 enablestring=
6413 defaultval=$wxUSE_ALL_FEATURES
6414 if test -z "$defaultval"; then
6415 if test x"$enablestring" = xdisable; then
6416 defaultval=yes
6417 else
6418 defaultval=no
6419 fi
6420 fi
6421
6422 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6423 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6424 # Check whether --enable-apple_ieee was given.
6425 if test "${enable_apple_ieee+set}" = set; then
6426 enableval=$enable_apple_ieee;
6427 if test "$enableval" = yes; then
6428 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6429 else
6430 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6431 fi
6432
6433 else
6434
6435 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6436
6437 fi
6438
6439
6440 eval "$wx_cv_use_apple_ieee"
6441
6442 if test x"$enablestring" = xdisable; then
6443 if test $wxUSE_APPLE_IEEE = no; then
6444 result=yes
6445 else
6446 result=no
6447 fi
6448 else
6449 result=$wxUSE_APPLE_IEEE
6450 fi
6451
6452 { echo "$as_me:$LINENO: result: $result" >&5
6453 echo "${ECHO_T}$result" >&6; }
6454
6455
6456 enablestring=
6457 defaultval=$wxUSE_ALL_FEATURES
6458 if test -z "$defaultval"; then
6459 if test x"$enablestring" = xdisable; then
6460 defaultval=yes
6461 else
6462 defaultval=no
6463 fi
6464 fi
6465
6466 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6467 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6468 # Check whether --enable-arcstream was given.
6469 if test "${enable_arcstream+set}" = set; then
6470 enableval=$enable_arcstream;
6471 if test "$enableval" = yes; then
6472 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6473 else
6474 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6475 fi
6476
6477 else
6478
6479 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6480
6481 fi
6482
6483
6484 eval "$wx_cv_use_arcstream"
6485
6486 if test x"$enablestring" = xdisable; then
6487 if test $wxUSE_ARCHIVE_STREAMS = no; then
6488 result=yes
6489 else
6490 result=no
6491 fi
6492 else
6493 result=$wxUSE_ARCHIVE_STREAMS
6494 fi
6495
6496 { echo "$as_me:$LINENO: result: $result" >&5
6497 echo "${ECHO_T}$result" >&6; }
6498
6499
6500 enablestring=
6501 defaultval=$wxUSE_ALL_FEATURES
6502 if test -z "$defaultval"; then
6503 if test x"$enablestring" = xdisable; then
6504 defaultval=yes
6505 else
6506 defaultval=no
6507 fi
6508 fi
6509
6510 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6511 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6512 # Check whether --enable-base64 was given.
6513 if test "${enable_base64+set}" = set; then
6514 enableval=$enable_base64;
6515 if test "$enableval" = yes; then
6516 wx_cv_use_base64='wxUSE_BASE64=yes'
6517 else
6518 wx_cv_use_base64='wxUSE_BASE64=no'
6519 fi
6520
6521 else
6522
6523 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6524
6525 fi
6526
6527
6528 eval "$wx_cv_use_base64"
6529
6530 if test x"$enablestring" = xdisable; then
6531 if test $wxUSE_BASE64 = no; then
6532 result=yes
6533 else
6534 result=no
6535 fi
6536 else
6537 result=$wxUSE_BASE64
6538 fi
6539
6540 { echo "$as_me:$LINENO: result: $result" >&5
6541 echo "${ECHO_T}$result" >&6; }
6542
6543
6544 enablestring=
6545 defaultval=$wxUSE_ALL_FEATURES
6546 if test -z "$defaultval"; then
6547 if test x"$enablestring" = xdisable; then
6548 defaultval=yes
6549 else
6550 defaultval=no
6551 fi
6552 fi
6553
6554 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6555 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6556 # Check whether --enable-backtrace was given.
6557 if test "${enable_backtrace+set}" = set; then
6558 enableval=$enable_backtrace;
6559 if test "$enableval" = yes; then
6560 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6561 else
6562 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6563 fi
6564
6565 else
6566
6567 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6568
6569 fi
6570
6571
6572 eval "$wx_cv_use_backtrace"
6573
6574 if test x"$enablestring" = xdisable; then
6575 if test $wxUSE_STACKWALKER = no; then
6576 result=yes
6577 else
6578 result=no
6579 fi
6580 else
6581 result=$wxUSE_STACKWALKER
6582 fi
6583
6584 { echo "$as_me:$LINENO: result: $result" >&5
6585 echo "${ECHO_T}$result" >&6; }
6586
6587
6588 enablestring=
6589 defaultval=$wxUSE_ALL_FEATURES
6590 if test -z "$defaultval"; then
6591 if test x"$enablestring" = xdisable; then
6592 defaultval=yes
6593 else
6594 defaultval=no
6595 fi
6596 fi
6597
6598 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6599 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6600 # Check whether --enable-catch_segvs was given.
6601 if test "${enable_catch_segvs+set}" = set; then
6602 enableval=$enable_catch_segvs;
6603 if test "$enableval" = yes; then
6604 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6605 else
6606 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6607 fi
6608
6609 else
6610
6611 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6612
6613 fi
6614
6615
6616 eval "$wx_cv_use_catch_segvs"
6617
6618 if test x"$enablestring" = xdisable; then
6619 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
6620 result=yes
6621 else
6622 result=no
6623 fi
6624 else
6625 result=$wxUSE_ON_FATAL_EXCEPTION
6626 fi
6627
6628 { echo "$as_me:$LINENO: result: $result" >&5
6629 echo "${ECHO_T}$result" >&6; }
6630
6631
6632 enablestring=
6633 defaultval=$wxUSE_ALL_FEATURES
6634 if test -z "$defaultval"; then
6635 if test x"$enablestring" = xdisable; then
6636 defaultval=yes
6637 else
6638 defaultval=no
6639 fi
6640 fi
6641
6642 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6643 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6644 # Check whether --enable-cmdline was given.
6645 if test "${enable_cmdline+set}" = set; then
6646 enableval=$enable_cmdline;
6647 if test "$enableval" = yes; then
6648 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6649 else
6650 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6651 fi
6652
6653 else
6654
6655 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6656
6657 fi
6658
6659
6660 eval "$wx_cv_use_cmdline"
6661
6662 if test x"$enablestring" = xdisable; then
6663 if test $wxUSE_CMDLINE_PARSER = no; then
6664 result=yes
6665 else
6666 result=no
6667 fi
6668 else
6669 result=$wxUSE_CMDLINE_PARSER
6670 fi
6671
6672 { echo "$as_me:$LINENO: result: $result" >&5
6673 echo "${ECHO_T}$result" >&6; }
6674
6675
6676 enablestring=
6677 defaultval=$wxUSE_ALL_FEATURES
6678 if test -z "$defaultval"; then
6679 if test x"$enablestring" = xdisable; then
6680 defaultval=yes
6681 else
6682 defaultval=no
6683 fi
6684 fi
6685
6686 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6687 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6688 # Check whether --enable-datetime was given.
6689 if test "${enable_datetime+set}" = set; then
6690 enableval=$enable_datetime;
6691 if test "$enableval" = yes; then
6692 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6693 else
6694 wx_cv_use_datetime='wxUSE_DATETIME=no'
6695 fi
6696
6697 else
6698
6699 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6700
6701 fi
6702
6703
6704 eval "$wx_cv_use_datetime"
6705
6706 if test x"$enablestring" = xdisable; then
6707 if test $wxUSE_DATETIME = no; then
6708 result=yes
6709 else
6710 result=no
6711 fi
6712 else
6713 result=$wxUSE_DATETIME
6714 fi
6715
6716 { echo "$as_me:$LINENO: result: $result" >&5
6717 echo "${ECHO_T}$result" >&6; }
6718
6719
6720 enablestring=
6721 defaultval=$wxUSE_ALL_FEATURES
6722 if test -z "$defaultval"; then
6723 if test x"$enablestring" = xdisable; then
6724 defaultval=yes
6725 else
6726 defaultval=no
6727 fi
6728 fi
6729
6730 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6731 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6732 # Check whether --enable-debugreport was given.
6733 if test "${enable_debugreport+set}" = set; then
6734 enableval=$enable_debugreport;
6735 if test "$enableval" = yes; then
6736 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6737 else
6738 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6739 fi
6740
6741 else
6742
6743 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6744
6745 fi
6746
6747
6748 eval "$wx_cv_use_debugreport"
6749
6750 if test x"$enablestring" = xdisable; then
6751 if test $wxUSE_DEBUGREPORT = no; then
6752 result=yes
6753 else
6754 result=no
6755 fi
6756 else
6757 result=$wxUSE_DEBUGREPORT
6758 fi
6759
6760 { echo "$as_me:$LINENO: result: $result" >&5
6761 echo "${ECHO_T}$result" >&6; }
6762
6763
6764 enablestring=
6765 defaultval=$wxUSE_ALL_FEATURES
6766 if test -z "$defaultval"; then
6767 if test x"$enablestring" = xdisable; then
6768 defaultval=yes
6769 else
6770 defaultval=no
6771 fi
6772 fi
6773
6774 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6775 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6776 # Check whether --enable-dialupman was given.
6777 if test "${enable_dialupman+set}" = set; then
6778 enableval=$enable_dialupman;
6779 if test "$enableval" = yes; then
6780 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6781 else
6782 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6783 fi
6784
6785 else
6786
6787 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6788
6789 fi
6790
6791
6792 eval "$wx_cv_use_dialupman"
6793
6794 if test x"$enablestring" = xdisable; then
6795 if test $wxUSE_DIALUP_MANAGER = no; then
6796 result=yes
6797 else
6798 result=no
6799 fi
6800 else
6801 result=$wxUSE_DIALUP_MANAGER
6802 fi
6803
6804 { echo "$as_me:$LINENO: result: $result" >&5
6805 echo "${ECHO_T}$result" >&6; }
6806
6807
6808 enablestring=
6809 defaultval=$wxUSE_ALL_FEATURES
6810 if test -z "$defaultval"; then
6811 if test x"$enablestring" = xdisable; then
6812 defaultval=yes
6813 else
6814 defaultval=no
6815 fi
6816 fi
6817
6818 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6819 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6820 # Check whether --enable-dynlib was given.
6821 if test "${enable_dynlib+set}" = set; then
6822 enableval=$enable_dynlib;
6823 if test "$enableval" = yes; then
6824 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6825 else
6826 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6827 fi
6828
6829 else
6830
6831 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6832
6833 fi
6834
6835
6836 eval "$wx_cv_use_dynlib"
6837
6838 if test x"$enablestring" = xdisable; then
6839 if test $wxUSE_DYNLIB_CLASS = no; then
6840 result=yes
6841 else
6842 result=no
6843 fi
6844 else
6845 result=$wxUSE_DYNLIB_CLASS
6846 fi
6847
6848 { echo "$as_me:$LINENO: result: $result" >&5
6849 echo "${ECHO_T}$result" >&6; }
6850
6851
6852 enablestring=
6853 defaultval=$wxUSE_ALL_FEATURES
6854 if test -z "$defaultval"; then
6855 if test x"$enablestring" = xdisable; then
6856 defaultval=yes
6857 else
6858 defaultval=no
6859 fi
6860 fi
6861
6862 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6863 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6864 # Check whether --enable-dynamicloader was given.
6865 if test "${enable_dynamicloader+set}" = set; then
6866 enableval=$enable_dynamicloader;
6867 if test "$enableval" = yes; then
6868 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6869 else
6870 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6871 fi
6872
6873 else
6874
6875 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6876
6877 fi
6878
6879
6880 eval "$wx_cv_use_dynamicloader"
6881
6882 if test x"$enablestring" = xdisable; then
6883 if test $wxUSE_DYNAMIC_LOADER = no; then
6884 result=yes
6885 else
6886 result=no
6887 fi
6888 else
6889 result=$wxUSE_DYNAMIC_LOADER
6890 fi
6891
6892 { echo "$as_me:$LINENO: result: $result" >&5
6893 echo "${ECHO_T}$result" >&6; }
6894
6895
6896 enablestring=
6897 defaultval=$wxUSE_ALL_FEATURES
6898 if test -z "$defaultval"; then
6899 if test x"$enablestring" = xdisable; then
6900 defaultval=yes
6901 else
6902 defaultval=no
6903 fi
6904 fi
6905
6906 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6907 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6908 # Check whether --enable-exceptions was given.
6909 if test "${enable_exceptions+set}" = set; then
6910 enableval=$enable_exceptions;
6911 if test "$enableval" = yes; then
6912 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6913 else
6914 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6915 fi
6916
6917 else
6918
6919 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6920
6921 fi
6922
6923
6924 eval "$wx_cv_use_exceptions"
6925
6926 if test x"$enablestring" = xdisable; then
6927 if test $wxUSE_EXCEPTIONS = no; then
6928 result=yes
6929 else
6930 result=no
6931 fi
6932 else
6933 result=$wxUSE_EXCEPTIONS
6934 fi
6935
6936 { echo "$as_me:$LINENO: result: $result" >&5
6937 echo "${ECHO_T}$result" >&6; }
6938
6939
6940 enablestring=
6941 defaultval=$wxUSE_ALL_FEATURES
6942 if test -z "$defaultval"; then
6943 if test x"$enablestring" = xdisable; then
6944 defaultval=yes
6945 else
6946 defaultval=no
6947 fi
6948 fi
6949
6950 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6951 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6952 # Check whether --enable-ffile was given.
6953 if test "${enable_ffile+set}" = set; then
6954 enableval=$enable_ffile;
6955 if test "$enableval" = yes; then
6956 wx_cv_use_ffile='wxUSE_FFILE=yes'
6957 else
6958 wx_cv_use_ffile='wxUSE_FFILE=no'
6959 fi
6960
6961 else
6962
6963 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6964
6965 fi
6966
6967
6968 eval "$wx_cv_use_ffile"
6969
6970 if test x"$enablestring" = xdisable; then
6971 if test $wxUSE_FFILE = no; then
6972 result=yes
6973 else
6974 result=no
6975 fi
6976 else
6977 result=$wxUSE_FFILE
6978 fi
6979
6980 { echo "$as_me:$LINENO: result: $result" >&5
6981 echo "${ECHO_T}$result" >&6; }
6982
6983
6984 enablestring=
6985 defaultval=$wxUSE_ALL_FEATURES
6986 if test -z "$defaultval"; then
6987 if test x"$enablestring" = xdisable; then
6988 defaultval=yes
6989 else
6990 defaultval=no
6991 fi
6992 fi
6993
6994 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6995 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6996 # Check whether --enable-file was given.
6997 if test "${enable_file+set}" = set; then
6998 enableval=$enable_file;
6999 if test "$enableval" = yes; then
7000 wx_cv_use_file='wxUSE_FILE=yes'
7001 else
7002 wx_cv_use_file='wxUSE_FILE=no'
7003 fi
7004
7005 else
7006
7007 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7008
7009 fi
7010
7011
7012 eval "$wx_cv_use_file"
7013
7014 if test x"$enablestring" = xdisable; then
7015 if test $wxUSE_FILE = no; then
7016 result=yes
7017 else
7018 result=no
7019 fi
7020 else
7021 result=$wxUSE_FILE
7022 fi
7023
7024 { echo "$as_me:$LINENO: result: $result" >&5
7025 echo "${ECHO_T}$result" >&6; }
7026
7027
7028 enablestring=
7029 defaultval=$wxUSE_ALL_FEATURES
7030 if test -z "$defaultval"; then
7031 if test x"$enablestring" = xdisable; then
7032 defaultval=yes
7033 else
7034 defaultval=no
7035 fi
7036 fi
7037
7038 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filehistory" >&5
7039 echo $ECHO_N "checking for --${enablestring:-enable}-filehistory... $ECHO_C" >&6; }
7040 # Check whether --enable-filehistory was given.
7041 if test "${enable_filehistory+set}" = set; then
7042 enableval=$enable_filehistory;
7043 if test "$enableval" = yes; then
7044 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=yes'
7045 else
7046 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=no'
7047 fi
7048
7049 else
7050
7051 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
7052
7053 fi
7054
7055
7056 eval "$wx_cv_use_filehistory"
7057
7058 if test x"$enablestring" = xdisable; then
7059 if test $wxUSE_FILE_HISTORY = no; then
7060 result=yes
7061 else
7062 result=no
7063 fi
7064 else
7065 result=$wxUSE_FILE_HISTORY
7066 fi
7067
7068 { echo "$as_me:$LINENO: result: $result" >&5
7069 echo "${ECHO_T}$result" >&6; }
7070
7071
7072 enablestring=
7073 defaultval=$wxUSE_ALL_FEATURES
7074 if test -z "$defaultval"; then
7075 if test x"$enablestring" = xdisable; then
7076 defaultval=yes
7077 else
7078 defaultval=no
7079 fi
7080 fi
7081
7082 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7083 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7084 # Check whether --enable-filesystem was given.
7085 if test "${enable_filesystem+set}" = set; then
7086 enableval=$enable_filesystem;
7087 if test "$enableval" = yes; then
7088 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7089 else
7090 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7091 fi
7092
7093 else
7094
7095 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7096
7097 fi
7098
7099
7100 eval "$wx_cv_use_filesystem"
7101
7102 if test x"$enablestring" = xdisable; then
7103 if test $wxUSE_FILESYSTEM = no; then
7104 result=yes
7105 else
7106 result=no
7107 fi
7108 else
7109 result=$wxUSE_FILESYSTEM
7110 fi
7111
7112 { echo "$as_me:$LINENO: result: $result" >&5
7113 echo "${ECHO_T}$result" >&6; }
7114
7115
7116 enablestring=
7117 defaultval=$wxUSE_ALL_FEATURES
7118 if test -z "$defaultval"; then
7119 if test x"$enablestring" = xdisable; then
7120 defaultval=yes
7121 else
7122 defaultval=no
7123 fi
7124 fi
7125
7126 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7127 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7128 # Check whether --enable-fontenum was given.
7129 if test "${enable_fontenum+set}" = set; then
7130 enableval=$enable_fontenum;
7131 if test "$enableval" = yes; then
7132 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7133 else
7134 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7135 fi
7136
7137 else
7138
7139 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7140
7141 fi
7142
7143
7144 eval "$wx_cv_use_fontenum"
7145
7146 if test x"$enablestring" = xdisable; then
7147 if test $wxUSE_FONTENUM = no; then
7148 result=yes
7149 else
7150 result=no
7151 fi
7152 else
7153 result=$wxUSE_FONTENUM
7154 fi
7155
7156 { echo "$as_me:$LINENO: result: $result" >&5
7157 echo "${ECHO_T}$result" >&6; }
7158
7159
7160 enablestring=
7161 defaultval=$wxUSE_ALL_FEATURES
7162 if test -z "$defaultval"; then
7163 if test x"$enablestring" = xdisable; then
7164 defaultval=yes
7165 else
7166 defaultval=no
7167 fi
7168 fi
7169
7170 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7171 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7172 # Check whether --enable-fontmap was given.
7173 if test "${enable_fontmap+set}" = set; then
7174 enableval=$enable_fontmap;
7175 if test "$enableval" = yes; then
7176 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7177 else
7178 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7179 fi
7180
7181 else
7182
7183 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7184
7185 fi
7186
7187
7188 eval "$wx_cv_use_fontmap"
7189
7190 if test x"$enablestring" = xdisable; then
7191 if test $wxUSE_FONTMAP = no; then
7192 result=yes
7193 else
7194 result=no
7195 fi
7196 else
7197 result=$wxUSE_FONTMAP
7198 fi
7199
7200 { echo "$as_me:$LINENO: result: $result" >&5
7201 echo "${ECHO_T}$result" >&6; }
7202
7203
7204 enablestring=
7205 defaultval=$wxUSE_ALL_FEATURES
7206 if test -z "$defaultval"; then
7207 if test x"$enablestring" = xdisable; then
7208 defaultval=yes
7209 else
7210 defaultval=no
7211 fi
7212 fi
7213
7214 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7215 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7216 # Check whether --enable-fs_archive was given.
7217 if test "${enable_fs_archive+set}" = set; then
7218 enableval=$enable_fs_archive;
7219 if test "$enableval" = yes; then
7220 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7221 else
7222 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7223 fi
7224
7225 else
7226
7227 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7228
7229 fi
7230
7231
7232 eval "$wx_cv_use_fs_archive"
7233
7234 if test x"$enablestring" = xdisable; then
7235 if test $wxUSE_FS_ARCHIVE = no; then
7236 result=yes
7237 else
7238 result=no
7239 fi
7240 else
7241 result=$wxUSE_FS_ARCHIVE
7242 fi
7243
7244 { echo "$as_me:$LINENO: result: $result" >&5
7245 echo "${ECHO_T}$result" >&6; }
7246
7247
7248 enablestring=
7249 defaultval=$wxUSE_ALL_FEATURES
7250 if test -z "$defaultval"; then
7251 if test x"$enablestring" = xdisable; then
7252 defaultval=yes
7253 else
7254 defaultval=no
7255 fi
7256 fi
7257
7258 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7259 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7260 # Check whether --enable-fs_inet was given.
7261 if test "${enable_fs_inet+set}" = set; then
7262 enableval=$enable_fs_inet;
7263 if test "$enableval" = yes; then
7264 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7265 else
7266 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7267 fi
7268
7269 else
7270
7271 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7272
7273 fi
7274
7275
7276 eval "$wx_cv_use_fs_inet"
7277
7278 if test x"$enablestring" = xdisable; then
7279 if test $wxUSE_FS_INET = no; then
7280 result=yes
7281 else
7282 result=no
7283 fi
7284 else
7285 result=$wxUSE_FS_INET
7286 fi
7287
7288 { echo "$as_me:$LINENO: result: $result" >&5
7289 echo "${ECHO_T}$result" >&6; }
7290
7291
7292 enablestring=
7293 defaultval=$wxUSE_ALL_FEATURES
7294 if test -z "$defaultval"; then
7295 if test x"$enablestring" = xdisable; then
7296 defaultval=yes
7297 else
7298 defaultval=no
7299 fi
7300 fi
7301
7302 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7303 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7304 # Check whether --enable-fs_zip was given.
7305 if test "${enable_fs_zip+set}" = set; then
7306 enableval=$enable_fs_zip;
7307 if test "$enableval" = yes; then
7308 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7309 else
7310 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7311 fi
7312
7313 else
7314
7315 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7316
7317 fi
7318
7319
7320 eval "$wx_cv_use_fs_zip"
7321
7322 if test x"$enablestring" = xdisable; then
7323 if test $wxUSE_FS_ZIP = no; then
7324 result=yes
7325 else
7326 result=no
7327 fi
7328 else
7329 result=$wxUSE_FS_ZIP
7330 fi
7331
7332 { echo "$as_me:$LINENO: result: $result" >&5
7333 echo "${ECHO_T}$result" >&6; }
7334
7335
7336 enablestring=
7337 defaultval=$wxUSE_ALL_FEATURES
7338 if test -z "$defaultval"; then
7339 if test x"$enablestring" = xdisable; then
7340 defaultval=yes
7341 else
7342 defaultval=no
7343 fi
7344 fi
7345
7346 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fswatcher" >&5
7347 echo $ECHO_N "checking for --${enablestring:-enable}-fswatcher... $ECHO_C" >&6; }
7348 # Check whether --enable-fswatcher was given.
7349 if test "${enable_fswatcher+set}" = set; then
7350 enableval=$enable_fswatcher;
7351 if test "$enableval" = yes; then
7352 wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
7353 else
7354 wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
7355 fi
7356
7357 else
7358
7359 wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
7360
7361 fi
7362
7363
7364 eval "$wx_cv_use_fswatcher"
7365
7366 if test x"$enablestring" = xdisable; then
7367 if test $wxUSE_FSWATCHER = no; then
7368 result=yes
7369 else
7370 result=no
7371 fi
7372 else
7373 result=$wxUSE_FSWATCHER
7374 fi
7375
7376 { echo "$as_me:$LINENO: result: $result" >&5
7377 echo "${ECHO_T}$result" >&6; }
7378
7379
7380 enablestring=
7381 defaultval=$wxUSE_ALL_FEATURES
7382 if test -z "$defaultval"; then
7383 if test x"$enablestring" = xdisable; then
7384 defaultval=yes
7385 else
7386 defaultval=no
7387 fi
7388 fi
7389
7390 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7391 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7392 # Check whether --enable-geometry was given.
7393 if test "${enable_geometry+set}" = set; then
7394 enableval=$enable_geometry;
7395 if test "$enableval" = yes; then
7396 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7397 else
7398 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7399 fi
7400
7401 else
7402
7403 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7404
7405 fi
7406
7407
7408 eval "$wx_cv_use_geometry"
7409
7410 if test x"$enablestring" = xdisable; then
7411 if test $wxUSE_GEOMETRY = no; then
7412 result=yes
7413 else
7414 result=no
7415 fi
7416 else
7417 result=$wxUSE_GEOMETRY
7418 fi
7419
7420 { echo "$as_me:$LINENO: result: $result" >&5
7421 echo "${ECHO_T}$result" >&6; }
7422
7423
7424 enablestring=
7425 defaultval=$wxUSE_ALL_FEATURES
7426 if test -z "$defaultval"; then
7427 if test x"$enablestring" = xdisable; then
7428 defaultval=yes
7429 else
7430 defaultval=no
7431 fi
7432 fi
7433
7434 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7435 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7436 # Check whether --enable-log was given.
7437 if test "${enable_log+set}" = set; then
7438 enableval=$enable_log;
7439 if test "$enableval" = yes; then
7440 wx_cv_use_log='wxUSE_LOG=yes'
7441 else
7442 wx_cv_use_log='wxUSE_LOG=no'
7443 fi
7444
7445 else
7446
7447 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7448
7449 fi
7450
7451
7452 eval "$wx_cv_use_log"
7453
7454 if test x"$enablestring" = xdisable; then
7455 if test $wxUSE_LOG = no; then
7456 result=yes
7457 else
7458 result=no
7459 fi
7460 else
7461 result=$wxUSE_LOG
7462 fi
7463
7464 { echo "$as_me:$LINENO: result: $result" >&5
7465 echo "${ECHO_T}$result" >&6; }
7466
7467
7468 enablestring=
7469 defaultval=$wxUSE_ALL_FEATURES
7470 if test -z "$defaultval"; then
7471 if test x"$enablestring" = xdisable; then
7472 defaultval=yes
7473 else
7474 defaultval=no
7475 fi
7476 fi
7477
7478 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7479 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7480 # Check whether --enable-longlong was given.
7481 if test "${enable_longlong+set}" = set; then
7482 enableval=$enable_longlong;
7483 if test "$enableval" = yes; then
7484 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7485 else
7486 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7487 fi
7488
7489 else
7490
7491 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7492
7493 fi
7494
7495
7496 eval "$wx_cv_use_longlong"
7497
7498 if test x"$enablestring" = xdisable; then
7499 if test $wxUSE_LONGLONG = no; then
7500 result=yes
7501 else
7502 result=no
7503 fi
7504 else
7505 result=$wxUSE_LONGLONG
7506 fi
7507
7508 { echo "$as_me:$LINENO: result: $result" >&5
7509 echo "${ECHO_T}$result" >&6; }
7510
7511
7512 enablestring=
7513 defaultval=$wxUSE_ALL_FEATURES
7514 if test -z "$defaultval"; then
7515 if test x"$enablestring" = xdisable; then
7516 defaultval=yes
7517 else
7518 defaultval=no
7519 fi
7520 fi
7521
7522 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7523 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7524 # Check whether --enable-mimetype was given.
7525 if test "${enable_mimetype+set}" = set; then
7526 enableval=$enable_mimetype;
7527 if test "$enableval" = yes; then
7528 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7529 else
7530 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7531 fi
7532
7533 else
7534
7535 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7536
7537 fi
7538
7539
7540 eval "$wx_cv_use_mimetype"
7541
7542 if test x"$enablestring" = xdisable; then
7543 if test $wxUSE_MIMETYPE = no; then
7544 result=yes
7545 else
7546 result=no
7547 fi
7548 else
7549 result=$wxUSE_MIMETYPE
7550 fi
7551
7552 { echo "$as_me:$LINENO: result: $result" >&5
7553 echo "${ECHO_T}$result" >&6; }
7554
7555
7556 enablestring=
7557 defaultval=$wxUSE_ALL_FEATURES
7558 if test -z "$defaultval"; then
7559 if test x"$enablestring" = xdisable; then
7560 defaultval=yes
7561 else
7562 defaultval=no
7563 fi
7564 fi
7565
7566 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7567 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7568 # Check whether --enable-printfposparam was given.
7569 if test "${enable_printfposparam+set}" = set; then
7570 enableval=$enable_printfposparam;
7571 if test "$enableval" = yes; then
7572 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7573 else
7574 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7575 fi
7576
7577 else
7578
7579 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7580
7581 fi
7582
7583
7584 eval "$wx_cv_use_printfposparam"
7585
7586 if test x"$enablestring" = xdisable; then
7587 if test $wxUSE_PRINTF_POS_PARAMS = no; then
7588 result=yes
7589 else
7590 result=no
7591 fi
7592 else
7593 result=$wxUSE_PRINTF_POS_PARAMS
7594 fi
7595
7596 { echo "$as_me:$LINENO: result: $result" >&5
7597 echo "${ECHO_T}$result" >&6; }
7598
7599
7600 enablestring=
7601 defaultval=$wxUSE_ALL_FEATURES
7602 if test -z "$defaultval"; then
7603 if test x"$enablestring" = xdisable; then
7604 defaultval=yes
7605 else
7606 defaultval=no
7607 fi
7608 fi
7609
7610 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7611 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7612 # Check whether --enable-snglinst was given.
7613 if test "${enable_snglinst+set}" = set; then
7614 enableval=$enable_snglinst;
7615 if test "$enableval" = yes; then
7616 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7617 else
7618 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7619 fi
7620
7621 else
7622
7623 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7624
7625 fi
7626
7627
7628 eval "$wx_cv_use_snglinst"
7629
7630 if test x"$enablestring" = xdisable; then
7631 if test $wxUSE_SNGLINST_CHECKER = no; then
7632 result=yes
7633 else
7634 result=no
7635 fi
7636 else
7637 result=$wxUSE_SNGLINST_CHECKER
7638 fi
7639
7640 { echo "$as_me:$LINENO: result: $result" >&5
7641 echo "${ECHO_T}$result" >&6; }
7642
7643
7644 enablestring=
7645 defaultval=$wxUSE_ALL_FEATURES
7646 if test -z "$defaultval"; then
7647 if test x"$enablestring" = xdisable; then
7648 defaultval=yes
7649 else
7650 defaultval=no
7651 fi
7652 fi
7653
7654 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7655 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7656 # Check whether --enable-sound was given.
7657 if test "${enable_sound+set}" = set; then
7658 enableval=$enable_sound;
7659 if test "$enableval" = yes; then
7660 wx_cv_use_sound='wxUSE_SOUND=yes'
7661 else
7662 wx_cv_use_sound='wxUSE_SOUND=no'
7663 fi
7664
7665 else
7666
7667 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7668
7669 fi
7670
7671
7672 eval "$wx_cv_use_sound"
7673
7674 if test x"$enablestring" = xdisable; then
7675 if test $wxUSE_SOUND = no; then
7676 result=yes
7677 else
7678 result=no
7679 fi
7680 else
7681 result=$wxUSE_SOUND
7682 fi
7683
7684 { echo "$as_me:$LINENO: result: $result" >&5
7685 echo "${ECHO_T}$result" >&6; }
7686
7687
7688 enablestring=
7689 defaultval=$wxUSE_ALL_FEATURES
7690 if test -z "$defaultval"; then
7691 if test x"$enablestring" = xdisable; then
7692 defaultval=yes
7693 else
7694 defaultval=no
7695 fi
7696 fi
7697
7698 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7699 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7700 # Check whether --enable-stdpaths was given.
7701 if test "${enable_stdpaths+set}" = set; then
7702 enableval=$enable_stdpaths;
7703 if test "$enableval" = yes; then
7704 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7705 else
7706 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7707 fi
7708
7709 else
7710
7711 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7712
7713 fi
7714
7715
7716 eval "$wx_cv_use_stdpaths"
7717
7718 if test x"$enablestring" = xdisable; then
7719 if test $wxUSE_STDPATHS = no; then
7720 result=yes
7721 else
7722 result=no
7723 fi
7724 else
7725 result=$wxUSE_STDPATHS
7726 fi
7727
7728 { echo "$as_me:$LINENO: result: $result" >&5
7729 echo "${ECHO_T}$result" >&6; }
7730
7731
7732 enablestring=
7733 defaultval=$wxUSE_ALL_FEATURES
7734 if test -z "$defaultval"; then
7735 if test x"$enablestring" = xdisable; then
7736 defaultval=yes
7737 else
7738 defaultval=no
7739 fi
7740 fi
7741
7742 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7743 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7744 # Check whether --enable-stopwatch was given.
7745 if test "${enable_stopwatch+set}" = set; then
7746 enableval=$enable_stopwatch;
7747 if test "$enableval" = yes; then
7748 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7749 else
7750 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7751 fi
7752
7753 else
7754
7755 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7756
7757 fi
7758
7759
7760 eval "$wx_cv_use_stopwatch"
7761
7762 if test x"$enablestring" = xdisable; then
7763 if test $wxUSE_STOPWATCH = no; then
7764 result=yes
7765 else
7766 result=no
7767 fi
7768 else
7769 result=$wxUSE_STOPWATCH
7770 fi
7771
7772 { echo "$as_me:$LINENO: result: $result" >&5
7773 echo "${ECHO_T}$result" >&6; }
7774
7775
7776 enablestring=
7777 defaultval=$wxUSE_ALL_FEATURES
7778 if test -z "$defaultval"; then
7779 if test x"$enablestring" = xdisable; then
7780 defaultval=yes
7781 else
7782 defaultval=no
7783 fi
7784 fi
7785
7786 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7787 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7788 # Check whether --enable-streams was given.
7789 if test "${enable_streams+set}" = set; then
7790 enableval=$enable_streams;
7791 if test "$enableval" = yes; then
7792 wx_cv_use_streams='wxUSE_STREAMS=yes'
7793 else
7794 wx_cv_use_streams='wxUSE_STREAMS=no'
7795 fi
7796
7797 else
7798
7799 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7800
7801 fi
7802
7803
7804 eval "$wx_cv_use_streams"
7805
7806 if test x"$enablestring" = xdisable; then
7807 if test $wxUSE_STREAMS = no; then
7808 result=yes
7809 else
7810 result=no
7811 fi
7812 else
7813 result=$wxUSE_STREAMS
7814 fi
7815
7816 { echo "$as_me:$LINENO: result: $result" >&5
7817 echo "${ECHO_T}$result" >&6; }
7818
7819
7820 enablestring=
7821 defaultval=$wxUSE_ALL_FEATURES
7822 if test -z "$defaultval"; then
7823 if test x"$enablestring" = xdisable; then
7824 defaultval=yes
7825 else
7826 defaultval=no
7827 fi
7828 fi
7829
7830 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sysoptions" >&5
7831 echo $ECHO_N "checking for --${enablestring:-enable}-sysoptions... $ECHO_C" >&6; }
7832 # Check whether --enable-sysoptions was given.
7833 if test "${enable_sysoptions+set}" = set; then
7834 enableval=$enable_sysoptions;
7835 if test "$enableval" = yes; then
7836 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=yes'
7837 else
7838 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=no'
7839 fi
7840
7841 else
7842
7843 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7844
7845 fi
7846
7847
7848 eval "$wx_cv_use_sysoptions"
7849
7850 if test x"$enablestring" = xdisable; then
7851 if test $wxUSE_SYSTEM_OPTIONS = no; then
7852 result=yes
7853 else
7854 result=no
7855 fi
7856 else
7857 result=$wxUSE_SYSTEM_OPTIONS
7858 fi
7859
7860 { echo "$as_me:$LINENO: result: $result" >&5
7861 echo "${ECHO_T}$result" >&6; }
7862
7863
7864 enablestring=
7865 defaultval=$wxUSE_ALL_FEATURES
7866 if test -z "$defaultval"; then
7867 if test x"$enablestring" = xdisable; then
7868 defaultval=yes
7869 else
7870 defaultval=no
7871 fi
7872 fi
7873
7874 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7875 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7876 # Check whether --enable-tarstream was given.
7877 if test "${enable_tarstream+set}" = set; then
7878 enableval=$enable_tarstream;
7879 if test "$enableval" = yes; then
7880 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7881 else
7882 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7883 fi
7884
7885 else
7886
7887 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7888
7889 fi
7890
7891
7892 eval "$wx_cv_use_tarstream"
7893
7894 if test x"$enablestring" = xdisable; then
7895 if test $wxUSE_TARSTREAM = no; then
7896 result=yes
7897 else
7898 result=no
7899 fi
7900 else
7901 result=$wxUSE_TARSTREAM
7902 fi
7903
7904 { echo "$as_me:$LINENO: result: $result" >&5
7905 echo "${ECHO_T}$result" >&6; }
7906
7907
7908 enablestring=
7909 defaultval=$wxUSE_ALL_FEATURES
7910 if test -z "$defaultval"; then
7911 if test x"$enablestring" = xdisable; then
7912 defaultval=yes
7913 else
7914 defaultval=no
7915 fi
7916 fi
7917
7918 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7919 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7920 # Check whether --enable-textbuf was given.
7921 if test "${enable_textbuf+set}" = set; then
7922 enableval=$enable_textbuf;
7923 if test "$enableval" = yes; then
7924 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7925 else
7926 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7927 fi
7928
7929 else
7930
7931 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7932
7933 fi
7934
7935
7936 eval "$wx_cv_use_textbuf"
7937
7938 if test x"$enablestring" = xdisable; then
7939 if test $wxUSE_TEXTBUFFER = no; then
7940 result=yes
7941 else
7942 result=no
7943 fi
7944 else
7945 result=$wxUSE_TEXTBUFFER
7946 fi
7947
7948 { echo "$as_me:$LINENO: result: $result" >&5
7949 echo "${ECHO_T}$result" >&6; }
7950
7951
7952 enablestring=
7953 defaultval=$wxUSE_ALL_FEATURES
7954 if test -z "$defaultval"; then
7955 if test x"$enablestring" = xdisable; then
7956 defaultval=yes
7957 else
7958 defaultval=no
7959 fi
7960 fi
7961
7962 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7963 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7964 # Check whether --enable-textfile was given.
7965 if test "${enable_textfile+set}" = set; then
7966 enableval=$enable_textfile;
7967 if test "$enableval" = yes; then
7968 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7969 else
7970 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
7971 fi
7972
7973 else
7974
7975 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7976
7977 fi
7978
7979
7980 eval "$wx_cv_use_textfile"
7981
7982 if test x"$enablestring" = xdisable; then
7983 if test $wxUSE_TEXTFILE = no; then
7984 result=yes
7985 else
7986 result=no
7987 fi
7988 else
7989 result=$wxUSE_TEXTFILE
7990 fi
7991
7992 { echo "$as_me:$LINENO: result: $result" >&5
7993 echo "${ECHO_T}$result" >&6; }
7994
7995
7996 enablestring=
7997 defaultval=$wxUSE_ALL_FEATURES
7998 if test -z "$defaultval"; then
7999 if test x"$enablestring" = xdisable; then
8000 defaultval=yes
8001 else
8002 defaultval=no
8003 fi
8004 fi
8005
8006 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8007 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8008 # Check whether --enable-timer was given.
8009 if test "${enable_timer+set}" = set; then
8010 enableval=$enable_timer;
8011 if test "$enableval" = yes; then
8012 wx_cv_use_timer='wxUSE_TIMER=yes'
8013 else
8014 wx_cv_use_timer='wxUSE_TIMER=no'
8015 fi
8016
8017 else
8018
8019 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8020
8021 fi
8022
8023
8024 eval "$wx_cv_use_timer"
8025
8026 if test x"$enablestring" = xdisable; then
8027 if test $wxUSE_TIMER = no; then
8028 result=yes
8029 else
8030 result=no
8031 fi
8032 else
8033 result=$wxUSE_TIMER
8034 fi
8035
8036 { echo "$as_me:$LINENO: result: $result" >&5
8037 echo "${ECHO_T}$result" >&6; }
8038
8039
8040 enablestring=
8041 defaultval=$wxUSE_ALL_FEATURES
8042 if test -z "$defaultval"; then
8043 if test x"$enablestring" = xdisable; then
8044 defaultval=yes
8045 else
8046 defaultval=no
8047 fi
8048 fi
8049
8050 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
8051 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
8052 # Check whether --enable-variant was given.
8053 if test "${enable_variant+set}" = set; then
8054 enableval=$enable_variant;
8055 if test "$enableval" = yes; then
8056 wx_cv_use_variant='wxUSE_VARIANT=yes'
8057 else
8058 wx_cv_use_variant='wxUSE_VARIANT=no'
8059 fi
8060
8061 else
8062
8063 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8064
8065 fi
8066
8067
8068 eval "$wx_cv_use_variant"
8069
8070 if test x"$enablestring" = xdisable; then
8071 if test $wxUSE_VARIANT = no; then
8072 result=yes
8073 else
8074 result=no
8075 fi
8076 else
8077 result=$wxUSE_VARIANT
8078 fi
8079
8080 { echo "$as_me:$LINENO: result: $result" >&5
8081 echo "${ECHO_T}$result" >&6; }
8082
8083
8084 enablestring=
8085 defaultval=$wxUSE_ALL_FEATURES
8086 if test -z "$defaultval"; then
8087 if test x"$enablestring" = xdisable; then
8088 defaultval=yes
8089 else
8090 defaultval=no
8091 fi
8092 fi
8093
8094 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8095 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8096 # Check whether --enable-zipstream was given.
8097 if test "${enable_zipstream+set}" = set; then
8098 enableval=$enable_zipstream;
8099 if test "$enableval" = yes; then
8100 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8101 else
8102 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8103 fi
8104
8105 else
8106
8107 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8108
8109 fi
8110
8111
8112 eval "$wx_cv_use_zipstream"
8113
8114 if test x"$enablestring" = xdisable; then
8115 if test $wxUSE_ZIPSTREAM = no; then
8116 result=yes
8117 else
8118 result=no
8119 fi
8120 else
8121 result=$wxUSE_ZIPSTREAM
8122 fi
8123
8124 { echo "$as_me:$LINENO: result: $result" >&5
8125 echo "${ECHO_T}$result" >&6; }
8126
8127
8128
8129 enablestring=
8130 defaultval=$wxUSE_ALL_FEATURES
8131 if test -z "$defaultval"; then
8132 if test x"$enablestring" = xdisable; then
8133 defaultval=yes
8134 else
8135 defaultval=no
8136 fi
8137 fi
8138
8139 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8140 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8141 # Check whether --enable-url was given.
8142 if test "${enable_url+set}" = set; then
8143 enableval=$enable_url;
8144 if test "$enableval" = yes; then
8145 wx_cv_use_url='wxUSE_URL=yes'
8146 else
8147 wx_cv_use_url='wxUSE_URL=no'
8148 fi
8149
8150 else
8151
8152 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8153
8154 fi
8155
8156
8157 eval "$wx_cv_use_url"
8158
8159 if test x"$enablestring" = xdisable; then
8160 if test $wxUSE_URL = no; then
8161 result=yes
8162 else
8163 result=no
8164 fi
8165 else
8166 result=$wxUSE_URL
8167 fi
8168
8169 { echo "$as_me:$LINENO: result: $result" >&5
8170 echo "${ECHO_T}$result" >&6; }
8171
8172
8173 enablestring=
8174 defaultval=$wxUSE_ALL_FEATURES
8175 if test -z "$defaultval"; then
8176 if test x"$enablestring" = xdisable; then
8177 defaultval=yes
8178 else
8179 defaultval=no
8180 fi
8181 fi
8182
8183 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8184 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8185 # Check whether --enable-protocol was given.
8186 if test "${enable_protocol+set}" = set; then
8187 enableval=$enable_protocol;
8188 if test "$enableval" = yes; then
8189 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8190 else
8191 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8192 fi
8193
8194 else
8195
8196 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8197
8198 fi
8199
8200
8201 eval "$wx_cv_use_protocol"
8202
8203 if test x"$enablestring" = xdisable; then
8204 if test $wxUSE_PROTOCOL = no; then
8205 result=yes
8206 else
8207 result=no
8208 fi
8209 else
8210 result=$wxUSE_PROTOCOL
8211 fi
8212
8213 { echo "$as_me:$LINENO: result: $result" >&5
8214 echo "${ECHO_T}$result" >&6; }
8215
8216
8217 enablestring=
8218 defaultval=$wxUSE_ALL_FEATURES
8219 if test -z "$defaultval"; then
8220 if test x"$enablestring" = xdisable; then
8221 defaultval=yes
8222 else
8223 defaultval=no
8224 fi
8225 fi
8226
8227 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8228 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8229 # Check whether --enable-protocol_http was given.
8230 if test "${enable_protocol_http+set}" = set; then
8231 enableval=$enable_protocol_http;
8232 if test "$enableval" = yes; then
8233 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8234 else
8235 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8236 fi
8237
8238 else
8239
8240 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8241
8242 fi
8243
8244
8245 eval "$wx_cv_use_protocol_http"
8246
8247 if test x"$enablestring" = xdisable; then
8248 if test $wxUSE_PROTOCOL_HTTP = no; then
8249 result=yes
8250 else
8251 result=no
8252 fi
8253 else
8254 result=$wxUSE_PROTOCOL_HTTP
8255 fi
8256
8257 { echo "$as_me:$LINENO: result: $result" >&5
8258 echo "${ECHO_T}$result" >&6; }
8259
8260
8261 enablestring=
8262 defaultval=$wxUSE_ALL_FEATURES
8263 if test -z "$defaultval"; then
8264 if test x"$enablestring" = xdisable; then
8265 defaultval=yes
8266 else
8267 defaultval=no
8268 fi
8269 fi
8270
8271 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8272 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8273 # Check whether --enable-protocol_ftp was given.
8274 if test "${enable_protocol_ftp+set}" = set; then
8275 enableval=$enable_protocol_ftp;
8276 if test "$enableval" = yes; then
8277 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8278 else
8279 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8280 fi
8281
8282 else
8283
8284 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8285
8286 fi
8287
8288
8289 eval "$wx_cv_use_protocol_ftp"
8290
8291 if test x"$enablestring" = xdisable; then
8292 if test $wxUSE_PROTOCOL_FTP = no; then
8293 result=yes
8294 else
8295 result=no
8296 fi
8297 else
8298 result=$wxUSE_PROTOCOL_FTP
8299 fi
8300
8301 { echo "$as_me:$LINENO: result: $result" >&5
8302 echo "${ECHO_T}$result" >&6; }
8303
8304
8305 enablestring=
8306 defaultval=$wxUSE_ALL_FEATURES
8307 if test -z "$defaultval"; then
8308 if test x"$enablestring" = xdisable; then
8309 defaultval=yes
8310 else
8311 defaultval=no
8312 fi
8313 fi
8314
8315 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8316 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8317 # Check whether --enable-protocol_file was given.
8318 if test "${enable_protocol_file+set}" = set; then
8319 enableval=$enable_protocol_file;
8320 if test "$enableval" = yes; then
8321 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8322 else
8323 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8324 fi
8325
8326 else
8327
8328 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8329
8330 fi
8331
8332
8333 eval "$wx_cv_use_protocol_file"
8334
8335 if test x"$enablestring" = xdisable; then
8336 if test $wxUSE_PROTOCOL_FILE = no; then
8337 result=yes
8338 else
8339 result=no
8340 fi
8341 else
8342 result=$wxUSE_PROTOCOL_FILE
8343 fi
8344
8345 { echo "$as_me:$LINENO: result: $result" >&5
8346 echo "${ECHO_T}$result" >&6; }
8347
8348
8349
8350 enablestring=
8351 defaultval=$wxUSE_ALL_FEATURES
8352 if test -z "$defaultval"; then
8353 if test x"$enablestring" = xdisable; then
8354 defaultval=yes
8355 else
8356 defaultval=no
8357 fi
8358 fi
8359
8360 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8361 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8362 # Check whether --enable-threads was given.
8363 if test "${enable_threads+set}" = set; then
8364 enableval=$enable_threads;
8365 if test "$enableval" = yes; then
8366 wx_cv_use_threads='wxUSE_THREADS=yes'
8367 else
8368 wx_cv_use_threads='wxUSE_THREADS=no'
8369 fi
8370
8371 else
8372
8373 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8374
8375 fi
8376
8377
8378 eval "$wx_cv_use_threads"
8379
8380 if test x"$enablestring" = xdisable; then
8381 if test $wxUSE_THREADS = no; then
8382 result=yes
8383 else
8384 result=no
8385 fi
8386 else
8387 result=$wxUSE_THREADS
8388 fi
8389
8390 { echo "$as_me:$LINENO: result: $result" >&5
8391 echo "${ECHO_T}$result" >&6; }
8392
8393
8394
8395 enablestring=
8396 defaultval=
8397 if test -z "$defaultval"; then
8398 if test x"$enablestring" = xdisable; then
8399 defaultval=yes
8400 else
8401 defaultval=no
8402 fi
8403 fi
8404
8405 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8406 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8407 # Check whether --enable-iniconf was given.
8408 if test "${enable_iniconf+set}" = set; then
8409 enableval=$enable_iniconf;
8410 if test "$enableval" = yes; then
8411 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8412 else
8413 wx_cv_use_iniconf='wxUSE_INICONF=no'
8414 fi
8415
8416 else
8417
8418 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8419
8420 fi
8421
8422
8423 eval "$wx_cv_use_iniconf"
8424
8425 if test x"$enablestring" = xdisable; then
8426 if test $wxUSE_INICONF = no; then
8427 result=yes
8428 else
8429 result=no
8430 fi
8431 else
8432 result=$wxUSE_INICONF
8433 fi
8434
8435 { echo "$as_me:$LINENO: result: $result" >&5
8436 echo "${ECHO_T}$result" >&6; }
8437
8438
8439 enablestring=
8440 defaultval=$wxUSE_ALL_FEATURES
8441 if test -z "$defaultval"; then
8442 if test x"$enablestring" = xdisable; then
8443 defaultval=yes
8444 else
8445 defaultval=no
8446 fi
8447 fi
8448
8449 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8450 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8451 # Check whether --enable-regkey was given.
8452 if test "${enable_regkey+set}" = set; then
8453 enableval=$enable_regkey;
8454 if test "$enableval" = yes; then
8455 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8456 else
8457 wx_cv_use_regkey='wxUSE_REGKEY=no'
8458 fi
8459
8460 else
8461
8462 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8463
8464 fi
8465
8466
8467 eval "$wx_cv_use_regkey"
8468
8469 if test x"$enablestring" = xdisable; then
8470 if test $wxUSE_REGKEY = no; then
8471 result=yes
8472 else
8473 result=no
8474 fi
8475 else
8476 result=$wxUSE_REGKEY
8477 fi
8478
8479 { echo "$as_me:$LINENO: result: $result" >&5
8480 echo "${ECHO_T}$result" >&6; }
8481
8482
8483 if test "$wxUSE_GUI" = "yes"; then
8484
8485
8486
8487 enablestring=
8488 defaultval=$wxUSE_ALL_FEATURES
8489 if test -z "$defaultval"; then
8490 if test x"$enablestring" = xdisable; then
8491 defaultval=yes
8492 else
8493 defaultval=no
8494 fi
8495 fi
8496
8497 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8498 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8499 # Check whether --enable-docview was given.
8500 if test "${enable_docview+set}" = set; then
8501 enableval=$enable_docview;
8502 if test "$enableval" = yes; then
8503 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8504 else
8505 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8506 fi
8507
8508 else
8509
8510 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8511
8512 fi
8513
8514
8515 eval "$wx_cv_use_docview"
8516
8517 if test x"$enablestring" = xdisable; then
8518 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
8519 result=yes
8520 else
8521 result=no
8522 fi
8523 else
8524 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8525 fi
8526
8527 { echo "$as_me:$LINENO: result: $result" >&5
8528 echo "${ECHO_T}$result" >&6; }
8529
8530
8531 enablestring=
8532 defaultval=$wxUSE_ALL_FEATURES
8533 if test -z "$defaultval"; then
8534 if test x"$enablestring" = xdisable; then
8535 defaultval=yes
8536 else
8537 defaultval=no
8538 fi
8539 fi
8540
8541 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8542 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8543 # Check whether --enable-help was given.
8544 if test "${enable_help+set}" = set; then
8545 enableval=$enable_help;
8546 if test "$enableval" = yes; then
8547 wx_cv_use_help='wxUSE_HELP=yes'
8548 else
8549 wx_cv_use_help='wxUSE_HELP=no'
8550 fi
8551
8552 else
8553
8554 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8555
8556 fi
8557
8558
8559 eval "$wx_cv_use_help"
8560
8561 if test x"$enablestring" = xdisable; then
8562 if test $wxUSE_HELP = no; then
8563 result=yes
8564 else
8565 result=no
8566 fi
8567 else
8568 result=$wxUSE_HELP
8569 fi
8570
8571 { echo "$as_me:$LINENO: result: $result" >&5
8572 echo "${ECHO_T}$result" >&6; }
8573
8574
8575 enablestring=
8576 defaultval=$wxUSE_ALL_FEATURES
8577 if test -z "$defaultval"; then
8578 if test x"$enablestring" = xdisable; then
8579 defaultval=yes
8580 else
8581 defaultval=no
8582 fi
8583 fi
8584
8585 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8586 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8587 # Check whether --enable-mshtmlhelp was given.
8588 if test "${enable_mshtmlhelp+set}" = set; then
8589 enableval=$enable_mshtmlhelp;
8590 if test "$enableval" = yes; then
8591 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8592 else
8593 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8594 fi
8595
8596 else
8597
8598 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8599
8600 fi
8601
8602
8603 eval "$wx_cv_use_mshtmlhelp"
8604
8605 if test x"$enablestring" = xdisable; then
8606 if test $wxUSE_MS_HTML_HELP = no; then
8607 result=yes
8608 else
8609 result=no
8610 fi
8611 else
8612 result=$wxUSE_MS_HTML_HELP
8613 fi
8614
8615 { echo "$as_me:$LINENO: result: $result" >&5
8616 echo "${ECHO_T}$result" >&6; }
8617
8618
8619 enablestring=
8620 defaultval=$wxUSE_ALL_FEATURES
8621 if test -z "$defaultval"; then
8622 if test x"$enablestring" = xdisable; then
8623 defaultval=yes
8624 else
8625 defaultval=no
8626 fi
8627 fi
8628
8629 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8630 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8631 # Check whether --enable-html was given.
8632 if test "${enable_html+set}" = set; then
8633 enableval=$enable_html;
8634 if test "$enableval" = yes; then
8635 wx_cv_use_html='wxUSE_HTML=yes'
8636 else
8637 wx_cv_use_html='wxUSE_HTML=no'
8638 fi
8639
8640 else
8641
8642 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8643
8644 fi
8645
8646
8647 eval "$wx_cv_use_html"
8648
8649 if test x"$enablestring" = xdisable; then
8650 if test $wxUSE_HTML = no; then
8651 result=yes
8652 else
8653 result=no
8654 fi
8655 else
8656 result=$wxUSE_HTML
8657 fi
8658
8659 { echo "$as_me:$LINENO: result: $result" >&5
8660 echo "${ECHO_T}$result" >&6; }
8661
8662
8663 enablestring=
8664 defaultval=$wxUSE_ALL_FEATURES
8665 if test -z "$defaultval"; then
8666 if test x"$enablestring" = xdisable; then
8667 defaultval=yes
8668 else
8669 defaultval=no
8670 fi
8671 fi
8672
8673 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8674 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8675 # Check whether --enable-htmlhelp was given.
8676 if test "${enable_htmlhelp+set}" = set; then
8677 enableval=$enable_htmlhelp;
8678 if test "$enableval" = yes; then
8679 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8680 else
8681 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8682 fi
8683
8684 else
8685
8686 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8687
8688 fi
8689
8690
8691 eval "$wx_cv_use_htmlhelp"
8692
8693 if test x"$enablestring" = xdisable; then
8694 if test $wxUSE_WXHTML_HELP = no; then
8695 result=yes
8696 else
8697 result=no
8698 fi
8699 else
8700 result=$wxUSE_WXHTML_HELP
8701 fi
8702
8703 { echo "$as_me:$LINENO: result: $result" >&5
8704 echo "${ECHO_T}$result" >&6; }
8705
8706
8707 enablestring=
8708 defaultval=$wxUSE_ALL_FEATURES
8709 if test -z "$defaultval"; then
8710 if test x"$enablestring" = xdisable; then
8711 defaultval=yes
8712 else
8713 defaultval=no
8714 fi
8715 fi
8716
8717 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8718 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8719 # Check whether --enable-xrc was given.
8720 if test "${enable_xrc+set}" = set; then
8721 enableval=$enable_xrc;
8722 if test "$enableval" = yes; then
8723 wx_cv_use_xrc='wxUSE_XRC=yes'
8724 else
8725 wx_cv_use_xrc='wxUSE_XRC=no'
8726 fi
8727
8728 else
8729
8730 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8731
8732 fi
8733
8734
8735 eval "$wx_cv_use_xrc"
8736
8737 if test x"$enablestring" = xdisable; then
8738 if test $wxUSE_XRC = no; then
8739 result=yes
8740 else
8741 result=no
8742 fi
8743 else
8744 result=$wxUSE_XRC
8745 fi
8746
8747 { echo "$as_me:$LINENO: result: $result" >&5
8748 echo "${ECHO_T}$result" >&6; }
8749
8750
8751 enablestring=
8752 defaultval=$wxUSE_ALL_FEATURES
8753 if test -z "$defaultval"; then
8754 if test x"$enablestring" = xdisable; then
8755 defaultval=yes
8756 else
8757 defaultval=no
8758 fi
8759 fi
8760
8761 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8762 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8763 # Check whether --enable-aui was given.
8764 if test "${enable_aui+set}" = set; then
8765 enableval=$enable_aui;
8766 if test "$enableval" = yes; then
8767 wx_cv_use_aui='wxUSE_AUI=yes'
8768 else
8769 wx_cv_use_aui='wxUSE_AUI=no'
8770 fi
8771
8772 else
8773
8774 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8775
8776 fi
8777
8778
8779 eval "$wx_cv_use_aui"
8780
8781 if test x"$enablestring" = xdisable; then
8782 if test $wxUSE_AUI = no; then
8783 result=yes
8784 else
8785 result=no
8786 fi
8787 else
8788 result=$wxUSE_AUI
8789 fi
8790
8791 { echo "$as_me:$LINENO: result: $result" >&5
8792 echo "${ECHO_T}$result" >&6; }
8793
8794
8795 enablestring=
8796 defaultval=$wxUSE_ALL_FEATURES
8797 if test -z "$defaultval"; then
8798 if test x"$enablestring" = xdisable; then
8799 defaultval=yes
8800 else
8801 defaultval=no
8802 fi
8803 fi
8804
8805 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8806 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8807 # Check whether --enable-propgrid was given.
8808 if test "${enable_propgrid+set}" = set; then
8809 enableval=$enable_propgrid;
8810 if test "$enableval" = yes; then
8811 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8812 else
8813 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8814 fi
8815
8816 else
8817
8818 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8819
8820 fi
8821
8822
8823 eval "$wx_cv_use_propgrid"
8824
8825 if test x"$enablestring" = xdisable; then
8826 if test $wxUSE_PROPGRID = no; then
8827 result=yes
8828 else
8829 result=no
8830 fi
8831 else
8832 result=$wxUSE_PROPGRID
8833 fi
8834
8835 { echo "$as_me:$LINENO: result: $result" >&5
8836 echo "${ECHO_T}$result" >&6; }
8837
8838
8839 enablestring=
8840 defaultval=$wxUSE_ALL_FEATURES
8841 if test -z "$defaultval"; then
8842 if test x"$enablestring" = xdisable; then
8843 defaultval=yes
8844 else
8845 defaultval=no
8846 fi
8847 fi
8848
8849 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ribbon" >&5
8850 echo $ECHO_N "checking for --${enablestring:-enable}-ribbon... $ECHO_C" >&6; }
8851 # Check whether --enable-ribbon was given.
8852 if test "${enable_ribbon+set}" = set; then
8853 enableval=$enable_ribbon;
8854 if test "$enableval" = yes; then
8855 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
8856 else
8857 wx_cv_use_ribbon='wxUSE_RIBBON=no'
8858 fi
8859
8860 else
8861
8862 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
8863
8864 fi
8865
8866
8867 eval "$wx_cv_use_ribbon"
8868
8869 if test x"$enablestring" = xdisable; then
8870 if test $wxUSE_RIBBON = no; then
8871 result=yes
8872 else
8873 result=no
8874 fi
8875 else
8876 result=$wxUSE_RIBBON
8877 fi
8878
8879 { echo "$as_me:$LINENO: result: $result" >&5
8880 echo "${ECHO_T}$result" >&6; }
8881
8882
8883 enablestring=
8884 defaultval=$wxUSE_ALL_FEATURES
8885 if test -z "$defaultval"; then
8886 if test x"$enablestring" = xdisable; then
8887 defaultval=yes
8888 else
8889 defaultval=no
8890 fi
8891 fi
8892
8893 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8894 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8895 # Check whether --enable-stc was given.
8896 if test "${enable_stc+set}" = set; then
8897 enableval=$enable_stc;
8898 if test "$enableval" = yes; then
8899 wx_cv_use_stc='wxUSE_STC=yes'
8900 else
8901 wx_cv_use_stc='wxUSE_STC=no'
8902 fi
8903
8904 else
8905
8906 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8907
8908 fi
8909
8910
8911 eval "$wx_cv_use_stc"
8912
8913 if test x"$enablestring" = xdisable; then
8914 if test $wxUSE_STC = no; then
8915 result=yes
8916 else
8917 result=no
8918 fi
8919 else
8920 result=$wxUSE_STC
8921 fi
8922
8923 { echo "$as_me:$LINENO: result: $result" >&5
8924 echo "${ECHO_T}$result" >&6; }
8925
8926
8927 enablestring=
8928 defaultval=$wxUSE_ALL_FEATURES
8929 if test -z "$defaultval"; then
8930 if test x"$enablestring" = xdisable; then
8931 defaultval=yes
8932 else
8933 defaultval=no
8934 fi
8935 fi
8936
8937 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8938 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8939 # Check whether --enable-constraints was given.
8940 if test "${enable_constraints+set}" = set; then
8941 enableval=$enable_constraints;
8942 if test "$enableval" = yes; then
8943 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8944 else
8945 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8946 fi
8947
8948 else
8949
8950 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8951
8952 fi
8953
8954
8955 eval "$wx_cv_use_constraints"
8956
8957 if test x"$enablestring" = xdisable; then
8958 if test $wxUSE_CONSTRAINTS = no; then
8959 result=yes
8960 else
8961 result=no
8962 fi
8963 else
8964 result=$wxUSE_CONSTRAINTS
8965 fi
8966
8967 { echo "$as_me:$LINENO: result: $result" >&5
8968 echo "${ECHO_T}$result" >&6; }
8969
8970
8971 enablestring=
8972 defaultval=$wxUSE_ALL_FEATURES
8973 if test -z "$defaultval"; then
8974 if test x"$enablestring" = xdisable; then
8975 defaultval=yes
8976 else
8977 defaultval=no
8978 fi
8979 fi
8980
8981 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8982 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8983 # Check whether --enable-loggui was given.
8984 if test "${enable_loggui+set}" = set; then
8985 enableval=$enable_loggui;
8986 if test "$enableval" = yes; then
8987 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8988 else
8989 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8990 fi
8991
8992 else
8993
8994 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8995
8996 fi
8997
8998
8999 eval "$wx_cv_use_loggui"
9000
9001 if test x"$enablestring" = xdisable; then
9002 if test $wxUSE_LOGGUI = no; then
9003 result=yes
9004 else
9005 result=no
9006 fi
9007 else
9008 result=$wxUSE_LOGGUI
9009 fi
9010
9011 { echo "$as_me:$LINENO: result: $result" >&5
9012 echo "${ECHO_T}$result" >&6; }
9013
9014
9015 enablestring=
9016 defaultval=$wxUSE_ALL_FEATURES
9017 if test -z "$defaultval"; then
9018 if test x"$enablestring" = xdisable; then
9019 defaultval=yes
9020 else
9021 defaultval=no
9022 fi
9023 fi
9024
9025 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9026 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9027 # Check whether --enable-logwin was given.
9028 if test "${enable_logwin+set}" = set; then
9029 enableval=$enable_logwin;
9030 if test "$enableval" = yes; then
9031 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
9032 else
9033 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
9034 fi
9035
9036 else
9037
9038 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9039
9040 fi
9041
9042
9043 eval "$wx_cv_use_logwin"
9044
9045 if test x"$enablestring" = xdisable; then
9046 if test $wxUSE_LOGWINDOW = no; then
9047 result=yes
9048 else
9049 result=no
9050 fi
9051 else
9052 result=$wxUSE_LOGWINDOW
9053 fi
9054
9055 { echo "$as_me:$LINENO: result: $result" >&5
9056 echo "${ECHO_T}$result" >&6; }
9057
9058
9059 enablestring=
9060 defaultval=$wxUSE_ALL_FEATURES
9061 if test -z "$defaultval"; then
9062 if test x"$enablestring" = xdisable; then
9063 defaultval=yes
9064 else
9065 defaultval=no
9066 fi
9067 fi
9068
9069 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9070 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
9071 # Check whether --enable-logdialog was given.
9072 if test "${enable_logdialog+set}" = set; then
9073 enableval=$enable_logdialog;
9074 if test "$enableval" = yes; then
9075 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
9076 else
9077 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
9078 fi
9079
9080 else
9081
9082 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9083
9084 fi
9085
9086
9087 eval "$wx_cv_use_logdialog"
9088
9089 if test x"$enablestring" = xdisable; then
9090 if test $wxUSE_LOGDIALOG = no; then
9091 result=yes
9092 else
9093 result=no
9094 fi
9095 else
9096 result=$wxUSE_LOGDIALOG
9097 fi
9098
9099 { echo "$as_me:$LINENO: result: $result" >&5
9100 echo "${ECHO_T}$result" >&6; }
9101
9102
9103 enablestring=
9104 defaultval=$wxUSE_ALL_FEATURES
9105 if test -z "$defaultval"; then
9106 if test x"$enablestring" = xdisable; then
9107 defaultval=yes
9108 else
9109 defaultval=no
9110 fi
9111 fi
9112
9113 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9114 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
9115 # Check whether --enable-mdi was given.
9116 if test "${enable_mdi+set}" = set; then
9117 enableval=$enable_mdi;
9118 if test "$enableval" = yes; then
9119 wx_cv_use_mdi='wxUSE_MDI=yes'
9120 else
9121 wx_cv_use_mdi='wxUSE_MDI=no'
9122 fi
9123
9124 else
9125
9126 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9127
9128 fi
9129
9130
9131 eval "$wx_cv_use_mdi"
9132
9133 if test x"$enablestring" = xdisable; then
9134 if test $wxUSE_MDI = no; then
9135 result=yes
9136 else
9137 result=no
9138 fi
9139 else
9140 result=$wxUSE_MDI
9141 fi
9142
9143 { echo "$as_me:$LINENO: result: $result" >&5
9144 echo "${ECHO_T}$result" >&6; }
9145
9146
9147 enablestring=
9148 defaultval=$wxUSE_ALL_FEATURES
9149 if test -z "$defaultval"; then
9150 if test x"$enablestring" = xdisable; then
9151 defaultval=yes
9152 else
9153 defaultval=no
9154 fi
9155 fi
9156
9157 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9158 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9159 # Check whether --enable-mdidoc was given.
9160 if test "${enable_mdidoc+set}" = set; then
9161 enableval=$enable_mdidoc;
9162 if test "$enableval" = yes; then
9163 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
9164 else
9165 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
9166 fi
9167
9168 else
9169
9170 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9171
9172 fi
9173
9174
9175 eval "$wx_cv_use_mdidoc"
9176
9177 if test x"$enablestring" = xdisable; then
9178 if test $wxUSE_MDI_ARCHITECTURE = no; then
9179 result=yes
9180 else
9181 result=no
9182 fi
9183 else
9184 result=$wxUSE_MDI_ARCHITECTURE
9185 fi
9186
9187 { echo "$as_me:$LINENO: result: $result" >&5
9188 echo "${ECHO_T}$result" >&6; }
9189
9190
9191 enablestring=
9192 defaultval=$wxUSE_ALL_FEATURES
9193 if test -z "$defaultval"; then
9194 if test x"$enablestring" = xdisable; then
9195 defaultval=yes
9196 else
9197 defaultval=no
9198 fi
9199 fi
9200
9201 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
9202 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
9203 # Check whether --enable-mediactrl was given.
9204 if test "${enable_mediactrl+set}" = set; then
9205 enableval=$enable_mediactrl;
9206 if test "$enableval" = yes; then
9207 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
9208 else
9209 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
9210 fi
9211
9212 else
9213
9214 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
9215
9216 fi
9217
9218
9219 eval "$wx_cv_use_mediactrl"
9220
9221 if test x"$enablestring" = xdisable; then
9222 if test $wxUSE_MEDIACTRL = no; then
9223 result=yes
9224 else
9225 result=no
9226 fi
9227 else
9228 result=$wxUSE_MEDIACTRL
9229 fi
9230
9231 { echo "$as_me:$LINENO: result: $result" >&5
9232 echo "${ECHO_T}$result" >&6; }
9233
9234
9235 enablestring=
9236 defaultval=$wxUSE_ALL_FEATURES
9237 if test -z "$defaultval"; then
9238 if test x"$enablestring" = xdisable; then
9239 defaultval=yes
9240 else
9241 defaultval=no
9242 fi
9243 fi
9244
9245 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
9246 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
9247 # Check whether --enable-gstreamer8 was given.
9248 if test "${enable_gstreamer8+set}" = set; then
9249 enableval=$enable_gstreamer8;
9250 if test "$enableval" = yes; then
9251 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
9252 else
9253 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
9254 fi
9255
9256 else
9257
9258 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9259
9260 fi
9261
9262
9263 eval "$wx_cv_use_gstreamer8"
9264
9265 if test x"$enablestring" = xdisable; then
9266 if test $wxUSE_GSTREAMER8 = no; then
9267 result=yes
9268 else
9269 result=no
9270 fi
9271 else
9272 result=$wxUSE_GSTREAMER8
9273 fi
9274
9275 { echo "$as_me:$LINENO: result: $result" >&5
9276 echo "${ECHO_T}$result" >&6; }
9277
9278
9279 enablestring=
9280 defaultval=$wxUSE_ALL_FEATURES
9281 if test -z "$defaultval"; then
9282 if test x"$enablestring" = xdisable; then
9283 defaultval=yes
9284 else
9285 defaultval=no
9286 fi
9287 fi
9288
9289 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9290 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9291 # Check whether --enable-webkit was given.
9292 if test "${enable_webkit+set}" = set; then
9293 enableval=$enable_webkit;
9294 if test "$enableval" = yes; then
9295 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9296 else
9297 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9298 fi
9299
9300 else
9301
9302 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9303
9304 fi
9305
9306
9307 eval "$wx_cv_use_webkit"
9308
9309 if test x"$enablestring" = xdisable; then
9310 if test $wxUSE_WEBKIT = no; then
9311 result=yes
9312 else
9313 result=no
9314 fi
9315 else
9316 result=$wxUSE_WEBKIT
9317 fi
9318
9319 { echo "$as_me:$LINENO: result: $result" >&5
9320 echo "${ECHO_T}$result" >&6; }
9321
9322
9323 enablestring=
9324 defaultval=$wxUSE_ALL_FEATURES
9325 if test -z "$defaultval"; then
9326 if test x"$enablestring" = xdisable; then
9327 defaultval=yes
9328 else
9329 defaultval=no
9330 fi
9331 fi
9332
9333 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9334 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9335 # Check whether --enable-richtext was given.
9336 if test "${enable_richtext+set}" = set; then
9337 enableval=$enable_richtext;
9338 if test "$enableval" = yes; then
9339 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9340 else
9341 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9342 fi
9343
9344 else
9345
9346 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9347
9348 fi
9349
9350
9351 eval "$wx_cv_use_richtext"
9352
9353 if test x"$enablestring" = xdisable; then
9354 if test $wxUSE_RICHTEXT = no; then
9355 result=yes
9356 else
9357 result=no
9358 fi
9359 else
9360 result=$wxUSE_RICHTEXT
9361 fi
9362
9363 { echo "$as_me:$LINENO: result: $result" >&5
9364 echo "${ECHO_T}$result" >&6; }
9365
9366
9367 enablestring=
9368 defaultval=$wxUSE_ALL_FEATURES
9369 if test -z "$defaultval"; then
9370 if test x"$enablestring" = xdisable; then
9371 defaultval=yes
9372 else
9373 defaultval=no
9374 fi
9375 fi
9376
9377 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9378 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9379 # Check whether --enable-postscript was given.
9380 if test "${enable_postscript+set}" = set; then
9381 enableval=$enable_postscript;
9382 if test "$enableval" = yes; then
9383 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9384 else
9385 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9386 fi
9387
9388 else
9389
9390 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9391
9392 fi
9393
9394
9395 eval "$wx_cv_use_postscript"
9396
9397 if test x"$enablestring" = xdisable; then
9398 if test $wxUSE_POSTSCRIPT = no; then
9399 result=yes
9400 else
9401 result=no
9402 fi
9403 else
9404 result=$wxUSE_POSTSCRIPT
9405 fi
9406
9407 { echo "$as_me:$LINENO: result: $result" >&5
9408 echo "${ECHO_T}$result" >&6; }
9409
9410
9411 enablestring=
9412 defaultval=$wxUSE_ALL_FEATURES
9413 if test -z "$defaultval"; then
9414 if test x"$enablestring" = xdisable; then
9415 defaultval=yes
9416 else
9417 defaultval=no
9418 fi
9419 fi
9420
9421 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9422 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9423 # Check whether --enable-printarch was given.
9424 if test "${enable_printarch+set}" = set; then
9425 enableval=$enable_printarch;
9426 if test "$enableval" = yes; then
9427 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9428 else
9429 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9430 fi
9431
9432 else
9433
9434 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9435
9436 fi
9437
9438
9439 eval "$wx_cv_use_printarch"
9440
9441 if test x"$enablestring" = xdisable; then
9442 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
9443 result=yes
9444 else
9445 result=no
9446 fi
9447 else
9448 result=$wxUSE_PRINTING_ARCHITECTURE
9449 fi
9450
9451 { echo "$as_me:$LINENO: result: $result" >&5
9452 echo "${ECHO_T}$result" >&6; }
9453
9454
9455 enablestring=
9456 defaultval=$wxUSE_ALL_FEATURES
9457 if test -z "$defaultval"; then
9458 if test x"$enablestring" = xdisable; then
9459 defaultval=yes
9460 else
9461 defaultval=no
9462 fi
9463 fi
9464
9465 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9466 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9467 # Check whether --enable-svg was given.
9468 if test "${enable_svg+set}" = set; then
9469 enableval=$enable_svg;
9470 if test "$enableval" = yes; then
9471 wx_cv_use_svg='wxUSE_SVG=yes'
9472 else
9473 wx_cv_use_svg='wxUSE_SVG=no'
9474 fi
9475
9476 else
9477
9478 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9479
9480 fi
9481
9482
9483 eval "$wx_cv_use_svg"
9484
9485 if test x"$enablestring" = xdisable; then
9486 if test $wxUSE_SVG = no; then
9487 result=yes
9488 else
9489 result=no
9490 fi
9491 else
9492 result=$wxUSE_SVG
9493 fi
9494
9495 { echo "$as_me:$LINENO: result: $result" >&5
9496 echo "${ECHO_T}$result" >&6; }
9497
9498
9499 if test "$wxUSE_MAC" != 1; then
9500
9501 enablestring=
9502 defaultval=$wxUSE_ALL_FEATURES
9503 if test -z "$defaultval"; then
9504 if test x"$enablestring" = xdisable; then
9505 defaultval=yes
9506 else
9507 defaultval=no
9508 fi
9509 fi
9510
9511 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9512 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9513 # Check whether --enable-graphics_ctx was given.
9514 if test "${enable_graphics_ctx+set}" = set; then
9515 enableval=$enable_graphics_ctx;
9516 if test "$enableval" = yes; then
9517 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9518 else
9519 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9520 fi
9521
9522 else
9523
9524 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9525
9526 fi
9527
9528
9529 eval "$wx_cv_use_graphics_ctx"
9530
9531 if test x"$enablestring" = xdisable; then
9532 if test $wxUSE_GRAPHICS_CONTEXT = no; then
9533 result=yes
9534 else
9535 result=no
9536 fi
9537 else
9538 result=$wxUSE_GRAPHICS_CONTEXT
9539 fi
9540
9541 { echo "$as_me:$LINENO: result: $result" >&5
9542 echo "${ECHO_T}$result" >&6; }
9543
9544 fi
9545
9546
9547
9548 enablestring=
9549 defaultval=$wxUSE_ALL_FEATURES
9550 if test -z "$defaultval"; then
9551 if test x"$enablestring" = xdisable; then
9552 defaultval=yes
9553 else
9554 defaultval=no
9555 fi
9556 fi
9557
9558 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9559 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9560 # Check whether --enable-clipboard was given.
9561 if test "${enable_clipboard+set}" = set; then
9562 enableval=$enable_clipboard;
9563 if test "$enableval" = yes; then
9564 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9565 else
9566 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9567 fi
9568
9569 else
9570
9571 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9572
9573 fi
9574
9575
9576 eval "$wx_cv_use_clipboard"
9577
9578 if test x"$enablestring" = xdisable; then
9579 if test $wxUSE_CLIPBOARD = no; then
9580 result=yes
9581 else
9582 result=no
9583 fi
9584 else
9585 result=$wxUSE_CLIPBOARD
9586 fi
9587
9588 { echo "$as_me:$LINENO: result: $result" >&5
9589 echo "${ECHO_T}$result" >&6; }
9590
9591
9592 enablestring=
9593 defaultval=$wxUSE_ALL_FEATURES
9594 if test -z "$defaultval"; then
9595 if test x"$enablestring" = xdisable; then
9596 defaultval=yes
9597 else
9598 defaultval=no
9599 fi
9600 fi
9601
9602 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9603 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9604 # Check whether --enable-dnd was given.
9605 if test "${enable_dnd+set}" = set; then
9606 enableval=$enable_dnd;
9607 if test "$enableval" = yes; then
9608 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9609 else
9610 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9611 fi
9612
9613 else
9614
9615 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9616
9617 fi
9618
9619
9620 eval "$wx_cv_use_dnd"
9621
9622 if test x"$enablestring" = xdisable; then
9623 if test $wxUSE_DRAG_AND_DROP = no; then
9624 result=yes
9625 else
9626 result=no
9627 fi
9628 else
9629 result=$wxUSE_DRAG_AND_DROP
9630 fi
9631
9632 { echo "$as_me:$LINENO: result: $result" >&5
9633 echo "${ECHO_T}$result" >&6; }
9634
9635
9636 enablestring=
9637 defaultval=$wxUSE_ALL_FEATURES
9638 if test -z "$defaultval"; then
9639 if test x"$enablestring" = xdisable; then
9640 defaultval=yes
9641 else
9642 defaultval=no
9643 fi
9644 fi
9645
9646 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9647 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9648 # Check whether --enable-metafile was given.
9649 if test "${enable_metafile+set}" = set; then
9650 enableval=$enable_metafile;
9651 if test "$enableval" = yes; then
9652 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9653 else
9654 wx_cv_use_metafile='wxUSE_METAFILE=no'
9655 fi
9656
9657 else
9658
9659 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9660
9661 fi
9662
9663
9664 eval "$wx_cv_use_metafile"
9665
9666 if test x"$enablestring" = xdisable; then
9667 if test $wxUSE_METAFILE = no; then
9668 result=yes
9669 else
9670 result=no
9671 fi
9672 else
9673 result=$wxUSE_METAFILE
9674 fi
9675
9676 { echo "$as_me:$LINENO: result: $result" >&5
9677 echo "${ECHO_T}$result" >&6; }
9678
9679
9680
9681 DEFAULT_wxUSE_CONTROLS=none
9682
9683 enablestring=disable
9684 defaultval=
9685 if test -z "$defaultval"; then
9686 if test x"$enablestring" = xdisable; then
9687 defaultval=yes
9688 else
9689 defaultval=no
9690 fi
9691 fi
9692
9693 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9694 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9695 # Check whether --enable-controls was given.
9696 if test "${enable_controls+set}" = set; then
9697 enableval=$enable_controls;
9698 if test "$enableval" = yes; then
9699 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9700 else
9701 wx_cv_use_controls='wxUSE_CONTROLS=no'
9702 fi
9703
9704 else
9705
9706 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9707
9708 fi
9709
9710
9711 eval "$wx_cv_use_controls"
9712
9713 if test x"$enablestring" = xdisable; then
9714 if test $wxUSE_CONTROLS = no; then
9715 result=yes
9716 else
9717 result=no
9718 fi
9719 else
9720 result=$wxUSE_CONTROLS
9721 fi
9722
9723 { echo "$as_me:$LINENO: result: $result" >&5
9724 echo "${ECHO_T}$result" >&6; }
9725
9726
9727 if test "$wxUSE_CONTROLS" = "no"; then
9728 DEFAULT_wxUSE_ACCEL=no
9729 DEFAULT_wxUSE_ANIMATIONCTRL=no
9730 DEFAULT_wxUSE_BMPBUTTON=no
9731 DEFAULT_wxUSE_BUTTON=no
9732 DEFAULT_wxUSE_CALCTRL=no
9733 DEFAULT_wxUSE_CARET=no
9734 DEFAULT_wxUSE_CHECKBOX=no
9735 DEFAULT_wxUSE_CHECKLISTBOX=no
9736 DEFAULT_wxUSE_CHOICE=no
9737 DEFAULT_wxUSE_CHOICEBOOK=no
9738 DEFAULT_wxUSE_COLLPANE=no
9739 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9740 DEFAULT_wxUSE_COMBOBOX=no
9741 DEFAULT_wxUSE_COMBOBOX=no
9742 DEFAULT_wxUSE_COMMANDLINKBUTTON=no
9743 DEFAULT_wxUSE_DATAVIEWCTRL=no
9744 DEFAULT_wxUSE_DATEPICKCTRL=no
9745 DEFAULT_wxUSE_DETECT_SM=no
9746 DEFAULT_wxUSE_DIRPICKERCTRL=no
9747 DEFAULT_wxUSE_DISPLAY=no
9748 DEFAULT_wxUSE_FILECTRL=no
9749 DEFAULT_wxUSE_FILEPICKERCTRL=no
9750 DEFAULT_wxUSE_FONTPICKERCTRL=no
9751 DEFAULT_wxUSE_GAUGE=no
9752 DEFAULT_wxUSE_GRID=no
9753 DEFAULT_wxUSE_HEADERCTRL=no
9754 DEFAULT_wxUSE_HYPERLINKCTRL=no
9755 DEFAULT_wxUSE_IMAGLIST=no
9756 DEFAULT_wxUSE_LISTBOOK=no
9757 DEFAULT_wxUSE_LISTBOX=no
9758 DEFAULT_wxUSE_LISTCTRL=no
9759 DEFAULT_wxUSE_NOTEBOOK=no
9760 DEFAULT_wxUSE_POPUPWIN=no
9761 DEFAULT_wxUSE_RADIOBOX=no
9762 DEFAULT_wxUSE_RADIOBTN=no
9763 DEFAULT_wxUSE_REARRANGECTRL=no
9764 DEFAULT_wxUSE_SASH=no
9765 DEFAULT_wxUSE_SCROLLBAR=no
9766 DEFAULT_wxUSE_SEARCHCTRL=no
9767 DEFAULT_wxUSE_SLIDER=no
9768 DEFAULT_wxUSE_SPINBTN=no
9769 DEFAULT_wxUSE_SPINCTRL=no
9770 DEFAULT_wxUSE_SPLITTER=no
9771 DEFAULT_wxUSE_STATBMP=no
9772 DEFAULT_wxUSE_STATBOX=no
9773 DEFAULT_wxUSE_STATLINE=no
9774 DEFAULT_wxUSE_STATUSBAR=no
9775 DEFAULT_wxUSE_TIPWINDOW=no
9776 DEFAULT_wxUSE_TOGGLEBTN=no
9777 DEFAULT_wxUSE_TOOLBAR=no
9778 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9779 DEFAULT_wxUSE_TOOLBOOK=no
9780 DEFAULT_wxUSE_TOOLTIPS=no
9781 DEFAULT_wxUSE_TREEBOOK=no
9782 DEFAULT_wxUSE_TREECTRL=no
9783 fi
9784
9785
9786 enablestring=
9787 defaultval=$wxUSE_ALL_FEATURES
9788 if test -z "$defaultval"; then
9789 if test x"$enablestring" = xdisable; then
9790 defaultval=yes
9791 else
9792 defaultval=no
9793 fi
9794 fi
9795
9796 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9797 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9798 # Check whether --enable-accel was given.
9799 if test "${enable_accel+set}" = set; then
9800 enableval=$enable_accel;
9801 if test "$enableval" = yes; then
9802 wx_cv_use_accel='wxUSE_ACCEL=yes'
9803 else
9804 wx_cv_use_accel='wxUSE_ACCEL=no'
9805 fi
9806
9807 else
9808
9809 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9810
9811 fi
9812
9813
9814 eval "$wx_cv_use_accel"
9815
9816 if test x"$enablestring" = xdisable; then
9817 if test $wxUSE_ACCEL = no; then
9818 result=yes
9819 else
9820 result=no
9821 fi
9822 else
9823 result=$wxUSE_ACCEL
9824 fi
9825
9826 { echo "$as_me:$LINENO: result: $result" >&5
9827 echo "${ECHO_T}$result" >&6; }
9828
9829
9830 enablestring=
9831 defaultval=$wxUSE_ALL_FEATURES
9832 if test -z "$defaultval"; then
9833 if test x"$enablestring" = xdisable; then
9834 defaultval=yes
9835 else
9836 defaultval=no
9837 fi
9838 fi
9839
9840 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9841 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9842 # Check whether --enable-animatectrl was given.
9843 if test "${enable_animatectrl+set}" = set; then
9844 enableval=$enable_animatectrl;
9845 if test "$enableval" = yes; then
9846 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9847 else
9848 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9849 fi
9850
9851 else
9852
9853 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9854
9855 fi
9856
9857
9858 eval "$wx_cv_use_animatectrl"
9859
9860 if test x"$enablestring" = xdisable; then
9861 if test $wxUSE_ANIMATIONCTRL = no; then
9862 result=yes
9863 else
9864 result=no
9865 fi
9866 else
9867 result=$wxUSE_ANIMATIONCTRL
9868 fi
9869
9870 { echo "$as_me:$LINENO: result: $result" >&5
9871 echo "${ECHO_T}$result" >&6; }
9872
9873
9874 enablestring=
9875 defaultval=$wxUSE_ALL_FEATURES
9876 if test -z "$defaultval"; then
9877 if test x"$enablestring" = xdisable; then
9878 defaultval=yes
9879 else
9880 defaultval=no
9881 fi
9882 fi
9883
9884 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9885 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9886 # Check whether --enable-bmpbutton was given.
9887 if test "${enable_bmpbutton+set}" = set; then
9888 enableval=$enable_bmpbutton;
9889 if test "$enableval" = yes; then
9890 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9891 else
9892 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9893 fi
9894
9895 else
9896
9897 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9898
9899 fi
9900
9901
9902 eval "$wx_cv_use_bmpbutton"
9903
9904 if test x"$enablestring" = xdisable; then
9905 if test $wxUSE_BMPBUTTON = no; then
9906 result=yes
9907 else
9908 result=no
9909 fi
9910 else
9911 result=$wxUSE_BMPBUTTON
9912 fi
9913
9914 { echo "$as_me:$LINENO: result: $result" >&5
9915 echo "${ECHO_T}$result" >&6; }
9916
9917
9918 enablestring=
9919 defaultval=$wxUSE_ALL_FEATURES
9920 if test -z "$defaultval"; then
9921 if test x"$enablestring" = xdisable; then
9922 defaultval=yes
9923 else
9924 defaultval=no
9925 fi
9926 fi
9927
9928 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9929 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9930 # Check whether --enable-bmpcombobox was given.
9931 if test "${enable_bmpcombobox+set}" = set; then
9932 enableval=$enable_bmpcombobox;
9933 if test "$enableval" = yes; then
9934 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9935 else
9936 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9937 fi
9938
9939 else
9940
9941 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9942
9943 fi
9944
9945
9946 eval "$wx_cv_use_bmpcombobox"
9947
9948 if test x"$enablestring" = xdisable; then
9949 if test $wxUSE_BITMAPCOMBOBOX = no; then
9950 result=yes
9951 else
9952 result=no
9953 fi
9954 else
9955 result=$wxUSE_BITMAPCOMBOBOX
9956 fi
9957
9958 { echo "$as_me:$LINENO: result: $result" >&5
9959 echo "${ECHO_T}$result" >&6; }
9960
9961
9962 enablestring=
9963 defaultval=$wxUSE_ALL_FEATURES
9964 if test -z "$defaultval"; then
9965 if test x"$enablestring" = xdisable; then
9966 defaultval=yes
9967 else
9968 defaultval=no
9969 fi
9970 fi
9971
9972 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9973 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9974 # Check whether --enable-button was given.
9975 if test "${enable_button+set}" = set; then
9976 enableval=$enable_button;
9977 if test "$enableval" = yes; then
9978 wx_cv_use_button='wxUSE_BUTTON=yes'
9979 else
9980 wx_cv_use_button='wxUSE_BUTTON=no'
9981 fi
9982
9983 else
9984
9985 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9986
9987 fi
9988
9989
9990 eval "$wx_cv_use_button"
9991
9992 if test x"$enablestring" = xdisable; then
9993 if test $wxUSE_BUTTON = no; then
9994 result=yes
9995 else
9996 result=no
9997 fi
9998 else
9999 result=$wxUSE_BUTTON
10000 fi
10001
10002 { echo "$as_me:$LINENO: result: $result" >&5
10003 echo "${ECHO_T}$result" >&6; }
10004
10005
10006 enablestring=
10007 defaultval=$wxUSE_ALL_FEATURES
10008 if test -z "$defaultval"; then
10009 if test x"$enablestring" = xdisable; then
10010 defaultval=yes
10011 else
10012 defaultval=no
10013 fi
10014 fi
10015
10016 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10017 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10018 # Check whether --enable-calendar was given.
10019 if test "${enable_calendar+set}" = set; then
10020 enableval=$enable_calendar;
10021 if test "$enableval" = yes; then
10022 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
10023 else
10024 wx_cv_use_calendar='wxUSE_CALCTRL=no'
10025 fi
10026
10027 else
10028
10029 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10030
10031 fi
10032
10033
10034 eval "$wx_cv_use_calendar"
10035
10036 if test x"$enablestring" = xdisable; then
10037 if test $wxUSE_CALCTRL = no; then
10038 result=yes
10039 else
10040 result=no
10041 fi
10042 else
10043 result=$wxUSE_CALCTRL
10044 fi
10045
10046 { echo "$as_me:$LINENO: result: $result" >&5
10047 echo "${ECHO_T}$result" >&6; }
10048
10049
10050 enablestring=
10051 defaultval=$wxUSE_ALL_FEATURES
10052 if test -z "$defaultval"; then
10053 if test x"$enablestring" = xdisable; then
10054 defaultval=yes
10055 else
10056 defaultval=no
10057 fi
10058 fi
10059
10060 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
10061 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
10062 # Check whether --enable-caret was given.
10063 if test "${enable_caret+set}" = set; then
10064 enableval=$enable_caret;
10065 if test "$enableval" = yes; then
10066 wx_cv_use_caret='wxUSE_CARET=yes'
10067 else
10068 wx_cv_use_caret='wxUSE_CARET=no'
10069 fi
10070
10071 else
10072
10073 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10074
10075 fi
10076
10077
10078 eval "$wx_cv_use_caret"
10079
10080 if test x"$enablestring" = xdisable; then
10081 if test $wxUSE_CARET = no; then
10082 result=yes
10083 else
10084 result=no
10085 fi
10086 else
10087 result=$wxUSE_CARET
10088 fi
10089
10090 { echo "$as_me:$LINENO: result: $result" >&5
10091 echo "${ECHO_T}$result" >&6; }
10092
10093
10094 enablestring=
10095 defaultval=$wxUSE_ALL_FEATURES
10096 if test -z "$defaultval"; then
10097 if test x"$enablestring" = xdisable; then
10098 defaultval=yes
10099 else
10100 defaultval=no
10101 fi
10102 fi
10103
10104 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10105 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10106 # Check whether --enable-checkbox was given.
10107 if test "${enable_checkbox+set}" = set; then
10108 enableval=$enable_checkbox;
10109 if test "$enableval" = yes; then
10110 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
10111 else
10112 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
10113 fi
10114
10115 else
10116
10117 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10118
10119 fi
10120
10121
10122 eval "$wx_cv_use_checkbox"
10123
10124 if test x"$enablestring" = xdisable; then
10125 if test $wxUSE_CHECKBOX = no; then
10126 result=yes
10127 else
10128 result=no
10129 fi
10130 else
10131 result=$wxUSE_CHECKBOX
10132 fi
10133
10134 { echo "$as_me:$LINENO: result: $result" >&5
10135 echo "${ECHO_T}$result" >&6; }
10136
10137
10138 enablestring=
10139 defaultval=$wxUSE_ALL_FEATURES
10140 if test -z "$defaultval"; then
10141 if test x"$enablestring" = xdisable; then
10142 defaultval=yes
10143 else
10144 defaultval=no
10145 fi
10146 fi
10147
10148 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10149 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10150 # Check whether --enable-checklst was given.
10151 if test "${enable_checklst+set}" = set; then
10152 enableval=$enable_checklst;
10153 if test "$enableval" = yes; then
10154 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
10155 else
10156 wx_cv_use_checklst='wxUSE_CHECKLST=no'
10157 fi
10158
10159 else
10160
10161 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10162
10163 fi
10164
10165
10166 eval "$wx_cv_use_checklst"
10167
10168 if test x"$enablestring" = xdisable; then
10169 if test $wxUSE_CHECKLST = no; then
10170 result=yes
10171 else
10172 result=no
10173 fi
10174 else
10175 result=$wxUSE_CHECKLST
10176 fi
10177
10178 { echo "$as_me:$LINENO: result: $result" >&5
10179 echo "${ECHO_T}$result" >&6; }
10180
10181
10182 enablestring=
10183 defaultval=$wxUSE_ALL_FEATURES
10184 if test -z "$defaultval"; then
10185 if test x"$enablestring" = xdisable; then
10186 defaultval=yes
10187 else
10188 defaultval=no
10189 fi
10190 fi
10191
10192 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10193 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
10194 # Check whether --enable-choice was given.
10195 if test "${enable_choice+set}" = set; then
10196 enableval=$enable_choice;
10197 if test "$enableval" = yes; then
10198 wx_cv_use_choice='wxUSE_CHOICE=yes'
10199 else
10200 wx_cv_use_choice='wxUSE_CHOICE=no'
10201 fi
10202
10203 else
10204
10205 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10206
10207 fi
10208
10209
10210 eval "$wx_cv_use_choice"
10211
10212 if test x"$enablestring" = xdisable; then
10213 if test $wxUSE_CHOICE = no; then
10214 result=yes
10215 else
10216 result=no
10217 fi
10218 else
10219 result=$wxUSE_CHOICE
10220 fi
10221
10222 { echo "$as_me:$LINENO: result: $result" >&5
10223 echo "${ECHO_T}$result" >&6; }
10224
10225
10226 enablestring=
10227 defaultval=$wxUSE_ALL_FEATURES
10228 if test -z "$defaultval"; then
10229 if test x"$enablestring" = xdisable; then
10230 defaultval=yes
10231 else
10232 defaultval=no
10233 fi
10234 fi
10235
10236 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10237 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10238 # Check whether --enable-choicebook was given.
10239 if test "${enable_choicebook+set}" = set; then
10240 enableval=$enable_choicebook;
10241 if test "$enableval" = yes; then
10242 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10243 else
10244 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10245 fi
10246
10247 else
10248
10249 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10250
10251 fi
10252
10253
10254 eval "$wx_cv_use_choicebook"
10255
10256 if test x"$enablestring" = xdisable; then
10257 if test $wxUSE_CHOICEBOOK = no; then
10258 result=yes
10259 else
10260 result=no
10261 fi
10262 else
10263 result=$wxUSE_CHOICEBOOK
10264 fi
10265
10266 { echo "$as_me:$LINENO: result: $result" >&5
10267 echo "${ECHO_T}$result" >&6; }
10268
10269
10270 enablestring=
10271 defaultval=$wxUSE_ALL_FEATURES
10272 if test -z "$defaultval"; then
10273 if test x"$enablestring" = xdisable; then
10274 defaultval=yes
10275 else
10276 defaultval=no
10277 fi
10278 fi
10279
10280 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10281 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10282 # Check whether --enable-collpane was given.
10283 if test "${enable_collpane+set}" = set; then
10284 enableval=$enable_collpane;
10285 if test "$enableval" = yes; then
10286 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10287 else
10288 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10289 fi
10290
10291 else
10292
10293 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10294
10295 fi
10296
10297
10298 eval "$wx_cv_use_collpane"
10299
10300 if test x"$enablestring" = xdisable; then
10301 if test $wxUSE_COLLPANE = no; then
10302 result=yes
10303 else
10304 result=no
10305 fi
10306 else
10307 result=$wxUSE_COLLPANE
10308 fi
10309
10310 { echo "$as_me:$LINENO: result: $result" >&5
10311 echo "${ECHO_T}$result" >&6; }
10312
10313
10314 enablestring=
10315 defaultval=$wxUSE_ALL_FEATURES
10316 if test -z "$defaultval"; then
10317 if test x"$enablestring" = xdisable; then
10318 defaultval=yes
10319 else
10320 defaultval=no
10321 fi
10322 fi
10323
10324 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10325 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10326 # Check whether --enable-colourpicker was given.
10327 if test "${enable_colourpicker+set}" = set; then
10328 enableval=$enable_colourpicker;
10329 if test "$enableval" = yes; then
10330 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10331 else
10332 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10333 fi
10334
10335 else
10336
10337 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10338
10339 fi
10340
10341
10342 eval "$wx_cv_use_colourpicker"
10343
10344 if test x"$enablestring" = xdisable; then
10345 if test $wxUSE_COLOURPICKERCTRL = no; then
10346 result=yes
10347 else
10348 result=no
10349 fi
10350 else
10351 result=$wxUSE_COLOURPICKERCTRL
10352 fi
10353
10354 { echo "$as_me:$LINENO: result: $result" >&5
10355 echo "${ECHO_T}$result" >&6; }
10356
10357
10358 enablestring=
10359 defaultval=$wxUSE_ALL_FEATURES
10360 if test -z "$defaultval"; then
10361 if test x"$enablestring" = xdisable; then
10362 defaultval=yes
10363 else
10364 defaultval=no
10365 fi
10366 fi
10367
10368 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10369 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10370 # Check whether --enable-combobox was given.
10371 if test "${enable_combobox+set}" = set; then
10372 enableval=$enable_combobox;
10373 if test "$enableval" = yes; then
10374 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10375 else
10376 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10377 fi
10378
10379 else
10380
10381 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10382
10383 fi
10384
10385
10386 eval "$wx_cv_use_combobox"
10387
10388 if test x"$enablestring" = xdisable; then
10389 if test $wxUSE_COMBOBOX = no; then
10390 result=yes
10391 else
10392 result=no
10393 fi
10394 else
10395 result=$wxUSE_COMBOBOX
10396 fi
10397
10398 { echo "$as_me:$LINENO: result: $result" >&5
10399 echo "${ECHO_T}$result" >&6; }
10400
10401
10402 enablestring=
10403 defaultval=$wxUSE_ALL_FEATURES
10404 if test -z "$defaultval"; then
10405 if test x"$enablestring" = xdisable; then
10406 defaultval=yes
10407 else
10408 defaultval=no
10409 fi
10410 fi
10411
10412 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10413 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10414 # Check whether --enable-comboctrl was given.
10415 if test "${enable_comboctrl+set}" = set; then
10416 enableval=$enable_comboctrl;
10417 if test "$enableval" = yes; then
10418 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10419 else
10420 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10421 fi
10422
10423 else
10424
10425 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10426
10427 fi
10428
10429
10430 eval "$wx_cv_use_comboctrl"
10431
10432 if test x"$enablestring" = xdisable; then
10433 if test $wxUSE_COMBOCTRL = no; then
10434 result=yes
10435 else
10436 result=no
10437 fi
10438 else
10439 result=$wxUSE_COMBOCTRL
10440 fi
10441
10442 { echo "$as_me:$LINENO: result: $result" >&5
10443 echo "${ECHO_T}$result" >&6; }
10444
10445
10446 enablestring=
10447 defaultval=$wxUSE_ALL_FEATURES
10448 if test -z "$defaultval"; then
10449 if test x"$enablestring" = xdisable; then
10450 defaultval=yes
10451 else
10452 defaultval=no
10453 fi
10454 fi
10455
10456 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commandlinkbutton" >&5
10457 echo $ECHO_N "checking for --${enablestring:-enable}-commandlinkbutton... $ECHO_C" >&6; }
10458 # Check whether --enable-commandlinkbutton was given.
10459 if test "${enable_commandlinkbutton+set}" = set; then
10460 enableval=$enable_commandlinkbutton;
10461 if test "$enableval" = yes; then
10462 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=yes'
10463 else
10464 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=no'
10465 fi
10466
10467 else
10468
10469 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
10470
10471 fi
10472
10473
10474 eval "$wx_cv_use_commandlinkbutton"
10475
10476 if test x"$enablestring" = xdisable; then
10477 if test $wxUSE_COMMANDLINKBUTTON = no; then
10478 result=yes
10479 else
10480 result=no
10481 fi
10482 else
10483 result=$wxUSE_COMMANDLINKBUTTON
10484 fi
10485
10486 { echo "$as_me:$LINENO: result: $result" >&5
10487 echo "${ECHO_T}$result" >&6; }
10488
10489
10490 enablestring=
10491 defaultval=$wxUSE_ALL_FEATURES
10492 if test -z "$defaultval"; then
10493 if test x"$enablestring" = xdisable; then
10494 defaultval=yes
10495 else
10496 defaultval=no
10497 fi
10498 fi
10499
10500 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10501 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10502 # Check whether --enable-dataviewctrl was given.
10503 if test "${enable_dataviewctrl+set}" = set; then
10504 enableval=$enable_dataviewctrl;
10505 if test "$enableval" = yes; then
10506 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10507 else
10508 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10509 fi
10510
10511 else
10512
10513 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10514
10515 fi
10516
10517
10518 eval "$wx_cv_use_dataviewctrl"
10519
10520 if test x"$enablestring" = xdisable; then
10521 if test $wxUSE_DATAVIEWCTRL = no; then
10522 result=yes
10523 else
10524 result=no
10525 fi
10526 else
10527 result=$wxUSE_DATAVIEWCTRL
10528 fi
10529
10530 { echo "$as_me:$LINENO: result: $result" >&5
10531 echo "${ECHO_T}$result" >&6; }
10532
10533
10534 enablestring=
10535 defaultval=$wxUSE_ALL_FEATURES
10536 if test -z "$defaultval"; then
10537 if test x"$enablestring" = xdisable; then
10538 defaultval=yes
10539 else
10540 defaultval=no
10541 fi
10542 fi
10543
10544 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10545 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10546 # Check whether --enable-datepick was given.
10547 if test "${enable_datepick+set}" = set; then
10548 enableval=$enable_datepick;
10549 if test "$enableval" = yes; then
10550 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10551 else
10552 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10553 fi
10554
10555 else
10556
10557 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10558
10559 fi
10560
10561
10562 eval "$wx_cv_use_datepick"
10563
10564 if test x"$enablestring" = xdisable; then
10565 if test $wxUSE_DATEPICKCTRL = no; then
10566 result=yes
10567 else
10568 result=no
10569 fi
10570 else
10571 result=$wxUSE_DATEPICKCTRL
10572 fi
10573
10574 { echo "$as_me:$LINENO: result: $result" >&5
10575 echo "${ECHO_T}$result" >&6; }
10576
10577
10578 enablestring=
10579 defaultval=$wxUSE_ALL_FEATURES
10580 if test -z "$defaultval"; then
10581 if test x"$enablestring" = xdisable; then
10582 defaultval=yes
10583 else
10584 defaultval=no
10585 fi
10586 fi
10587
10588 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10589 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10590 # Check whether --enable-detect_sm was given.
10591 if test "${enable_detect_sm+set}" = set; then
10592 enableval=$enable_detect_sm;
10593 if test "$enableval" = yes; then
10594 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10595 else
10596 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10597 fi
10598
10599 else
10600
10601 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10602
10603 fi
10604
10605
10606 eval "$wx_cv_use_detect_sm"
10607
10608 if test x"$enablestring" = xdisable; then
10609 if test $wxUSE_DETECT_SM = no; then
10610 result=yes
10611 else
10612 result=no
10613 fi
10614 else
10615 result=$wxUSE_DETECT_SM
10616 fi
10617
10618 { echo "$as_me:$LINENO: result: $result" >&5
10619 echo "${ECHO_T}$result" >&6; }
10620
10621
10622 enablestring=
10623 defaultval=$wxUSE_ALL_FEATURES
10624 if test -z "$defaultval"; then
10625 if test x"$enablestring" = xdisable; then
10626 defaultval=yes
10627 else
10628 defaultval=no
10629 fi
10630 fi
10631
10632 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10633 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10634 # Check whether --enable-dirpicker was given.
10635 if test "${enable_dirpicker+set}" = set; then
10636 enableval=$enable_dirpicker;
10637 if test "$enableval" = yes; then
10638 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10639 else
10640 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10641 fi
10642
10643 else
10644
10645 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10646
10647 fi
10648
10649
10650 eval "$wx_cv_use_dirpicker"
10651
10652 if test x"$enablestring" = xdisable; then
10653 if test $wxUSE_DIRPICKERCTRL = no; then
10654 result=yes
10655 else
10656 result=no
10657 fi
10658 else
10659 result=$wxUSE_DIRPICKERCTRL
10660 fi
10661
10662 { echo "$as_me:$LINENO: result: $result" >&5
10663 echo "${ECHO_T}$result" >&6; }
10664
10665
10666 enablestring=
10667 defaultval=$wxUSE_ALL_FEATURES
10668 if test -z "$defaultval"; then
10669 if test x"$enablestring" = xdisable; then
10670 defaultval=yes
10671 else
10672 defaultval=no
10673 fi
10674 fi
10675
10676 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10677 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10678 # Check whether --enable-display was given.
10679 if test "${enable_display+set}" = set; then
10680 enableval=$enable_display;
10681 if test "$enableval" = yes; then
10682 wx_cv_use_display='wxUSE_DISPLAY=yes'
10683 else
10684 wx_cv_use_display='wxUSE_DISPLAY=no'
10685 fi
10686
10687 else
10688
10689 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10690
10691 fi
10692
10693
10694 eval "$wx_cv_use_display"
10695
10696 if test x"$enablestring" = xdisable; then
10697 if test $wxUSE_DISPLAY = no; then
10698 result=yes
10699 else
10700 result=no
10701 fi
10702 else
10703 result=$wxUSE_DISPLAY
10704 fi
10705
10706 { echo "$as_me:$LINENO: result: $result" >&5
10707 echo "${ECHO_T}$result" >&6; }
10708
10709
10710 enablestring=
10711 defaultval=$wxUSE_ALL_FEATURES
10712 if test -z "$defaultval"; then
10713 if test x"$enablestring" = xdisable; then
10714 defaultval=yes
10715 else
10716 defaultval=no
10717 fi
10718 fi
10719
10720 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10721 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10722 # Check whether --enable-editablebox was given.
10723 if test "${enable_editablebox+set}" = set; then
10724 enableval=$enable_editablebox;
10725 if test "$enableval" = yes; then
10726 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10727 else
10728 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10729 fi
10730
10731 else
10732
10733 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10734
10735 fi
10736
10737
10738 eval "$wx_cv_use_editablebox"
10739
10740 if test x"$enablestring" = xdisable; then
10741 if test $wxUSE_EDITABLELISTBOX = no; then
10742 result=yes
10743 else
10744 result=no
10745 fi
10746 else
10747 result=$wxUSE_EDITABLELISTBOX
10748 fi
10749
10750 { echo "$as_me:$LINENO: result: $result" >&5
10751 echo "${ECHO_T}$result" >&6; }
10752
10753
10754 enablestring=
10755 defaultval=$wxUSE_ALL_FEATURES
10756 if test -z "$defaultval"; then
10757 if test x"$enablestring" = xdisable; then
10758 defaultval=yes
10759 else
10760 defaultval=no
10761 fi
10762 fi
10763
10764 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10765 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10766 # Check whether --enable-filectrl was given.
10767 if test "${enable_filectrl+set}" = set; then
10768 enableval=$enable_filectrl;
10769 if test "$enableval" = yes; then
10770 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10771 else
10772 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10773 fi
10774
10775 else
10776
10777 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10778
10779 fi
10780
10781
10782 eval "$wx_cv_use_filectrl"
10783
10784 if test x"$enablestring" = xdisable; then
10785 if test $wxUSE_FILECTRL = no; then
10786 result=yes
10787 else
10788 result=no
10789 fi
10790 else
10791 result=$wxUSE_FILECTRL
10792 fi
10793
10794 { echo "$as_me:$LINENO: result: $result" >&5
10795 echo "${ECHO_T}$result" >&6; }
10796
10797
10798 enablestring=
10799 defaultval=$wxUSE_ALL_FEATURES
10800 if test -z "$defaultval"; then
10801 if test x"$enablestring" = xdisable; then
10802 defaultval=yes
10803 else
10804 defaultval=no
10805 fi
10806 fi
10807
10808 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10809 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10810 # Check whether --enable-filepicker was given.
10811 if test "${enable_filepicker+set}" = set; then
10812 enableval=$enable_filepicker;
10813 if test "$enableval" = yes; then
10814 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10815 else
10816 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10817 fi
10818
10819 else
10820
10821 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10822
10823 fi
10824
10825
10826 eval "$wx_cv_use_filepicker"
10827
10828 if test x"$enablestring" = xdisable; then
10829 if test $wxUSE_FILEPICKERCTRL = no; then
10830 result=yes
10831 else
10832 result=no
10833 fi
10834 else
10835 result=$wxUSE_FILEPICKERCTRL
10836 fi
10837
10838 { echo "$as_me:$LINENO: result: $result" >&5
10839 echo "${ECHO_T}$result" >&6; }
10840
10841
10842 enablestring=
10843 defaultval=$wxUSE_ALL_FEATURES
10844 if test -z "$defaultval"; then
10845 if test x"$enablestring" = xdisable; then
10846 defaultval=yes
10847 else
10848 defaultval=no
10849 fi
10850 fi
10851
10852 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10853 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10854 # Check whether --enable-fontpicker was given.
10855 if test "${enable_fontpicker+set}" = set; then
10856 enableval=$enable_fontpicker;
10857 if test "$enableval" = yes; then
10858 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10859 else
10860 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10861 fi
10862
10863 else
10864
10865 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10866
10867 fi
10868
10869
10870 eval "$wx_cv_use_fontpicker"
10871
10872 if test x"$enablestring" = xdisable; then
10873 if test $wxUSE_FONTPICKERCTRL = no; then
10874 result=yes
10875 else
10876 result=no
10877 fi
10878 else
10879 result=$wxUSE_FONTPICKERCTRL
10880 fi
10881
10882 { echo "$as_me:$LINENO: result: $result" >&5
10883 echo "${ECHO_T}$result" >&6; }
10884
10885
10886 enablestring=
10887 defaultval=$wxUSE_ALL_FEATURES
10888 if test -z "$defaultval"; then
10889 if test x"$enablestring" = xdisable; then
10890 defaultval=yes
10891 else
10892 defaultval=no
10893 fi
10894 fi
10895
10896 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10897 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10898 # Check whether --enable-gauge was given.
10899 if test "${enable_gauge+set}" = set; then
10900 enableval=$enable_gauge;
10901 if test "$enableval" = yes; then
10902 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10903 else
10904 wx_cv_use_gauge='wxUSE_GAUGE=no'
10905 fi
10906
10907 else
10908
10909 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10910
10911 fi
10912
10913
10914 eval "$wx_cv_use_gauge"
10915
10916 if test x"$enablestring" = xdisable; then
10917 if test $wxUSE_GAUGE = no; then
10918 result=yes
10919 else
10920 result=no
10921 fi
10922 else
10923 result=$wxUSE_GAUGE
10924 fi
10925
10926 { echo "$as_me:$LINENO: result: $result" >&5
10927 echo "${ECHO_T}$result" >&6; }
10928
10929
10930 enablestring=
10931 defaultval=$wxUSE_ALL_FEATURES
10932 if test -z "$defaultval"; then
10933 if test x"$enablestring" = xdisable; then
10934 defaultval=yes
10935 else
10936 defaultval=no
10937 fi
10938 fi
10939
10940 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10941 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10942 # Check whether --enable-grid was given.
10943 if test "${enable_grid+set}" = set; then
10944 enableval=$enable_grid;
10945 if test "$enableval" = yes; then
10946 wx_cv_use_grid='wxUSE_GRID=yes'
10947 else
10948 wx_cv_use_grid='wxUSE_GRID=no'
10949 fi
10950
10951 else
10952
10953 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10954
10955 fi
10956
10957
10958 eval "$wx_cv_use_grid"
10959
10960 if test x"$enablestring" = xdisable; then
10961 if test $wxUSE_GRID = no; then
10962 result=yes
10963 else
10964 result=no
10965 fi
10966 else
10967 result=$wxUSE_GRID
10968 fi
10969
10970 { echo "$as_me:$LINENO: result: $result" >&5
10971 echo "${ECHO_T}$result" >&6; }
10972
10973
10974 enablestring=
10975 defaultval=$wxUSE_ALL_FEATURES
10976 if test -z "$defaultval"; then
10977 if test x"$enablestring" = xdisable; then
10978 defaultval=yes
10979 else
10980 defaultval=no
10981 fi
10982 fi
10983
10984 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
10985 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
10986 # Check whether --enable-headerctrl was given.
10987 if test "${enable_headerctrl+set}" = set; then
10988 enableval=$enable_headerctrl;
10989 if test "$enableval" = yes; then
10990 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
10991 else
10992 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
10993 fi
10994
10995 else
10996
10997 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
10998
10999 fi
11000
11001
11002 eval "$wx_cv_use_headerctrl"
11003
11004 if test x"$enablestring" = xdisable; then
11005 if test $wxUSE_HEADERCTRL = no; then
11006 result=yes
11007 else
11008 result=no
11009 fi
11010 else
11011 result=$wxUSE_HEADERCTRL
11012 fi
11013
11014 { echo "$as_me:$LINENO: result: $result" >&5
11015 echo "${ECHO_T}$result" >&6; }
11016
11017
11018 enablestring=
11019 defaultval=$wxUSE_ALL_FEATURES
11020 if test -z "$defaultval"; then
11021 if test x"$enablestring" = xdisable; then
11022 defaultval=yes
11023 else
11024 defaultval=no
11025 fi
11026 fi
11027
11028 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
11029 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
11030 # Check whether --enable-hyperlink was given.
11031 if test "${enable_hyperlink+set}" = set; then
11032 enableval=$enable_hyperlink;
11033 if test "$enableval" = yes; then
11034 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
11035 else
11036 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
11037 fi
11038
11039 else
11040
11041 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
11042
11043 fi
11044
11045
11046 eval "$wx_cv_use_hyperlink"
11047
11048 if test x"$enablestring" = xdisable; then
11049 if test $wxUSE_HYPERLINKCTRL = no; then
11050 result=yes
11051 else
11052 result=no
11053 fi
11054 else
11055 result=$wxUSE_HYPERLINKCTRL
11056 fi
11057
11058 { echo "$as_me:$LINENO: result: $result" >&5
11059 echo "${ECHO_T}$result" >&6; }
11060
11061
11062 enablestring=
11063 defaultval=$wxUSE_ALL_FEATURES
11064 if test -z "$defaultval"; then
11065 if test x"$enablestring" = xdisable; then
11066 defaultval=yes
11067 else
11068 defaultval=no
11069 fi
11070 fi
11071
11072 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
11073 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
11074 # Check whether --enable-imaglist was given.
11075 if test "${enable_imaglist+set}" = set; then
11076 enableval=$enable_imaglist;
11077 if test "$enableval" = yes; then
11078 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
11079 else
11080 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
11081 fi
11082
11083 else
11084
11085 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11086
11087 fi
11088
11089
11090 eval "$wx_cv_use_imaglist"
11091
11092 if test x"$enablestring" = xdisable; then
11093 if test $wxUSE_IMAGLIST = no; then
11094 result=yes
11095 else
11096 result=no
11097 fi
11098 else
11099 result=$wxUSE_IMAGLIST
11100 fi
11101
11102 { echo "$as_me:$LINENO: result: $result" >&5
11103 echo "${ECHO_T}$result" >&6; }
11104
11105
11106 enablestring=
11107 defaultval=$wxUSE_ALL_FEATURES
11108 if test -z "$defaultval"; then
11109 if test x"$enablestring" = xdisable; then
11110 defaultval=yes
11111 else
11112 defaultval=no
11113 fi
11114 fi
11115
11116 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-infobar" >&5
11117 echo $ECHO_N "checking for --${enablestring:-enable}-infobar... $ECHO_C" >&6; }
11118 # Check whether --enable-infobar was given.
11119 if test "${enable_infobar+set}" = set; then
11120 enableval=$enable_infobar;
11121 if test "$enableval" = yes; then
11122 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
11123 else
11124 wx_cv_use_infobar='wxUSE_INFOBAR=no'
11125 fi
11126
11127 else
11128
11129 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
11130
11131 fi
11132
11133
11134 eval "$wx_cv_use_infobar"
11135
11136 if test x"$enablestring" = xdisable; then
11137 if test $wxUSE_INFOBAR = no; then
11138 result=yes
11139 else
11140 result=no
11141 fi
11142 else
11143 result=$wxUSE_INFOBAR
11144 fi
11145
11146 { echo "$as_me:$LINENO: result: $result" >&5
11147 echo "${ECHO_T}$result" >&6; }
11148
11149
11150 enablestring=
11151 defaultval=$wxUSE_ALL_FEATURES
11152 if test -z "$defaultval"; then
11153 if test x"$enablestring" = xdisable; then
11154 defaultval=yes
11155 else
11156 defaultval=no
11157 fi
11158 fi
11159
11160 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
11161 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
11162 # Check whether --enable-listbook was given.
11163 if test "${enable_listbook+set}" = set; then
11164 enableval=$enable_listbook;
11165 if test "$enableval" = yes; then
11166 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
11167 else
11168 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
11169 fi
11170
11171 else
11172
11173 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11174
11175 fi
11176
11177
11178 eval "$wx_cv_use_listbook"
11179
11180 if test x"$enablestring" = xdisable; then
11181 if test $wxUSE_LISTBOOK = no; then
11182 result=yes
11183 else
11184 result=no
11185 fi
11186 else
11187 result=$wxUSE_LISTBOOK
11188 fi
11189
11190 { echo "$as_me:$LINENO: result: $result" >&5
11191 echo "${ECHO_T}$result" >&6; }
11192
11193
11194 enablestring=
11195 defaultval=$wxUSE_ALL_FEATURES
11196 if test -z "$defaultval"; then
11197 if test x"$enablestring" = xdisable; then
11198 defaultval=yes
11199 else
11200 defaultval=no
11201 fi
11202 fi
11203
11204 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11205 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
11206 # Check whether --enable-listbox was given.
11207 if test "${enable_listbox+set}" = set; then
11208 enableval=$enable_listbox;
11209 if test "$enableval" = yes; then
11210 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
11211 else
11212 wx_cv_use_listbox='wxUSE_LISTBOX=no'
11213 fi
11214
11215 else
11216
11217 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11218
11219 fi
11220
11221
11222 eval "$wx_cv_use_listbox"
11223
11224 if test x"$enablestring" = xdisable; then
11225 if test $wxUSE_LISTBOX = no; then
11226 result=yes
11227 else
11228 result=no
11229 fi
11230 else
11231 result=$wxUSE_LISTBOX
11232 fi
11233
11234 { echo "$as_me:$LINENO: result: $result" >&5
11235 echo "${ECHO_T}$result" >&6; }
11236
11237
11238 enablestring=
11239 defaultval=$wxUSE_ALL_FEATURES
11240 if test -z "$defaultval"; then
11241 if test x"$enablestring" = xdisable; then
11242 defaultval=yes
11243 else
11244 defaultval=no
11245 fi
11246 fi
11247
11248 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
11249 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
11250 # Check whether --enable-listctrl was given.
11251 if test "${enable_listctrl+set}" = set; then
11252 enableval=$enable_listctrl;
11253 if test "$enableval" = yes; then
11254 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11255 else
11256 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
11257 fi
11258
11259 else
11260
11261 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11262
11263 fi
11264
11265
11266 eval "$wx_cv_use_listctrl"
11267
11268 if test x"$enablestring" = xdisable; then
11269 if test $wxUSE_LISTCTRL = no; then
11270 result=yes
11271 else
11272 result=no
11273 fi
11274 else
11275 result=$wxUSE_LISTCTRL
11276 fi
11277
11278 { echo "$as_me:$LINENO: result: $result" >&5
11279 echo "${ECHO_T}$result" >&6; }
11280
11281
11282 enablestring=
11283 defaultval=$wxUSE_ALL_FEATURES
11284 if test -z "$defaultval"; then
11285 if test x"$enablestring" = xdisable; then
11286 defaultval=yes
11287 else
11288 defaultval=no
11289 fi
11290 fi
11291
11292 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11293 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11294 # Check whether --enable-notebook was given.
11295 if test "${enable_notebook+set}" = set; then
11296 enableval=$enable_notebook;
11297 if test "$enableval" = yes; then
11298 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
11299 else
11300 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
11301 fi
11302
11303 else
11304
11305 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11306
11307 fi
11308
11309
11310 eval "$wx_cv_use_notebook"
11311
11312 if test x"$enablestring" = xdisable; then
11313 if test $wxUSE_NOTEBOOK = no; then
11314 result=yes
11315 else
11316 result=no
11317 fi
11318 else
11319 result=$wxUSE_NOTEBOOK
11320 fi
11321
11322 { echo "$as_me:$LINENO: result: $result" >&5
11323 echo "${ECHO_T}$result" >&6; }
11324
11325
11326 enablestring=
11327 defaultval=$wxUSE_ALL_FEATURES
11328 if test -z "$defaultval"; then
11329 if test x"$enablestring" = xdisable; then
11330 defaultval=yes
11331 else
11332 defaultval=no
11333 fi
11334 fi
11335
11336 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
11337 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
11338 # Check whether --enable-notifmsg was given.
11339 if test "${enable_notifmsg+set}" = set; then
11340 enableval=$enable_notifmsg;
11341 if test "$enableval" = yes; then
11342 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
11343 else
11344 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
11345 fi
11346
11347 else
11348
11349 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11350
11351 fi
11352
11353
11354 eval "$wx_cv_use_notifmsg"
11355
11356 if test x"$enablestring" = xdisable; then
11357 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
11358 result=yes
11359 else
11360 result=no
11361 fi
11362 else
11363 result=$wxUSE_NOTIFICATION_MESSAGE
11364 fi
11365
11366 { echo "$as_me:$LINENO: result: $result" >&5
11367 echo "${ECHO_T}$result" >&6; }
11368
11369
11370 enablestring=
11371 defaultval=$wxUSE_ALL_FEATURES
11372 if test -z "$defaultval"; then
11373 if test x"$enablestring" = xdisable; then
11374 defaultval=yes
11375 else
11376 defaultval=no
11377 fi
11378 fi
11379
11380 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11381 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11382 # Check whether --enable-odcombobox was given.
11383 if test "${enable_odcombobox+set}" = set; then
11384 enableval=$enable_odcombobox;
11385 if test "$enableval" = yes; then
11386 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11387 else
11388 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11389 fi
11390
11391 else
11392
11393 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11394
11395 fi
11396
11397
11398 eval "$wx_cv_use_odcombobox"
11399
11400 if test x"$enablestring" = xdisable; then
11401 if test $wxUSE_ODCOMBOBOX = no; then
11402 result=yes
11403 else
11404 result=no
11405 fi
11406 else
11407 result=$wxUSE_ODCOMBOBOX
11408 fi
11409
11410 { echo "$as_me:$LINENO: result: $result" >&5
11411 echo "${ECHO_T}$result" >&6; }
11412
11413
11414 enablestring=
11415 defaultval=$wxUSE_ALL_FEATURES
11416 if test -z "$defaultval"; then
11417 if test x"$enablestring" = xdisable; then
11418 defaultval=yes
11419 else
11420 defaultval=no
11421 fi
11422 fi
11423
11424 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11425 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11426 # Check whether --enable-popupwin was given.
11427 if test "${enable_popupwin+set}" = set; then
11428 enableval=$enable_popupwin;
11429 if test "$enableval" = yes; then
11430 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11431 else
11432 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11433 fi
11434
11435 else
11436
11437 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11438
11439 fi
11440
11441
11442 eval "$wx_cv_use_popupwin"
11443
11444 if test x"$enablestring" = xdisable; then
11445 if test $wxUSE_POPUPWIN = no; then
11446 result=yes
11447 else
11448 result=no
11449 fi
11450 else
11451 result=$wxUSE_POPUPWIN
11452 fi
11453
11454 { echo "$as_me:$LINENO: result: $result" >&5
11455 echo "${ECHO_T}$result" >&6; }
11456
11457
11458 enablestring=
11459 defaultval=$wxUSE_ALL_FEATURES
11460 if test -z "$defaultval"; then
11461 if test x"$enablestring" = xdisable; then
11462 defaultval=yes
11463 else
11464 defaultval=no
11465 fi
11466 fi
11467
11468 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11469 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11470 # Check whether --enable-radiobox was given.
11471 if test "${enable_radiobox+set}" = set; then
11472 enableval=$enable_radiobox;
11473 if test "$enableval" = yes; then
11474 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11475 else
11476 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11477 fi
11478
11479 else
11480
11481 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11482
11483 fi
11484
11485
11486 eval "$wx_cv_use_radiobox"
11487
11488 if test x"$enablestring" = xdisable; then
11489 if test $wxUSE_RADIOBOX = no; then
11490 result=yes
11491 else
11492 result=no
11493 fi
11494 else
11495 result=$wxUSE_RADIOBOX
11496 fi
11497
11498 { echo "$as_me:$LINENO: result: $result" >&5
11499 echo "${ECHO_T}$result" >&6; }
11500
11501
11502 enablestring=
11503 defaultval=$wxUSE_ALL_FEATURES
11504 if test -z "$defaultval"; then
11505 if test x"$enablestring" = xdisable; then
11506 defaultval=yes
11507 else
11508 defaultval=no
11509 fi
11510 fi
11511
11512 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11513 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11514 # Check whether --enable-radiobtn was given.
11515 if test "${enable_radiobtn+set}" = set; then
11516 enableval=$enable_radiobtn;
11517 if test "$enableval" = yes; then
11518 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11519 else
11520 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11521 fi
11522
11523 else
11524
11525 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11526
11527 fi
11528
11529
11530 eval "$wx_cv_use_radiobtn"
11531
11532 if test x"$enablestring" = xdisable; then
11533 if test $wxUSE_RADIOBTN = no; then
11534 result=yes
11535 else
11536 result=no
11537 fi
11538 else
11539 result=$wxUSE_RADIOBTN
11540 fi
11541
11542 { echo "$as_me:$LINENO: result: $result" >&5
11543 echo "${ECHO_T}$result" >&6; }
11544
11545
11546 enablestring=
11547 defaultval=$wxUSE_ALL_FEATURES
11548 if test -z "$defaultval"; then
11549 if test x"$enablestring" = xdisable; then
11550 defaultval=yes
11551 else
11552 defaultval=no
11553 fi
11554 fi
11555
11556 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11557 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11558 # Check whether --enable-rearrangectrl was given.
11559 if test "${enable_rearrangectrl+set}" = set; then
11560 enableval=$enable_rearrangectrl;
11561 if test "$enableval" = yes; then
11562 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
11563 else
11564 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
11565 fi
11566
11567 else
11568
11569 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11570
11571 fi
11572
11573
11574 eval "$wx_cv_use_rearrangectrl"
11575
11576 if test x"$enablestring" = xdisable; then
11577 if test $wxUSE_REARRANGECTRL = no; then
11578 result=yes
11579 else
11580 result=no
11581 fi
11582 else
11583 result=$wxUSE_REARRANGECTRL
11584 fi
11585
11586 { echo "$as_me:$LINENO: result: $result" >&5
11587 echo "${ECHO_T}$result" >&6; }
11588
11589
11590 enablestring=
11591 defaultval=$wxUSE_ALL_FEATURES
11592 if test -z "$defaultval"; then
11593 if test x"$enablestring" = xdisable; then
11594 defaultval=yes
11595 else
11596 defaultval=no
11597 fi
11598 fi
11599
11600 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11601 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11602 # Check whether --enable-sash was given.
11603 if test "${enable_sash+set}" = set; then
11604 enableval=$enable_sash;
11605 if test "$enableval" = yes; then
11606 wx_cv_use_sash='wxUSE_SASH=yes'
11607 else
11608 wx_cv_use_sash='wxUSE_SASH=no'
11609 fi
11610
11611 else
11612
11613 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11614
11615 fi
11616
11617
11618 eval "$wx_cv_use_sash"
11619
11620 if test x"$enablestring" = xdisable; then
11621 if test $wxUSE_SASH = no; then
11622 result=yes
11623 else
11624 result=no
11625 fi
11626 else
11627 result=$wxUSE_SASH
11628 fi
11629
11630 { echo "$as_me:$LINENO: result: $result" >&5
11631 echo "${ECHO_T}$result" >&6; }
11632
11633
11634 enablestring=
11635 defaultval=$wxUSE_ALL_FEATURES
11636 if test -z "$defaultval"; then
11637 if test x"$enablestring" = xdisable; then
11638 defaultval=yes
11639 else
11640 defaultval=no
11641 fi
11642 fi
11643
11644 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11645 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11646 # Check whether --enable-scrollbar was given.
11647 if test "${enable_scrollbar+set}" = set; then
11648 enableval=$enable_scrollbar;
11649 if test "$enableval" = yes; then
11650 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11651 else
11652 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11653 fi
11654
11655 else
11656
11657 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11658
11659 fi
11660
11661
11662 eval "$wx_cv_use_scrollbar"
11663
11664 if test x"$enablestring" = xdisable; then
11665 if test $wxUSE_SCROLLBAR = no; then
11666 result=yes
11667 else
11668 result=no
11669 fi
11670 else
11671 result=$wxUSE_SCROLLBAR
11672 fi
11673
11674 { echo "$as_me:$LINENO: result: $result" >&5
11675 echo "${ECHO_T}$result" >&6; }
11676
11677
11678 enablestring=
11679 defaultval=$wxUSE_ALL_FEATURES
11680 if test -z "$defaultval"; then
11681 if test x"$enablestring" = xdisable; then
11682 defaultval=yes
11683 else
11684 defaultval=no
11685 fi
11686 fi
11687
11688 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11689 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11690 # Check whether --enable-searchctrl was given.
11691 if test "${enable_searchctrl+set}" = set; then
11692 enableval=$enable_searchctrl;
11693 if test "$enableval" = yes; then
11694 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11695 else
11696 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
11697 fi
11698
11699 else
11700
11701 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11702
11703 fi
11704
11705
11706 eval "$wx_cv_use_searchctrl"
11707
11708 if test x"$enablestring" = xdisable; then
11709 if test $wxUSE_SEARCHCTRL = no; then
11710 result=yes
11711 else
11712 result=no
11713 fi
11714 else
11715 result=$wxUSE_SEARCHCTRL
11716 fi
11717
11718 { echo "$as_me:$LINENO: result: $result" >&5
11719 echo "${ECHO_T}$result" >&6; }
11720
11721
11722 enablestring=
11723 defaultval=$wxUSE_ALL_FEATURES
11724 if test -z "$defaultval"; then
11725 if test x"$enablestring" = xdisable; then
11726 defaultval=yes
11727 else
11728 defaultval=no
11729 fi
11730 fi
11731
11732 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11733 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11734 # Check whether --enable-slider was given.
11735 if test "${enable_slider+set}" = set; then
11736 enableval=$enable_slider;
11737 if test "$enableval" = yes; then
11738 wx_cv_use_slider='wxUSE_SLIDER=yes'
11739 else
11740 wx_cv_use_slider='wxUSE_SLIDER=no'
11741 fi
11742
11743 else
11744
11745 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11746
11747 fi
11748
11749
11750 eval "$wx_cv_use_slider"
11751
11752 if test x"$enablestring" = xdisable; then
11753 if test $wxUSE_SLIDER = no; then
11754 result=yes
11755 else
11756 result=no
11757 fi
11758 else
11759 result=$wxUSE_SLIDER
11760 fi
11761
11762 { echo "$as_me:$LINENO: result: $result" >&5
11763 echo "${ECHO_T}$result" >&6; }
11764
11765
11766 enablestring=
11767 defaultval=$wxUSE_ALL_FEATURES
11768 if test -z "$defaultval"; then
11769 if test x"$enablestring" = xdisable; then
11770 defaultval=yes
11771 else
11772 defaultval=no
11773 fi
11774 fi
11775
11776 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11777 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11778 # Check whether --enable-spinbtn was given.
11779 if test "${enable_spinbtn+set}" = set; then
11780 enableval=$enable_spinbtn;
11781 if test "$enableval" = yes; then
11782 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11783 else
11784 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11785 fi
11786
11787 else
11788
11789 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11790
11791 fi
11792
11793
11794 eval "$wx_cv_use_spinbtn"
11795
11796 if test x"$enablestring" = xdisable; then
11797 if test $wxUSE_SPINBTN = no; then
11798 result=yes
11799 else
11800 result=no
11801 fi
11802 else
11803 result=$wxUSE_SPINBTN
11804 fi
11805
11806 { echo "$as_me:$LINENO: result: $result" >&5
11807 echo "${ECHO_T}$result" >&6; }
11808
11809
11810 enablestring=
11811 defaultval=$wxUSE_ALL_FEATURES
11812 if test -z "$defaultval"; then
11813 if test x"$enablestring" = xdisable; then
11814 defaultval=yes
11815 else
11816 defaultval=no
11817 fi
11818 fi
11819
11820 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11821 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11822 # Check whether --enable-spinctrl was given.
11823 if test "${enable_spinctrl+set}" = set; then
11824 enableval=$enable_spinctrl;
11825 if test "$enableval" = yes; then
11826 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11827 else
11828 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11829 fi
11830
11831 else
11832
11833 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11834
11835 fi
11836
11837
11838 eval "$wx_cv_use_spinctrl"
11839
11840 if test x"$enablestring" = xdisable; then
11841 if test $wxUSE_SPINCTRL = no; then
11842 result=yes
11843 else
11844 result=no
11845 fi
11846 else
11847 result=$wxUSE_SPINCTRL
11848 fi
11849
11850 { echo "$as_me:$LINENO: result: $result" >&5
11851 echo "${ECHO_T}$result" >&6; }
11852
11853
11854 enablestring=
11855 defaultval=$wxUSE_ALL_FEATURES
11856 if test -z "$defaultval"; then
11857 if test x"$enablestring" = xdisable; then
11858 defaultval=yes
11859 else
11860 defaultval=no
11861 fi
11862 fi
11863
11864 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11865 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11866 # Check whether --enable-splitter was given.
11867 if test "${enable_splitter+set}" = set; then
11868 enableval=$enable_splitter;
11869 if test "$enableval" = yes; then
11870 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11871 else
11872 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11873 fi
11874
11875 else
11876
11877 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11878
11879 fi
11880
11881
11882 eval "$wx_cv_use_splitter"
11883
11884 if test x"$enablestring" = xdisable; then
11885 if test $wxUSE_SPLITTER = no; then
11886 result=yes
11887 else
11888 result=no
11889 fi
11890 else
11891 result=$wxUSE_SPLITTER
11892 fi
11893
11894 { echo "$as_me:$LINENO: result: $result" >&5
11895 echo "${ECHO_T}$result" >&6; }
11896
11897
11898 enablestring=
11899 defaultval=$wxUSE_ALL_FEATURES
11900 if test -z "$defaultval"; then
11901 if test x"$enablestring" = xdisable; then
11902 defaultval=yes
11903 else
11904 defaultval=no
11905 fi
11906 fi
11907
11908 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11909 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11910 # Check whether --enable-statbmp was given.
11911 if test "${enable_statbmp+set}" = set; then
11912 enableval=$enable_statbmp;
11913 if test "$enableval" = yes; then
11914 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11915 else
11916 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11917 fi
11918
11919 else
11920
11921 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11922
11923 fi
11924
11925
11926 eval "$wx_cv_use_statbmp"
11927
11928 if test x"$enablestring" = xdisable; then
11929 if test $wxUSE_STATBMP = no; then
11930 result=yes
11931 else
11932 result=no
11933 fi
11934 else
11935 result=$wxUSE_STATBMP
11936 fi
11937
11938 { echo "$as_me:$LINENO: result: $result" >&5
11939 echo "${ECHO_T}$result" >&6; }
11940
11941
11942 enablestring=
11943 defaultval=$wxUSE_ALL_FEATURES
11944 if test -z "$defaultval"; then
11945 if test x"$enablestring" = xdisable; then
11946 defaultval=yes
11947 else
11948 defaultval=no
11949 fi
11950 fi
11951
11952 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11953 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11954 # Check whether --enable-statbox was given.
11955 if test "${enable_statbox+set}" = set; then
11956 enableval=$enable_statbox;
11957 if test "$enableval" = yes; then
11958 wx_cv_use_statbox='wxUSE_STATBOX=yes'
11959 else
11960 wx_cv_use_statbox='wxUSE_STATBOX=no'
11961 fi
11962
11963 else
11964
11965 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11966
11967 fi
11968
11969
11970 eval "$wx_cv_use_statbox"
11971
11972 if test x"$enablestring" = xdisable; then
11973 if test $wxUSE_STATBOX = no; then
11974 result=yes
11975 else
11976 result=no
11977 fi
11978 else
11979 result=$wxUSE_STATBOX
11980 fi
11981
11982 { echo "$as_me:$LINENO: result: $result" >&5
11983 echo "${ECHO_T}$result" >&6; }
11984
11985
11986 enablestring=
11987 defaultval=$wxUSE_ALL_FEATURES
11988 if test -z "$defaultval"; then
11989 if test x"$enablestring" = xdisable; then
11990 defaultval=yes
11991 else
11992 defaultval=no
11993 fi
11994 fi
11995
11996 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11997 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11998 # Check whether --enable-statline was given.
11999 if test "${enable_statline+set}" = set; then
12000 enableval=$enable_statline;
12001 if test "$enableval" = yes; then
12002 wx_cv_use_statline='wxUSE_STATLINE=yes'
12003 else
12004 wx_cv_use_statline='wxUSE_STATLINE=no'
12005 fi
12006
12007 else
12008
12009 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
12010
12011 fi
12012
12013
12014 eval "$wx_cv_use_statline"
12015
12016 if test x"$enablestring" = xdisable; then
12017 if test $wxUSE_STATLINE = no; then
12018 result=yes
12019 else
12020 result=no
12021 fi
12022 else
12023 result=$wxUSE_STATLINE
12024 fi
12025
12026 { echo "$as_me:$LINENO: result: $result" >&5
12027 echo "${ECHO_T}$result" >&6; }
12028
12029
12030 enablestring=
12031 defaultval=$wxUSE_ALL_FEATURES
12032 if test -z "$defaultval"; then
12033 if test x"$enablestring" = xdisable; then
12034 defaultval=yes
12035 else
12036 defaultval=no
12037 fi
12038 fi
12039
12040 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
12041 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
12042 # Check whether --enable-stattext was given.
12043 if test "${enable_stattext+set}" = set; then
12044 enableval=$enable_stattext;
12045 if test "$enableval" = yes; then
12046 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
12047 else
12048 wx_cv_use_stattext='wxUSE_STATTEXT=no'
12049 fi
12050
12051 else
12052
12053 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12054
12055 fi
12056
12057
12058 eval "$wx_cv_use_stattext"
12059
12060 if test x"$enablestring" = xdisable; then
12061 if test $wxUSE_STATTEXT = no; then
12062 result=yes
12063 else
12064 result=no
12065 fi
12066 else
12067 result=$wxUSE_STATTEXT
12068 fi
12069
12070 { echo "$as_me:$LINENO: result: $result" >&5
12071 echo "${ECHO_T}$result" >&6; }
12072
12073
12074 enablestring=
12075 defaultval=$wxUSE_ALL_FEATURES
12076 if test -z "$defaultval"; then
12077 if test x"$enablestring" = xdisable; then
12078 defaultval=yes
12079 else
12080 defaultval=no
12081 fi
12082 fi
12083
12084 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
12085 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
12086 # Check whether --enable-statusbar was given.
12087 if test "${enable_statusbar+set}" = set; then
12088 enableval=$enable_statusbar;
12089 if test "$enableval" = yes; then
12090 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
12091 else
12092 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
12093 fi
12094
12095 else
12096
12097 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12098
12099 fi
12100
12101
12102 eval "$wx_cv_use_statusbar"
12103
12104 if test x"$enablestring" = xdisable; then
12105 if test $wxUSE_STATUSBAR = no; then
12106 result=yes
12107 else
12108 result=no
12109 fi
12110 else
12111 result=$wxUSE_STATUSBAR
12112 fi
12113
12114 { echo "$as_me:$LINENO: result: $result" >&5
12115 echo "${ECHO_T}$result" >&6; }
12116
12117
12118 enablestring=
12119 defaultval=$wxUSE_ALL_FEATURES
12120 if test -z "$defaultval"; then
12121 if test x"$enablestring" = xdisable; then
12122 defaultval=yes
12123 else
12124 defaultval=no
12125 fi
12126 fi
12127
12128 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
12129 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
12130 # Check whether --enable-taskbaricon was given.
12131 if test "${enable_taskbaricon+set}" = set; then
12132 enableval=$enable_taskbaricon;
12133 if test "$enableval" = yes; then
12134 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
12135 else
12136 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
12137 fi
12138
12139 else
12140
12141 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
12142
12143 fi
12144
12145
12146 eval "$wx_cv_use_taskbaricon"
12147
12148 if test x"$enablestring" = xdisable; then
12149 if test $wxUSE_TASKBARICON = no; then
12150 result=yes
12151 else
12152 result=no
12153 fi
12154 else
12155 result=$wxUSE_TASKBARICON
12156 fi
12157
12158 { echo "$as_me:$LINENO: result: $result" >&5
12159 echo "${ECHO_T}$result" >&6; }
12160
12161
12162 enablestring=
12163 defaultval=$wxUSE_ALL_FEATURES
12164 if test -z "$defaultval"; then
12165 if test x"$enablestring" = xdisable; then
12166 defaultval=yes
12167 else
12168 defaultval=no
12169 fi
12170 fi
12171
12172 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
12173 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
12174 # Check whether --enable-tbarnative was given.
12175 if test "${enable_tbarnative+set}" = set; then
12176 enableval=$enable_tbarnative;
12177 if test "$enableval" = yes; then
12178 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
12179 else
12180 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
12181 fi
12182
12183 else
12184
12185 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
12186
12187 fi
12188
12189
12190 eval "$wx_cv_use_tbarnative"
12191
12192 if test x"$enablestring" = xdisable; then
12193 if test $wxUSE_TOOLBAR_NATIVE = no; then
12194 result=yes
12195 else
12196 result=no
12197 fi
12198 else
12199 result=$wxUSE_TOOLBAR_NATIVE
12200 fi
12201
12202 { echo "$as_me:$LINENO: result: $result" >&5
12203 echo "${ECHO_T}$result" >&6; }
12204
12205
12206 enablestring=
12207 defaultval=$wxUSE_ALL_FEATURES
12208 if test -z "$defaultval"; then
12209 if test x"$enablestring" = xdisable; then
12210 defaultval=yes
12211 else
12212 defaultval=no
12213 fi
12214 fi
12215
12216 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12217 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
12218 # Check whether --enable-textctrl was given.
12219 if test "${enable_textctrl+set}" = set; then
12220 enableval=$enable_textctrl;
12221 if test "$enableval" = yes; then
12222 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
12223 else
12224 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
12225 fi
12226
12227 else
12228
12229 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12230
12231 fi
12232
12233
12234 eval "$wx_cv_use_textctrl"
12235
12236 if test x"$enablestring" = xdisable; then
12237 if test $wxUSE_TEXTCTRL = no; then
12238 result=yes
12239 else
12240 result=no
12241 fi
12242 else
12243 result=$wxUSE_TEXTCTRL
12244 fi
12245
12246 { echo "$as_me:$LINENO: result: $result" >&5
12247 echo "${ECHO_T}$result" >&6; }
12248
12249
12250 enablestring=
12251 defaultval=$wxUSE_ALL_FEATURES
12252 if test -z "$defaultval"; then
12253 if test x"$enablestring" = xdisable; then
12254 defaultval=yes
12255 else
12256 defaultval=no
12257 fi
12258 fi
12259
12260 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12261 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12262 # Check whether --enable-tipwindow was given.
12263 if test "${enable_tipwindow+set}" = set; then
12264 enableval=$enable_tipwindow;
12265 if test "$enableval" = yes; then
12266 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12267 else
12268 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12269 fi
12270
12271 else
12272
12273 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12274
12275 fi
12276
12277
12278 eval "$wx_cv_use_tipwindow"
12279
12280 if test x"$enablestring" = xdisable; then
12281 if test $wxUSE_TIPWINDOW = no; then
12282 result=yes
12283 else
12284 result=no
12285 fi
12286 else
12287 result=$wxUSE_TIPWINDOW
12288 fi
12289
12290 { echo "$as_me:$LINENO: result: $result" >&5
12291 echo "${ECHO_T}$result" >&6; }
12292
12293
12294 enablestring=
12295 defaultval=$wxUSE_ALL_FEATURES
12296 if test -z "$defaultval"; then
12297 if test x"$enablestring" = xdisable; then
12298 defaultval=yes
12299 else
12300 defaultval=no
12301 fi
12302 fi
12303
12304 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12305 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12306 # Check whether --enable-togglebtn was given.
12307 if test "${enable_togglebtn+set}" = set; then
12308 enableval=$enable_togglebtn;
12309 if test "$enableval" = yes; then
12310 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
12311 else
12312 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
12313 fi
12314
12315 else
12316
12317 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12318
12319 fi
12320
12321
12322 eval "$wx_cv_use_togglebtn"
12323
12324 if test x"$enablestring" = xdisable; then
12325 if test $wxUSE_TOGGLEBTN = no; then
12326 result=yes
12327 else
12328 result=no
12329 fi
12330 else
12331 result=$wxUSE_TOGGLEBTN
12332 fi
12333
12334 { echo "$as_me:$LINENO: result: $result" >&5
12335 echo "${ECHO_T}$result" >&6; }
12336
12337
12338 enablestring=
12339 defaultval=$wxUSE_ALL_FEATURES
12340 if test -z "$defaultval"; then
12341 if test x"$enablestring" = xdisable; then
12342 defaultval=yes
12343 else
12344 defaultval=no
12345 fi
12346 fi
12347
12348 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12349 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12350 # Check whether --enable-toolbar was given.
12351 if test "${enable_toolbar+set}" = set; then
12352 enableval=$enable_toolbar;
12353 if test "$enableval" = yes; then
12354 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
12355 else
12356 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
12357 fi
12358
12359 else
12360
12361 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12362
12363 fi
12364
12365
12366 eval "$wx_cv_use_toolbar"
12367
12368 if test x"$enablestring" = xdisable; then
12369 if test $wxUSE_TOOLBAR = no; then
12370 result=yes
12371 else
12372 result=no
12373 fi
12374 else
12375 result=$wxUSE_TOOLBAR
12376 fi
12377
12378 { echo "$as_me:$LINENO: result: $result" >&5
12379 echo "${ECHO_T}$result" >&6; }
12380
12381
12382 enablestring=
12383 defaultval=$wxUSE_ALL_FEATURES
12384 if test -z "$defaultval"; then
12385 if test x"$enablestring" = xdisable; then
12386 defaultval=yes
12387 else
12388 defaultval=no
12389 fi
12390 fi
12391
12392 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12393 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12394 # Check whether --enable-toolbook was given.
12395 if test "${enable_toolbook+set}" = set; then
12396 enableval=$enable_toolbook;
12397 if test "$enableval" = yes; then
12398 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12399 else
12400 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12401 fi
12402
12403 else
12404
12405 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12406
12407 fi
12408
12409
12410 eval "$wx_cv_use_toolbook"
12411
12412 if test x"$enablestring" = xdisable; then
12413 if test $wxUSE_TOOLBOOK = no; then
12414 result=yes
12415 else
12416 result=no
12417 fi
12418 else
12419 result=$wxUSE_TOOLBOOK
12420 fi
12421
12422 { echo "$as_me:$LINENO: result: $result" >&5
12423 echo "${ECHO_T}$result" >&6; }
12424
12425
12426 enablestring=
12427 defaultval=$wxUSE_ALL_FEATURES
12428 if test -z "$defaultval"; then
12429 if test x"$enablestring" = xdisable; then
12430 defaultval=yes
12431 else
12432 defaultval=no
12433 fi
12434 fi
12435
12436 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12437 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12438 # Check whether --enable-treebook was given.
12439 if test "${enable_treebook+set}" = set; then
12440 enableval=$enable_treebook;
12441 if test "$enableval" = yes; then
12442 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
12443 else
12444 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
12445 fi
12446
12447 else
12448
12449 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12450
12451 fi
12452
12453
12454 eval "$wx_cv_use_treebook"
12455
12456 if test x"$enablestring" = xdisable; then
12457 if test $wxUSE_TREEBOOK = no; then
12458 result=yes
12459 else
12460 result=no
12461 fi
12462 else
12463 result=$wxUSE_TREEBOOK
12464 fi
12465
12466 { echo "$as_me:$LINENO: result: $result" >&5
12467 echo "${ECHO_T}$result" >&6; }
12468
12469
12470 enablestring=
12471 defaultval=$wxUSE_ALL_FEATURES
12472 if test -z "$defaultval"; then
12473 if test x"$enablestring" = xdisable; then
12474 defaultval=yes
12475 else
12476 defaultval=no
12477 fi
12478 fi
12479
12480 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12481 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12482 # Check whether --enable-treectrl was given.
12483 if test "${enable_treectrl+set}" = set; then
12484 enableval=$enable_treectrl;
12485 if test "$enableval" = yes; then
12486 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12487 else
12488 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12489 fi
12490
12491 else
12492
12493 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12494
12495 fi
12496
12497
12498 eval "$wx_cv_use_treectrl"
12499
12500 if test x"$enablestring" = xdisable; then
12501 if test $wxUSE_TREECTRL = no; then
12502 result=yes
12503 else
12504 result=no
12505 fi
12506 else
12507 result=$wxUSE_TREECTRL
12508 fi
12509
12510 { echo "$as_me:$LINENO: result: $result" >&5
12511 echo "${ECHO_T}$result" >&6; }
12512
12513
12514
12515
12516 enablestring=
12517 defaultval=$wxUSE_ALL_FEATURES
12518 if test -z "$defaultval"; then
12519 if test x"$enablestring" = xdisable; then
12520 defaultval=yes
12521 else
12522 defaultval=no
12523 fi
12524 fi
12525
12526 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12527 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12528 # Check whether --enable-commondlg was given.
12529 if test "${enable_commondlg+set}" = set; then
12530 enableval=$enable_commondlg;
12531 if test "$enableval" = yes; then
12532 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12533 else
12534 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12535 fi
12536
12537 else
12538
12539 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12540
12541 fi
12542
12543
12544 eval "$wx_cv_use_commondlg"
12545
12546 if test x"$enablestring" = xdisable; then
12547 if test $wxUSE_COMMONDLGS = no; then
12548 result=yes
12549 else
12550 result=no
12551 fi
12552 else
12553 result=$wxUSE_COMMONDLGS
12554 fi
12555
12556 { echo "$as_me:$LINENO: result: $result" >&5
12557 echo "${ECHO_T}$result" >&6; }
12558
12559
12560 enablestring=
12561 defaultval=$wxUSE_ALL_FEATURES
12562 if test -z "$defaultval"; then
12563 if test x"$enablestring" = xdisable; then
12564 defaultval=yes
12565 else
12566 defaultval=no
12567 fi
12568 fi
12569
12570 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12571 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12572 # Check whether --enable-aboutdlg was given.
12573 if test "${enable_aboutdlg+set}" = set; then
12574 enableval=$enable_aboutdlg;
12575 if test "$enableval" = yes; then
12576 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12577 else
12578 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12579 fi
12580
12581 else
12582
12583 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12584
12585 fi
12586
12587
12588 eval "$wx_cv_use_aboutdlg"
12589
12590 if test x"$enablestring" = xdisable; then
12591 if test $wxUSE_ABOUTDLG = no; then
12592 result=yes
12593 else
12594 result=no
12595 fi
12596 else
12597 result=$wxUSE_ABOUTDLG
12598 fi
12599
12600 { echo "$as_me:$LINENO: result: $result" >&5
12601 echo "${ECHO_T}$result" >&6; }
12602
12603
12604 enablestring=
12605 defaultval=$wxUSE_ALL_FEATURES
12606 if test -z "$defaultval"; then
12607 if test x"$enablestring" = xdisable; then
12608 defaultval=yes
12609 else
12610 defaultval=no
12611 fi
12612 fi
12613
12614 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12615 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12616 # Check whether --enable-choicedlg was given.
12617 if test "${enable_choicedlg+set}" = set; then
12618 enableval=$enable_choicedlg;
12619 if test "$enableval" = yes; then
12620 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12621 else
12622 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12623 fi
12624
12625 else
12626
12627 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12628
12629 fi
12630
12631
12632 eval "$wx_cv_use_choicedlg"
12633
12634 if test x"$enablestring" = xdisable; then
12635 if test $wxUSE_CHOICEDLG = no; then
12636 result=yes
12637 else
12638 result=no
12639 fi
12640 else
12641 result=$wxUSE_CHOICEDLG
12642 fi
12643
12644 { echo "$as_me:$LINENO: result: $result" >&5
12645 echo "${ECHO_T}$result" >&6; }
12646
12647
12648 enablestring=
12649 defaultval=$wxUSE_ALL_FEATURES
12650 if test -z "$defaultval"; then
12651 if test x"$enablestring" = xdisable; then
12652 defaultval=yes
12653 else
12654 defaultval=no
12655 fi
12656 fi
12657
12658 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12659 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12660 # Check whether --enable-coldlg was given.
12661 if test "${enable_coldlg+set}" = set; then
12662 enableval=$enable_coldlg;
12663 if test "$enableval" = yes; then
12664 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12665 else
12666 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12667 fi
12668
12669 else
12670
12671 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12672
12673 fi
12674
12675
12676 eval "$wx_cv_use_coldlg"
12677
12678 if test x"$enablestring" = xdisable; then
12679 if test $wxUSE_COLOURDLG = no; then
12680 result=yes
12681 else
12682 result=no
12683 fi
12684 else
12685 result=$wxUSE_COLOURDLG
12686 fi
12687
12688 { echo "$as_me:$LINENO: result: $result" >&5
12689 echo "${ECHO_T}$result" >&6; }
12690
12691
12692 enablestring=
12693 defaultval=$wxUSE_ALL_FEATURES
12694 if test -z "$defaultval"; then
12695 if test x"$enablestring" = xdisable; then
12696 defaultval=yes
12697 else
12698 defaultval=no
12699 fi
12700 fi
12701
12702 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12703 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12704 # Check whether --enable-filedlg was given.
12705 if test "${enable_filedlg+set}" = set; then
12706 enableval=$enable_filedlg;
12707 if test "$enableval" = yes; then
12708 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12709 else
12710 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12711 fi
12712
12713 else
12714
12715 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12716
12717 fi
12718
12719
12720 eval "$wx_cv_use_filedlg"
12721
12722 if test x"$enablestring" = xdisable; then
12723 if test $wxUSE_FILEDLG = no; then
12724 result=yes
12725 else
12726 result=no
12727 fi
12728 else
12729 result=$wxUSE_FILEDLG
12730 fi
12731
12732 { echo "$as_me:$LINENO: result: $result" >&5
12733 echo "${ECHO_T}$result" >&6; }
12734
12735
12736 enablestring=
12737 defaultval=$wxUSE_ALL_FEATURES
12738 if test -z "$defaultval"; then
12739 if test x"$enablestring" = xdisable; then
12740 defaultval=yes
12741 else
12742 defaultval=no
12743 fi
12744 fi
12745
12746 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12747 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12748 # Check whether --enable-finddlg was given.
12749 if test "${enable_finddlg+set}" = set; then
12750 enableval=$enable_finddlg;
12751 if test "$enableval" = yes; then
12752 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12753 else
12754 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12755 fi
12756
12757 else
12758
12759 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12760
12761 fi
12762
12763
12764 eval "$wx_cv_use_finddlg"
12765
12766 if test x"$enablestring" = xdisable; then
12767 if test $wxUSE_FINDREPLDLG = no; then
12768 result=yes
12769 else
12770 result=no
12771 fi
12772 else
12773 result=$wxUSE_FINDREPLDLG
12774 fi
12775
12776 { echo "$as_me:$LINENO: result: $result" >&5
12777 echo "${ECHO_T}$result" >&6; }
12778
12779
12780 enablestring=
12781 defaultval=$wxUSE_ALL_FEATURES
12782 if test -z "$defaultval"; then
12783 if test x"$enablestring" = xdisable; then
12784 defaultval=yes
12785 else
12786 defaultval=no
12787 fi
12788 fi
12789
12790 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12791 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12792 # Check whether --enable-fontdlg was given.
12793 if test "${enable_fontdlg+set}" = set; then
12794 enableval=$enable_fontdlg;
12795 if test "$enableval" = yes; then
12796 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12797 else
12798 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12799 fi
12800
12801 else
12802
12803 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12804
12805 fi
12806
12807
12808 eval "$wx_cv_use_fontdlg"
12809
12810 if test x"$enablestring" = xdisable; then
12811 if test $wxUSE_FONTDLG = no; then
12812 result=yes
12813 else
12814 result=no
12815 fi
12816 else
12817 result=$wxUSE_FONTDLG
12818 fi
12819
12820 { echo "$as_me:$LINENO: result: $result" >&5
12821 echo "${ECHO_T}$result" >&6; }
12822
12823
12824 enablestring=
12825 defaultval=$wxUSE_ALL_FEATURES
12826 if test -z "$defaultval"; then
12827 if test x"$enablestring" = xdisable; then
12828 defaultval=yes
12829 else
12830 defaultval=no
12831 fi
12832 fi
12833
12834 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12835 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12836 # Check whether --enable-dirdlg was given.
12837 if test "${enable_dirdlg+set}" = set; then
12838 enableval=$enable_dirdlg;
12839 if test "$enableval" = yes; then
12840 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12841 else
12842 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12843 fi
12844
12845 else
12846
12847 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12848
12849 fi
12850
12851
12852 eval "$wx_cv_use_dirdlg"
12853
12854 if test x"$enablestring" = xdisable; then
12855 if test $wxUSE_DIRDLG = no; then
12856 result=yes
12857 else
12858 result=no
12859 fi
12860 else
12861 result=$wxUSE_DIRDLG
12862 fi
12863
12864 { echo "$as_me:$LINENO: result: $result" >&5
12865 echo "${ECHO_T}$result" >&6; }
12866
12867
12868 enablestring=
12869 defaultval=$wxUSE_ALL_FEATURES
12870 if test -z "$defaultval"; then
12871 if test x"$enablestring" = xdisable; then
12872 defaultval=yes
12873 else
12874 defaultval=no
12875 fi
12876 fi
12877
12878 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12879 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12880 # Check whether --enable-msgdlg was given.
12881 if test "${enable_msgdlg+set}" = set; then
12882 enableval=$enable_msgdlg;
12883 if test "$enableval" = yes; then
12884 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12885 else
12886 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12887 fi
12888
12889 else
12890
12891 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12892
12893 fi
12894
12895
12896 eval "$wx_cv_use_msgdlg"
12897
12898 if test x"$enablestring" = xdisable; then
12899 if test $wxUSE_MSGDLG = no; then
12900 result=yes
12901 else
12902 result=no
12903 fi
12904 else
12905 result=$wxUSE_MSGDLG
12906 fi
12907
12908 { echo "$as_me:$LINENO: result: $result" >&5
12909 echo "${ECHO_T}$result" >&6; }
12910
12911
12912 enablestring=
12913 defaultval=$wxUSE_ALL_FEATURES
12914 if test -z "$defaultval"; then
12915 if test x"$enablestring" = xdisable; then
12916 defaultval=yes
12917 else
12918 defaultval=no
12919 fi
12920 fi
12921
12922 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12923 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12924 # Check whether --enable-numberdlg was given.
12925 if test "${enable_numberdlg+set}" = set; then
12926 enableval=$enable_numberdlg;
12927 if test "$enableval" = yes; then
12928 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12929 else
12930 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12931 fi
12932
12933 else
12934
12935 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12936
12937 fi
12938
12939
12940 eval "$wx_cv_use_numberdlg"
12941
12942 if test x"$enablestring" = xdisable; then
12943 if test $wxUSE_NUMBERDLG = no; then
12944 result=yes
12945 else
12946 result=no
12947 fi
12948 else
12949 result=$wxUSE_NUMBERDLG
12950 fi
12951
12952 { echo "$as_me:$LINENO: result: $result" >&5
12953 echo "${ECHO_T}$result" >&6; }
12954
12955
12956 enablestring=
12957 defaultval=$wxUSE_ALL_FEATURES
12958 if test -z "$defaultval"; then
12959 if test x"$enablestring" = xdisable; then
12960 defaultval=yes
12961 else
12962 defaultval=no
12963 fi
12964 fi
12965
12966 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12967 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12968 # Check whether --enable-splash was given.
12969 if test "${enable_splash+set}" = set; then
12970 enableval=$enable_splash;
12971 if test "$enableval" = yes; then
12972 wx_cv_use_splash='wxUSE_SPLASH=yes'
12973 else
12974 wx_cv_use_splash='wxUSE_SPLASH=no'
12975 fi
12976
12977 else
12978
12979 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12980
12981 fi
12982
12983
12984 eval "$wx_cv_use_splash"
12985
12986 if test x"$enablestring" = xdisable; then
12987 if test $wxUSE_SPLASH = no; then
12988 result=yes
12989 else
12990 result=no
12991 fi
12992 else
12993 result=$wxUSE_SPLASH
12994 fi
12995
12996 { echo "$as_me:$LINENO: result: $result" >&5
12997 echo "${ECHO_T}$result" >&6; }
12998
12999
13000 enablestring=
13001 defaultval=$wxUSE_ALL_FEATURES
13002 if test -z "$defaultval"; then
13003 if test x"$enablestring" = xdisable; then
13004 defaultval=yes
13005 else
13006 defaultval=no
13007 fi
13008 fi
13009
13010 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
13011 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
13012 # Check whether --enable-textdlg was given.
13013 if test "${enable_textdlg+set}" = set; then
13014 enableval=$enable_textdlg;
13015 if test "$enableval" = yes; then
13016 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
13017 else
13018 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
13019 fi
13020
13021 else
13022
13023 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
13024
13025 fi
13026
13027
13028 eval "$wx_cv_use_textdlg"
13029
13030 if test x"$enablestring" = xdisable; then
13031 if test $wxUSE_TEXTDLG = no; then
13032 result=yes
13033 else
13034 result=no
13035 fi
13036 else
13037 result=$wxUSE_TEXTDLG
13038 fi
13039
13040 { echo "$as_me:$LINENO: result: $result" >&5
13041 echo "${ECHO_T}$result" >&6; }
13042
13043
13044 enablestring=
13045 defaultval=$wxUSE_ALL_FEATURES
13046 if test -z "$defaultval"; then
13047 if test x"$enablestring" = xdisable; then
13048 defaultval=yes
13049 else
13050 defaultval=no
13051 fi
13052 fi
13053
13054 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
13055 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
13056 # Check whether --enable-tipdlg was given.
13057 if test "${enable_tipdlg+set}" = set; then
13058 enableval=$enable_tipdlg;
13059 if test "$enableval" = yes; then
13060 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
13061 else
13062 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
13063 fi
13064
13065 else
13066
13067 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
13068
13069 fi
13070
13071
13072 eval "$wx_cv_use_tipdlg"
13073
13074 if test x"$enablestring" = xdisable; then
13075 if test $wxUSE_STARTUP_TIPS = no; then
13076 result=yes
13077 else
13078 result=no
13079 fi
13080 else
13081 result=$wxUSE_STARTUP_TIPS
13082 fi
13083
13084 { echo "$as_me:$LINENO: result: $result" >&5
13085 echo "${ECHO_T}$result" >&6; }
13086
13087
13088 enablestring=
13089 defaultval=$wxUSE_ALL_FEATURES
13090 if test -z "$defaultval"; then
13091 if test x"$enablestring" = xdisable; then
13092 defaultval=yes
13093 else
13094 defaultval=no
13095 fi
13096 fi
13097
13098 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
13099 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
13100 # Check whether --enable-progressdlg was given.
13101 if test "${enable_progressdlg+set}" = set; then
13102 enableval=$enable_progressdlg;
13103 if test "$enableval" = yes; then
13104 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
13105 else
13106 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
13107 fi
13108
13109 else
13110
13111 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
13112
13113 fi
13114
13115
13116 eval "$wx_cv_use_progressdlg"
13117
13118 if test x"$enablestring" = xdisable; then
13119 if test $wxUSE_PROGRESSDLG = no; then
13120 result=yes
13121 else
13122 result=no
13123 fi
13124 else
13125 result=$wxUSE_PROGRESSDLG
13126 fi
13127
13128 { echo "$as_me:$LINENO: result: $result" >&5
13129 echo "${ECHO_T}$result" >&6; }
13130
13131
13132 enablestring=
13133 defaultval=$wxUSE_ALL_FEATURES
13134 if test -z "$defaultval"; then
13135 if test x"$enablestring" = xdisable; then
13136 defaultval=yes
13137 else
13138 defaultval=no
13139 fi
13140 fi
13141
13142 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
13143 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
13144 # Check whether --enable-wizarddlg was given.
13145 if test "${enable_wizarddlg+set}" = set; then
13146 enableval=$enable_wizarddlg;
13147 if test "$enableval" = yes; then
13148 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
13149 else
13150 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
13151 fi
13152
13153 else
13154
13155 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
13156
13157 fi
13158
13159
13160 eval "$wx_cv_use_wizarddlg"
13161
13162 if test x"$enablestring" = xdisable; then
13163 if test $wxUSE_WIZARDDLG = no; then
13164 result=yes
13165 else
13166 result=no
13167 fi
13168 else
13169 result=$wxUSE_WIZARDDLG
13170 fi
13171
13172 { echo "$as_me:$LINENO: result: $result" >&5
13173 echo "${ECHO_T}$result" >&6; }
13174
13175
13176
13177
13178 enablestring=
13179 defaultval=$wxUSE_ALL_FEATURES
13180 if test -z "$defaultval"; then
13181 if test x"$enablestring" = xdisable; then
13182 defaultval=yes
13183 else
13184 defaultval=no
13185 fi
13186 fi
13187
13188 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
13189 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
13190 # Check whether --enable-menus was given.
13191 if test "${enable_menus+set}" = set; then
13192 enableval=$enable_menus;
13193 if test "$enableval" = yes; then
13194 wx_cv_use_menus='wxUSE_MENUS=yes'
13195 else
13196 wx_cv_use_menus='wxUSE_MENUS=no'
13197 fi
13198
13199 else
13200
13201 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
13202
13203 fi
13204
13205
13206 eval "$wx_cv_use_menus"
13207
13208 if test x"$enablestring" = xdisable; then
13209 if test $wxUSE_MENUS = no; then
13210 result=yes
13211 else
13212 result=no
13213 fi
13214 else
13215 result=$wxUSE_MENUS
13216 fi
13217
13218 { echo "$as_me:$LINENO: result: $result" >&5
13219 echo "${ECHO_T}$result" >&6; }
13220
13221
13222 enablestring=
13223 defaultval=$wxUSE_ALL_FEATURES
13224 if test -z "$defaultval"; then
13225 if test x"$enablestring" = xdisable; then
13226 defaultval=yes
13227 else
13228 defaultval=no
13229 fi
13230 fi
13231
13232 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
13233 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
13234 # Check whether --enable-miniframe was given.
13235 if test "${enable_miniframe+set}" = set; then
13236 enableval=$enable_miniframe;
13237 if test "$enableval" = yes; then
13238 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
13239 else
13240 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
13241 fi
13242
13243 else
13244
13245 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13246
13247 fi
13248
13249
13250 eval "$wx_cv_use_miniframe"
13251
13252 if test x"$enablestring" = xdisable; then
13253 if test $wxUSE_MINIFRAME = no; then
13254 result=yes
13255 else
13256 result=no
13257 fi
13258 else
13259 result=$wxUSE_MINIFRAME
13260 fi
13261
13262 { echo "$as_me:$LINENO: result: $result" >&5
13263 echo "${ECHO_T}$result" >&6; }
13264
13265
13266 enablestring=
13267 defaultval=$wxUSE_ALL_FEATURES
13268 if test -z "$defaultval"; then
13269 if test x"$enablestring" = xdisable; then
13270 defaultval=yes
13271 else
13272 defaultval=no
13273 fi
13274 fi
13275
13276 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
13277 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
13278 # Check whether --enable-tooltips was given.
13279 if test "${enable_tooltips+set}" = set; then
13280 enableval=$enable_tooltips;
13281 if test "$enableval" = yes; then
13282 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
13283 else
13284 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
13285 fi
13286
13287 else
13288
13289 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13290
13291 fi
13292
13293
13294 eval "$wx_cv_use_tooltips"
13295
13296 if test x"$enablestring" = xdisable; then
13297 if test $wxUSE_TOOLTIPS = no; then
13298 result=yes
13299 else
13300 result=no
13301 fi
13302 else
13303 result=$wxUSE_TOOLTIPS
13304 fi
13305
13306 { echo "$as_me:$LINENO: result: $result" >&5
13307 echo "${ECHO_T}$result" >&6; }
13308
13309
13310 enablestring=
13311 defaultval=$wxUSE_ALL_FEATURES
13312 if test -z "$defaultval"; then
13313 if test x"$enablestring" = xdisable; then
13314 defaultval=yes
13315 else
13316 defaultval=no
13317 fi
13318 fi
13319
13320 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
13321 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
13322 # Check whether --enable-splines was given.
13323 if test "${enable_splines+set}" = set; then
13324 enableval=$enable_splines;
13325 if test "$enableval" = yes; then
13326 wx_cv_use_splines='wxUSE_SPLINES=yes'
13327 else
13328 wx_cv_use_splines='wxUSE_SPLINES=no'
13329 fi
13330
13331 else
13332
13333 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13334
13335 fi
13336
13337
13338 eval "$wx_cv_use_splines"
13339
13340 if test x"$enablestring" = xdisable; then
13341 if test $wxUSE_SPLINES = no; then
13342 result=yes
13343 else
13344 result=no
13345 fi
13346 else
13347 result=$wxUSE_SPLINES
13348 fi
13349
13350 { echo "$as_me:$LINENO: result: $result" >&5
13351 echo "${ECHO_T}$result" >&6; }
13352
13353
13354 enablestring=
13355 defaultval=$wxUSE_ALL_FEATURES
13356 if test -z "$defaultval"; then
13357 if test x"$enablestring" = xdisable; then
13358 defaultval=yes
13359 else
13360 defaultval=no
13361 fi
13362 fi
13363
13364 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13365 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13366 # Check whether --enable-mousewheel was given.
13367 if test "${enable_mousewheel+set}" = set; then
13368 enableval=$enable_mousewheel;
13369 if test "$enableval" = yes; then
13370 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
13371 else
13372 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
13373 fi
13374
13375 else
13376
13377 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13378
13379 fi
13380
13381
13382 eval "$wx_cv_use_mousewheel"
13383
13384 if test x"$enablestring" = xdisable; then
13385 if test $wxUSE_MOUSEWHEEL = no; then
13386 result=yes
13387 else
13388 result=no
13389 fi
13390 else
13391 result=$wxUSE_MOUSEWHEEL
13392 fi
13393
13394 { echo "$as_me:$LINENO: result: $result" >&5
13395 echo "${ECHO_T}$result" >&6; }
13396
13397
13398 enablestring=
13399 defaultval=$wxUSE_ALL_FEATURES
13400 if test -z "$defaultval"; then
13401 if test x"$enablestring" = xdisable; then
13402 defaultval=yes
13403 else
13404 defaultval=no
13405 fi
13406 fi
13407
13408 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13409 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13410 # Check whether --enable-validators was given.
13411 if test "${enable_validators+set}" = set; then
13412 enableval=$enable_validators;
13413 if test "$enableval" = yes; then
13414 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13415 else
13416 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13417 fi
13418
13419 else
13420
13421 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13422
13423 fi
13424
13425
13426 eval "$wx_cv_use_validators"
13427
13428 if test x"$enablestring" = xdisable; then
13429 if test $wxUSE_VALIDATORS = no; then
13430 result=yes
13431 else
13432 result=no
13433 fi
13434 else
13435 result=$wxUSE_VALIDATORS
13436 fi
13437
13438 { echo "$as_me:$LINENO: result: $result" >&5
13439 echo "${ECHO_T}$result" >&6; }
13440
13441
13442 enablestring=
13443 defaultval=$wxUSE_ALL_FEATURES
13444 if test -z "$defaultval"; then
13445 if test x"$enablestring" = xdisable; then
13446 defaultval=yes
13447 else
13448 defaultval=no
13449 fi
13450 fi
13451
13452 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13453 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13454 # Check whether --enable-busyinfo was given.
13455 if test "${enable_busyinfo+set}" = set; then
13456 enableval=$enable_busyinfo;
13457 if test "$enableval" = yes; then
13458 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13459 else
13460 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13461 fi
13462
13463 else
13464
13465 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13466
13467 fi
13468
13469
13470 eval "$wx_cv_use_busyinfo"
13471
13472 if test x"$enablestring" = xdisable; then
13473 if test $wxUSE_BUSYINFO = no; then
13474 result=yes
13475 else
13476 result=no
13477 fi
13478 else
13479 result=$wxUSE_BUSYINFO
13480 fi
13481
13482 { echo "$as_me:$LINENO: result: $result" >&5
13483 echo "${ECHO_T}$result" >&6; }
13484
13485
13486 enablestring=
13487 defaultval=$wxUSE_ALL_FEATURES
13488 if test -z "$defaultval"; then
13489 if test x"$enablestring" = xdisable; then
13490 defaultval=yes
13491 else
13492 defaultval=no
13493 fi
13494 fi
13495
13496 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13497 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13498 # Check whether --enable-joystick was given.
13499 if test "${enable_joystick+set}" = set; then
13500 enableval=$enable_joystick;
13501 if test "$enableval" = yes; then
13502 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13503 else
13504 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13505 fi
13506
13507 else
13508
13509 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13510
13511 fi
13512
13513
13514 eval "$wx_cv_use_joystick"
13515
13516 if test x"$enablestring" = xdisable; then
13517 if test $wxUSE_JOYSTICK = no; then
13518 result=yes
13519 else
13520 result=no
13521 fi
13522 else
13523 result=$wxUSE_JOYSTICK
13524 fi
13525
13526 { echo "$as_me:$LINENO: result: $result" >&5
13527 echo "${ECHO_T}$result" >&6; }
13528
13529
13530 enablestring=
13531 defaultval=$wxUSE_ALL_FEATURES
13532 if test -z "$defaultval"; then
13533 if test x"$enablestring" = xdisable; then
13534 defaultval=yes
13535 else
13536 defaultval=no
13537 fi
13538 fi
13539
13540 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13541 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13542 # Check whether --enable-metafile was given.
13543 if test "${enable_metafile+set}" = set; then
13544 enableval=$enable_metafile;
13545 if test "$enableval" = yes; then
13546 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13547 else
13548 wx_cv_use_metafile='wxUSE_METAFILE=no'
13549 fi
13550
13551 else
13552
13553 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13554
13555 fi
13556
13557
13558 eval "$wx_cv_use_metafile"
13559
13560 if test x"$enablestring" = xdisable; then
13561 if test $wxUSE_METAFILE = no; then
13562 result=yes
13563 else
13564 result=no
13565 fi
13566 else
13567 result=$wxUSE_METAFILE
13568 fi
13569
13570 { echo "$as_me:$LINENO: result: $result" >&5
13571 echo "${ECHO_T}$result" >&6; }
13572
13573
13574 enablestring=
13575 defaultval=$wxUSE_ALL_FEATURES
13576 if test -z "$defaultval"; then
13577 if test x"$enablestring" = xdisable; then
13578 defaultval=yes
13579 else
13580 defaultval=no
13581 fi
13582 fi
13583
13584 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13585 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13586 # Check whether --enable-dragimage was given.
13587 if test "${enable_dragimage+set}" = set; then
13588 enableval=$enable_dragimage;
13589 if test "$enableval" = yes; then
13590 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13591 else
13592 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13593 fi
13594
13595 else
13596
13597 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13598
13599 fi
13600
13601
13602 eval "$wx_cv_use_dragimage"
13603
13604 if test x"$enablestring" = xdisable; then
13605 if test $wxUSE_DRAGIMAGE = no; then
13606 result=yes
13607 else
13608 result=no
13609 fi
13610 else
13611 result=$wxUSE_DRAGIMAGE
13612 fi
13613
13614 { echo "$as_me:$LINENO: result: $result" >&5
13615 echo "${ECHO_T}$result" >&6; }
13616
13617
13618 enablestring=
13619 defaultval=$wxUSE_ALL_FEATURES
13620 if test -z "$defaultval"; then
13621 if test x"$enablestring" = xdisable; then
13622 defaultval=yes
13623 else
13624 defaultval=no
13625 fi
13626 fi
13627
13628 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13629 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13630 # Check whether --enable-accessibility was given.
13631 if test "${enable_accessibility+set}" = set; then
13632 enableval=$enable_accessibility;
13633 if test "$enableval" = yes; then
13634 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13635 else
13636 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13637 fi
13638
13639 else
13640
13641 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13642
13643 fi
13644
13645
13646 eval "$wx_cv_use_accessibility"
13647
13648 if test x"$enablestring" = xdisable; then
13649 if test $wxUSE_ACCESSIBILITY = no; then
13650 result=yes
13651 else
13652 result=no
13653 fi
13654 else
13655 result=$wxUSE_ACCESSIBILITY
13656 fi
13657
13658 { echo "$as_me:$LINENO: result: $result" >&5
13659 echo "${ECHO_T}$result" >&6; }
13660
13661
13662 enablestring=
13663 defaultval=$wxUSE_ALL_FEATURES
13664 if test -z "$defaultval"; then
13665 if test x"$enablestring" = xdisable; then
13666 defaultval=yes
13667 else
13668 defaultval=no
13669 fi
13670 fi
13671
13672 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uiactionsim" >&5
13673 echo $ECHO_N "checking for --${enablestring:-enable}-uiactionsim... $ECHO_C" >&6; }
13674 # Check whether --enable-uiactionsim was given.
13675 if test "${enable_uiactionsim+set}" = set; then
13676 enableval=$enable_uiactionsim;
13677 if test "$enableval" = yes; then
13678 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
13679 else
13680 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
13681 fi
13682
13683 else
13684
13685 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
13686
13687 fi
13688
13689
13690 eval "$wx_cv_use_uiactionsim"
13691
13692 if test x"$enablestring" = xdisable; then
13693 if test $wxUSE_UIACTIONSIMULATOR = no; then
13694 result=yes
13695 else
13696 result=no
13697 fi
13698 else
13699 result=$wxUSE_UIACTIONSIMULATOR
13700 fi
13701
13702 { echo "$as_me:$LINENO: result: $result" >&5
13703 echo "${ECHO_T}$result" >&6; }
13704
13705
13706
13707
13708 enablestring=
13709 defaultval=$wxUSE_ALL_FEATURES
13710 if test -z "$defaultval"; then
13711 if test x"$enablestring" = xdisable; then
13712 defaultval=yes
13713 else
13714 defaultval=no
13715 fi
13716 fi
13717
13718 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13719 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13720 # Check whether --enable-palette was given.
13721 if test "${enable_palette+set}" = set; then
13722 enableval=$enable_palette;
13723 if test "$enableval" = yes; then
13724 wx_cv_use_palette='wxUSE_PALETTE=yes'
13725 else
13726 wx_cv_use_palette='wxUSE_PALETTE=no'
13727 fi
13728
13729 else
13730
13731 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13732
13733 fi
13734
13735
13736 eval "$wx_cv_use_palette"
13737
13738 if test x"$enablestring" = xdisable; then
13739 if test $wxUSE_PALETTE = no; then
13740 result=yes
13741 else
13742 result=no
13743 fi
13744 else
13745 result=$wxUSE_PALETTE
13746 fi
13747
13748 { echo "$as_me:$LINENO: result: $result" >&5
13749 echo "${ECHO_T}$result" >&6; }
13750
13751
13752 enablestring=
13753 defaultval=$wxUSE_ALL_FEATURES
13754 if test -z "$defaultval"; then
13755 if test x"$enablestring" = xdisable; then
13756 defaultval=yes
13757 else
13758 defaultval=no
13759 fi
13760 fi
13761
13762 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13763 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13764 # Check whether --enable-image was given.
13765 if test "${enable_image+set}" = set; then
13766 enableval=$enable_image;
13767 if test "$enableval" = yes; then
13768 wx_cv_use_image='wxUSE_IMAGE=yes'
13769 else
13770 wx_cv_use_image='wxUSE_IMAGE=no'
13771 fi
13772
13773 else
13774
13775 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13776
13777 fi
13778
13779
13780 eval "$wx_cv_use_image"
13781
13782 if test x"$enablestring" = xdisable; then
13783 if test $wxUSE_IMAGE = no; then
13784 result=yes
13785 else
13786 result=no
13787 fi
13788 else
13789 result=$wxUSE_IMAGE
13790 fi
13791
13792 { echo "$as_me:$LINENO: result: $result" >&5
13793 echo "${ECHO_T}$result" >&6; }
13794
13795
13796 enablestring=
13797 defaultval=$wxUSE_ALL_FEATURES
13798 if test -z "$defaultval"; then
13799 if test x"$enablestring" = xdisable; then
13800 defaultval=yes
13801 else
13802 defaultval=no
13803 fi
13804 fi
13805
13806 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13807 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13808 # Check whether --enable-gif was given.
13809 if test "${enable_gif+set}" = set; then
13810 enableval=$enable_gif;
13811 if test "$enableval" = yes; then
13812 wx_cv_use_gif='wxUSE_GIF=yes'
13813 else
13814 wx_cv_use_gif='wxUSE_GIF=no'
13815 fi
13816
13817 else
13818
13819 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13820
13821 fi
13822
13823
13824 eval "$wx_cv_use_gif"
13825
13826 if test x"$enablestring" = xdisable; then
13827 if test $wxUSE_GIF = no; then
13828 result=yes
13829 else
13830 result=no
13831 fi
13832 else
13833 result=$wxUSE_GIF
13834 fi
13835
13836 { echo "$as_me:$LINENO: result: $result" >&5
13837 echo "${ECHO_T}$result" >&6; }
13838
13839
13840 enablestring=
13841 defaultval=$wxUSE_ALL_FEATURES
13842 if test -z "$defaultval"; then
13843 if test x"$enablestring" = xdisable; then
13844 defaultval=yes
13845 else
13846 defaultval=no
13847 fi
13848 fi
13849
13850 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13851 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13852 # Check whether --enable-pcx was given.
13853 if test "${enable_pcx+set}" = set; then
13854 enableval=$enable_pcx;
13855 if test "$enableval" = yes; then
13856 wx_cv_use_pcx='wxUSE_PCX=yes'
13857 else
13858 wx_cv_use_pcx='wxUSE_PCX=no'
13859 fi
13860
13861 else
13862
13863 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13864
13865 fi
13866
13867
13868 eval "$wx_cv_use_pcx"
13869
13870 if test x"$enablestring" = xdisable; then
13871 if test $wxUSE_PCX = no; then
13872 result=yes
13873 else
13874 result=no
13875 fi
13876 else
13877 result=$wxUSE_PCX
13878 fi
13879
13880 { echo "$as_me:$LINENO: result: $result" >&5
13881 echo "${ECHO_T}$result" >&6; }
13882
13883
13884 enablestring=
13885 defaultval=$wxUSE_ALL_FEATURES
13886 if test -z "$defaultval"; then
13887 if test x"$enablestring" = xdisable; then
13888 defaultval=yes
13889 else
13890 defaultval=no
13891 fi
13892 fi
13893
13894 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13895 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13896 # Check whether --enable-tga was given.
13897 if test "${enable_tga+set}" = set; then
13898 enableval=$enable_tga;
13899 if test "$enableval" = yes; then
13900 wx_cv_use_tga='wxUSE_TGA=yes'
13901 else
13902 wx_cv_use_tga='wxUSE_TGA=no'
13903 fi
13904
13905 else
13906
13907 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13908
13909 fi
13910
13911
13912 eval "$wx_cv_use_tga"
13913
13914 if test x"$enablestring" = xdisable; then
13915 if test $wxUSE_TGA = no; then
13916 result=yes
13917 else
13918 result=no
13919 fi
13920 else
13921 result=$wxUSE_TGA
13922 fi
13923
13924 { echo "$as_me:$LINENO: result: $result" >&5
13925 echo "${ECHO_T}$result" >&6; }
13926
13927
13928 enablestring=
13929 defaultval=$wxUSE_ALL_FEATURES
13930 if test -z "$defaultval"; then
13931 if test x"$enablestring" = xdisable; then
13932 defaultval=yes
13933 else
13934 defaultval=no
13935 fi
13936 fi
13937
13938 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13939 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13940 # Check whether --enable-iff was given.
13941 if test "${enable_iff+set}" = set; then
13942 enableval=$enable_iff;
13943 if test "$enableval" = yes; then
13944 wx_cv_use_iff='wxUSE_IFF=yes'
13945 else
13946 wx_cv_use_iff='wxUSE_IFF=no'
13947 fi
13948
13949 else
13950
13951 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13952
13953 fi
13954
13955
13956 eval "$wx_cv_use_iff"
13957
13958 if test x"$enablestring" = xdisable; then
13959 if test $wxUSE_IFF = no; then
13960 result=yes
13961 else
13962 result=no
13963 fi
13964 else
13965 result=$wxUSE_IFF
13966 fi
13967
13968 { echo "$as_me:$LINENO: result: $result" >&5
13969 echo "${ECHO_T}$result" >&6; }
13970
13971
13972 enablestring=
13973 defaultval=$wxUSE_ALL_FEATURES
13974 if test -z "$defaultval"; then
13975 if test x"$enablestring" = xdisable; then
13976 defaultval=yes
13977 else
13978 defaultval=no
13979 fi
13980 fi
13981
13982 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13983 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13984 # Check whether --enable-pnm was given.
13985 if test "${enable_pnm+set}" = set; then
13986 enableval=$enable_pnm;
13987 if test "$enableval" = yes; then
13988 wx_cv_use_pnm='wxUSE_PNM=yes'
13989 else
13990 wx_cv_use_pnm='wxUSE_PNM=no'
13991 fi
13992
13993 else
13994
13995 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13996
13997 fi
13998
13999
14000 eval "$wx_cv_use_pnm"
14001
14002 if test x"$enablestring" = xdisable; then
14003 if test $wxUSE_PNM = no; then
14004 result=yes
14005 else
14006 result=no
14007 fi
14008 else
14009 result=$wxUSE_PNM
14010 fi
14011
14012 { echo "$as_me:$LINENO: result: $result" >&5
14013 echo "${ECHO_T}$result" >&6; }
14014
14015
14016 enablestring=
14017 defaultval=$wxUSE_ALL_FEATURES
14018 if test -z "$defaultval"; then
14019 if test x"$enablestring" = xdisable; then
14020 defaultval=yes
14021 else
14022 defaultval=no
14023 fi
14024 fi
14025
14026 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
14027 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
14028 # Check whether --enable-xpm was given.
14029 if test "${enable_xpm+set}" = set; then
14030 enableval=$enable_xpm;
14031 if test "$enableval" = yes; then
14032 wx_cv_use_xpm='wxUSE_XPM=yes'
14033 else
14034 wx_cv_use_xpm='wxUSE_XPM=no'
14035 fi
14036
14037 else
14038
14039 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
14040
14041 fi
14042
14043
14044 eval "$wx_cv_use_xpm"
14045
14046 if test x"$enablestring" = xdisable; then
14047 if test $wxUSE_XPM = no; then
14048 result=yes
14049 else
14050 result=no
14051 fi
14052 else
14053 result=$wxUSE_XPM
14054 fi
14055
14056 { echo "$as_me:$LINENO: result: $result" >&5
14057 echo "${ECHO_T}$result" >&6; }
14058
14059
14060 enablestring=
14061 defaultval=$wxUSE_ALL_FEATURES
14062 if test -z "$defaultval"; then
14063 if test x"$enablestring" = xdisable; then
14064 defaultval=yes
14065 else
14066 defaultval=no
14067 fi
14068 fi
14069
14070 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
14071 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
14072 # Check whether --enable-ico_cur was given.
14073 if test "${enable_ico_cur+set}" = set; then
14074 enableval=$enable_ico_cur;
14075 if test "$enableval" = yes; then
14076 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
14077 else
14078 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
14079 fi
14080
14081 else
14082
14083 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
14084
14085 fi
14086
14087
14088 eval "$wx_cv_use_ico_cur"
14089
14090 if test x"$enablestring" = xdisable; then
14091 if test $wxUSE_ICO_CUR = no; then
14092 result=yes
14093 else
14094 result=no
14095 fi
14096 else
14097 result=$wxUSE_ICO_CUR
14098 fi
14099
14100 { echo "$as_me:$LINENO: result: $result" >&5
14101 echo "${ECHO_T}$result" >&6; }
14102
14103
14104
14105
14106 enablestring=
14107 defaultval=$wxUSE_ALL_FEATURES
14108 if test -z "$defaultval"; then
14109 if test x"$enablestring" = xdisable; then
14110 defaultval=yes
14111 else
14112 defaultval=no
14113 fi
14114 fi
14115
14116 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
14117 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
14118 # Check whether --enable-dccache was given.
14119 if test "${enable_dccache+set}" = set; then
14120 enableval=$enable_dccache;
14121 if test "$enableval" = yes; then
14122 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
14123 else
14124 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
14125 fi
14126
14127 else
14128
14129 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
14130
14131 fi
14132
14133
14134 eval "$wx_cv_use_dccache"
14135
14136 if test x"$enablestring" = xdisable; then
14137 if test $wxUSE_DC_CACHEING = no; then
14138 result=yes
14139 else
14140 result=no
14141 fi
14142 else
14143 result=$wxUSE_DC_CACHEING
14144 fi
14145
14146 { echo "$as_me:$LINENO: result: $result" >&5
14147 echo "${ECHO_T}$result" >&6; }
14148
14149
14150 enablestring=
14151 defaultval=$wxUSE_ALL_FEATURES
14152 if test -z "$defaultval"; then
14153 if test x"$enablestring" = xdisable; then
14154 defaultval=yes
14155 else
14156 defaultval=no
14157 fi
14158 fi
14159
14160 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
14161 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
14162 # Check whether --enable-ps-in-msw was given.
14163 if test "${enable_ps_in_msw+set}" = set; then
14164 enableval=$enable_ps_in_msw;
14165 if test "$enableval" = yes; then
14166 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
14167 else
14168 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
14169 fi
14170
14171 else
14172
14173 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
14174
14175 fi
14176
14177
14178 eval "$wx_cv_use_ps_in_msw"
14179
14180 if test x"$enablestring" = xdisable; then
14181 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
14182 result=yes
14183 else
14184 result=no
14185 fi
14186 else
14187 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
14188 fi
14189
14190 { echo "$as_me:$LINENO: result: $result" >&5
14191 echo "${ECHO_T}$result" >&6; }
14192
14193
14194 enablestring=
14195 defaultval=$wxUSE_ALL_FEATURES
14196 if test -z "$defaultval"; then
14197 if test x"$enablestring" = xdisable; then
14198 defaultval=yes
14199 else
14200 defaultval=no
14201 fi
14202 fi
14203
14204 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
14205 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
14206 # Check whether --enable-ownerdrawn was given.
14207 if test "${enable_ownerdrawn+set}" = set; then
14208 enableval=$enable_ownerdrawn;
14209 if test "$enableval" = yes; then
14210 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
14211 else
14212 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
14213 fi
14214
14215 else
14216
14217 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
14218
14219 fi
14220
14221
14222 eval "$wx_cv_use_ownerdrawn"
14223
14224 if test x"$enablestring" = xdisable; then
14225 if test $wxUSE_OWNER_DRAWN = no; then
14226 result=yes
14227 else
14228 result=no
14229 fi
14230 else
14231 result=$wxUSE_OWNER_DRAWN
14232 fi
14233
14234 { echo "$as_me:$LINENO: result: $result" >&5
14235 echo "${ECHO_T}$result" >&6; }
14236
14237
14238 enablestring=
14239 defaultval=$wxUSE_ALL_FEATURES
14240 if test -z "$defaultval"; then
14241 if test x"$enablestring" = xdisable; then
14242 defaultval=yes
14243 else
14244 defaultval=no
14245 fi
14246 fi
14247
14248 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
14249 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
14250 # Check whether --enable-uxtheme was given.
14251 if test "${enable_uxtheme+set}" = set; then
14252 enableval=$enable_uxtheme;
14253 if test "$enableval" = yes; then
14254 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
14255 else
14256 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
14257 fi
14258
14259 else
14260
14261 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
14262
14263 fi
14264
14265
14266 eval "$wx_cv_use_uxtheme"
14267
14268 if test x"$enablestring" = xdisable; then
14269 if test $wxUSE_UXTHEME = no; then
14270 result=yes
14271 else
14272 result=no
14273 fi
14274 else
14275 result=$wxUSE_UXTHEME
14276 fi
14277
14278 { echo "$as_me:$LINENO: result: $result" >&5
14279 echo "${ECHO_T}$result" >&6; }
14280
14281
14282 enablestring=
14283 defaultval=$wxUSE_ALL_FEATURES
14284 if test -z "$defaultval"; then
14285 if test x"$enablestring" = xdisable; then
14286 defaultval=yes
14287 else
14288 defaultval=no
14289 fi
14290 fi
14291
14292 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
14293 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
14294 # Check whether --enable-wxdib was given.
14295 if test "${enable_wxdib+set}" = set; then
14296 enableval=$enable_wxdib;
14297 if test "$enableval" = yes; then
14298 wx_cv_use_wxdib='wxUSE_DIB=yes'
14299 else
14300 wx_cv_use_wxdib='wxUSE_DIB=no'
14301 fi
14302
14303 else
14304
14305 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
14306
14307 fi
14308
14309
14310 eval "$wx_cv_use_wxdib"
14311
14312 if test x"$enablestring" = xdisable; then
14313 if test $wxUSE_DIB = no; then
14314 result=yes
14315 else
14316 result=no
14317 fi
14318 else
14319 result=$wxUSE_DIB
14320 fi
14321
14322 { echo "$as_me:$LINENO: result: $result" >&5
14323 echo "${ECHO_T}$result" >&6; }
14324
14325
14326 if test "$wxUSE_MSW" != 1; then
14327 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
14328 fi
14329
14330
14331 enablestring=
14332 defaultval=$wxUSE_ALL_FEATURES
14333 if test -z "$defaultval"; then
14334 if test x"$enablestring" = xdisable; then
14335 defaultval=yes
14336 else
14337 defaultval=no
14338 fi
14339 fi
14340
14341 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
14342 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
14343 # Check whether --enable-autoidman was given.
14344 if test "${enable_autoidman+set}" = set; then
14345 enableval=$enable_autoidman;
14346 if test "$enableval" = yes; then
14347 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
14348 else
14349 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
14350 fi
14351
14352 else
14353
14354 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
14355
14356 fi
14357
14358
14359 eval "$wx_cv_use_autoidman"
14360
14361 if test x"$enablestring" = xdisable; then
14362 if test $wxUSE_AUTOID_MANAGEMENT = no; then
14363 result=yes
14364 else
14365 result=no
14366 fi
14367 else
14368 result=$wxUSE_AUTOID_MANAGEMENT
14369 fi
14370
14371 { echo "$as_me:$LINENO: result: $result" >&5
14372 echo "${ECHO_T}$result" >&6; }
14373
14374
14375 fi
14376
14377
14378 cat >confcache <<\_ACEOF
14379 # This file is a shell script that caches the results of configure
14380 # tests run on this system so they can be shared between configure
14381 # scripts and configure runs, see configure's option --config-cache.
14382 # It is not useful on other systems. If it contains results you don't
14383 # want to keep, you may remove or edit it.
14384 #
14385 # config.status only pays attention to the cache file if you give it
14386 # the --recheck option to rerun configure.
14387 #
14388 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14389 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14390 # following values.
14391
14392 _ACEOF
14393
14394 # The following way of writing the cache mishandles newlines in values,
14395 # but we know of no workaround that is simple, portable, and efficient.
14396 # So, we kill variables containing newlines.
14397 # Ultrix sh set writes to stderr and can't be redirected directly,
14398 # and sets the high bit in the cache file unless we assign to the vars.
14399 (
14400 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14401 eval ac_val=\$$ac_var
14402 case $ac_val in #(
14403 *${as_nl}*)
14404 case $ac_var in #(
14405 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14406 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14407 esac
14408 case $ac_var in #(
14409 _ | IFS | as_nl) ;; #(
14410 *) $as_unset $ac_var ;;
14411 esac ;;
14412 esac
14413 done
14414
14415 (set) 2>&1 |
14416 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14417 *${as_nl}ac_space=\ *)
14418 # `set' does not quote correctly, so add quotes (double-quote
14419 # substitution turns \\\\ into \\, and sed turns \\ into \).
14420 sed -n \
14421 "s/'/'\\\\''/g;
14422 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14423 ;; #(
14424 *)
14425 # `set' quotes correctly as required by POSIX, so do not add quotes.
14426 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14427 ;;
14428 esac |
14429 sort
14430 ) |
14431 sed '
14432 /^ac_cv_env_/b end
14433 t clear
14434 :clear
14435 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14436 t end
14437 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14438 :end' >>confcache
14439 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14440 if test -w "$cache_file"; then
14441 test "x$cache_file" != "x/dev/null" &&
14442 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14443 echo "$as_me: updating cache $cache_file" >&6;}
14444 cat confcache >$cache_file
14445 else
14446 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14447 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14448 fi
14449 fi
14450 rm -f confcache
14451
14452 CFLAGS=${CFLAGS:=}
14453 ac_ext=c
14454 ac_cpp='$CPP $CPPFLAGS'
14455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14458 if test -n "$ac_tool_prefix"; then
14459 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14460 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14461 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14462 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14463 if test "${ac_cv_prog_CC+set}" = set; then
14464 echo $ECHO_N "(cached) $ECHO_C" >&6
14465 else
14466 if test -n "$CC"; then
14467 ac_cv_prog_CC="$CC" # Let the user override the test.
14468 else
14469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14470 for as_dir in $PATH
14471 do
14472 IFS=$as_save_IFS
14473 test -z "$as_dir" && as_dir=.
14474 for ac_exec_ext in '' $ac_executable_extensions; do
14475 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14476 ac_cv_prog_CC="${ac_tool_prefix}gcc"
14477 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14478 break 2
14479 fi
14480 done
14481 done
14482 IFS=$as_save_IFS
14483
14484 fi
14485 fi
14486 CC=$ac_cv_prog_CC
14487 if test -n "$CC"; then
14488 { echo "$as_me:$LINENO: result: $CC" >&5
14489 echo "${ECHO_T}$CC" >&6; }
14490 else
14491 { echo "$as_me:$LINENO: result: no" >&5
14492 echo "${ECHO_T}no" >&6; }
14493 fi
14494
14495
14496 fi
14497 if test -z "$ac_cv_prog_CC"; then
14498 ac_ct_CC=$CC
14499 # Extract the first word of "gcc", so it can be a program name with args.
14500 set dummy gcc; ac_word=$2
14501 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14502 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14503 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14504 echo $ECHO_N "(cached) $ECHO_C" >&6
14505 else
14506 if test -n "$ac_ct_CC"; then
14507 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14508 else
14509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14510 for as_dir in $PATH
14511 do
14512 IFS=$as_save_IFS
14513 test -z "$as_dir" && as_dir=.
14514 for ac_exec_ext in '' $ac_executable_extensions; do
14515 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14516 ac_cv_prog_ac_ct_CC="gcc"
14517 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14518 break 2
14519 fi
14520 done
14521 done
14522 IFS=$as_save_IFS
14523
14524 fi
14525 fi
14526 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14527 if test -n "$ac_ct_CC"; then
14528 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14529 echo "${ECHO_T}$ac_ct_CC" >&6; }
14530 else
14531 { echo "$as_me:$LINENO: result: no" >&5
14532 echo "${ECHO_T}no" >&6; }
14533 fi
14534
14535 if test "x$ac_ct_CC" = x; then
14536 CC=""
14537 else
14538 case $cross_compiling:$ac_tool_warned in
14539 yes:)
14540 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14541 whose name does not start with the host triplet. If you think this
14542 configuration is useful to you, please write to autoconf@gnu.org." >&5
14543 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14544 whose name does not start with the host triplet. If you think this
14545 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14546 ac_tool_warned=yes ;;
14547 esac
14548 CC=$ac_ct_CC
14549 fi
14550 else
14551 CC="$ac_cv_prog_CC"
14552 fi
14553
14554 if test -z "$CC"; then
14555 if test -n "$ac_tool_prefix"; then
14556 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14557 set dummy ${ac_tool_prefix}cc; ac_word=$2
14558 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14559 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14560 if test "${ac_cv_prog_CC+set}" = set; then
14561 echo $ECHO_N "(cached) $ECHO_C" >&6
14562 else
14563 if test -n "$CC"; then
14564 ac_cv_prog_CC="$CC" # Let the user override the test.
14565 else
14566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14567 for as_dir in $PATH
14568 do
14569 IFS=$as_save_IFS
14570 test -z "$as_dir" && as_dir=.
14571 for ac_exec_ext in '' $ac_executable_extensions; do
14572 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14573 ac_cv_prog_CC="${ac_tool_prefix}cc"
14574 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14575 break 2
14576 fi
14577 done
14578 done
14579 IFS=$as_save_IFS
14580
14581 fi
14582 fi
14583 CC=$ac_cv_prog_CC
14584 if test -n "$CC"; then
14585 { echo "$as_me:$LINENO: result: $CC" >&5
14586 echo "${ECHO_T}$CC" >&6; }
14587 else
14588 { echo "$as_me:$LINENO: result: no" >&5
14589 echo "${ECHO_T}no" >&6; }
14590 fi
14591
14592
14593 fi
14594 fi
14595 if test -z "$CC"; then
14596 # Extract the first word of "cc", so it can be a program name with args.
14597 set dummy cc; ac_word=$2
14598 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14599 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14600 if test "${ac_cv_prog_CC+set}" = set; then
14601 echo $ECHO_N "(cached) $ECHO_C" >&6
14602 else
14603 if test -n "$CC"; then
14604 ac_cv_prog_CC="$CC" # Let the user override the test.
14605 else
14606 ac_prog_rejected=no
14607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14608 for as_dir in $PATH
14609 do
14610 IFS=$as_save_IFS
14611 test -z "$as_dir" && as_dir=.
14612 for ac_exec_ext in '' $ac_executable_extensions; do
14613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14614 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14615 ac_prog_rejected=yes
14616 continue
14617 fi
14618 ac_cv_prog_CC="cc"
14619 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14620 break 2
14621 fi
14622 done
14623 done
14624 IFS=$as_save_IFS
14625
14626 if test $ac_prog_rejected = yes; then
14627 # We found a bogon in the path, so make sure we never use it.
14628 set dummy $ac_cv_prog_CC
14629 shift
14630 if test $# != 0; then
14631 # We chose a different compiler from the bogus one.
14632 # However, it has the same basename, so the bogon will be chosen
14633 # first if we set CC to just the basename; use the full file name.
14634 shift
14635 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14636 fi
14637 fi
14638 fi
14639 fi
14640 CC=$ac_cv_prog_CC
14641 if test -n "$CC"; then
14642 { echo "$as_me:$LINENO: result: $CC" >&5
14643 echo "${ECHO_T}$CC" >&6; }
14644 else
14645 { echo "$as_me:$LINENO: result: no" >&5
14646 echo "${ECHO_T}no" >&6; }
14647 fi
14648
14649
14650 fi
14651 if test -z "$CC"; then
14652 if test -n "$ac_tool_prefix"; then
14653 for ac_prog in cl.exe
14654 do
14655 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14656 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14657 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14658 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14659 if test "${ac_cv_prog_CC+set}" = set; then
14660 echo $ECHO_N "(cached) $ECHO_C" >&6
14661 else
14662 if test -n "$CC"; then
14663 ac_cv_prog_CC="$CC" # Let the user override the test.
14664 else
14665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14666 for as_dir in $PATH
14667 do
14668 IFS=$as_save_IFS
14669 test -z "$as_dir" && as_dir=.
14670 for ac_exec_ext in '' $ac_executable_extensions; do
14671 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14672 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14673 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14674 break 2
14675 fi
14676 done
14677 done
14678 IFS=$as_save_IFS
14679
14680 fi
14681 fi
14682 CC=$ac_cv_prog_CC
14683 if test -n "$CC"; then
14684 { echo "$as_me:$LINENO: result: $CC" >&5
14685 echo "${ECHO_T}$CC" >&6; }
14686 else
14687 { echo "$as_me:$LINENO: result: no" >&5
14688 echo "${ECHO_T}no" >&6; }
14689 fi
14690
14691
14692 test -n "$CC" && break
14693 done
14694 fi
14695 if test -z "$CC"; then
14696 ac_ct_CC=$CC
14697 for ac_prog in cl.exe
14698 do
14699 # Extract the first word of "$ac_prog", so it can be a program name with args.
14700 set dummy $ac_prog; ac_word=$2
14701 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14702 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14703 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14704 echo $ECHO_N "(cached) $ECHO_C" >&6
14705 else
14706 if test -n "$ac_ct_CC"; then
14707 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14708 else
14709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14710 for as_dir in $PATH
14711 do
14712 IFS=$as_save_IFS
14713 test -z "$as_dir" && as_dir=.
14714 for ac_exec_ext in '' $ac_executable_extensions; do
14715 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14716 ac_cv_prog_ac_ct_CC="$ac_prog"
14717 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14718 break 2
14719 fi
14720 done
14721 done
14722 IFS=$as_save_IFS
14723
14724 fi
14725 fi
14726 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14727 if test -n "$ac_ct_CC"; then
14728 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14729 echo "${ECHO_T}$ac_ct_CC" >&6; }
14730 else
14731 { echo "$as_me:$LINENO: result: no" >&5
14732 echo "${ECHO_T}no" >&6; }
14733 fi
14734
14735
14736 test -n "$ac_ct_CC" && break
14737 done
14738
14739 if test "x$ac_ct_CC" = x; then
14740 CC=""
14741 else
14742 case $cross_compiling:$ac_tool_warned in
14743 yes:)
14744 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14745 whose name does not start with the host triplet. If you think this
14746 configuration is useful to you, please write to autoconf@gnu.org." >&5
14747 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14748 whose name does not start with the host triplet. If you think this
14749 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14750 ac_tool_warned=yes ;;
14751 esac
14752 CC=$ac_ct_CC
14753 fi
14754 fi
14755
14756 fi
14757
14758
14759 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14760 See \`config.log' for more details." >&5
14761 echo "$as_me: error: no acceptable C compiler found in \$PATH
14762 See \`config.log' for more details." >&2;}
14763 { (exit 1); exit 1; }; }
14764
14765 # Provide some information about the compiler.
14766 echo "$as_me:$LINENO: checking for C compiler version" >&5
14767 ac_compiler=`set X $ac_compile; echo $2`
14768 { (ac_try="$ac_compiler --version >&5"
14769 case "(($ac_try" in
14770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14771 *) ac_try_echo=$ac_try;;
14772 esac
14773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14774 (eval "$ac_compiler --version >&5") 2>&5
14775 ac_status=$?
14776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14777 (exit $ac_status); }
14778 { (ac_try="$ac_compiler -v >&5"
14779 case "(($ac_try" in
14780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14781 *) ac_try_echo=$ac_try;;
14782 esac
14783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14784 (eval "$ac_compiler -v >&5") 2>&5
14785 ac_status=$?
14786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14787 (exit $ac_status); }
14788 { (ac_try="$ac_compiler -V >&5"
14789 case "(($ac_try" in
14790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14791 *) ac_try_echo=$ac_try;;
14792 esac
14793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14794 (eval "$ac_compiler -V >&5") 2>&5
14795 ac_status=$?
14796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14797 (exit $ac_status); }
14798
14799 cat >conftest.$ac_ext <<_ACEOF
14800 /* confdefs.h. */
14801 _ACEOF
14802 cat confdefs.h >>conftest.$ac_ext
14803 cat >>conftest.$ac_ext <<_ACEOF
14804 /* end confdefs.h. */
14805
14806 int
14807 main ()
14808 {
14809
14810 ;
14811 return 0;
14812 }
14813 _ACEOF
14814 ac_clean_files_save=$ac_clean_files
14815 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14816 # Try to create an executable without -o first, disregard a.out.
14817 # It will help us diagnose broken compilers, and finding out an intuition
14818 # of exeext.
14819 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14820 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14821 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14822 #
14823 # List of possible output files, starting from the most likely.
14824 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
14825 # only as a last resort. b.out is created by i960 compilers.
14826 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14827 #
14828 # The IRIX 6 linker writes into existing files which may not be
14829 # executable, retaining their permissions. Remove them first so a
14830 # subsequent execution test works.
14831 ac_rmfiles=
14832 for ac_file in $ac_files
14833 do
14834 case $ac_file in
14835 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14836 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14837 esac
14838 done
14839 rm -f $ac_rmfiles
14840
14841 if { (ac_try="$ac_link_default"
14842 case "(($ac_try" in
14843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14844 *) ac_try_echo=$ac_try;;
14845 esac
14846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14847 (eval "$ac_link_default") 2>&5
14848 ac_status=$?
14849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14850 (exit $ac_status); }; then
14851 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14852 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14853 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14854 # so that the user can short-circuit this test for compilers unknown to
14855 # Autoconf.
14856 for ac_file in $ac_files ''
14857 do
14858 test -f "$ac_file" || continue
14859 case $ac_file in
14860 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14861 ;;
14862 [ab].out )
14863 # We found the default executable, but exeext='' is most
14864 # certainly right.
14865 break;;
14866 *.* )
14867 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14868 then :; else
14869 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14870 fi
14871 # We set ac_cv_exeext here because the later test for it is not
14872 # safe: cross compilers may not add the suffix if given an `-o'
14873 # argument, so we may need to know it at that point already.
14874 # Even if this section looks crufty: it has the advantage of
14875 # actually working.
14876 break;;
14877 * )
14878 break;;
14879 esac
14880 done
14881 test "$ac_cv_exeext" = no && ac_cv_exeext=
14882
14883 else
14884 ac_file=''
14885 fi
14886
14887 { echo "$as_me:$LINENO: result: $ac_file" >&5
14888 echo "${ECHO_T}$ac_file" >&6; }
14889 if test -z "$ac_file"; then
14890 echo "$as_me: failed program was:" >&5
14891 sed 's/^/| /' conftest.$ac_ext >&5
14892
14893 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14894 See \`config.log' for more details." >&5
14895 echo "$as_me: error: C compiler cannot create executables
14896 See \`config.log' for more details." >&2;}
14897 { (exit 77); exit 77; }; }
14898 fi
14899
14900 ac_exeext=$ac_cv_exeext
14901
14902 # Check that the compiler produces executables we can run. If not, either
14903 # the compiler is broken, or we cross compile.
14904 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14905 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14906 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14907 # If not cross compiling, check that we can run a simple program.
14908 if test "$cross_compiling" != yes; then
14909 if { ac_try='./$ac_file'
14910 { (case "(($ac_try" in
14911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14912 *) ac_try_echo=$ac_try;;
14913 esac
14914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14915 (eval "$ac_try") 2>&5
14916 ac_status=$?
14917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14918 (exit $ac_status); }; }; then
14919 cross_compiling=no
14920 else
14921 if test "$cross_compiling" = maybe; then
14922 cross_compiling=yes
14923 else
14924 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14925 If you meant to cross compile, use \`--host'.
14926 See \`config.log' for more details." >&5
14927 echo "$as_me: error: cannot run C compiled programs.
14928 If you meant to cross compile, use \`--host'.
14929 See \`config.log' for more details." >&2;}
14930 { (exit 1); exit 1; }; }
14931 fi
14932 fi
14933 fi
14934 { echo "$as_me:$LINENO: result: yes" >&5
14935 echo "${ECHO_T}yes" >&6; }
14936
14937 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14938 ac_clean_files=$ac_clean_files_save
14939 # Check that the compiler produces executables we can run. If not, either
14940 # the compiler is broken, or we cross compile.
14941 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14942 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14943 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14944 echo "${ECHO_T}$cross_compiling" >&6; }
14945
14946 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14947 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14948 if { (ac_try="$ac_link"
14949 case "(($ac_try" in
14950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14951 *) ac_try_echo=$ac_try;;
14952 esac
14953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14954 (eval "$ac_link") 2>&5
14955 ac_status=$?
14956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14957 (exit $ac_status); }; then
14958 # If both `conftest.exe' and `conftest' are `present' (well, observable)
14959 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
14960 # work properly (i.e., refer to `conftest.exe'), while it won't with
14961 # `rm'.
14962 for ac_file in conftest.exe conftest conftest.*; do
14963 test -f "$ac_file" || continue
14964 case $ac_file in
14965 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14966 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14967 break;;
14968 * ) break;;
14969 esac
14970 done
14971 else
14972 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14973 See \`config.log' for more details." >&5
14974 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14975 See \`config.log' for more details." >&2;}
14976 { (exit 1); exit 1; }; }
14977 fi
14978
14979 rm -f conftest$ac_cv_exeext
14980 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14981 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14982
14983 rm -f conftest.$ac_ext
14984 EXEEXT=$ac_cv_exeext
14985 ac_exeext=$EXEEXT
14986 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14987 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14988 if test "${ac_cv_objext+set}" = set; then
14989 echo $ECHO_N "(cached) $ECHO_C" >&6
14990 else
14991 cat >conftest.$ac_ext <<_ACEOF
14992 /* confdefs.h. */
14993 _ACEOF
14994 cat confdefs.h >>conftest.$ac_ext
14995 cat >>conftest.$ac_ext <<_ACEOF
14996 /* end confdefs.h. */
14997
14998 int
14999 main ()
15000 {
15001
15002 ;
15003 return 0;
15004 }
15005 _ACEOF
15006 rm -f conftest.o conftest.obj
15007 if { (ac_try="$ac_compile"
15008 case "(($ac_try" in
15009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15010 *) ac_try_echo=$ac_try;;
15011 esac
15012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15013 (eval "$ac_compile") 2>&5
15014 ac_status=$?
15015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15016 (exit $ac_status); }; then
15017 for ac_file in conftest.o conftest.obj conftest.*; do
15018 test -f "$ac_file" || continue;
15019 case $ac_file in
15020 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
15021 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
15022 break;;
15023 esac
15024 done
15025 else
15026 echo "$as_me: failed program was:" >&5
15027 sed 's/^/| /' conftest.$ac_ext >&5
15028
15029 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
15030 See \`config.log' for more details." >&5
15031 echo "$as_me: error: cannot compute suffix of object files: cannot compile
15032 See \`config.log' for more details." >&2;}
15033 { (exit 1); exit 1; }; }
15034 fi
15035
15036 rm -f conftest.$ac_cv_objext conftest.$ac_ext
15037 fi
15038 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
15039 echo "${ECHO_T}$ac_cv_objext" >&6; }
15040 OBJEXT=$ac_cv_objext
15041 ac_objext=$OBJEXT
15042 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
15043 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
15044 if test "${ac_cv_c_compiler_gnu+set}" = set; then
15045 echo $ECHO_N "(cached) $ECHO_C" >&6
15046 else
15047 cat >conftest.$ac_ext <<_ACEOF
15048 /* confdefs.h. */
15049 _ACEOF
15050 cat confdefs.h >>conftest.$ac_ext
15051 cat >>conftest.$ac_ext <<_ACEOF
15052 /* end confdefs.h. */
15053
15054 int
15055 main ()
15056 {
15057 #ifndef __GNUC__
15058 choke me
15059 #endif
15060
15061 ;
15062 return 0;
15063 }
15064 _ACEOF
15065 rm -f conftest.$ac_objext
15066 if { (ac_try="$ac_compile"
15067 case "(($ac_try" in
15068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15069 *) ac_try_echo=$ac_try;;
15070 esac
15071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15072 (eval "$ac_compile") 2>conftest.er1
15073 ac_status=$?
15074 grep -v '^ *+' conftest.er1 >conftest.err
15075 rm -f conftest.er1
15076 cat conftest.err >&5
15077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15078 (exit $ac_status); } && {
15079 test -z "$ac_c_werror_flag" ||
15080 test ! -s conftest.err
15081 } && test -s conftest.$ac_objext; then
15082 ac_compiler_gnu=yes
15083 else
15084 echo "$as_me: failed program was:" >&5
15085 sed 's/^/| /' conftest.$ac_ext >&5
15086
15087 ac_compiler_gnu=no
15088 fi
15089
15090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15091 ac_cv_c_compiler_gnu=$ac_compiler_gnu
15092
15093 fi
15094 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
15095 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
15096 GCC=`test $ac_compiler_gnu = yes && echo yes`
15097 ac_test_CFLAGS=${CFLAGS+set}
15098 ac_save_CFLAGS=$CFLAGS
15099 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15100 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15101 if test "${ac_cv_prog_cc_g+set}" = set; then
15102 echo $ECHO_N "(cached) $ECHO_C" >&6
15103 else
15104 ac_save_c_werror_flag=$ac_c_werror_flag
15105 ac_c_werror_flag=yes
15106 ac_cv_prog_cc_g=no
15107 CFLAGS="-g"
15108 cat >conftest.$ac_ext <<_ACEOF
15109 /* confdefs.h. */
15110 _ACEOF
15111 cat confdefs.h >>conftest.$ac_ext
15112 cat >>conftest.$ac_ext <<_ACEOF
15113 /* end confdefs.h. */
15114
15115 int
15116 main ()
15117 {
15118
15119 ;
15120 return 0;
15121 }
15122 _ACEOF
15123 rm -f conftest.$ac_objext
15124 if { (ac_try="$ac_compile"
15125 case "(($ac_try" in
15126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15127 *) ac_try_echo=$ac_try;;
15128 esac
15129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15130 (eval "$ac_compile") 2>conftest.er1
15131 ac_status=$?
15132 grep -v '^ *+' conftest.er1 >conftest.err
15133 rm -f conftest.er1
15134 cat conftest.err >&5
15135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15136 (exit $ac_status); } && {
15137 test -z "$ac_c_werror_flag" ||
15138 test ! -s conftest.err
15139 } && test -s conftest.$ac_objext; then
15140 ac_cv_prog_cc_g=yes
15141 else
15142 echo "$as_me: failed program was:" >&5
15143 sed 's/^/| /' conftest.$ac_ext >&5
15144
15145 CFLAGS=""
15146 cat >conftest.$ac_ext <<_ACEOF
15147 /* confdefs.h. */
15148 _ACEOF
15149 cat confdefs.h >>conftest.$ac_ext
15150 cat >>conftest.$ac_ext <<_ACEOF
15151 /* end confdefs.h. */
15152
15153 int
15154 main ()
15155 {
15156
15157 ;
15158 return 0;
15159 }
15160 _ACEOF
15161 rm -f conftest.$ac_objext
15162 if { (ac_try="$ac_compile"
15163 case "(($ac_try" in
15164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15165 *) ac_try_echo=$ac_try;;
15166 esac
15167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15168 (eval "$ac_compile") 2>conftest.er1
15169 ac_status=$?
15170 grep -v '^ *+' conftest.er1 >conftest.err
15171 rm -f conftest.er1
15172 cat conftest.err >&5
15173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15174 (exit $ac_status); } && {
15175 test -z "$ac_c_werror_flag" ||
15176 test ! -s conftest.err
15177 } && test -s conftest.$ac_objext; then
15178 :
15179 else
15180 echo "$as_me: failed program was:" >&5
15181 sed 's/^/| /' conftest.$ac_ext >&5
15182
15183 ac_c_werror_flag=$ac_save_c_werror_flag
15184 CFLAGS="-g"
15185 cat >conftest.$ac_ext <<_ACEOF
15186 /* confdefs.h. */
15187 _ACEOF
15188 cat confdefs.h >>conftest.$ac_ext
15189 cat >>conftest.$ac_ext <<_ACEOF
15190 /* end confdefs.h. */
15191
15192 int
15193 main ()
15194 {
15195
15196 ;
15197 return 0;
15198 }
15199 _ACEOF
15200 rm -f conftest.$ac_objext
15201 if { (ac_try="$ac_compile"
15202 case "(($ac_try" in
15203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15204 *) ac_try_echo=$ac_try;;
15205 esac
15206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15207 (eval "$ac_compile") 2>conftest.er1
15208 ac_status=$?
15209 grep -v '^ *+' conftest.er1 >conftest.err
15210 rm -f conftest.er1
15211 cat conftest.err >&5
15212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15213 (exit $ac_status); } && {
15214 test -z "$ac_c_werror_flag" ||
15215 test ! -s conftest.err
15216 } && test -s conftest.$ac_objext; then
15217 ac_cv_prog_cc_g=yes
15218 else
15219 echo "$as_me: failed program was:" >&5
15220 sed 's/^/| /' conftest.$ac_ext >&5
15221
15222
15223 fi
15224
15225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15226 fi
15227
15228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15229 fi
15230
15231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15232 ac_c_werror_flag=$ac_save_c_werror_flag
15233 fi
15234 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15235 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15236 if test "$ac_test_CFLAGS" = set; then
15237 CFLAGS=$ac_save_CFLAGS
15238 elif test $ac_cv_prog_cc_g = yes; then
15239 if test "$GCC" = yes; then
15240 CFLAGS="-g -O2"
15241 else
15242 CFLAGS="-g"
15243 fi
15244 else
15245 if test "$GCC" = yes; then
15246 CFLAGS="-O2"
15247 else
15248 CFLAGS=
15249 fi
15250 fi
15251 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
15252 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
15253 if test "${ac_cv_prog_cc_c89+set}" = set; then
15254 echo $ECHO_N "(cached) $ECHO_C" >&6
15255 else
15256 ac_cv_prog_cc_c89=no
15257 ac_save_CC=$CC
15258 cat >conftest.$ac_ext <<_ACEOF
15259 /* confdefs.h. */
15260 _ACEOF
15261 cat confdefs.h >>conftest.$ac_ext
15262 cat >>conftest.$ac_ext <<_ACEOF
15263 /* end confdefs.h. */
15264 #include <stdarg.h>
15265 #include <stdio.h>
15266 #include <sys/types.h>
15267 #include <sys/stat.h>
15268 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15269 struct buf { int x; };
15270 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15271 static char *e (p, i)
15272 char **p;
15273 int i;
15274 {
15275 return p[i];
15276 }
15277 static char *f (char * (*g) (char **, int), char **p, ...)
15278 {
15279 char *s;
15280 va_list v;
15281 va_start (v,p);
15282 s = g (p, va_arg (v,int));
15283 va_end (v);
15284 return s;
15285 }
15286
15287 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15288 function prototypes and stuff, but not '\xHH' hex character constants.
15289 These don't provoke an error unfortunately, instead are silently treated
15290 as 'x'. The following induces an error, until -std is added to get
15291 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
15292 array size at least. It's necessary to write '\x00'==0 to get something
15293 that's true only with -std. */
15294 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15295
15296 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
15297 inside strings and character constants. */
15298 #define FOO(x) 'x'
15299 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
15300
15301 int test (int i, double x);
15302 struct s1 {int (*f) (int a);};
15303 struct s2 {int (*f) (double a);};
15304 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15305 int argc;
15306 char **argv;
15307 int
15308 main ()
15309 {
15310 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
15311 ;
15312 return 0;
15313 }
15314 _ACEOF
15315 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
15316 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15317 do
15318 CC="$ac_save_CC $ac_arg"
15319 rm -f conftest.$ac_objext
15320 if { (ac_try="$ac_compile"
15321 case "(($ac_try" in
15322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15323 *) ac_try_echo=$ac_try;;
15324 esac
15325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15326 (eval "$ac_compile") 2>conftest.er1
15327 ac_status=$?
15328 grep -v '^ *+' conftest.er1 >conftest.err
15329 rm -f conftest.er1
15330 cat conftest.err >&5
15331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15332 (exit $ac_status); } && {
15333 test -z "$ac_c_werror_flag" ||
15334 test ! -s conftest.err
15335 } && test -s conftest.$ac_objext; then
15336 ac_cv_prog_cc_c89=$ac_arg
15337 else
15338 echo "$as_me: failed program was:" >&5
15339 sed 's/^/| /' conftest.$ac_ext >&5
15340
15341
15342 fi
15343
15344 rm -f core conftest.err conftest.$ac_objext
15345 test "x$ac_cv_prog_cc_c89" != "xno" && break
15346 done
15347 rm -f conftest.$ac_ext
15348 CC=$ac_save_CC
15349
15350 fi
15351 # AC_CACHE_VAL
15352 case "x$ac_cv_prog_cc_c89" in
15353 x)
15354 { echo "$as_me:$LINENO: result: none needed" >&5
15355 echo "${ECHO_T}none needed" >&6; } ;;
15356 xno)
15357 { echo "$as_me:$LINENO: result: unsupported" >&5
15358 echo "${ECHO_T}unsupported" >&6; } ;;
15359 *)
15360 CC="$CC $ac_cv_prog_cc_c89"
15361 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
15362 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
15363 esac
15364
15365
15366 ac_ext=c
15367 ac_cpp='$CPP $CPPFLAGS'
15368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15371
15372
15373
15374
15375
15376
15377
15378
15379 ac_ext=c
15380 ac_cpp='$CPP $CPPFLAGS'
15381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15384
15385 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
15386 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
15387 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15388 echo $ECHO_N "(cached) $ECHO_C" >&6
15389 else
15390 cat >conftest.$ac_ext <<_ACEOF
15391 /* confdefs.h. */
15392 _ACEOF
15393 cat confdefs.h >>conftest.$ac_ext
15394 cat >>conftest.$ac_ext <<_ACEOF
15395 /* end confdefs.h. */
15396
15397 int
15398 main ()
15399 {
15400
15401 #ifndef __INTEL_COMPILER
15402 choke me
15403 #endif
15404
15405 ;
15406 return 0;
15407 }
15408 _ACEOF
15409 rm -f conftest.$ac_objext
15410 if { (ac_try="$ac_compile"
15411 case "(($ac_try" in
15412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15413 *) ac_try_echo=$ac_try;;
15414 esac
15415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15416 (eval "$ac_compile") 2>conftest.er1
15417 ac_status=$?
15418 grep -v '^ *+' conftest.er1 >conftest.err
15419 rm -f conftest.er1
15420 cat conftest.err >&5
15421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15422 (exit $ac_status); } && {
15423 test -z "$ac_c_werror_flag" ||
15424 test ! -s conftest.err
15425 } && test -s conftest.$ac_objext; then
15426 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15427 else
15428 echo "$as_me: failed program was:" >&5
15429 sed 's/^/| /' conftest.$ac_ext >&5
15430
15431 bakefile_cv_c_compiler___INTEL_COMPILER=no
15432
15433 fi
15434
15435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15436
15437
15438 fi
15439 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15440 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15441 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15442 :; INTELCC=yes
15443 else
15444 :;
15445 fi
15446 ac_ext=c
15447 ac_cpp='$CPP $CPPFLAGS'
15448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15451
15452
15453
15454
15455 if test "$INTELCC" = "yes"; then
15456
15457
15458 ac_ext=c
15459 ac_cpp='$CPP $CPPFLAGS'
15460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15463
15464 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later" >&5
15465 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later... $ECHO_C" >&6; }
15466 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15467 echo $ECHO_N "(cached) $ECHO_C" >&6
15468 else
15469 cat >conftest.$ac_ext <<_ACEOF
15470 /* confdefs.h. */
15471 _ACEOF
15472 cat confdefs.h >>conftest.$ac_ext
15473 cat >>conftest.$ac_ext <<_ACEOF
15474 /* end confdefs.h. */
15475
15476 int
15477 main ()
15478 {
15479
15480 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15481 choke me
15482 #endif
15483
15484 ;
15485 return 0;
15486 }
15487 _ACEOF
15488 rm -f conftest.$ac_objext
15489 if { (ac_try="$ac_compile"
15490 case "(($ac_try" in
15491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15492 *) ac_try_echo=$ac_try;;
15493 esac
15494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15495 (eval "$ac_compile") 2>conftest.er1
15496 ac_status=$?
15497 grep -v '^ *+' conftest.er1 >conftest.err
15498 rm -f conftest.er1
15499 cat conftest.err >&5
15500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15501 (exit $ac_status); } && {
15502 test -z "$ac_c_werror_flag" ||
15503 test ! -s conftest.err
15504 } && test -s conftest.$ac_objext; then
15505 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15506 else
15507 echo "$as_me: failed program was:" >&5
15508 sed 's/^/| /' conftest.$ac_ext >&5
15509
15510 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15511
15512 fi
15513
15514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15515
15516
15517 fi
15518 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15519 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15520 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
15521 :; INTELCC8=yes
15522 else
15523 :;
15524 fi
15525 ac_ext=c
15526 ac_cpp='$CPP $CPPFLAGS'
15527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15530
15531
15532
15533
15534
15535 ac_ext=c
15536 ac_cpp='$CPP $CPPFLAGS'
15537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15540
15541 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later" >&5
15542 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later... $ECHO_C" >&6; }
15543 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15544 echo $ECHO_N "(cached) $ECHO_C" >&6
15545 else
15546 cat >conftest.$ac_ext <<_ACEOF
15547 /* confdefs.h. */
15548 _ACEOF
15549 cat confdefs.h >>conftest.$ac_ext
15550 cat >>conftest.$ac_ext <<_ACEOF
15551 /* end confdefs.h. */
15552
15553 int
15554 main ()
15555 {
15556
15557 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15558 choke me
15559 #endif
15560
15561 ;
15562 return 0;
15563 }
15564 _ACEOF
15565 rm -f conftest.$ac_objext
15566 if { (ac_try="$ac_compile"
15567 case "(($ac_try" in
15568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15569 *) ac_try_echo=$ac_try;;
15570 esac
15571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15572 (eval "$ac_compile") 2>conftest.er1
15573 ac_status=$?
15574 grep -v '^ *+' conftest.er1 >conftest.err
15575 rm -f conftest.er1
15576 cat conftest.err >&5
15577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15578 (exit $ac_status); } && {
15579 test -z "$ac_c_werror_flag" ||
15580 test ! -s conftest.err
15581 } && test -s conftest.$ac_objext; then
15582 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15583 else
15584 echo "$as_me: failed program was:" >&5
15585 sed 's/^/| /' conftest.$ac_ext >&5
15586
15587 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15588
15589 fi
15590
15591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15592
15593
15594 fi
15595 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15596 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15597 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
15598 :; INTELCC10=yes
15599 else
15600 :;
15601 fi
15602 ac_ext=c
15603 ac_cpp='$CPP $CPPFLAGS'
15604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15607
15608
15609
15610 fi
15611
15612 if test "x$GCC" != "xyes"; then
15613 if test "xCC" = "xC"; then
15614 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15615 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15616 if test "${bakefile_cv_c_exto+set}" = set; then
15617 echo $ECHO_N "(cached) $ECHO_C" >&6
15618 else
15619 cat >conftest.$ac_ext <<_ACEOF
15620 /* confdefs.h. */
15621 _ACEOF
15622 cat confdefs.h >>conftest.$ac_ext
15623 cat >>conftest.$ac_ext <<_ACEOF
15624 /* end confdefs.h. */
15625
15626 int
15627 main ()
15628 {
15629
15630 ;
15631 return 0;
15632 }
15633 _ACEOF
15634 rm -f conftest.$ac_objext conftest.$ac_ext.o
15635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15636 (eval $ac_compile) 2>&5
15637 ac_status=$?
15638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15639 (exit $ac_status); }; then
15640 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15641 case $ac_file in
15642 conftest.$ac_ext.o)
15643 bakefile_cv_c_exto="-ext o"
15644 ;;
15645 *)
15646 ;;
15647 esac
15648 done
15649 else
15650 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15651 See \`config.log' for more details." >&5
15652 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15653 See \`config.log' for more details." >&2;}
15654 { (exit 1); exit 1; }; }
15655
15656 fi
15657
15658 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15659
15660 fi
15661 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15662 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15663 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15664 if test "c" = "c"; then
15665 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15666 fi
15667 if test "c" = "cxx"; then
15668 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15669 fi
15670 fi
15671
15672 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15673 unset ac_cv_prog_cc_g
15674 ac_test_CFLAGS=${CFLAGS+set}
15675 ac_save_CFLAGS=$CFLAGS
15676 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15677 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15678 if test "${ac_cv_prog_cc_g+set}" = set; then
15679 echo $ECHO_N "(cached) $ECHO_C" >&6
15680 else
15681 ac_save_c_werror_flag=$ac_c_werror_flag
15682 ac_c_werror_flag=yes
15683 ac_cv_prog_cc_g=no
15684 CFLAGS="-g"
15685 cat >conftest.$ac_ext <<_ACEOF
15686 /* confdefs.h. */
15687 _ACEOF
15688 cat confdefs.h >>conftest.$ac_ext
15689 cat >>conftest.$ac_ext <<_ACEOF
15690 /* end confdefs.h. */
15691
15692 int
15693 main ()
15694 {
15695
15696 ;
15697 return 0;
15698 }
15699 _ACEOF
15700 rm -f conftest.$ac_objext
15701 if { (ac_try="$ac_compile"
15702 case "(($ac_try" in
15703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15704 *) ac_try_echo=$ac_try;;
15705 esac
15706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15707 (eval "$ac_compile") 2>conftest.er1
15708 ac_status=$?
15709 grep -v '^ *+' conftest.er1 >conftest.err
15710 rm -f conftest.er1
15711 cat conftest.err >&5
15712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15713 (exit $ac_status); } && {
15714 test -z "$ac_c_werror_flag" ||
15715 test ! -s conftest.err
15716 } && test -s conftest.$ac_objext; then
15717 ac_cv_prog_cc_g=yes
15718 else
15719 echo "$as_me: failed program was:" >&5
15720 sed 's/^/| /' conftest.$ac_ext >&5
15721
15722 CFLAGS=""
15723 cat >conftest.$ac_ext <<_ACEOF
15724 /* confdefs.h. */
15725 _ACEOF
15726 cat confdefs.h >>conftest.$ac_ext
15727 cat >>conftest.$ac_ext <<_ACEOF
15728 /* end confdefs.h. */
15729
15730 int
15731 main ()
15732 {
15733
15734 ;
15735 return 0;
15736 }
15737 _ACEOF
15738 rm -f conftest.$ac_objext
15739 if { (ac_try="$ac_compile"
15740 case "(($ac_try" in
15741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15742 *) ac_try_echo=$ac_try;;
15743 esac
15744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15745 (eval "$ac_compile") 2>conftest.er1
15746 ac_status=$?
15747 grep -v '^ *+' conftest.er1 >conftest.err
15748 rm -f conftest.er1
15749 cat conftest.err >&5
15750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15751 (exit $ac_status); } && {
15752 test -z "$ac_c_werror_flag" ||
15753 test ! -s conftest.err
15754 } && test -s conftest.$ac_objext; then
15755 :
15756 else
15757 echo "$as_me: failed program was:" >&5
15758 sed 's/^/| /' conftest.$ac_ext >&5
15759
15760 ac_c_werror_flag=$ac_save_c_werror_flag
15761 CFLAGS="-g"
15762 cat >conftest.$ac_ext <<_ACEOF
15763 /* confdefs.h. */
15764 _ACEOF
15765 cat confdefs.h >>conftest.$ac_ext
15766 cat >>conftest.$ac_ext <<_ACEOF
15767 /* end confdefs.h. */
15768
15769 int
15770 main ()
15771 {
15772
15773 ;
15774 return 0;
15775 }
15776 _ACEOF
15777 rm -f conftest.$ac_objext
15778 if { (ac_try="$ac_compile"
15779 case "(($ac_try" in
15780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15781 *) ac_try_echo=$ac_try;;
15782 esac
15783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15784 (eval "$ac_compile") 2>conftest.er1
15785 ac_status=$?
15786 grep -v '^ *+' conftest.er1 >conftest.err
15787 rm -f conftest.er1
15788 cat conftest.err >&5
15789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15790 (exit $ac_status); } && {
15791 test -z "$ac_c_werror_flag" ||
15792 test ! -s conftest.err
15793 } && test -s conftest.$ac_objext; then
15794 ac_cv_prog_cc_g=yes
15795 else
15796 echo "$as_me: failed program was:" >&5
15797 sed 's/^/| /' conftest.$ac_ext >&5
15798
15799
15800 fi
15801
15802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15803 fi
15804
15805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15806 fi
15807
15808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15809 ac_c_werror_flag=$ac_save_c_werror_flag
15810 fi
15811 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15812 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15813 if test "$ac_test_CFLAGS" = set; then
15814 CFLAGS=$ac_save_CFLAGS
15815 elif test $ac_cv_prog_cc_g = yes; then
15816 if test "$GCC" = yes; then
15817 CFLAGS="-g -O2"
15818 else
15819 CFLAGS="-g"
15820 fi
15821 else
15822 if test "$GCC" = yes; then
15823 CFLAGS="-O2"
15824 else
15825 CFLAGS=
15826 fi
15827 fi
15828 fi
15829 fi
15830
15831 case `uname -s` in
15832 AIX*)
15833
15834
15835 ac_ext=c
15836 ac_cpp='$CPP $CPPFLAGS'
15837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15840
15841 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15842 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15843 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15844 echo $ECHO_N "(cached) $ECHO_C" >&6
15845 else
15846 cat >conftest.$ac_ext <<_ACEOF
15847 /* confdefs.h. */
15848 _ACEOF
15849 cat confdefs.h >>conftest.$ac_ext
15850 cat >>conftest.$ac_ext <<_ACEOF
15851 /* end confdefs.h. */
15852
15853 int
15854 main ()
15855 {
15856
15857 #ifndef __xlC__
15858 choke me
15859 #endif
15860
15861 ;
15862 return 0;
15863 }
15864 _ACEOF
15865 rm -f conftest.$ac_objext
15866 if { (ac_try="$ac_compile"
15867 case "(($ac_try" in
15868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15869 *) ac_try_echo=$ac_try;;
15870 esac
15871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15872 (eval "$ac_compile") 2>conftest.er1
15873 ac_status=$?
15874 grep -v '^ *+' conftest.er1 >conftest.err
15875 rm -f conftest.er1
15876 cat conftest.err >&5
15877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15878 (exit $ac_status); } && {
15879 test -z "$ac_c_werror_flag" ||
15880 test ! -s conftest.err
15881 } && test -s conftest.$ac_objext; then
15882 bakefile_cv_c_compiler___xlC__=yes
15883 else
15884 echo "$as_me: failed program was:" >&5
15885 sed 's/^/| /' conftest.$ac_ext >&5
15886
15887 bakefile_cv_c_compiler___xlC__=no
15888
15889 fi
15890
15891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15892
15893
15894 fi
15895 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15896 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15897 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15898 :; XLCC=yes
15899 else
15900 :;
15901 fi
15902 ac_ext=c
15903 ac_cpp='$CPP $CPPFLAGS'
15904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15907
15908
15909
15910 ;;
15911
15912 Darwin)
15913
15914
15915 ac_ext=c
15916 ac_cpp='$CPP $CPPFLAGS'
15917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15920
15921 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15922 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15923 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15924 echo $ECHO_N "(cached) $ECHO_C" >&6
15925 else
15926 cat >conftest.$ac_ext <<_ACEOF
15927 /* confdefs.h. */
15928 _ACEOF
15929 cat confdefs.h >>conftest.$ac_ext
15930 cat >>conftest.$ac_ext <<_ACEOF
15931 /* end confdefs.h. */
15932
15933 int
15934 main ()
15935 {
15936
15937 #ifndef __MWERKS__
15938 choke me
15939 #endif
15940
15941 ;
15942 return 0;
15943 }
15944 _ACEOF
15945 rm -f conftest.$ac_objext
15946 if { (ac_try="$ac_compile"
15947 case "(($ac_try" in
15948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15949 *) ac_try_echo=$ac_try;;
15950 esac
15951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15952 (eval "$ac_compile") 2>conftest.er1
15953 ac_status=$?
15954 grep -v '^ *+' conftest.er1 >conftest.err
15955 rm -f conftest.er1
15956 cat conftest.err >&5
15957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15958 (exit $ac_status); } && {
15959 test -z "$ac_c_werror_flag" ||
15960 test ! -s conftest.err
15961 } && test -s conftest.$ac_objext; then
15962 bakefile_cv_c_compiler___MWERKS__=yes
15963 else
15964 echo "$as_me: failed program was:" >&5
15965 sed 's/^/| /' conftest.$ac_ext >&5
15966
15967 bakefile_cv_c_compiler___MWERKS__=no
15968
15969 fi
15970
15971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15972
15973
15974 fi
15975 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15976 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15977 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15978 :; MWCC=yes
15979 else
15980 :;
15981 fi
15982 ac_ext=c
15983 ac_cpp='$CPP $CPPFLAGS'
15984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15987
15988
15989
15990 if test "$MWCC" != "yes"; then
15991
15992
15993 ac_ext=c
15994 ac_cpp='$CPP $CPPFLAGS'
15995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15998
15999 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16000 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16001 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16002 echo $ECHO_N "(cached) $ECHO_C" >&6
16003 else
16004 cat >conftest.$ac_ext <<_ACEOF
16005 /* confdefs.h. */
16006 _ACEOF
16007 cat confdefs.h >>conftest.$ac_ext
16008 cat >>conftest.$ac_ext <<_ACEOF
16009 /* end confdefs.h. */
16010
16011 int
16012 main ()
16013 {
16014
16015 #ifndef __xlC__
16016 choke me
16017 #endif
16018
16019 ;
16020 return 0;
16021 }
16022 _ACEOF
16023 rm -f conftest.$ac_objext
16024 if { (ac_try="$ac_compile"
16025 case "(($ac_try" in
16026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16027 *) ac_try_echo=$ac_try;;
16028 esac
16029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16030 (eval "$ac_compile") 2>conftest.er1
16031 ac_status=$?
16032 grep -v '^ *+' conftest.er1 >conftest.err
16033 rm -f conftest.er1
16034 cat conftest.err >&5
16035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16036 (exit $ac_status); } && {
16037 test -z "$ac_c_werror_flag" ||
16038 test ! -s conftest.err
16039 } && test -s conftest.$ac_objext; then
16040 bakefile_cv_c_compiler___xlC__=yes
16041 else
16042 echo "$as_me: failed program was:" >&5
16043 sed 's/^/| /' conftest.$ac_ext >&5
16044
16045 bakefile_cv_c_compiler___xlC__=no
16046
16047 fi
16048
16049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16050
16051
16052 fi
16053 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16054 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16055 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16056 :; XLCC=yes
16057 else
16058 :;
16059 fi
16060 ac_ext=c
16061 ac_cpp='$CPP $CPPFLAGS'
16062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16065
16066
16067
16068 fi
16069 ;;
16070
16071 IRIX*)
16072
16073
16074 ac_ext=c
16075 ac_cpp='$CPP $CPPFLAGS'
16076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16079
16080 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
16081 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
16082 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
16083 echo $ECHO_N "(cached) $ECHO_C" >&6
16084 else
16085 cat >conftest.$ac_ext <<_ACEOF
16086 /* confdefs.h. */
16087 _ACEOF
16088 cat confdefs.h >>conftest.$ac_ext
16089 cat >>conftest.$ac_ext <<_ACEOF
16090 /* end confdefs.h. */
16091
16092 int
16093 main ()
16094 {
16095
16096 #ifndef _SGI_COMPILER_VERSION
16097 choke me
16098 #endif
16099
16100 ;
16101 return 0;
16102 }
16103 _ACEOF
16104 rm -f conftest.$ac_objext
16105 if { (ac_try="$ac_compile"
16106 case "(($ac_try" in
16107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16108 *) ac_try_echo=$ac_try;;
16109 esac
16110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16111 (eval "$ac_compile") 2>conftest.er1
16112 ac_status=$?
16113 grep -v '^ *+' conftest.er1 >conftest.err
16114 rm -f conftest.er1
16115 cat conftest.err >&5
16116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16117 (exit $ac_status); } && {
16118 test -z "$ac_c_werror_flag" ||
16119 test ! -s conftest.err
16120 } && test -s conftest.$ac_objext; then
16121 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
16122 else
16123 echo "$as_me: failed program was:" >&5
16124 sed 's/^/| /' conftest.$ac_ext >&5
16125
16126 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
16127
16128 fi
16129
16130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16131
16132
16133 fi
16134 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
16135 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
16136 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16137 :; SGICC=yes
16138 else
16139 :;
16140 fi
16141 ac_ext=c
16142 ac_cpp='$CPP $CPPFLAGS'
16143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16146
16147
16148
16149 ;;
16150
16151 Linux*)
16152 if test "$INTELCC" != "yes"; then
16153
16154
16155 ac_ext=c
16156 ac_cpp='$CPP $CPPFLAGS'
16157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16160
16161 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16162 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16163 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16164 echo $ECHO_N "(cached) $ECHO_C" >&6
16165 else
16166 cat >conftest.$ac_ext <<_ACEOF
16167 /* confdefs.h. */
16168 _ACEOF
16169 cat confdefs.h >>conftest.$ac_ext
16170 cat >>conftest.$ac_ext <<_ACEOF
16171 /* end confdefs.h. */
16172
16173 int
16174 main ()
16175 {
16176
16177 #ifndef __SUNPRO_C
16178 choke me
16179 #endif
16180
16181 ;
16182 return 0;
16183 }
16184 _ACEOF
16185 rm -f conftest.$ac_objext
16186 if { (ac_try="$ac_compile"
16187 case "(($ac_try" in
16188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16189 *) ac_try_echo=$ac_try;;
16190 esac
16191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16192 (eval "$ac_compile") 2>conftest.er1
16193 ac_status=$?
16194 grep -v '^ *+' conftest.er1 >conftest.err
16195 rm -f conftest.er1
16196 cat conftest.err >&5
16197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16198 (exit $ac_status); } && {
16199 test -z "$ac_c_werror_flag" ||
16200 test ! -s conftest.err
16201 } && test -s conftest.$ac_objext; then
16202 bakefile_cv_c_compiler___SUNPRO_C=yes
16203 else
16204 echo "$as_me: failed program was:" >&5
16205 sed 's/^/| /' conftest.$ac_ext >&5
16206
16207 bakefile_cv_c_compiler___SUNPRO_C=no
16208
16209 fi
16210
16211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16212
16213
16214 fi
16215 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16216 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16217 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16218 :; SUNCC=yes
16219 else
16220 :;
16221 fi
16222 ac_ext=c
16223 ac_cpp='$CPP $CPPFLAGS'
16224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16227
16228
16229
16230 fi
16231 ;;
16232
16233 HP-UX*)
16234
16235
16236 ac_ext=c
16237 ac_cpp='$CPP $CPPFLAGS'
16238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16241
16242 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
16243 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
16244 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
16245 echo $ECHO_N "(cached) $ECHO_C" >&6
16246 else
16247 cat >conftest.$ac_ext <<_ACEOF
16248 /* confdefs.h. */
16249 _ACEOF
16250 cat confdefs.h >>conftest.$ac_ext
16251 cat >>conftest.$ac_ext <<_ACEOF
16252 /* end confdefs.h. */
16253
16254 int
16255 main ()
16256 {
16257
16258 #ifndef __HP_cc
16259 choke me
16260 #endif
16261
16262 ;
16263 return 0;
16264 }
16265 _ACEOF
16266 rm -f conftest.$ac_objext
16267 if { (ac_try="$ac_compile"
16268 case "(($ac_try" in
16269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16270 *) ac_try_echo=$ac_try;;
16271 esac
16272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16273 (eval "$ac_compile") 2>conftest.er1
16274 ac_status=$?
16275 grep -v '^ *+' conftest.er1 >conftest.err
16276 rm -f conftest.er1
16277 cat conftest.err >&5
16278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16279 (exit $ac_status); } && {
16280 test -z "$ac_c_werror_flag" ||
16281 test ! -s conftest.err
16282 } && test -s conftest.$ac_objext; then
16283 bakefile_cv_c_compiler___HP_cc=yes
16284 else
16285 echo "$as_me: failed program was:" >&5
16286 sed 's/^/| /' conftest.$ac_ext >&5
16287
16288 bakefile_cv_c_compiler___HP_cc=no
16289
16290 fi
16291
16292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16293
16294
16295 fi
16296 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
16297 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
16298 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
16299 :; HPCC=yes
16300 else
16301 :;
16302 fi
16303 ac_ext=c
16304 ac_cpp='$CPP $CPPFLAGS'
16305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16308
16309
16310
16311 ;;
16312
16313 OSF1)
16314
16315
16316 ac_ext=c
16317 ac_cpp='$CPP $CPPFLAGS'
16318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16321
16322 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
16323 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
16324 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
16325 echo $ECHO_N "(cached) $ECHO_C" >&6
16326 else
16327 cat >conftest.$ac_ext <<_ACEOF
16328 /* confdefs.h. */
16329 _ACEOF
16330 cat confdefs.h >>conftest.$ac_ext
16331 cat >>conftest.$ac_ext <<_ACEOF
16332 /* end confdefs.h. */
16333
16334 int
16335 main ()
16336 {
16337
16338 #ifndef __DECC
16339 choke me
16340 #endif
16341
16342 ;
16343 return 0;
16344 }
16345 _ACEOF
16346 rm -f conftest.$ac_objext
16347 if { (ac_try="$ac_compile"
16348 case "(($ac_try" in
16349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16350 *) ac_try_echo=$ac_try;;
16351 esac
16352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16353 (eval "$ac_compile") 2>conftest.er1
16354 ac_status=$?
16355 grep -v '^ *+' conftest.er1 >conftest.err
16356 rm -f conftest.er1
16357 cat conftest.err >&5
16358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16359 (exit $ac_status); } && {
16360 test -z "$ac_c_werror_flag" ||
16361 test ! -s conftest.err
16362 } && test -s conftest.$ac_objext; then
16363 bakefile_cv_c_compiler___DECC=yes
16364 else
16365 echo "$as_me: failed program was:" >&5
16366 sed 's/^/| /' conftest.$ac_ext >&5
16367
16368 bakefile_cv_c_compiler___DECC=no
16369
16370 fi
16371
16372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16373
16374
16375 fi
16376 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
16377 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
16378 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
16379 :; COMPAQCC=yes
16380 else
16381 :;
16382 fi
16383 ac_ext=c
16384 ac_cpp='$CPP $CPPFLAGS'
16385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16388
16389
16390
16391 ;;
16392
16393 SunOS)
16394
16395
16396 ac_ext=c
16397 ac_cpp='$CPP $CPPFLAGS'
16398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16401
16402 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16403 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16404 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16405 echo $ECHO_N "(cached) $ECHO_C" >&6
16406 else
16407 cat >conftest.$ac_ext <<_ACEOF
16408 /* confdefs.h. */
16409 _ACEOF
16410 cat confdefs.h >>conftest.$ac_ext
16411 cat >>conftest.$ac_ext <<_ACEOF
16412 /* end confdefs.h. */
16413
16414 int
16415 main ()
16416 {
16417
16418 #ifndef __SUNPRO_C
16419 choke me
16420 #endif
16421
16422 ;
16423 return 0;
16424 }
16425 _ACEOF
16426 rm -f conftest.$ac_objext
16427 if { (ac_try="$ac_compile"
16428 case "(($ac_try" in
16429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16430 *) ac_try_echo=$ac_try;;
16431 esac
16432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16433 (eval "$ac_compile") 2>conftest.er1
16434 ac_status=$?
16435 grep -v '^ *+' conftest.er1 >conftest.err
16436 rm -f conftest.er1
16437 cat conftest.err >&5
16438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16439 (exit $ac_status); } && {
16440 test -z "$ac_c_werror_flag" ||
16441 test ! -s conftest.err
16442 } && test -s conftest.$ac_objext; then
16443 bakefile_cv_c_compiler___SUNPRO_C=yes
16444 else
16445 echo "$as_me: failed program was:" >&5
16446 sed 's/^/| /' conftest.$ac_ext >&5
16447
16448 bakefile_cv_c_compiler___SUNPRO_C=no
16449
16450 fi
16451
16452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16453
16454
16455 fi
16456 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16457 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16458 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16459 :; SUNCC=yes
16460 else
16461 :;
16462 fi
16463 ac_ext=c
16464 ac_cpp='$CPP $CPPFLAGS'
16465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16468
16469
16470
16471 ;;
16472 esac
16473 fi
16474
16475
16476
16477 ac_ext=c
16478 ac_cpp='$CPP $CPPFLAGS'
16479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16482 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16483 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16484 # On Suns, sometimes $CPP names a directory.
16485 if test -n "$CPP" && test -d "$CPP"; then
16486 CPP=
16487 fi
16488 if test -z "$CPP"; then
16489 if test "${ac_cv_prog_CPP+set}" = set; then
16490 echo $ECHO_N "(cached) $ECHO_C" >&6
16491 else
16492 # Double quotes because CPP needs to be expanded
16493 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16494 do
16495 ac_preproc_ok=false
16496 for ac_c_preproc_warn_flag in '' yes
16497 do
16498 # Use a header file that comes with gcc, so configuring glibc
16499 # with a fresh cross-compiler works.
16500 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16501 # <limits.h> exists even on freestanding compilers.
16502 # On the NeXT, cc -E runs the code through the compiler's parser,
16503 # not just through cpp. "Syntax error" is here to catch this case.
16504 cat >conftest.$ac_ext <<_ACEOF
16505 /* confdefs.h. */
16506 _ACEOF
16507 cat confdefs.h >>conftest.$ac_ext
16508 cat >>conftest.$ac_ext <<_ACEOF
16509 /* end confdefs.h. */
16510 #ifdef __STDC__
16511 # include <limits.h>
16512 #else
16513 # include <assert.h>
16514 #endif
16515 Syntax error
16516 _ACEOF
16517 if { (ac_try="$ac_cpp conftest.$ac_ext"
16518 case "(($ac_try" in
16519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16520 *) ac_try_echo=$ac_try;;
16521 esac
16522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16523 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16524 ac_status=$?
16525 grep -v '^ *+' conftest.er1 >conftest.err
16526 rm -f conftest.er1
16527 cat conftest.err >&5
16528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16529 (exit $ac_status); } >/dev/null && {
16530 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16531 test ! -s conftest.err
16532 }; then
16533 :
16534 else
16535 echo "$as_me: failed program was:" >&5
16536 sed 's/^/| /' conftest.$ac_ext >&5
16537
16538 # Broken: fails on valid input.
16539 continue
16540 fi
16541
16542 rm -f conftest.err conftest.$ac_ext
16543
16544 # OK, works on sane cases. Now check whether nonexistent headers
16545 # can be detected and how.
16546 cat >conftest.$ac_ext <<_ACEOF
16547 /* confdefs.h. */
16548 _ACEOF
16549 cat confdefs.h >>conftest.$ac_ext
16550 cat >>conftest.$ac_ext <<_ACEOF
16551 /* end confdefs.h. */
16552 #include <ac_nonexistent.h>
16553 _ACEOF
16554 if { (ac_try="$ac_cpp conftest.$ac_ext"
16555 case "(($ac_try" in
16556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16557 *) ac_try_echo=$ac_try;;
16558 esac
16559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16560 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16561 ac_status=$?
16562 grep -v '^ *+' conftest.er1 >conftest.err
16563 rm -f conftest.er1
16564 cat conftest.err >&5
16565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16566 (exit $ac_status); } >/dev/null && {
16567 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16568 test ! -s conftest.err
16569 }; then
16570 # Broken: success on invalid input.
16571 continue
16572 else
16573 echo "$as_me: failed program was:" >&5
16574 sed 's/^/| /' conftest.$ac_ext >&5
16575
16576 # Passes both tests.
16577 ac_preproc_ok=:
16578 break
16579 fi
16580
16581 rm -f conftest.err conftest.$ac_ext
16582
16583 done
16584 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16585 rm -f conftest.err conftest.$ac_ext
16586 if $ac_preproc_ok; then
16587 break
16588 fi
16589
16590 done
16591 ac_cv_prog_CPP=$CPP
16592
16593 fi
16594 CPP=$ac_cv_prog_CPP
16595 else
16596 ac_cv_prog_CPP=$CPP
16597 fi
16598 { echo "$as_me:$LINENO: result: $CPP" >&5
16599 echo "${ECHO_T}$CPP" >&6; }
16600 ac_preproc_ok=false
16601 for ac_c_preproc_warn_flag in '' yes
16602 do
16603 # Use a header file that comes with gcc, so configuring glibc
16604 # with a fresh cross-compiler works.
16605 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16606 # <limits.h> exists even on freestanding compilers.
16607 # On the NeXT, cc -E runs the code through the compiler's parser,
16608 # not just through cpp. "Syntax error" is here to catch this case.
16609 cat >conftest.$ac_ext <<_ACEOF
16610 /* confdefs.h. */
16611 _ACEOF
16612 cat confdefs.h >>conftest.$ac_ext
16613 cat >>conftest.$ac_ext <<_ACEOF
16614 /* end confdefs.h. */
16615 #ifdef __STDC__
16616 # include <limits.h>
16617 #else
16618 # include <assert.h>
16619 #endif
16620 Syntax error
16621 _ACEOF
16622 if { (ac_try="$ac_cpp conftest.$ac_ext"
16623 case "(($ac_try" in
16624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16625 *) ac_try_echo=$ac_try;;
16626 esac
16627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16628 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16629 ac_status=$?
16630 grep -v '^ *+' conftest.er1 >conftest.err
16631 rm -f conftest.er1
16632 cat conftest.err >&5
16633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16634 (exit $ac_status); } >/dev/null && {
16635 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16636 test ! -s conftest.err
16637 }; then
16638 :
16639 else
16640 echo "$as_me: failed program was:" >&5
16641 sed 's/^/| /' conftest.$ac_ext >&5
16642
16643 # Broken: fails on valid input.
16644 continue
16645 fi
16646
16647 rm -f conftest.err conftest.$ac_ext
16648
16649 # OK, works on sane cases. Now check whether nonexistent headers
16650 # can be detected and how.
16651 cat >conftest.$ac_ext <<_ACEOF
16652 /* confdefs.h. */
16653 _ACEOF
16654 cat confdefs.h >>conftest.$ac_ext
16655 cat >>conftest.$ac_ext <<_ACEOF
16656 /* end confdefs.h. */
16657 #include <ac_nonexistent.h>
16658 _ACEOF
16659 if { (ac_try="$ac_cpp conftest.$ac_ext"
16660 case "(($ac_try" in
16661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16662 *) ac_try_echo=$ac_try;;
16663 esac
16664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16665 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16666 ac_status=$?
16667 grep -v '^ *+' conftest.er1 >conftest.err
16668 rm -f conftest.er1
16669 cat conftest.err >&5
16670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16671 (exit $ac_status); } >/dev/null && {
16672 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16673 test ! -s conftest.err
16674 }; then
16675 # Broken: success on invalid input.
16676 continue
16677 else
16678 echo "$as_me: failed program was:" >&5
16679 sed 's/^/| /' conftest.$ac_ext >&5
16680
16681 # Passes both tests.
16682 ac_preproc_ok=:
16683 break
16684 fi
16685
16686 rm -f conftest.err conftest.$ac_ext
16687
16688 done
16689 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16690 rm -f conftest.err conftest.$ac_ext
16691 if $ac_preproc_ok; then
16692 :
16693 else
16694 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16695 See \`config.log' for more details." >&5
16696 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16697 See \`config.log' for more details." >&2;}
16698 { (exit 1); exit 1; }; }
16699 fi
16700
16701 ac_ext=c
16702 ac_cpp='$CPP $CPPFLAGS'
16703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16706
16707
16708 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16709 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16710 if test "${ac_cv_path_GREP+set}" = set; then
16711 echo $ECHO_N "(cached) $ECHO_C" >&6
16712 else
16713 # Extract the first word of "grep ggrep" to use in msg output
16714 if test -z "$GREP"; then
16715 set dummy grep ggrep; ac_prog_name=$2
16716 if test "${ac_cv_path_GREP+set}" = set; then
16717 echo $ECHO_N "(cached) $ECHO_C" >&6
16718 else
16719 ac_path_GREP_found=false
16720 # Loop through the user's path and test for each of PROGNAME-LIST
16721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16722 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16723 do
16724 IFS=$as_save_IFS
16725 test -z "$as_dir" && as_dir=.
16726 for ac_prog in grep ggrep; do
16727 for ac_exec_ext in '' $ac_executable_extensions; do
16728 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
16729 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16730 # Check for GNU ac_path_GREP and select it if it is found.
16731 # Check for GNU $ac_path_GREP
16732 case `"$ac_path_GREP" --version 2>&1` in
16733 *GNU*)
16734 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
16735 *)
16736 ac_count=0
16737 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16738 while :
16739 do
16740 cat "conftest.in" "conftest.in" >"conftest.tmp"
16741 mv "conftest.tmp" "conftest.in"
16742 cp "conftest.in" "conftest.nl"
16743 echo 'GREP' >> "conftest.nl"
16744 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16745 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16746 ac_count=`expr $ac_count + 1`
16747 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16748 # Best one so far, save it but keep looking for a better one
16749 ac_cv_path_GREP="$ac_path_GREP"
16750 ac_path_GREP_max=$ac_count
16751 fi
16752 # 10*(2^10) chars as input seems more than enough
16753 test $ac_count -gt 10 && break
16754 done
16755 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16756 esac
16757
16758
16759 $ac_path_GREP_found && break 3
16760 done
16761 done
16762
16763 done
16764 IFS=$as_save_IFS
16765
16766
16767 fi
16768
16769 GREP="$ac_cv_path_GREP"
16770 if test -z "$GREP"; then
16771 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16772 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16773 { (exit 1); exit 1; }; }
16774 fi
16775
16776 else
16777 ac_cv_path_GREP=$GREP
16778 fi
16779
16780
16781 fi
16782 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16783 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16784 GREP="$ac_cv_path_GREP"
16785
16786
16787 { echo "$as_me:$LINENO: checking for egrep" >&5
16788 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16789 if test "${ac_cv_path_EGREP+set}" = set; then
16790 echo $ECHO_N "(cached) $ECHO_C" >&6
16791 else
16792 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
16793 then ac_cv_path_EGREP="$GREP -E"
16794 else
16795 # Extract the first word of "egrep" to use in msg output
16796 if test -z "$EGREP"; then
16797 set dummy egrep; ac_prog_name=$2
16798 if test "${ac_cv_path_EGREP+set}" = set; then
16799 echo $ECHO_N "(cached) $ECHO_C" >&6
16800 else
16801 ac_path_EGREP_found=false
16802 # Loop through the user's path and test for each of PROGNAME-LIST
16803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16804 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16805 do
16806 IFS=$as_save_IFS
16807 test -z "$as_dir" && as_dir=.
16808 for ac_prog in egrep; do
16809 for ac_exec_ext in '' $ac_executable_extensions; do
16810 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
16811 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16812 # Check for GNU ac_path_EGREP and select it if it is found.
16813 # Check for GNU $ac_path_EGREP
16814 case `"$ac_path_EGREP" --version 2>&1` in
16815 *GNU*)
16816 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
16817 *)
16818 ac_count=0
16819 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16820 while :
16821 do
16822 cat "conftest.in" "conftest.in" >"conftest.tmp"
16823 mv "conftest.tmp" "conftest.in"
16824 cp "conftest.in" "conftest.nl"
16825 echo 'EGREP' >> "conftest.nl"
16826 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16827 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16828 ac_count=`expr $ac_count + 1`
16829 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16830 # Best one so far, save it but keep looking for a better one
16831 ac_cv_path_EGREP="$ac_path_EGREP"
16832 ac_path_EGREP_max=$ac_count
16833 fi
16834 # 10*(2^10) chars as input seems more than enough
16835 test $ac_count -gt 10 && break
16836 done
16837 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16838 esac
16839
16840
16841 $ac_path_EGREP_found && break 3
16842 done
16843 done
16844
16845 done
16846 IFS=$as_save_IFS
16847
16848
16849 fi
16850
16851 EGREP="$ac_cv_path_EGREP"
16852 if test -z "$EGREP"; then
16853 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16854 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16855 { (exit 1); exit 1; }; }
16856 fi
16857
16858 else
16859 ac_cv_path_EGREP=$EGREP
16860 fi
16861
16862
16863 fi
16864 fi
16865 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16866 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16867 EGREP="$ac_cv_path_EGREP"
16868
16869
16870 if test $ac_cv_c_compiler_gnu = yes; then
16871 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16872 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16873 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16874 echo $ECHO_N "(cached) $ECHO_C" >&6
16875 else
16876 ac_pattern="Autoconf.*'x'"
16877 cat >conftest.$ac_ext <<_ACEOF
16878 /* confdefs.h. */
16879 _ACEOF
16880 cat confdefs.h >>conftest.$ac_ext
16881 cat >>conftest.$ac_ext <<_ACEOF
16882 /* end confdefs.h. */
16883 #include <sgtty.h>
16884 Autoconf TIOCGETP
16885 _ACEOF
16886 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16887 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16888 ac_cv_prog_gcc_traditional=yes
16889 else
16890 ac_cv_prog_gcc_traditional=no
16891 fi
16892 rm -f conftest*
16893
16894
16895 if test $ac_cv_prog_gcc_traditional = no; then
16896 cat >conftest.$ac_ext <<_ACEOF
16897 /* confdefs.h. */
16898 _ACEOF
16899 cat confdefs.h >>conftest.$ac_ext
16900 cat >>conftest.$ac_ext <<_ACEOF
16901 /* end confdefs.h. */
16902 #include <termio.h>
16903 Autoconf TCGETA
16904 _ACEOF
16905 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16906 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16907 ac_cv_prog_gcc_traditional=yes
16908 fi
16909 rm -f conftest*
16910
16911 fi
16912 fi
16913 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16914 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16915 if test $ac_cv_prog_gcc_traditional = yes; then
16916 CC="$CC -traditional"
16917 fi
16918 fi
16919
16920
16921 CXXFLAGS=${CXXFLAGS:=}
16922 ac_ext=cpp
16923 ac_cpp='$CXXCPP $CPPFLAGS'
16924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16927 if test -z "$CXX"; then
16928 if test -n "$CCC"; then
16929 CXX=$CCC
16930 else
16931 if test -n "$ac_tool_prefix"; then
16932 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16933 do
16934 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16935 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16936 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16937 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16938 if test "${ac_cv_prog_CXX+set}" = set; then
16939 echo $ECHO_N "(cached) $ECHO_C" >&6
16940 else
16941 if test -n "$CXX"; then
16942 ac_cv_prog_CXX="$CXX" # Let the user override the test.
16943 else
16944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16945 for as_dir in $PATH
16946 do
16947 IFS=$as_save_IFS
16948 test -z "$as_dir" && as_dir=.
16949 for ac_exec_ext in '' $ac_executable_extensions; do
16950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16951 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16952 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16953 break 2
16954 fi
16955 done
16956 done
16957 IFS=$as_save_IFS
16958
16959 fi
16960 fi
16961 CXX=$ac_cv_prog_CXX
16962 if test -n "$CXX"; then
16963 { echo "$as_me:$LINENO: result: $CXX" >&5
16964 echo "${ECHO_T}$CXX" >&6; }
16965 else
16966 { echo "$as_me:$LINENO: result: no" >&5
16967 echo "${ECHO_T}no" >&6; }
16968 fi
16969
16970
16971 test -n "$CXX" && break
16972 done
16973 fi
16974 if test -z "$CXX"; then
16975 ac_ct_CXX=$CXX
16976 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16977 do
16978 # Extract the first word of "$ac_prog", so it can be a program name with args.
16979 set dummy $ac_prog; ac_word=$2
16980 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16981 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16982 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16983 echo $ECHO_N "(cached) $ECHO_C" >&6
16984 else
16985 if test -n "$ac_ct_CXX"; then
16986 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16987 else
16988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16989 for as_dir in $PATH
16990 do
16991 IFS=$as_save_IFS
16992 test -z "$as_dir" && as_dir=.
16993 for ac_exec_ext in '' $ac_executable_extensions; do
16994 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16995 ac_cv_prog_ac_ct_CXX="$ac_prog"
16996 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16997 break 2
16998 fi
16999 done
17000 done
17001 IFS=$as_save_IFS
17002
17003 fi
17004 fi
17005 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
17006 if test -n "$ac_ct_CXX"; then
17007 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
17008 echo "${ECHO_T}$ac_ct_CXX" >&6; }
17009 else
17010 { echo "$as_me:$LINENO: result: no" >&5
17011 echo "${ECHO_T}no" >&6; }
17012 fi
17013
17014
17015 test -n "$ac_ct_CXX" && break
17016 done
17017
17018 if test "x$ac_ct_CXX" = x; then
17019 CXX="g++"
17020 else
17021 case $cross_compiling:$ac_tool_warned in
17022 yes:)
17023 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17024 whose name does not start with the host triplet. If you think this
17025 configuration is useful to you, please write to autoconf@gnu.org." >&5
17026 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17027 whose name does not start with the host triplet. If you think this
17028 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17029 ac_tool_warned=yes ;;
17030 esac
17031 CXX=$ac_ct_CXX
17032 fi
17033 fi
17034
17035 fi
17036 fi
17037 # Provide some information about the compiler.
17038 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
17039 ac_compiler=`set X $ac_compile; echo $2`
17040 { (ac_try="$ac_compiler --version >&5"
17041 case "(($ac_try" in
17042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17043 *) ac_try_echo=$ac_try;;
17044 esac
17045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17046 (eval "$ac_compiler --version >&5") 2>&5
17047 ac_status=$?
17048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17049 (exit $ac_status); }
17050 { (ac_try="$ac_compiler -v >&5"
17051 case "(($ac_try" in
17052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17053 *) ac_try_echo=$ac_try;;
17054 esac
17055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17056 (eval "$ac_compiler -v >&5") 2>&5
17057 ac_status=$?
17058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17059 (exit $ac_status); }
17060 { (ac_try="$ac_compiler -V >&5"
17061 case "(($ac_try" in
17062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17063 *) ac_try_echo=$ac_try;;
17064 esac
17065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17066 (eval "$ac_compiler -V >&5") 2>&5
17067 ac_status=$?
17068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17069 (exit $ac_status); }
17070
17071 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
17072 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
17073 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
17074 echo $ECHO_N "(cached) $ECHO_C" >&6
17075 else
17076 cat >conftest.$ac_ext <<_ACEOF
17077 /* confdefs.h. */
17078 _ACEOF
17079 cat confdefs.h >>conftest.$ac_ext
17080 cat >>conftest.$ac_ext <<_ACEOF
17081 /* end confdefs.h. */
17082
17083 int
17084 main ()
17085 {
17086 #ifndef __GNUC__
17087 choke me
17088 #endif
17089
17090 ;
17091 return 0;
17092 }
17093 _ACEOF
17094 rm -f conftest.$ac_objext
17095 if { (ac_try="$ac_compile"
17096 case "(($ac_try" in
17097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17098 *) ac_try_echo=$ac_try;;
17099 esac
17100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17101 (eval "$ac_compile") 2>conftest.er1
17102 ac_status=$?
17103 grep -v '^ *+' conftest.er1 >conftest.err
17104 rm -f conftest.er1
17105 cat conftest.err >&5
17106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17107 (exit $ac_status); } && {
17108 test -z "$ac_cxx_werror_flag" ||
17109 test ! -s conftest.err
17110 } && test -s conftest.$ac_objext; then
17111 ac_compiler_gnu=yes
17112 else
17113 echo "$as_me: failed program was:" >&5
17114 sed 's/^/| /' conftest.$ac_ext >&5
17115
17116 ac_compiler_gnu=no
17117 fi
17118
17119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17120 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
17121
17122 fi
17123 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
17124 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
17125 GXX=`test $ac_compiler_gnu = yes && echo yes`
17126 ac_test_CXXFLAGS=${CXXFLAGS+set}
17127 ac_save_CXXFLAGS=$CXXFLAGS
17128 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
17129 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
17130 if test "${ac_cv_prog_cxx_g+set}" = set; then
17131 echo $ECHO_N "(cached) $ECHO_C" >&6
17132 else
17133 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
17134 ac_cxx_werror_flag=yes
17135 ac_cv_prog_cxx_g=no
17136 CXXFLAGS="-g"
17137 cat >conftest.$ac_ext <<_ACEOF
17138 /* confdefs.h. */
17139 _ACEOF
17140 cat confdefs.h >>conftest.$ac_ext
17141 cat >>conftest.$ac_ext <<_ACEOF
17142 /* end confdefs.h. */
17143
17144 int
17145 main ()
17146 {
17147
17148 ;
17149 return 0;
17150 }
17151 _ACEOF
17152 rm -f conftest.$ac_objext
17153 if { (ac_try="$ac_compile"
17154 case "(($ac_try" in
17155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17156 *) ac_try_echo=$ac_try;;
17157 esac
17158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17159 (eval "$ac_compile") 2>conftest.er1
17160 ac_status=$?
17161 grep -v '^ *+' conftest.er1 >conftest.err
17162 rm -f conftest.er1
17163 cat conftest.err >&5
17164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17165 (exit $ac_status); } && {
17166 test -z "$ac_cxx_werror_flag" ||
17167 test ! -s conftest.err
17168 } && test -s conftest.$ac_objext; then
17169 ac_cv_prog_cxx_g=yes
17170 else
17171 echo "$as_me: failed program was:" >&5
17172 sed 's/^/| /' conftest.$ac_ext >&5
17173
17174 CXXFLAGS=""
17175 cat >conftest.$ac_ext <<_ACEOF
17176 /* confdefs.h. */
17177 _ACEOF
17178 cat confdefs.h >>conftest.$ac_ext
17179 cat >>conftest.$ac_ext <<_ACEOF
17180 /* end confdefs.h. */
17181
17182 int
17183 main ()
17184 {
17185
17186 ;
17187 return 0;
17188 }
17189 _ACEOF
17190 rm -f conftest.$ac_objext
17191 if { (ac_try="$ac_compile"
17192 case "(($ac_try" in
17193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17194 *) ac_try_echo=$ac_try;;
17195 esac
17196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17197 (eval "$ac_compile") 2>conftest.er1
17198 ac_status=$?
17199 grep -v '^ *+' conftest.er1 >conftest.err
17200 rm -f conftest.er1
17201 cat conftest.err >&5
17202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17203 (exit $ac_status); } && {
17204 test -z "$ac_cxx_werror_flag" ||
17205 test ! -s conftest.err
17206 } && test -s conftest.$ac_objext; then
17207 :
17208 else
17209 echo "$as_me: failed program was:" >&5
17210 sed 's/^/| /' conftest.$ac_ext >&5
17211
17212 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17213 CXXFLAGS="-g"
17214 cat >conftest.$ac_ext <<_ACEOF
17215 /* confdefs.h. */
17216 _ACEOF
17217 cat confdefs.h >>conftest.$ac_ext
17218 cat >>conftest.$ac_ext <<_ACEOF
17219 /* end confdefs.h. */
17220
17221 int
17222 main ()
17223 {
17224
17225 ;
17226 return 0;
17227 }
17228 _ACEOF
17229 rm -f conftest.$ac_objext
17230 if { (ac_try="$ac_compile"
17231 case "(($ac_try" in
17232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17233 *) ac_try_echo=$ac_try;;
17234 esac
17235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17236 (eval "$ac_compile") 2>conftest.er1
17237 ac_status=$?
17238 grep -v '^ *+' conftest.er1 >conftest.err
17239 rm -f conftest.er1
17240 cat conftest.err >&5
17241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17242 (exit $ac_status); } && {
17243 test -z "$ac_cxx_werror_flag" ||
17244 test ! -s conftest.err
17245 } && test -s conftest.$ac_objext; then
17246 ac_cv_prog_cxx_g=yes
17247 else
17248 echo "$as_me: failed program was:" >&5
17249 sed 's/^/| /' conftest.$ac_ext >&5
17250
17251
17252 fi
17253
17254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17255 fi
17256
17257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17258 fi
17259
17260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17261 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17262 fi
17263 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17264 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
17265 if test "$ac_test_CXXFLAGS" = set; then
17266 CXXFLAGS=$ac_save_CXXFLAGS
17267 elif test $ac_cv_prog_cxx_g = yes; then
17268 if test "$GXX" = yes; then
17269 CXXFLAGS="-g -O2"
17270 else
17271 CXXFLAGS="-g"
17272 fi
17273 else
17274 if test "$GXX" = yes; then
17275 CXXFLAGS="-O2"
17276 else
17277 CXXFLAGS=
17278 fi
17279 fi
17280 ac_ext=c
17281 ac_cpp='$CPP $CPPFLAGS'
17282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17285
17286
17287
17288
17289
17290
17291
17292
17293 ac_ext=cpp
17294 ac_cpp='$CXXCPP $CPPFLAGS'
17295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17298
17299 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
17300 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
17301 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
17302 echo $ECHO_N "(cached) $ECHO_C" >&6
17303 else
17304 cat >conftest.$ac_ext <<_ACEOF
17305 /* confdefs.h. */
17306 _ACEOF
17307 cat confdefs.h >>conftest.$ac_ext
17308 cat >>conftest.$ac_ext <<_ACEOF
17309 /* end confdefs.h. */
17310
17311 int
17312 main ()
17313 {
17314
17315 #ifndef __INTEL_COMPILER
17316 choke me
17317 #endif
17318
17319 ;
17320 return 0;
17321 }
17322 _ACEOF
17323 rm -f conftest.$ac_objext
17324 if { (ac_try="$ac_compile"
17325 case "(($ac_try" in
17326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17327 *) ac_try_echo=$ac_try;;
17328 esac
17329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17330 (eval "$ac_compile") 2>conftest.er1
17331 ac_status=$?
17332 grep -v '^ *+' conftest.er1 >conftest.err
17333 rm -f conftest.er1
17334 cat conftest.err >&5
17335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17336 (exit $ac_status); } && {
17337 test -z "$ac_cxx_werror_flag" ||
17338 test ! -s conftest.err
17339 } && test -s conftest.$ac_objext; then
17340 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
17341 else
17342 echo "$as_me: failed program was:" >&5
17343 sed 's/^/| /' conftest.$ac_ext >&5
17344
17345 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
17346
17347 fi
17348
17349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17350
17351
17352 fi
17353 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
17354 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
17355 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
17356 :; INTELCXX=yes
17357 else
17358 :;
17359 fi
17360 ac_ext=c
17361 ac_cpp='$CPP $CPPFLAGS'
17362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17365
17366
17367
17368
17369 if test "$INTELCXX" = "yes"; then
17370
17371
17372 ac_ext=cpp
17373 ac_cpp='$CXXCPP $CPPFLAGS'
17374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17377
17378 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
17379 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
17380 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
17381 echo $ECHO_N "(cached) $ECHO_C" >&6
17382 else
17383 cat >conftest.$ac_ext <<_ACEOF
17384 /* confdefs.h. */
17385 _ACEOF
17386 cat confdefs.h >>conftest.$ac_ext
17387 cat >>conftest.$ac_ext <<_ACEOF
17388 /* end confdefs.h. */
17389
17390 int
17391 main ()
17392 {
17393
17394 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17395 choke me
17396 #endif
17397
17398 ;
17399 return 0;
17400 }
17401 _ACEOF
17402 rm -f conftest.$ac_objext
17403 if { (ac_try="$ac_compile"
17404 case "(($ac_try" in
17405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17406 *) ac_try_echo=$ac_try;;
17407 esac
17408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17409 (eval "$ac_compile") 2>conftest.er1
17410 ac_status=$?
17411 grep -v '^ *+' conftest.er1 >conftest.err
17412 rm -f conftest.er1
17413 cat conftest.err >&5
17414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17415 (exit $ac_status); } && {
17416 test -z "$ac_cxx_werror_flag" ||
17417 test ! -s conftest.err
17418 } && test -s conftest.$ac_objext; then
17419 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17420 else
17421 echo "$as_me: failed program was:" >&5
17422 sed 's/^/| /' conftest.$ac_ext >&5
17423
17424 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17425
17426 fi
17427
17428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17429
17430
17431 fi
17432 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17433 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17434 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17435 :; INTELCXX8=yes
17436 else
17437 :;
17438 fi
17439 ac_ext=c
17440 ac_cpp='$CPP $CPPFLAGS'
17441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17444
17445
17446
17447
17448
17449 ac_ext=cpp
17450 ac_cpp='$CXXCPP $CPPFLAGS'
17451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17454
17455 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17456 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17457 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17458 echo $ECHO_N "(cached) $ECHO_C" >&6
17459 else
17460 cat >conftest.$ac_ext <<_ACEOF
17461 /* confdefs.h. */
17462 _ACEOF
17463 cat confdefs.h >>conftest.$ac_ext
17464 cat >>conftest.$ac_ext <<_ACEOF
17465 /* end confdefs.h. */
17466
17467 int
17468 main ()
17469 {
17470
17471 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17472 choke me
17473 #endif
17474
17475 ;
17476 return 0;
17477 }
17478 _ACEOF
17479 rm -f conftest.$ac_objext
17480 if { (ac_try="$ac_compile"
17481 case "(($ac_try" in
17482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17483 *) ac_try_echo=$ac_try;;
17484 esac
17485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17486 (eval "$ac_compile") 2>conftest.er1
17487 ac_status=$?
17488 grep -v '^ *+' conftest.er1 >conftest.err
17489 rm -f conftest.er1
17490 cat conftest.err >&5
17491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17492 (exit $ac_status); } && {
17493 test -z "$ac_cxx_werror_flag" ||
17494 test ! -s conftest.err
17495 } && test -s conftest.$ac_objext; then
17496 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
17497 else
17498 echo "$as_me: failed program was:" >&5
17499 sed 's/^/| /' conftest.$ac_ext >&5
17500
17501 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
17502
17503 fi
17504
17505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17506
17507
17508 fi
17509 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17510 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17511 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17512 :; INTELCXX10=yes
17513 else
17514 :;
17515 fi
17516 ac_ext=c
17517 ac_cpp='$CPP $CPPFLAGS'
17518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17521
17522
17523
17524 fi
17525
17526 if test "x$GCXX" != "xyes"; then
17527 if test "xCXX" = "xC"; then
17528 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17529 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17530 if test "${bakefile_cv_c_exto+set}" = set; then
17531 echo $ECHO_N "(cached) $ECHO_C" >&6
17532 else
17533 cat >conftest.$ac_ext <<_ACEOF
17534 /* confdefs.h. */
17535 _ACEOF
17536 cat confdefs.h >>conftest.$ac_ext
17537 cat >>conftest.$ac_ext <<_ACEOF
17538 /* end confdefs.h. */
17539
17540 int
17541 main ()
17542 {
17543
17544 ;
17545 return 0;
17546 }
17547 _ACEOF
17548 rm -f conftest.$ac_objext conftest.$ac_ext.o
17549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17550 (eval $ac_compile) 2>&5
17551 ac_status=$?
17552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17553 (exit $ac_status); }; then
17554 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17555 case $ac_file in
17556 conftest.$ac_ext.o)
17557 bakefile_cv_c_exto="-ext o"
17558 ;;
17559 *)
17560 ;;
17561 esac
17562 done
17563 else
17564 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17565 See \`config.log' for more details." >&5
17566 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17567 See \`config.log' for more details." >&2;}
17568 { (exit 1); exit 1; }; }
17569
17570 fi
17571
17572 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17573
17574 fi
17575 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17576 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17577 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17578 if test "c" = "c"; then
17579 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17580 fi
17581 if test "c" = "cxx"; then
17582 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17583 fi
17584 fi
17585
17586 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17587 unset ac_cv_prog_cc_g
17588 ac_test_CFLAGS=${CFLAGS+set}
17589 ac_save_CFLAGS=$CFLAGS
17590 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17591 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17592 if test "${ac_cv_prog_cc_g+set}" = set; then
17593 echo $ECHO_N "(cached) $ECHO_C" >&6
17594 else
17595 ac_save_c_werror_flag=$ac_c_werror_flag
17596 ac_c_werror_flag=yes
17597 ac_cv_prog_cc_g=no
17598 CFLAGS="-g"
17599 cat >conftest.$ac_ext <<_ACEOF
17600 /* confdefs.h. */
17601 _ACEOF
17602 cat confdefs.h >>conftest.$ac_ext
17603 cat >>conftest.$ac_ext <<_ACEOF
17604 /* end confdefs.h. */
17605
17606 int
17607 main ()
17608 {
17609
17610 ;
17611 return 0;
17612 }
17613 _ACEOF
17614 rm -f conftest.$ac_objext
17615 if { (ac_try="$ac_compile"
17616 case "(($ac_try" in
17617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17618 *) ac_try_echo=$ac_try;;
17619 esac
17620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17621 (eval "$ac_compile") 2>conftest.er1
17622 ac_status=$?
17623 grep -v '^ *+' conftest.er1 >conftest.err
17624 rm -f conftest.er1
17625 cat conftest.err >&5
17626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17627 (exit $ac_status); } && {
17628 test -z "$ac_c_werror_flag" ||
17629 test ! -s conftest.err
17630 } && test -s conftest.$ac_objext; then
17631 ac_cv_prog_cc_g=yes
17632 else
17633 echo "$as_me: failed program was:" >&5
17634 sed 's/^/| /' conftest.$ac_ext >&5
17635
17636 CFLAGS=""
17637 cat >conftest.$ac_ext <<_ACEOF
17638 /* confdefs.h. */
17639 _ACEOF
17640 cat confdefs.h >>conftest.$ac_ext
17641 cat >>conftest.$ac_ext <<_ACEOF
17642 /* end confdefs.h. */
17643
17644 int
17645 main ()
17646 {
17647
17648 ;
17649 return 0;
17650 }
17651 _ACEOF
17652 rm -f conftest.$ac_objext
17653 if { (ac_try="$ac_compile"
17654 case "(($ac_try" in
17655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17656 *) ac_try_echo=$ac_try;;
17657 esac
17658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17659 (eval "$ac_compile") 2>conftest.er1
17660 ac_status=$?
17661 grep -v '^ *+' conftest.er1 >conftest.err
17662 rm -f conftest.er1
17663 cat conftest.err >&5
17664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17665 (exit $ac_status); } && {
17666 test -z "$ac_c_werror_flag" ||
17667 test ! -s conftest.err
17668 } && test -s conftest.$ac_objext; then
17669 :
17670 else
17671 echo "$as_me: failed program was:" >&5
17672 sed 's/^/| /' conftest.$ac_ext >&5
17673
17674 ac_c_werror_flag=$ac_save_c_werror_flag
17675 CFLAGS="-g"
17676 cat >conftest.$ac_ext <<_ACEOF
17677 /* confdefs.h. */
17678 _ACEOF
17679 cat confdefs.h >>conftest.$ac_ext
17680 cat >>conftest.$ac_ext <<_ACEOF
17681 /* end confdefs.h. */
17682
17683 int
17684 main ()
17685 {
17686
17687 ;
17688 return 0;
17689 }
17690 _ACEOF
17691 rm -f conftest.$ac_objext
17692 if { (ac_try="$ac_compile"
17693 case "(($ac_try" in
17694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17695 *) ac_try_echo=$ac_try;;
17696 esac
17697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17698 (eval "$ac_compile") 2>conftest.er1
17699 ac_status=$?
17700 grep -v '^ *+' conftest.er1 >conftest.err
17701 rm -f conftest.er1
17702 cat conftest.err >&5
17703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17704 (exit $ac_status); } && {
17705 test -z "$ac_c_werror_flag" ||
17706 test ! -s conftest.err
17707 } && test -s conftest.$ac_objext; then
17708 ac_cv_prog_cc_g=yes
17709 else
17710 echo "$as_me: failed program was:" >&5
17711 sed 's/^/| /' conftest.$ac_ext >&5
17712
17713
17714 fi
17715
17716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17717 fi
17718
17719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17720 fi
17721
17722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17723 ac_c_werror_flag=$ac_save_c_werror_flag
17724 fi
17725 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17726 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17727 if test "$ac_test_CFLAGS" = set; then
17728 CFLAGS=$ac_save_CFLAGS
17729 elif test $ac_cv_prog_cc_g = yes; then
17730 if test "$GCC" = yes; then
17731 CFLAGS="-g -O2"
17732 else
17733 CFLAGS="-g"
17734 fi
17735 else
17736 if test "$GCC" = yes; then
17737 CFLAGS="-O2"
17738 else
17739 CFLAGS=
17740 fi
17741 fi
17742 fi
17743 fi
17744
17745 case `uname -s` in
17746 AIX*)
17747
17748
17749 ac_ext=cpp
17750 ac_cpp='$CXXCPP $CPPFLAGS'
17751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17754
17755 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17756 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17757 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17758 echo $ECHO_N "(cached) $ECHO_C" >&6
17759 else
17760 cat >conftest.$ac_ext <<_ACEOF
17761 /* confdefs.h. */
17762 _ACEOF
17763 cat confdefs.h >>conftest.$ac_ext
17764 cat >>conftest.$ac_ext <<_ACEOF
17765 /* end confdefs.h. */
17766
17767 int
17768 main ()
17769 {
17770
17771 #ifndef __xlC__
17772 choke me
17773 #endif
17774
17775 ;
17776 return 0;
17777 }
17778 _ACEOF
17779 rm -f conftest.$ac_objext
17780 if { (ac_try="$ac_compile"
17781 case "(($ac_try" in
17782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17783 *) ac_try_echo=$ac_try;;
17784 esac
17785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17786 (eval "$ac_compile") 2>conftest.er1
17787 ac_status=$?
17788 grep -v '^ *+' conftest.er1 >conftest.err
17789 rm -f conftest.er1
17790 cat conftest.err >&5
17791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17792 (exit $ac_status); } && {
17793 test -z "$ac_cxx_werror_flag" ||
17794 test ! -s conftest.err
17795 } && test -s conftest.$ac_objext; then
17796 bakefile_cv_cxx_compiler___xlC__=yes
17797 else
17798 echo "$as_me: failed program was:" >&5
17799 sed 's/^/| /' conftest.$ac_ext >&5
17800
17801 bakefile_cv_cxx_compiler___xlC__=no
17802
17803 fi
17804
17805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17806
17807
17808 fi
17809 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17810 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17811 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17812 :; XLCXX=yes
17813 else
17814 :;
17815 fi
17816 ac_ext=c
17817 ac_cpp='$CPP $CPPFLAGS'
17818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17821
17822
17823
17824 ;;
17825
17826 Darwin)
17827
17828
17829 ac_ext=cpp
17830 ac_cpp='$CXXCPP $CPPFLAGS'
17831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17834
17835 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17836 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17837 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17838 echo $ECHO_N "(cached) $ECHO_C" >&6
17839 else
17840 cat >conftest.$ac_ext <<_ACEOF
17841 /* confdefs.h. */
17842 _ACEOF
17843 cat confdefs.h >>conftest.$ac_ext
17844 cat >>conftest.$ac_ext <<_ACEOF
17845 /* end confdefs.h. */
17846
17847 int
17848 main ()
17849 {
17850
17851 #ifndef __MWERKS__
17852 choke me
17853 #endif
17854
17855 ;
17856 return 0;
17857 }
17858 _ACEOF
17859 rm -f conftest.$ac_objext
17860 if { (ac_try="$ac_compile"
17861 case "(($ac_try" in
17862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17863 *) ac_try_echo=$ac_try;;
17864 esac
17865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17866 (eval "$ac_compile") 2>conftest.er1
17867 ac_status=$?
17868 grep -v '^ *+' conftest.er1 >conftest.err
17869 rm -f conftest.er1
17870 cat conftest.err >&5
17871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17872 (exit $ac_status); } && {
17873 test -z "$ac_cxx_werror_flag" ||
17874 test ! -s conftest.err
17875 } && test -s conftest.$ac_objext; then
17876 bakefile_cv_cxx_compiler___MWERKS__=yes
17877 else
17878 echo "$as_me: failed program was:" >&5
17879 sed 's/^/| /' conftest.$ac_ext >&5
17880
17881 bakefile_cv_cxx_compiler___MWERKS__=no
17882
17883 fi
17884
17885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17886
17887
17888 fi
17889 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17890 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17891 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17892 :; MWCXX=yes
17893 else
17894 :;
17895 fi
17896 ac_ext=c
17897 ac_cpp='$CPP $CPPFLAGS'
17898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17901
17902
17903
17904 if test "$MWCXX" != "yes"; then
17905
17906
17907 ac_ext=cpp
17908 ac_cpp='$CXXCPP $CPPFLAGS'
17909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17912
17913 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17914 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17915 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17916 echo $ECHO_N "(cached) $ECHO_C" >&6
17917 else
17918 cat >conftest.$ac_ext <<_ACEOF
17919 /* confdefs.h. */
17920 _ACEOF
17921 cat confdefs.h >>conftest.$ac_ext
17922 cat >>conftest.$ac_ext <<_ACEOF
17923 /* end confdefs.h. */
17924
17925 int
17926 main ()
17927 {
17928
17929 #ifndef __xlC__
17930 choke me
17931 #endif
17932
17933 ;
17934 return 0;
17935 }
17936 _ACEOF
17937 rm -f conftest.$ac_objext
17938 if { (ac_try="$ac_compile"
17939 case "(($ac_try" in
17940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17941 *) ac_try_echo=$ac_try;;
17942 esac
17943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17944 (eval "$ac_compile") 2>conftest.er1
17945 ac_status=$?
17946 grep -v '^ *+' conftest.er1 >conftest.err
17947 rm -f conftest.er1
17948 cat conftest.err >&5
17949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17950 (exit $ac_status); } && {
17951 test -z "$ac_cxx_werror_flag" ||
17952 test ! -s conftest.err
17953 } && test -s conftest.$ac_objext; then
17954 bakefile_cv_cxx_compiler___xlC__=yes
17955 else
17956 echo "$as_me: failed program was:" >&5
17957 sed 's/^/| /' conftest.$ac_ext >&5
17958
17959 bakefile_cv_cxx_compiler___xlC__=no
17960
17961 fi
17962
17963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17964
17965
17966 fi
17967 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17968 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17969 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17970 :; XLCXX=yes
17971 else
17972 :;
17973 fi
17974 ac_ext=c
17975 ac_cpp='$CPP $CPPFLAGS'
17976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17979
17980
17981
17982 fi
17983 ;;
17984
17985 IRIX*)
17986
17987
17988 ac_ext=cpp
17989 ac_cpp='$CXXCPP $CPPFLAGS'
17990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17993
17994 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17995 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17996 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17997 echo $ECHO_N "(cached) $ECHO_C" >&6
17998 else
17999 cat >conftest.$ac_ext <<_ACEOF
18000 /* confdefs.h. */
18001 _ACEOF
18002 cat confdefs.h >>conftest.$ac_ext
18003 cat >>conftest.$ac_ext <<_ACEOF
18004 /* end confdefs.h. */
18005
18006 int
18007 main ()
18008 {
18009
18010 #ifndef _SGI_COMPILER_VERSION
18011 choke me
18012 #endif
18013
18014 ;
18015 return 0;
18016 }
18017 _ACEOF
18018 rm -f conftest.$ac_objext
18019 if { (ac_try="$ac_compile"
18020 case "(($ac_try" in
18021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18022 *) ac_try_echo=$ac_try;;
18023 esac
18024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18025 (eval "$ac_compile") 2>conftest.er1
18026 ac_status=$?
18027 grep -v '^ *+' conftest.er1 >conftest.err
18028 rm -f conftest.er1
18029 cat conftest.err >&5
18030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18031 (exit $ac_status); } && {
18032 test -z "$ac_cxx_werror_flag" ||
18033 test ! -s conftest.err
18034 } && test -s conftest.$ac_objext; then
18035 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18036 else
18037 echo "$as_me: failed program was:" >&5
18038 sed 's/^/| /' conftest.$ac_ext >&5
18039
18040 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18041
18042 fi
18043
18044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18045
18046
18047 fi
18048 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18049 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18050 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18051 :; SGICXX=yes
18052 else
18053 :;
18054 fi
18055 ac_ext=c
18056 ac_cpp='$CPP $CPPFLAGS'
18057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18060
18061
18062
18063 ;;
18064
18065 Linux*)
18066 if test "$INTELCXX" != "yes"; then
18067
18068
18069 ac_ext=cpp
18070 ac_cpp='$CXXCPP $CPPFLAGS'
18071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18074
18075 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18076 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18077 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18078 echo $ECHO_N "(cached) $ECHO_C" >&6
18079 else
18080 cat >conftest.$ac_ext <<_ACEOF
18081 /* confdefs.h. */
18082 _ACEOF
18083 cat confdefs.h >>conftest.$ac_ext
18084 cat >>conftest.$ac_ext <<_ACEOF
18085 /* end confdefs.h. */
18086
18087 int
18088 main ()
18089 {
18090
18091 #ifndef __SUNPRO_CC
18092 choke me
18093 #endif
18094
18095 ;
18096 return 0;
18097 }
18098 _ACEOF
18099 rm -f conftest.$ac_objext
18100 if { (ac_try="$ac_compile"
18101 case "(($ac_try" in
18102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18103 *) ac_try_echo=$ac_try;;
18104 esac
18105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18106 (eval "$ac_compile") 2>conftest.er1
18107 ac_status=$?
18108 grep -v '^ *+' conftest.er1 >conftest.err
18109 rm -f conftest.er1
18110 cat conftest.err >&5
18111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18112 (exit $ac_status); } && {
18113 test -z "$ac_cxx_werror_flag" ||
18114 test ! -s conftest.err
18115 } && test -s conftest.$ac_objext; then
18116 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18117 else
18118 echo "$as_me: failed program was:" >&5
18119 sed 's/^/| /' conftest.$ac_ext >&5
18120
18121 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18122
18123 fi
18124
18125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18126
18127
18128 fi
18129 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18130 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18131 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18132 :; SUNCXX=yes
18133 else
18134 :;
18135 fi
18136 ac_ext=c
18137 ac_cpp='$CPP $CPPFLAGS'
18138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18141
18142
18143
18144 fi
18145 ;;
18146
18147 HP-UX*)
18148
18149
18150 ac_ext=cpp
18151 ac_cpp='$CXXCPP $CPPFLAGS'
18152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18155
18156 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
18157 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
18158 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
18159 echo $ECHO_N "(cached) $ECHO_C" >&6
18160 else
18161 cat >conftest.$ac_ext <<_ACEOF
18162 /* confdefs.h. */
18163 _ACEOF
18164 cat confdefs.h >>conftest.$ac_ext
18165 cat >>conftest.$ac_ext <<_ACEOF
18166 /* end confdefs.h. */
18167
18168 int
18169 main ()
18170 {
18171
18172 #ifndef __HP_aCC
18173 choke me
18174 #endif
18175
18176 ;
18177 return 0;
18178 }
18179 _ACEOF
18180 rm -f conftest.$ac_objext
18181 if { (ac_try="$ac_compile"
18182 case "(($ac_try" in
18183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18184 *) ac_try_echo=$ac_try;;
18185 esac
18186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18187 (eval "$ac_compile") 2>conftest.er1
18188 ac_status=$?
18189 grep -v '^ *+' conftest.er1 >conftest.err
18190 rm -f conftest.er1
18191 cat conftest.err >&5
18192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18193 (exit $ac_status); } && {
18194 test -z "$ac_cxx_werror_flag" ||
18195 test ! -s conftest.err
18196 } && test -s conftest.$ac_objext; then
18197 bakefile_cv_cxx_compiler___HP_aCC=yes
18198 else
18199 echo "$as_me: failed program was:" >&5
18200 sed 's/^/| /' conftest.$ac_ext >&5
18201
18202 bakefile_cv_cxx_compiler___HP_aCC=no
18203
18204 fi
18205
18206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18207
18208
18209 fi
18210 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18211 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18212 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18213 :; HPCXX=yes
18214 else
18215 :;
18216 fi
18217 ac_ext=c
18218 ac_cpp='$CPP $CPPFLAGS'
18219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18222
18223
18224
18225 ;;
18226
18227 OSF1)
18228
18229
18230 ac_ext=cpp
18231 ac_cpp='$CXXCPP $CPPFLAGS'
18232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18235
18236 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
18237 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
18238 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
18239 echo $ECHO_N "(cached) $ECHO_C" >&6
18240 else
18241 cat >conftest.$ac_ext <<_ACEOF
18242 /* confdefs.h. */
18243 _ACEOF
18244 cat confdefs.h >>conftest.$ac_ext
18245 cat >>conftest.$ac_ext <<_ACEOF
18246 /* end confdefs.h. */
18247
18248 int
18249 main ()
18250 {
18251
18252 #ifndef __DECCXX
18253 choke me
18254 #endif
18255
18256 ;
18257 return 0;
18258 }
18259 _ACEOF
18260 rm -f conftest.$ac_objext
18261 if { (ac_try="$ac_compile"
18262 case "(($ac_try" in
18263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18264 *) ac_try_echo=$ac_try;;
18265 esac
18266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18267 (eval "$ac_compile") 2>conftest.er1
18268 ac_status=$?
18269 grep -v '^ *+' conftest.er1 >conftest.err
18270 rm -f conftest.er1
18271 cat conftest.err >&5
18272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18273 (exit $ac_status); } && {
18274 test -z "$ac_cxx_werror_flag" ||
18275 test ! -s conftest.err
18276 } && test -s conftest.$ac_objext; then
18277 bakefile_cv_cxx_compiler___DECCXX=yes
18278 else
18279 echo "$as_me: failed program was:" >&5
18280 sed 's/^/| /' conftest.$ac_ext >&5
18281
18282 bakefile_cv_cxx_compiler___DECCXX=no
18283
18284 fi
18285
18286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18287
18288
18289 fi
18290 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
18291 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
18292 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
18293 :; COMPAQCXX=yes
18294 else
18295 :;
18296 fi
18297 ac_ext=c
18298 ac_cpp='$CPP $CPPFLAGS'
18299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18302
18303
18304
18305 ;;
18306
18307 SunOS)
18308
18309
18310 ac_ext=cpp
18311 ac_cpp='$CXXCPP $CPPFLAGS'
18312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18315
18316 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18317 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18318 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18319 echo $ECHO_N "(cached) $ECHO_C" >&6
18320 else
18321 cat >conftest.$ac_ext <<_ACEOF
18322 /* confdefs.h. */
18323 _ACEOF
18324 cat confdefs.h >>conftest.$ac_ext
18325 cat >>conftest.$ac_ext <<_ACEOF
18326 /* end confdefs.h. */
18327
18328 int
18329 main ()
18330 {
18331
18332 #ifndef __SUNPRO_CC
18333 choke me
18334 #endif
18335
18336 ;
18337 return 0;
18338 }
18339 _ACEOF
18340 rm -f conftest.$ac_objext
18341 if { (ac_try="$ac_compile"
18342 case "(($ac_try" in
18343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18344 *) ac_try_echo=$ac_try;;
18345 esac
18346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18347 (eval "$ac_compile") 2>conftest.er1
18348 ac_status=$?
18349 grep -v '^ *+' conftest.er1 >conftest.err
18350 rm -f conftest.er1
18351 cat conftest.err >&5
18352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18353 (exit $ac_status); } && {
18354 test -z "$ac_cxx_werror_flag" ||
18355 test ! -s conftest.err
18356 } && test -s conftest.$ac_objext; then
18357 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18358 else
18359 echo "$as_me: failed program was:" >&5
18360 sed 's/^/| /' conftest.$ac_ext >&5
18361
18362 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18363
18364 fi
18365
18366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18367
18368
18369 fi
18370 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18371 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18372 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18373 :; SUNCXX=yes
18374 else
18375 :;
18376 fi
18377 ac_ext=c
18378 ac_cpp='$CPP $CPPFLAGS'
18379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18382
18383
18384
18385 ;;
18386 esac
18387 fi
18388
18389
18390
18391 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18392 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18393 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18394 { (exit 1); exit 1; }; }
18395 fi
18396
18397 if test "x$SUNCXX" != xyes; then
18398 if test -n "$ac_tool_prefix"; then
18399 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18400 set dummy ${ac_tool_prefix}ar; ac_word=$2
18401 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18402 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18403 if test "${ac_cv_prog_AR+set}" = set; then
18404 echo $ECHO_N "(cached) $ECHO_C" >&6
18405 else
18406 if test -n "$AR"; then
18407 ac_cv_prog_AR="$AR" # Let the user override the test.
18408 else
18409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18410 for as_dir in $PATH
18411 do
18412 IFS=$as_save_IFS
18413 test -z "$as_dir" && as_dir=.
18414 for ac_exec_ext in '' $ac_executable_extensions; do
18415 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18416 ac_cv_prog_AR="${ac_tool_prefix}ar"
18417 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18418 break 2
18419 fi
18420 done
18421 done
18422 IFS=$as_save_IFS
18423
18424 fi
18425 fi
18426 AR=$ac_cv_prog_AR
18427 if test -n "$AR"; then
18428 { echo "$as_me:$LINENO: result: $AR" >&5
18429 echo "${ECHO_T}$AR" >&6; }
18430 else
18431 { echo "$as_me:$LINENO: result: no" >&5
18432 echo "${ECHO_T}no" >&6; }
18433 fi
18434
18435
18436 fi
18437 if test -z "$ac_cv_prog_AR"; then
18438 ac_ct_AR=$AR
18439 # Extract the first word of "ar", so it can be a program name with args.
18440 set dummy ar; ac_word=$2
18441 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18442 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18443 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18444 echo $ECHO_N "(cached) $ECHO_C" >&6
18445 else
18446 if test -n "$ac_ct_AR"; then
18447 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18448 else
18449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18450 for as_dir in $PATH
18451 do
18452 IFS=$as_save_IFS
18453 test -z "$as_dir" && as_dir=.
18454 for ac_exec_ext in '' $ac_executable_extensions; do
18455 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18456 ac_cv_prog_ac_ct_AR="ar"
18457 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18458 break 2
18459 fi
18460 done
18461 done
18462 IFS=$as_save_IFS
18463
18464 fi
18465 fi
18466 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18467 if test -n "$ac_ct_AR"; then
18468 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18469 echo "${ECHO_T}$ac_ct_AR" >&6; }
18470 else
18471 { echo "$as_me:$LINENO: result: no" >&5
18472 echo "${ECHO_T}no" >&6; }
18473 fi
18474
18475 if test "x$ac_ct_AR" = x; then
18476 AR=""
18477 else
18478 case $cross_compiling:$ac_tool_warned in
18479 yes:)
18480 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18481 whose name does not start with the host triplet. If you think this
18482 configuration is useful to you, please write to autoconf@gnu.org." >&5
18483 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18484 whose name does not start with the host triplet. If you think this
18485 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18486 ac_tool_warned=yes ;;
18487 esac
18488 AR=$ac_ct_AR
18489 fi
18490 else
18491 AR="$ac_cv_prog_AR"
18492 fi
18493
18494 if test "x$AR" = "x" ; then
18495 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18496 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18497 { (exit 1); exit 1; }; }
18498 fi
18499 fi
18500
18501
18502 if test "$wxUSE_MAC" = 1; then
18503
18504 retest_macosx_linking=no
18505
18506 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18507 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18508 # Implicitly turn on the new --with-macosx-sdk using the default
18509 # SDK which provides the behavior this option has always had.
18510 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18511 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18512 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18513 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18514 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18515 wxUSE_MACOSX_SDK=yes
18516 fi
18517 else
18518 # Complain to user if he specified an argument to --enable-universal_binary
18519 # and also 1) specified --with-macosx-sdk using the default (yes) or
18520 # 2) specified --with-macosx-sdk using a path or 3) specified
18521 # --without-macosx-sdk (no).
18522 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18523 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18524 See \`config.log' for more details." >&5
18525 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18526 See \`config.log' for more details." >&2;}
18527 { (exit 1); exit 1; }; }
18528 else
18529 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18530 # special-case the empty string because the below test simply
18531 # converts "no" to the empty string anyway.
18532 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18533 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
18534 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
18535 fi
18536 fi
18537 OSX_UNIV_OPTS="-arch ppc -arch i386"
18538 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
18539 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
18540 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
18541 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
18542 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
18543 retest_macosx_linking=yes
18544
18545 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
18546 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
18547 bk_use_pch=no
18548 fi
18549
18550 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
18551 wxUSE_MACOSX_SDK=
18552 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
18553 # TODO: Search for most recent SDK and use it.
18554 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
18555 fi
18556
18557
18558 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18559 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
18560 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
18561 if ! test -d "$wxUSE_MACOSX_SDK"; then
18562 { { echo "$as_me:$LINENO: error: not found
18563 See \`config.log' for more details." >&5
18564 echo "$as_me: error: not found
18565 See \`config.log' for more details." >&2;}
18566 { (exit 1); exit 1; }; }
18567 else
18568 { echo "$as_me:$LINENO: result: exists" >&5
18569 echo "${ECHO_T}exists" >&6; }
18570 fi
18571 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18572 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18573 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18574 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18575 retest_macosx_linking=yes
18576 fi
18577
18578 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18579 wxUSE_MACOSX_VERSION_MIN=
18580 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18581 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18582 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18583 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18584
18585 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/'`
18586
18587 # If that failed, try again with the new key
18588 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18589
18590 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/'`
18591
18592 fi
18593
18594 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18595 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18596 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18597 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18598 else
18599 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18600 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18601 wxUSE_MACOSX_VERSION_MIN=
18602 fi
18603 else
18604 wxUSE_MACOSX_VERSION_MIN=
18605 fi
18606 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18607 for ac_prog in sw_vers
18608 do
18609 # Extract the first word of "$ac_prog", so it can be a program name with args.
18610 set dummy $ac_prog; ac_word=$2
18611 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18612 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18613 if test "${ac_cv_prog_OSX_SW_VERS+set}" = set; then
18614 echo $ECHO_N "(cached) $ECHO_C" >&6
18615 else
18616 if test -n "$OSX_SW_VERS"; then
18617 ac_cv_prog_OSX_SW_VERS="$OSX_SW_VERS" # Let the user override the test.
18618 else
18619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18620 for as_dir in $PATH
18621 do
18622 IFS=$as_save_IFS
18623 test -z "$as_dir" && as_dir=.
18624 for ac_exec_ext in '' $ac_executable_extensions; do
18625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18626 ac_cv_prog_OSX_SW_VERS="$ac_prog"
18627 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18628 break 2
18629 fi
18630 done
18631 done
18632 IFS=$as_save_IFS
18633
18634 fi
18635 fi
18636 OSX_SW_VERS=$ac_cv_prog_OSX_SW_VERS
18637 if test -n "$OSX_SW_VERS"; then
18638 { echo "$as_me:$LINENO: result: $OSX_SW_VERS" >&5
18639 echo "${ECHO_T}$OSX_SW_VERS" >&6; }
18640 else
18641 { echo "$as_me:$LINENO: result: no" >&5
18642 echo "${ECHO_T}no" >&6; }
18643 fi
18644
18645
18646 test -n "$OSX_SW_VERS" && break
18647 done
18648
18649 if test "$OSX_SW_VERS" != ""; then
18650 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
18651 else
18652 { echo "$as_me:$LINENO: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&5
18653 echo "$as_me: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&2;}
18654 OSX_VERSION="10.4"
18655 fi
18656
18657 case "$OSX_VERSION" in
18658 10.4* )
18659 wxUSE_MACOSX_VERSION_MIN=10.4
18660 ;;
18661
18662 * )
18663 if test "$wxUSE_OSX_CARBON" = 1; then
18664 # otherwise configure stops on leopard for universal_binary
18665 wxUSE_MACOSX_VERSION_MIN=10.4
18666 else
18667 # for Cocoa, use 10.5 to be able to compile it in 64 bits too
18668 wxUSE_MACOSX_VERSION_MIN=10.5
18669 fi
18670 ;;
18671 esac
18672 fi
18673
18674 NEEDS_GCC40="no"
18675 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
18676 NEEDS_GCC40="yes"
18677 fi
18678
18679 if test "$wxUSE_OSX_CARBON" = 1; then
18680 NEEDS_GCC40="yes"
18681 fi
18682
18683 if test "x$NEEDS_GCC40" == "xyes"; then
18684 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
18685 # and wants 10.4 compatible code, then 'downgrade' to 4.0
18686 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
18687 if test "x$CC" = "xgcc"; then
18688 CCVERSION=`$CC --version | grep 4.[2-9].`
18689 if test "x$CCVERSION" != "x"; then
18690 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
18691 CC="/usr/bin/gcc-4.0"
18692 fi
18693 fi
18694
18695 if test "x$CXX" = "xg++"; then
18696 CCVERSION=`$CXX --version | grep 4.[2-9].`
18697 if test "x$CCVERSION" != "x"; then
18698 CXX="/usr/bin/g++-4.0"
18699 fi
18700 fi
18701 fi
18702
18703 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18704 if test "$wxUSE_OSX_IPHONE" = 1; then
18705 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
18706 else
18707 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18708 fi
18709 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18710 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18711 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18712 retest_macosx_linking=yes
18713 fi
18714
18715 if test "x$retest_macosx_linking" = "xyes"; then
18716 ac_ext=c
18717 ac_cpp='$CPP $CPPFLAGS'
18718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18721
18722 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18723 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
18724 cat >conftest.$ac_ext <<_ACEOF
18725 /* confdefs.h. */
18726 _ACEOF
18727 cat confdefs.h >>conftest.$ac_ext
18728 cat >>conftest.$ac_ext <<_ACEOF
18729 /* end confdefs.h. */
18730
18731 int
18732 main ()
18733 {
18734
18735 ;
18736 return 0;
18737 }
18738 _ACEOF
18739 rm -f conftest.$ac_objext conftest$ac_exeext
18740 if { (ac_try="$ac_link"
18741 case "(($ac_try" in
18742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18743 *) ac_try_echo=$ac_try;;
18744 esac
18745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18746 (eval "$ac_link") 2>conftest.er1
18747 ac_status=$?
18748 grep -v '^ *+' conftest.er1 >conftest.err
18749 rm -f conftest.er1
18750 cat conftest.err >&5
18751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18752 (exit $ac_status); } && {
18753 test -z "$ac_c_werror_flag" ||
18754 test ! -s conftest.err
18755 } && test -s conftest$ac_exeext &&
18756 $as_test_x conftest$ac_exeext; then
18757 { echo "$as_me:$LINENO: result: yes" >&5
18758 echo "${ECHO_T}yes" >&6; }
18759 else
18760 echo "$as_me: failed program was:" >&5
18761 sed 's/^/| /' conftest.$ac_ext >&5
18762
18763 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18764 See \`config.log' for more details." >&5
18765 echo "$as_me: error: no. Try a different SDK
18766 See \`config.log' for more details." >&2;}
18767 { (exit 1); exit 1; }; }; exit 1
18768 fi
18769
18770 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18771 conftest$ac_exeext conftest.$ac_ext
18772 ac_ext=c
18773 ac_cpp='$CPP $CPPFLAGS'
18774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18777
18778
18779 ac_ext=cpp
18780 ac_cpp='$CXXCPP $CPPFLAGS'
18781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18784
18785 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
18786 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
18787 cat >conftest.$ac_ext <<_ACEOF
18788 /* confdefs.h. */
18789 _ACEOF
18790 cat confdefs.h >>conftest.$ac_ext
18791 cat >>conftest.$ac_ext <<_ACEOF
18792 /* end confdefs.h. */
18793
18794 int
18795 main ()
18796 {
18797
18798 ;
18799 return 0;
18800 }
18801 _ACEOF
18802 rm -f conftest.$ac_objext conftest$ac_exeext
18803 if { (ac_try="$ac_link"
18804 case "(($ac_try" in
18805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18806 *) ac_try_echo=$ac_try;;
18807 esac
18808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18809 (eval "$ac_link") 2>conftest.er1
18810 ac_status=$?
18811 grep -v '^ *+' conftest.er1 >conftest.err
18812 rm -f conftest.er1
18813 cat conftest.err >&5
18814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18815 (exit $ac_status); } && {
18816 test -z "$ac_cxx_werror_flag" ||
18817 test ! -s conftest.err
18818 } && test -s conftest$ac_exeext &&
18819 $as_test_x conftest$ac_exeext; then
18820 { echo "$as_me:$LINENO: result: yes" >&5
18821 echo "${ECHO_T}yes" >&6; }
18822 else
18823 echo "$as_me: failed program was:" >&5
18824 sed 's/^/| /' conftest.$ac_ext >&5
18825
18826 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18827 See \`config.log' for more details." >&5
18828 echo "$as_me: error: no. Try a different SDK
18829 See \`config.log' for more details." >&2;}
18830 { (exit 1); exit 1; }; }; exit 1
18831 fi
18832
18833 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18834 conftest$ac_exeext conftest.$ac_ext
18835 ac_ext=c
18836 ac_cpp='$CPP $CPPFLAGS'
18837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18840
18841 fi
18842
18843 fi
18844 case "${host}" in
18845
18846 *-*-darwin* )
18847 INSTALL_PROGRAM="cp -fp"
18848 INSTALL_DATA="cp -fp"
18849 ;;
18850 *)
18851 ;;
18852 esac
18853
18854
18855 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18856 CXXFLAGS="-qunique $CXXFLAGS"
18857 fi
18858
18859 case "${host}" in
18860 powerpc-*-darwin* )
18861 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18862 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18863 cat >conftest.$ac_ext <<_ACEOF
18864 /* confdefs.h. */
18865 _ACEOF
18866 cat confdefs.h >>conftest.$ac_ext
18867 cat >>conftest.$ac_ext <<_ACEOF
18868 /* end confdefs.h. */
18869
18870 int
18871 main ()
18872 {
18873 #ifndef __POWERPC__
18874 choke me for lack of PowerPC
18875 #endif
18876
18877 ;
18878 return 0;
18879 }
18880 _ACEOF
18881 rm -f conftest.$ac_objext
18882 if { (ac_try="$ac_compile"
18883 case "(($ac_try" in
18884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18885 *) ac_try_echo=$ac_try;;
18886 esac
18887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18888 (eval "$ac_compile") 2>conftest.er1
18889 ac_status=$?
18890 grep -v '^ *+' conftest.er1 >conftest.err
18891 rm -f conftest.er1
18892 cat conftest.err >&5
18893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18894 (exit $ac_status); } && {
18895 test -z "$ac_c_werror_flag" ||
18896 test ! -s conftest.err
18897 } && test -s conftest.$ac_objext; then
18898 { echo "$as_me:$LINENO: result: yes" >&5
18899 echo "${ECHO_T}yes" >&6; }
18900 else
18901 echo "$as_me: failed program was:" >&5
18902 sed 's/^/| /' conftest.$ac_ext >&5
18903
18904 { echo "$as_me:$LINENO: result: no" >&5
18905 echo "${ECHO_T}no" >&6; }
18906 cat >>confdefs.h <<\_ACEOF
18907 #define __POWERPC__ 1
18908 _ACEOF
18909
18910
18911 fi
18912
18913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18914 ;;
18915 esac
18916
18917 case "${host}" in
18918 *-*-darwin* )
18919 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18920 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18921 cat >conftest.$ac_ext <<_ACEOF
18922 /* confdefs.h. */
18923 _ACEOF
18924 cat confdefs.h >>conftest.$ac_ext
18925 cat >>conftest.$ac_ext <<_ACEOF
18926 /* end confdefs.h. */
18927 #include <CoreFoundation/CFBase.h>
18928
18929 int
18930 main ()
18931 {
18932
18933 ;
18934 return 0;
18935 }
18936 _ACEOF
18937 rm -f conftest.$ac_objext
18938 if { (ac_try="$ac_compile"
18939 case "(($ac_try" in
18940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18941 *) ac_try_echo=$ac_try;;
18942 esac
18943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18944 (eval "$ac_compile") 2>conftest.er1
18945 ac_status=$?
18946 grep -v '^ *+' conftest.er1 >conftest.err
18947 rm -f conftest.er1
18948 cat conftest.err >&5
18949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18950 (exit $ac_status); } && {
18951 test -z "$ac_c_werror_flag" ||
18952 test ! -s conftest.err
18953 } && test -s conftest.$ac_objext; then
18954 { echo "$as_me:$LINENO: result: yes" >&5
18955 echo "${ECHO_T}yes" >&6; }
18956 else
18957 echo "$as_me: failed program was:" >&5
18958 sed 's/^/| /' conftest.$ac_ext >&5
18959
18960 { echo "$as_me:$LINENO: result: no" >&5
18961 echo "${ECHO_T}no" >&6; }
18962 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18963 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18964 cat >conftest.$ac_ext <<_ACEOF
18965 /* confdefs.h. */
18966 _ACEOF
18967 cat confdefs.h >>conftest.$ac_ext
18968 cat >>conftest.$ac_ext <<_ACEOF
18969 /* end confdefs.h. */
18970 #define __CF_USE_FRAMEWORK_INCLUDES__
18971 #include <CoreFoundation/CFBase.h>
18972
18973 int
18974 main ()
18975 {
18976
18977 ;
18978 return 0;
18979 }
18980 _ACEOF
18981 rm -f conftest.$ac_objext
18982 if { (ac_try="$ac_compile"
18983 case "(($ac_try" in
18984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18985 *) ac_try_echo=$ac_try;;
18986 esac
18987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18988 (eval "$ac_compile") 2>conftest.er1
18989 ac_status=$?
18990 grep -v '^ *+' conftest.er1 >conftest.err
18991 rm -f conftest.er1
18992 cat conftest.err >&5
18993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18994 (exit $ac_status); } && {
18995 test -z "$ac_c_werror_flag" ||
18996 test ! -s conftest.err
18997 } && test -s conftest.$ac_objext; then
18998 { echo "$as_me:$LINENO: result: yes" >&5
18999 echo "${ECHO_T}yes" >&6; }
19000 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19001 else
19002 echo "$as_me: failed program was:" >&5
19003 sed 's/^/| /' conftest.$ac_ext >&5
19004
19005 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
19006 See \`config.log' for more details." >&5
19007 echo "$as_me: error: no. CoreFoundation not available.
19008 See \`config.log' for more details." >&2;}
19009 { (exit 1); exit 1; }; }
19010
19011 fi
19012
19013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19014
19015
19016 fi
19017
19018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19019 ;;
19020 esac
19021
19022 wants_win32=0
19023 doesnt_want_win32=0
19024 case "${host}" in
19025 *-*-cygwin*)
19026 if test "$wxUSE_MSW" = 1 ; then
19027 wants_win32=1
19028 else
19029 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
19030 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
19031 if test "${wx_cv_nocygwin+set}" = set; then
19032 echo $ECHO_N "(cached) $ECHO_C" >&6
19033 else
19034
19035 cat >conftest.$ac_ext <<_ACEOF
19036 /* confdefs.h. */
19037 _ACEOF
19038 cat confdefs.h >>conftest.$ac_ext
19039 cat >>conftest.$ac_ext <<_ACEOF
19040 /* end confdefs.h. */
19041
19042 int
19043 main ()
19044 {
19045
19046 #ifdef __MINGW32__
19047 choke me
19048 #endif
19049
19050 ;
19051 return 0;
19052 }
19053 _ACEOF
19054 rm -f conftest.$ac_objext
19055 if { (ac_try="$ac_compile"
19056 case "(($ac_try" in
19057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19058 *) ac_try_echo=$ac_try;;
19059 esac
19060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19061 (eval "$ac_compile") 2>conftest.er1
19062 ac_status=$?
19063 grep -v '^ *+' conftest.er1 >conftest.err
19064 rm -f conftest.er1
19065 cat conftest.err >&5
19066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19067 (exit $ac_status); } && {
19068 test -z "$ac_c_werror_flag" ||
19069 test ! -s conftest.err
19070 } && test -s conftest.$ac_objext; then
19071 wx_cv_nocygwin=no
19072 else
19073 echo "$as_me: failed program was:" >&5
19074 sed 's/^/| /' conftest.$ac_ext >&5
19075
19076 wx_cv_nocygwin=yes
19077
19078 fi
19079
19080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19081
19082
19083 fi
19084 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
19085 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
19086
19087 if test "$wx_cv_nocygwin" = "yes"; then
19088 wants_win32=1
19089 else
19090 doesnt_want_win32=1
19091 fi
19092 fi
19093 if test "$wants_win32" = 1 ; then
19094 BAKEFILE_FORCE_PLATFORM=win32
19095 fi
19096 ;;
19097 *-*-mingw*)
19098 wants_win32=1
19099 ;;
19100 esac
19101
19102 if test "$wxUSE_WINE" = "yes"; then
19103 wants_win32=1
19104 LDFLAGS_GUI="-mwindows"
19105 fi
19106
19107 if test "$wants_win32" = 1 ; then
19108 USE_UNIX=0
19109 USE_WIN32=1
19110 cat >>confdefs.h <<\_ACEOF
19111 #define __WIN32__ 1
19112 _ACEOF
19113
19114 cat >>confdefs.h <<\_ACEOF
19115 #define __WIN95__ 1
19116 _ACEOF
19117
19118 cat >>confdefs.h <<\_ACEOF
19119 #define __WINDOWS__ 1
19120 _ACEOF
19121
19122 cat >>confdefs.h <<\_ACEOF
19123 #define __GNUWIN32__ 1
19124 _ACEOF
19125
19126 cat >>confdefs.h <<\_ACEOF
19127 #define STRICT 1
19128 _ACEOF
19129
19130 fi
19131 if test "$doesnt_want_win32" = 1 ; then
19132 USE_UNIX=1
19133 USE_WIN32=0
19134 fi
19135
19136 if test "$USE_UNIX" = 1 ; then
19137 wxUSE_UNIX=yes
19138 cat >>confdefs.h <<\_ACEOF
19139 #define __UNIX__ 1
19140 _ACEOF
19141
19142 fi
19143
19144 case "${host}" in
19145 *-pc-os2_emx | *-pc-os2-emx )
19146 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19147 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
19148 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
19149 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
19150 echo $ECHO_N "(cached) $ECHO_C" >&6
19151 else
19152 ac_check_lib_save_LIBS=$LIBS
19153 LIBS="-lcExt $LIBS"
19154 cat >conftest.$ac_ext <<_ACEOF
19155 /* confdefs.h. */
19156 _ACEOF
19157 cat confdefs.h >>conftest.$ac_ext
19158 cat >>conftest.$ac_ext <<_ACEOF
19159 /* end confdefs.h. */
19160
19161 /* Override any GCC internal prototype to avoid an error.
19162 Use char because int might match the return type of a GCC
19163 builtin and then its argument prototype would still apply. */
19164 #ifdef __cplusplus
19165 extern "C"
19166 #endif
19167 char drand48 ();
19168 int
19169 main ()
19170 {
19171 return drand48 ();
19172 ;
19173 return 0;
19174 }
19175 _ACEOF
19176 rm -f conftest.$ac_objext conftest$ac_exeext
19177 if { (ac_try="$ac_link"
19178 case "(($ac_try" in
19179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19180 *) ac_try_echo=$ac_try;;
19181 esac
19182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19183 (eval "$ac_link") 2>conftest.er1
19184 ac_status=$?
19185 grep -v '^ *+' conftest.er1 >conftest.err
19186 rm -f conftest.er1
19187 cat conftest.err >&5
19188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19189 (exit $ac_status); } && {
19190 test -z "$ac_c_werror_flag" ||
19191 test ! -s conftest.err
19192 } && test -s conftest$ac_exeext &&
19193 $as_test_x conftest$ac_exeext; then
19194 ac_cv_lib_cExt_drand48=yes
19195 else
19196 echo "$as_me: failed program was:" >&5
19197 sed 's/^/| /' conftest.$ac_ext >&5
19198
19199 ac_cv_lib_cExt_drand48=no
19200 fi
19201
19202 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19203 conftest$ac_exeext conftest.$ac_ext
19204 LIBS=$ac_check_lib_save_LIBS
19205 fi
19206 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
19207 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
19208 if test $ac_cv_lib_cExt_drand48 = yes; then
19209 LIBS="$LIBS -lcExt"
19210 fi
19211
19212 else
19213 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
19214 fi
19215 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
19216 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
19217 if test "${wx_cv_gccversion+set}" = set; then
19218 echo $ECHO_N "(cached) $ECHO_C" >&6
19219 else
19220
19221 if test "$cross_compiling" = yes; then
19222 wx_cv_gccversion="EMX2"
19223
19224 else
19225 cat >conftest.$ac_ext <<_ACEOF
19226 /* confdefs.h. */
19227 _ACEOF
19228 cat confdefs.h >>conftest.$ac_ext
19229 cat >>conftest.$ac_ext <<_ACEOF
19230 /* end confdefs.h. */
19231
19232 #include <stdio.h>
19233
19234 int main()
19235 {
19236 FILE *f=fopen("conftestval", "w");
19237 if (!f) exit(1);
19238 fprintf(f,
19239 #if (__GNUC__ < 3)
19240 "EMX2"
19241 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19242 "EMX3"
19243 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19244 "Innotek5"
19245 #else
19246 "Innotek6"
19247 #endif
19248 );
19249 exit(0);
19250 }
19251
19252 _ACEOF
19253 rm -f conftest$ac_exeext
19254 if { (ac_try="$ac_link"
19255 case "(($ac_try" in
19256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19257 *) ac_try_echo=$ac_try;;
19258 esac
19259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19260 (eval "$ac_link") 2>&5
19261 ac_status=$?
19262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19263 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19264 { (case "(($ac_try" in
19265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19266 *) ac_try_echo=$ac_try;;
19267 esac
19268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19269 (eval "$ac_try") 2>&5
19270 ac_status=$?
19271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19272 (exit $ac_status); }; }; then
19273 wx_cv_gccversion=`cat conftestval`
19274 else
19275 echo "$as_me: program exited with status $ac_status" >&5
19276 echo "$as_me: failed program was:" >&5
19277 sed 's/^/| /' conftest.$ac_ext >&5
19278
19279 ( exit $ac_status )
19280 wx_cv_gccversion="EMX2"
19281 fi
19282 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19283 fi
19284
19285
19286
19287 fi
19288 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
19289 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
19290 if test "$wx_cv_gccversion" = "EMX2"; then
19291 LIBS="$LIBS -lstdcpp"
19292 LDFLAGS="$LDFLAGS -Zsysv-signals"
19293 else
19294 if test "$wx_cv_gccversion" = "EMX3"; then
19295 LIBS="$LIBS -lstdcxx -lgcc"
19296 LDFLAGS="$LDFLAGS -Zsysv-signals"
19297 else
19298 LIBS="$LIBS -lstdc++"
19299 fi
19300 fi
19301 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19302 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
19303 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19304 wxUSE_OMF=yes
19305 enable_omf=yes
19306 fi
19307 ;;
19308 *)
19309
19310 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
19311 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
19312 if test "${ac_cv_string_strcasecmp+set}" = set; then
19313 echo $ECHO_N "(cached) $ECHO_C" >&6
19314 else
19315
19316 cat >conftest.$ac_ext <<_ACEOF
19317 /* confdefs.h. */
19318 _ACEOF
19319 cat confdefs.h >>conftest.$ac_ext
19320 cat >>conftest.$ac_ext <<_ACEOF
19321 /* end confdefs.h. */
19322
19323 #include <string.h>
19324
19325 int
19326 main ()
19327 {
19328
19329 strcasecmp("foo", "bar");
19330
19331 ;
19332 return 0;
19333 }
19334 _ACEOF
19335 rm -f conftest.$ac_objext conftest$ac_exeext
19336 if { (ac_try="$ac_link"
19337 case "(($ac_try" in
19338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19339 *) ac_try_echo=$ac_try;;
19340 esac
19341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19342 (eval "$ac_link") 2>conftest.er1
19343 ac_status=$?
19344 grep -v '^ *+' conftest.er1 >conftest.err
19345 rm -f conftest.er1
19346 cat conftest.err >&5
19347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19348 (exit $ac_status); } && {
19349 test -z "$ac_c_werror_flag" ||
19350 test ! -s conftest.err
19351 } && test -s conftest$ac_exeext &&
19352 $as_test_x conftest$ac_exeext; then
19353 ac_cv_string_strcasecmp=yes
19354 else
19355 echo "$as_me: failed program was:" >&5
19356 sed 's/^/| /' conftest.$ac_ext >&5
19357
19358 ac_cv_string_strcasecmp=no
19359
19360 fi
19361
19362 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19363 conftest$ac_exeext conftest.$ac_ext
19364
19365 fi
19366 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
19367 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
19368
19369 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19370 cat >>confdefs.h <<\_ACEOF
19371 #define HAVE_STRCASECMP_IN_STRING_H 1
19372 _ACEOF
19373
19374 else
19375 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
19376 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
19377 if test "${ac_cv_strings_strcasecmp+set}" = set; then
19378 echo $ECHO_N "(cached) $ECHO_C" >&6
19379 else
19380
19381 cat >conftest.$ac_ext <<_ACEOF
19382 /* confdefs.h. */
19383 _ACEOF
19384 cat confdefs.h >>conftest.$ac_ext
19385 cat >>conftest.$ac_ext <<_ACEOF
19386 /* end confdefs.h. */
19387
19388 #include <strings.h>
19389
19390 int
19391 main ()
19392 {
19393
19394 strcasecmp("foo", "bar");
19395
19396 ;
19397 return 0;
19398 }
19399 _ACEOF
19400 rm -f conftest.$ac_objext conftest$ac_exeext
19401 if { (ac_try="$ac_link"
19402 case "(($ac_try" in
19403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19404 *) ac_try_echo=$ac_try;;
19405 esac
19406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19407 (eval "$ac_link") 2>conftest.er1
19408 ac_status=$?
19409 grep -v '^ *+' conftest.er1 >conftest.err
19410 rm -f conftest.er1
19411 cat conftest.err >&5
19412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19413 (exit $ac_status); } && {
19414 test -z "$ac_c_werror_flag" ||
19415 test ! -s conftest.err
19416 } && test -s conftest$ac_exeext &&
19417 $as_test_x conftest$ac_exeext; then
19418 ac_cv_strings_strcasecmp=yes
19419 else
19420 echo "$as_me: failed program was:" >&5
19421 sed 's/^/| /' conftest.$ac_ext >&5
19422
19423 ac_cv_strings_strcasecmp=no
19424
19425 fi
19426
19427 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19428 conftest$ac_exeext conftest.$ac_ext
19429
19430 fi
19431 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
19432 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
19433
19434 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19435 cat >>confdefs.h <<\_ACEOF
19436 #define HAVE_STRCASECMP_IN_STRINGS_H 1
19437 _ACEOF
19438
19439 else
19440 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
19441 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
19442 { (exit 1); exit 1; }; }
19443 fi
19444 fi
19445
19446 ;;
19447 esac
19448
19449
19450 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19451 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
19452 if test "${ac_cv_header_stdc+set}" = set; then
19453 echo $ECHO_N "(cached) $ECHO_C" >&6
19454 else
19455 cat >conftest.$ac_ext <<_ACEOF
19456 /* confdefs.h. */
19457 _ACEOF
19458 cat confdefs.h >>conftest.$ac_ext
19459 cat >>conftest.$ac_ext <<_ACEOF
19460 /* end confdefs.h. */
19461 #include <stdlib.h>
19462 #include <stdarg.h>
19463 #include <string.h>
19464 #include <float.h>
19465
19466 int
19467 main ()
19468 {
19469
19470 ;
19471 return 0;
19472 }
19473 _ACEOF
19474 rm -f conftest.$ac_objext
19475 if { (ac_try="$ac_compile"
19476 case "(($ac_try" in
19477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19478 *) ac_try_echo=$ac_try;;
19479 esac
19480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19481 (eval "$ac_compile") 2>conftest.er1
19482 ac_status=$?
19483 grep -v '^ *+' conftest.er1 >conftest.err
19484 rm -f conftest.er1
19485 cat conftest.err >&5
19486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19487 (exit $ac_status); } && {
19488 test -z "$ac_c_werror_flag" ||
19489 test ! -s conftest.err
19490 } && test -s conftest.$ac_objext; then
19491 ac_cv_header_stdc=yes
19492 else
19493 echo "$as_me: failed program was:" >&5
19494 sed 's/^/| /' conftest.$ac_ext >&5
19495
19496 ac_cv_header_stdc=no
19497 fi
19498
19499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19500
19501 if test $ac_cv_header_stdc = yes; then
19502 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19503 cat >conftest.$ac_ext <<_ACEOF
19504 /* confdefs.h. */
19505 _ACEOF
19506 cat confdefs.h >>conftest.$ac_ext
19507 cat >>conftest.$ac_ext <<_ACEOF
19508 /* end confdefs.h. */
19509 #include <string.h>
19510
19511 _ACEOF
19512 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19513 $EGREP "memchr" >/dev/null 2>&1; then
19514 :
19515 else
19516 ac_cv_header_stdc=no
19517 fi
19518 rm -f conftest*
19519
19520 fi
19521
19522 if test $ac_cv_header_stdc = yes; then
19523 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19524 cat >conftest.$ac_ext <<_ACEOF
19525 /* confdefs.h. */
19526 _ACEOF
19527 cat confdefs.h >>conftest.$ac_ext
19528 cat >>conftest.$ac_ext <<_ACEOF
19529 /* end confdefs.h. */
19530 #include <stdlib.h>
19531
19532 _ACEOF
19533 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19534 $EGREP "free" >/dev/null 2>&1; then
19535 :
19536 else
19537 ac_cv_header_stdc=no
19538 fi
19539 rm -f conftest*
19540
19541 fi
19542
19543 if test $ac_cv_header_stdc = yes; then
19544 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19545 if test "$cross_compiling" = yes; then
19546 :
19547 else
19548 cat >conftest.$ac_ext <<_ACEOF
19549 /* confdefs.h. */
19550 _ACEOF
19551 cat confdefs.h >>conftest.$ac_ext
19552 cat >>conftest.$ac_ext <<_ACEOF
19553 /* end confdefs.h. */
19554 #include <ctype.h>
19555 #include <stdlib.h>
19556 #if ((' ' & 0x0FF) == 0x020)
19557 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19558 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19559 #else
19560 # define ISLOWER(c) \
19561 (('a' <= (c) && (c) <= 'i') \
19562 || ('j' <= (c) && (c) <= 'r') \
19563 || ('s' <= (c) && (c) <= 'z'))
19564 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19565 #endif
19566
19567 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19568 int
19569 main ()
19570 {
19571 int i;
19572 for (i = 0; i < 256; i++)
19573 if (XOR (islower (i), ISLOWER (i))
19574 || toupper (i) != TOUPPER (i))
19575 return 2;
19576 return 0;
19577 }
19578 _ACEOF
19579 rm -f conftest$ac_exeext
19580 if { (ac_try="$ac_link"
19581 case "(($ac_try" in
19582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19583 *) ac_try_echo=$ac_try;;
19584 esac
19585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19586 (eval "$ac_link") 2>&5
19587 ac_status=$?
19588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19589 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19590 { (case "(($ac_try" in
19591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19592 *) ac_try_echo=$ac_try;;
19593 esac
19594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19595 (eval "$ac_try") 2>&5
19596 ac_status=$?
19597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19598 (exit $ac_status); }; }; then
19599 :
19600 else
19601 echo "$as_me: program exited with status $ac_status" >&5
19602 echo "$as_me: failed program was:" >&5
19603 sed 's/^/| /' conftest.$ac_ext >&5
19604
19605 ( exit $ac_status )
19606 ac_cv_header_stdc=no
19607 fi
19608 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19609 fi
19610
19611
19612 fi
19613 fi
19614 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19615 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19616 if test $ac_cv_header_stdc = yes; then
19617
19618 cat >>confdefs.h <<\_ACEOF
19619 #define STDC_HEADERS 1
19620 _ACEOF
19621
19622 fi
19623
19624 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19625
19626
19627
19628
19629
19630
19631
19632
19633
19634 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19635 inttypes.h stdint.h unistd.h
19636 do
19637 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19638 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19639 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19640 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19641 echo $ECHO_N "(cached) $ECHO_C" >&6
19642 else
19643 cat >conftest.$ac_ext <<_ACEOF
19644 /* confdefs.h. */
19645 _ACEOF
19646 cat confdefs.h >>conftest.$ac_ext
19647 cat >>conftest.$ac_ext <<_ACEOF
19648 /* end confdefs.h. */
19649 $ac_includes_default
19650
19651 #include <$ac_header>
19652 _ACEOF
19653 rm -f conftest.$ac_objext
19654 if { (ac_try="$ac_compile"
19655 case "(($ac_try" in
19656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19657 *) ac_try_echo=$ac_try;;
19658 esac
19659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19660 (eval "$ac_compile") 2>conftest.er1
19661 ac_status=$?
19662 grep -v '^ *+' conftest.er1 >conftest.err
19663 rm -f conftest.er1
19664 cat conftest.err >&5
19665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19666 (exit $ac_status); } && {
19667 test -z "$ac_c_werror_flag" ||
19668 test ! -s conftest.err
19669 } && test -s conftest.$ac_objext; then
19670 eval "$as_ac_Header=yes"
19671 else
19672 echo "$as_me: failed program was:" >&5
19673 sed 's/^/| /' conftest.$ac_ext >&5
19674
19675 eval "$as_ac_Header=no"
19676 fi
19677
19678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19679 fi
19680 ac_res=`eval echo '${'$as_ac_Header'}'`
19681 { echo "$as_me:$LINENO: result: $ac_res" >&5
19682 echo "${ECHO_T}$ac_res" >&6; }
19683 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19684 cat >>confdefs.h <<_ACEOF
19685 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19686 _ACEOF
19687
19688 fi
19689
19690 done
19691
19692
19693
19694
19695 for ac_header in langinfo.h wchar.h
19696 do
19697 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19698 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19699 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19700 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19701 echo $ECHO_N "(cached) $ECHO_C" >&6
19702 else
19703 cat >conftest.$ac_ext <<_ACEOF
19704 /* confdefs.h. */
19705 _ACEOF
19706 cat confdefs.h >>conftest.$ac_ext
19707 cat >>conftest.$ac_ext <<_ACEOF
19708 /* end confdefs.h. */
19709 $ac_includes_default
19710
19711 #include <$ac_header>
19712 _ACEOF
19713 rm -f conftest.$ac_objext
19714 if { (ac_try="$ac_compile"
19715 case "(($ac_try" in
19716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19717 *) ac_try_echo=$ac_try;;
19718 esac
19719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19720 (eval "$ac_compile") 2>conftest.er1
19721 ac_status=$?
19722 grep -v '^ *+' conftest.er1 >conftest.err
19723 rm -f conftest.er1
19724 cat conftest.err >&5
19725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19726 (exit $ac_status); } && {
19727 test -z "$ac_c_werror_flag" ||
19728 test ! -s conftest.err
19729 } && test -s conftest.$ac_objext; then
19730 eval "$as_ac_Header=yes"
19731 else
19732 echo "$as_me: failed program was:" >&5
19733 sed 's/^/| /' conftest.$ac_ext >&5
19734
19735 eval "$as_ac_Header=no"
19736 fi
19737
19738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19739 fi
19740 ac_res=`eval echo '${'$as_ac_Header'}'`
19741 { echo "$as_me:$LINENO: result: $ac_res" >&5
19742 echo "${ECHO_T}$ac_res" >&6; }
19743 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19744 cat >>confdefs.h <<_ACEOF
19745 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19746 _ACEOF
19747
19748 fi
19749
19750 done
19751
19752
19753 if test "$ac_cv_header_wchar_h" != "yes"; then
19754
19755 for ac_header in wcstr.h
19756 do
19757 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19758 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19759 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19760 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19761 echo $ECHO_N "(cached) $ECHO_C" >&6
19762 else
19763 cat >conftest.$ac_ext <<_ACEOF
19764 /* confdefs.h. */
19765 _ACEOF
19766 cat confdefs.h >>conftest.$ac_ext
19767 cat >>conftest.$ac_ext <<_ACEOF
19768 /* end confdefs.h. */
19769 $ac_includes_default
19770
19771 #include <$ac_header>
19772 _ACEOF
19773 rm -f conftest.$ac_objext
19774 if { (ac_try="$ac_compile"
19775 case "(($ac_try" in
19776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19777 *) ac_try_echo=$ac_try;;
19778 esac
19779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19780 (eval "$ac_compile") 2>conftest.er1
19781 ac_status=$?
19782 grep -v '^ *+' conftest.er1 >conftest.err
19783 rm -f conftest.er1
19784 cat conftest.err >&5
19785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19786 (exit $ac_status); } && {
19787 test -z "$ac_c_werror_flag" ||
19788 test ! -s conftest.err
19789 } && test -s conftest.$ac_objext; then
19790 eval "$as_ac_Header=yes"
19791 else
19792 echo "$as_me: failed program was:" >&5
19793 sed 's/^/| /' conftest.$ac_ext >&5
19794
19795 eval "$as_ac_Header=no"
19796 fi
19797
19798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19799 fi
19800 ac_res=`eval echo '${'$as_ac_Header'}'`
19801 { echo "$as_me:$LINENO: result: $ac_res" >&5
19802 echo "${ECHO_T}$ac_res" >&6; }
19803 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19804 cat >>confdefs.h <<_ACEOF
19805 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19806 _ACEOF
19807
19808 fi
19809
19810 done
19811
19812 fi
19813
19814 case "${host}" in
19815 *-pc-os2_emx | *-pc-os2-emx )
19816 if test $ac_cv_header_langinfo_h = "yes" \
19817 -a \( "$wx_cv_gccversion" = "EMX2" \
19818 -o "$wx_cv_gccversion" = "EMX3" \
19819 -o "$wx_cv_gccversion" = "Innotek5" \); then
19820 LIBS="$LIBS -lintl"
19821 fi
19822 ;;
19823 esac
19824
19825 if test "$USE_UNIX" = 1 ; then
19826
19827 for ac_header in sys/select.h
19828 do
19829 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19830 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19831 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19832 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19833 echo $ECHO_N "(cached) $ECHO_C" >&6
19834 else
19835 cat >conftest.$ac_ext <<_ACEOF
19836 /* confdefs.h. */
19837 _ACEOF
19838 cat confdefs.h >>conftest.$ac_ext
19839 cat >>conftest.$ac_ext <<_ACEOF
19840 /* end confdefs.h. */
19841 $ac_includes_default
19842
19843 #include <$ac_header>
19844 _ACEOF
19845 rm -f conftest.$ac_objext
19846 if { (ac_try="$ac_compile"
19847 case "(($ac_try" in
19848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19849 *) ac_try_echo=$ac_try;;
19850 esac
19851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19852 (eval "$ac_compile") 2>conftest.er1
19853 ac_status=$?
19854 grep -v '^ *+' conftest.er1 >conftest.err
19855 rm -f conftest.er1
19856 cat conftest.err >&5
19857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19858 (exit $ac_status); } && {
19859 test -z "$ac_c_werror_flag" ||
19860 test ! -s conftest.err
19861 } && test -s conftest.$ac_objext; then
19862 eval "$as_ac_Header=yes"
19863 else
19864 echo "$as_me: failed program was:" >&5
19865 sed 's/^/| /' conftest.$ac_ext >&5
19866
19867 eval "$as_ac_Header=no"
19868 fi
19869
19870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19871 fi
19872 ac_res=`eval echo '${'$as_ac_Header'}'`
19873 { echo "$as_me:$LINENO: result: $ac_res" >&5
19874 echo "${ECHO_T}$ac_res" >&6; }
19875 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19876 cat >>confdefs.h <<_ACEOF
19877 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19878 _ACEOF
19879
19880 fi
19881
19882 done
19883
19884 fi
19885
19886
19887 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19888 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19889 if test "${ac_cv_c_const+set}" = set; then
19890 echo $ECHO_N "(cached) $ECHO_C" >&6
19891 else
19892 cat >conftest.$ac_ext <<_ACEOF
19893 /* confdefs.h. */
19894 _ACEOF
19895 cat confdefs.h >>conftest.$ac_ext
19896 cat >>conftest.$ac_ext <<_ACEOF
19897 /* end confdefs.h. */
19898
19899 int
19900 main ()
19901 {
19902 /* FIXME: Include the comments suggested by Paul. */
19903 #ifndef __cplusplus
19904 /* Ultrix mips cc rejects this. */
19905 typedef int charset[2];
19906 const charset cs;
19907 /* SunOS 4.1.1 cc rejects this. */
19908 char const *const *pcpcc;
19909 char **ppc;
19910 /* NEC SVR4.0.2 mips cc rejects this. */
19911 struct point {int x, y;};
19912 static struct point const zero = {0,0};
19913 /* AIX XL C 1.02.0.0 rejects this.
19914 It does not let you subtract one const X* pointer from another in
19915 an arm of an if-expression whose if-part is not a constant
19916 expression */
19917 const char *g = "string";
19918 pcpcc = &g + (g ? g-g : 0);
19919 /* HPUX 7.0 cc rejects these. */
19920 ++pcpcc;
19921 ppc = (char**) pcpcc;
19922 pcpcc = (char const *const *) ppc;
19923 { /* SCO 3.2v4 cc rejects this. */
19924 char *t;
19925 char const *s = 0 ? (char *) 0 : (char const *) 0;
19926
19927 *t++ = 0;
19928 if (s) return 0;
19929 }
19930 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19931 int x[] = {25, 17};
19932 const int *foo = &x[0];
19933 ++foo;
19934 }
19935 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19936 typedef const int *iptr;
19937 iptr p = 0;
19938 ++p;
19939 }
19940 { /* AIX XL C 1.02.0.0 rejects this saying
19941 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19942 struct s { int j; const int *ap[3]; };
19943 struct s *b; b->j = 5;
19944 }
19945 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19946 const int foo = 10;
19947 if (!foo) return 0;
19948 }
19949 return !cs[0] && !zero.x;
19950 #endif
19951
19952 ;
19953 return 0;
19954 }
19955 _ACEOF
19956 rm -f conftest.$ac_objext
19957 if { (ac_try="$ac_compile"
19958 case "(($ac_try" in
19959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19960 *) ac_try_echo=$ac_try;;
19961 esac
19962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19963 (eval "$ac_compile") 2>conftest.er1
19964 ac_status=$?
19965 grep -v '^ *+' conftest.er1 >conftest.err
19966 rm -f conftest.er1
19967 cat conftest.err >&5
19968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19969 (exit $ac_status); } && {
19970 test -z "$ac_c_werror_flag" ||
19971 test ! -s conftest.err
19972 } && test -s conftest.$ac_objext; then
19973 ac_cv_c_const=yes
19974 else
19975 echo "$as_me: failed program was:" >&5
19976 sed 's/^/| /' conftest.$ac_ext >&5
19977
19978 ac_cv_c_const=no
19979 fi
19980
19981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19982 fi
19983 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19984 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19985 if test $ac_cv_c_const = no; then
19986
19987 cat >>confdefs.h <<\_ACEOF
19988 #define const
19989 _ACEOF
19990
19991 fi
19992
19993 { echo "$as_me:$LINENO: checking for inline" >&5
19994 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19995 if test "${ac_cv_c_inline+set}" = set; then
19996 echo $ECHO_N "(cached) $ECHO_C" >&6
19997 else
19998 ac_cv_c_inline=no
19999 for ac_kw in inline __inline__ __inline; do
20000 cat >conftest.$ac_ext <<_ACEOF
20001 /* confdefs.h. */
20002 _ACEOF
20003 cat confdefs.h >>conftest.$ac_ext
20004 cat >>conftest.$ac_ext <<_ACEOF
20005 /* end confdefs.h. */
20006 #ifndef __cplusplus
20007 typedef int foo_t;
20008 static $ac_kw foo_t static_foo () {return 0; }
20009 $ac_kw foo_t foo () {return 0; }
20010 #endif
20011
20012 _ACEOF
20013 rm -f conftest.$ac_objext
20014 if { (ac_try="$ac_compile"
20015 case "(($ac_try" in
20016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20017 *) ac_try_echo=$ac_try;;
20018 esac
20019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20020 (eval "$ac_compile") 2>conftest.er1
20021 ac_status=$?
20022 grep -v '^ *+' conftest.er1 >conftest.err
20023 rm -f conftest.er1
20024 cat conftest.err >&5
20025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20026 (exit $ac_status); } && {
20027 test -z "$ac_c_werror_flag" ||
20028 test ! -s conftest.err
20029 } && test -s conftest.$ac_objext; then
20030 ac_cv_c_inline=$ac_kw
20031 else
20032 echo "$as_me: failed program was:" >&5
20033 sed 's/^/| /' conftest.$ac_ext >&5
20034
20035
20036 fi
20037
20038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20039 test "$ac_cv_c_inline" != no && break
20040 done
20041
20042 fi
20043 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20044 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
20045
20046
20047 case $ac_cv_c_inline in
20048 inline | yes) ;;
20049 *)
20050 case $ac_cv_c_inline in
20051 no) ac_val=;;
20052 *) ac_val=$ac_cv_c_inline;;
20053 esac
20054 cat >>confdefs.h <<_ACEOF
20055 #ifndef __cplusplus
20056 #define inline $ac_val
20057 #endif
20058 _ACEOF
20059 ;;
20060 esac
20061
20062
20063 { echo "$as_me:$LINENO: checking for short" >&5
20064 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
20065 if test "${ac_cv_type_short+set}" = set; then
20066 echo $ECHO_N "(cached) $ECHO_C" >&6
20067 else
20068 cat >conftest.$ac_ext <<_ACEOF
20069 /* confdefs.h. */
20070 _ACEOF
20071 cat confdefs.h >>conftest.$ac_ext
20072 cat >>conftest.$ac_ext <<_ACEOF
20073 /* end confdefs.h. */
20074 $ac_includes_default
20075 typedef short ac__type_new_;
20076 int
20077 main ()
20078 {
20079 if ((ac__type_new_ *) 0)
20080 return 0;
20081 if (sizeof (ac__type_new_))
20082 return 0;
20083 ;
20084 return 0;
20085 }
20086 _ACEOF
20087 rm -f conftest.$ac_objext
20088 if { (ac_try="$ac_compile"
20089 case "(($ac_try" in
20090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20091 *) ac_try_echo=$ac_try;;
20092 esac
20093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20094 (eval "$ac_compile") 2>conftest.er1
20095 ac_status=$?
20096 grep -v '^ *+' conftest.er1 >conftest.err
20097 rm -f conftest.er1
20098 cat conftest.err >&5
20099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20100 (exit $ac_status); } && {
20101 test -z "$ac_c_werror_flag" ||
20102 test ! -s conftest.err
20103 } && test -s conftest.$ac_objext; then
20104 ac_cv_type_short=yes
20105 else
20106 echo "$as_me: failed program was:" >&5
20107 sed 's/^/| /' conftest.$ac_ext >&5
20108
20109 ac_cv_type_short=no
20110 fi
20111
20112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20113 fi
20114 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
20115 echo "${ECHO_T}$ac_cv_type_short" >&6; }
20116
20117 # The cast to long int works around a bug in the HP C Compiler
20118 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20119 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20120 # This bug is HP SR number 8606223364.
20121 { echo "$as_me:$LINENO: checking size of short" >&5
20122 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
20123 if test "${ac_cv_sizeof_short+set}" = set; then
20124 echo $ECHO_N "(cached) $ECHO_C" >&6
20125 else
20126 if test "$cross_compiling" = yes; then
20127 # Depending upon the size, compute the lo and hi bounds.
20128 cat >conftest.$ac_ext <<_ACEOF
20129 /* confdefs.h. */
20130 _ACEOF
20131 cat confdefs.h >>conftest.$ac_ext
20132 cat >>conftest.$ac_ext <<_ACEOF
20133 /* end confdefs.h. */
20134 $ac_includes_default
20135 typedef short ac__type_sizeof_;
20136 int
20137 main ()
20138 {
20139 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20140 test_array [0] = 0
20141
20142 ;
20143 return 0;
20144 }
20145 _ACEOF
20146 rm -f conftest.$ac_objext
20147 if { (ac_try="$ac_compile"
20148 case "(($ac_try" in
20149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20150 *) ac_try_echo=$ac_try;;
20151 esac
20152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20153 (eval "$ac_compile") 2>conftest.er1
20154 ac_status=$?
20155 grep -v '^ *+' conftest.er1 >conftest.err
20156 rm -f conftest.er1
20157 cat conftest.err >&5
20158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20159 (exit $ac_status); } && {
20160 test -z "$ac_c_werror_flag" ||
20161 test ! -s conftest.err
20162 } && test -s conftest.$ac_objext; then
20163 ac_lo=0 ac_mid=0
20164 while :; do
20165 cat >conftest.$ac_ext <<_ACEOF
20166 /* confdefs.h. */
20167 _ACEOF
20168 cat confdefs.h >>conftest.$ac_ext
20169 cat >>conftest.$ac_ext <<_ACEOF
20170 /* end confdefs.h. */
20171 $ac_includes_default
20172 typedef short ac__type_sizeof_;
20173 int
20174 main ()
20175 {
20176 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20177 test_array [0] = 0
20178
20179 ;
20180 return 0;
20181 }
20182 _ACEOF
20183 rm -f conftest.$ac_objext
20184 if { (ac_try="$ac_compile"
20185 case "(($ac_try" in
20186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20187 *) ac_try_echo=$ac_try;;
20188 esac
20189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20190 (eval "$ac_compile") 2>conftest.er1
20191 ac_status=$?
20192 grep -v '^ *+' conftest.er1 >conftest.err
20193 rm -f conftest.er1
20194 cat conftest.err >&5
20195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20196 (exit $ac_status); } && {
20197 test -z "$ac_c_werror_flag" ||
20198 test ! -s conftest.err
20199 } && test -s conftest.$ac_objext; then
20200 ac_hi=$ac_mid; break
20201 else
20202 echo "$as_me: failed program was:" >&5
20203 sed 's/^/| /' conftest.$ac_ext >&5
20204
20205 ac_lo=`expr $ac_mid + 1`
20206 if test $ac_lo -le $ac_mid; then
20207 ac_lo= ac_hi=
20208 break
20209 fi
20210 ac_mid=`expr 2 '*' $ac_mid + 1`
20211 fi
20212
20213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20214 done
20215 else
20216 echo "$as_me: failed program was:" >&5
20217 sed 's/^/| /' conftest.$ac_ext >&5
20218
20219 cat >conftest.$ac_ext <<_ACEOF
20220 /* confdefs.h. */
20221 _ACEOF
20222 cat confdefs.h >>conftest.$ac_ext
20223 cat >>conftest.$ac_ext <<_ACEOF
20224 /* end confdefs.h. */
20225 $ac_includes_default
20226 typedef short ac__type_sizeof_;
20227 int
20228 main ()
20229 {
20230 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20231 test_array [0] = 0
20232
20233 ;
20234 return 0;
20235 }
20236 _ACEOF
20237 rm -f conftest.$ac_objext
20238 if { (ac_try="$ac_compile"
20239 case "(($ac_try" in
20240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20241 *) ac_try_echo=$ac_try;;
20242 esac
20243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20244 (eval "$ac_compile") 2>conftest.er1
20245 ac_status=$?
20246 grep -v '^ *+' conftest.er1 >conftest.err
20247 rm -f conftest.er1
20248 cat conftest.err >&5
20249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20250 (exit $ac_status); } && {
20251 test -z "$ac_c_werror_flag" ||
20252 test ! -s conftest.err
20253 } && test -s conftest.$ac_objext; then
20254 ac_hi=-1 ac_mid=-1
20255 while :; do
20256 cat >conftest.$ac_ext <<_ACEOF
20257 /* confdefs.h. */
20258 _ACEOF
20259 cat confdefs.h >>conftest.$ac_ext
20260 cat >>conftest.$ac_ext <<_ACEOF
20261 /* end confdefs.h. */
20262 $ac_includes_default
20263 typedef short ac__type_sizeof_;
20264 int
20265 main ()
20266 {
20267 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20268 test_array [0] = 0
20269
20270 ;
20271 return 0;
20272 }
20273 _ACEOF
20274 rm -f conftest.$ac_objext
20275 if { (ac_try="$ac_compile"
20276 case "(($ac_try" in
20277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20278 *) ac_try_echo=$ac_try;;
20279 esac
20280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20281 (eval "$ac_compile") 2>conftest.er1
20282 ac_status=$?
20283 grep -v '^ *+' conftest.er1 >conftest.err
20284 rm -f conftest.er1
20285 cat conftest.err >&5
20286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20287 (exit $ac_status); } && {
20288 test -z "$ac_c_werror_flag" ||
20289 test ! -s conftest.err
20290 } && test -s conftest.$ac_objext; then
20291 ac_lo=$ac_mid; break
20292 else
20293 echo "$as_me: failed program was:" >&5
20294 sed 's/^/| /' conftest.$ac_ext >&5
20295
20296 ac_hi=`expr '(' $ac_mid ')' - 1`
20297 if test $ac_mid -le $ac_hi; then
20298 ac_lo= ac_hi=
20299 break
20300 fi
20301 ac_mid=`expr 2 '*' $ac_mid`
20302 fi
20303
20304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20305 done
20306 else
20307 echo "$as_me: failed program was:" >&5
20308 sed 's/^/| /' conftest.$ac_ext >&5
20309
20310 ac_lo= ac_hi=
20311 fi
20312
20313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20314 fi
20315
20316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20317 # Binary search between lo and hi bounds.
20318 while test "x$ac_lo" != "x$ac_hi"; do
20319 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20320 cat >conftest.$ac_ext <<_ACEOF
20321 /* confdefs.h. */
20322 _ACEOF
20323 cat confdefs.h >>conftest.$ac_ext
20324 cat >>conftest.$ac_ext <<_ACEOF
20325 /* end confdefs.h. */
20326 $ac_includes_default
20327 typedef short ac__type_sizeof_;
20328 int
20329 main ()
20330 {
20331 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20332 test_array [0] = 0
20333
20334 ;
20335 return 0;
20336 }
20337 _ACEOF
20338 rm -f conftest.$ac_objext
20339 if { (ac_try="$ac_compile"
20340 case "(($ac_try" in
20341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20342 *) ac_try_echo=$ac_try;;
20343 esac
20344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20345 (eval "$ac_compile") 2>conftest.er1
20346 ac_status=$?
20347 grep -v '^ *+' conftest.er1 >conftest.err
20348 rm -f conftest.er1
20349 cat conftest.err >&5
20350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20351 (exit $ac_status); } && {
20352 test -z "$ac_c_werror_flag" ||
20353 test ! -s conftest.err
20354 } && test -s conftest.$ac_objext; then
20355 ac_hi=$ac_mid
20356 else
20357 echo "$as_me: failed program was:" >&5
20358 sed 's/^/| /' conftest.$ac_ext >&5
20359
20360 ac_lo=`expr '(' $ac_mid ')' + 1`
20361 fi
20362
20363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20364 done
20365 case $ac_lo in
20366 ?*) ac_cv_sizeof_short=$ac_lo;;
20367 '') if test "$ac_cv_type_short" = yes; then
20368 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20369 See \`config.log' for more details." >&5
20370 echo "$as_me: error: cannot compute sizeof (short)
20371 See \`config.log' for more details." >&2;}
20372 { (exit 77); exit 77; }; }
20373 else
20374 ac_cv_sizeof_short=0
20375 fi ;;
20376 esac
20377 else
20378 cat >conftest.$ac_ext <<_ACEOF
20379 /* confdefs.h. */
20380 _ACEOF
20381 cat confdefs.h >>conftest.$ac_ext
20382 cat >>conftest.$ac_ext <<_ACEOF
20383 /* end confdefs.h. */
20384 $ac_includes_default
20385 typedef short ac__type_sizeof_;
20386 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20387 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20388 #include <stdio.h>
20389 #include <stdlib.h>
20390 int
20391 main ()
20392 {
20393
20394 FILE *f = fopen ("conftest.val", "w");
20395 if (! f)
20396 return 1;
20397 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20398 {
20399 long int i = longval ();
20400 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20401 return 1;
20402 fprintf (f, "%ld\n", i);
20403 }
20404 else
20405 {
20406 unsigned long int i = ulongval ();
20407 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20408 return 1;
20409 fprintf (f, "%lu\n", i);
20410 }
20411 return ferror (f) || fclose (f) != 0;
20412
20413 ;
20414 return 0;
20415 }
20416 _ACEOF
20417 rm -f conftest$ac_exeext
20418 if { (ac_try="$ac_link"
20419 case "(($ac_try" in
20420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20421 *) ac_try_echo=$ac_try;;
20422 esac
20423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20424 (eval "$ac_link") 2>&5
20425 ac_status=$?
20426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20427 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20428 { (case "(($ac_try" in
20429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20430 *) ac_try_echo=$ac_try;;
20431 esac
20432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20433 (eval "$ac_try") 2>&5
20434 ac_status=$?
20435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20436 (exit $ac_status); }; }; then
20437 ac_cv_sizeof_short=`cat conftest.val`
20438 else
20439 echo "$as_me: program exited with status $ac_status" >&5
20440 echo "$as_me: failed program was:" >&5
20441 sed 's/^/| /' conftest.$ac_ext >&5
20442
20443 ( exit $ac_status )
20444 if test "$ac_cv_type_short" = yes; then
20445 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20446 See \`config.log' for more details." >&5
20447 echo "$as_me: error: cannot compute sizeof (short)
20448 See \`config.log' for more details." >&2;}
20449 { (exit 77); exit 77; }; }
20450 else
20451 ac_cv_sizeof_short=0
20452 fi
20453 fi
20454 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20455 fi
20456 rm -f conftest.val
20457 fi
20458 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
20459 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
20460
20461
20462
20463 cat >>confdefs.h <<_ACEOF
20464 #define SIZEOF_SHORT $ac_cv_sizeof_short
20465 _ACEOF
20466
20467
20468 { echo "$as_me:$LINENO: checking for void *" >&5
20469 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
20470 if test "${ac_cv_type_void_p+set}" = set; then
20471 echo $ECHO_N "(cached) $ECHO_C" >&6
20472 else
20473 cat >conftest.$ac_ext <<_ACEOF
20474 /* confdefs.h. */
20475 _ACEOF
20476 cat confdefs.h >>conftest.$ac_ext
20477 cat >>conftest.$ac_ext <<_ACEOF
20478 /* end confdefs.h. */
20479 $ac_includes_default
20480 typedef void * ac__type_new_;
20481 int
20482 main ()
20483 {
20484 if ((ac__type_new_ *) 0)
20485 return 0;
20486 if (sizeof (ac__type_new_))
20487 return 0;
20488 ;
20489 return 0;
20490 }
20491 _ACEOF
20492 rm -f conftest.$ac_objext
20493 if { (ac_try="$ac_compile"
20494 case "(($ac_try" in
20495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20496 *) ac_try_echo=$ac_try;;
20497 esac
20498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20499 (eval "$ac_compile") 2>conftest.er1
20500 ac_status=$?
20501 grep -v '^ *+' conftest.er1 >conftest.err
20502 rm -f conftest.er1
20503 cat conftest.err >&5
20504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20505 (exit $ac_status); } && {
20506 test -z "$ac_c_werror_flag" ||
20507 test ! -s conftest.err
20508 } && test -s conftest.$ac_objext; then
20509 ac_cv_type_void_p=yes
20510 else
20511 echo "$as_me: failed program was:" >&5
20512 sed 's/^/| /' conftest.$ac_ext >&5
20513
20514 ac_cv_type_void_p=no
20515 fi
20516
20517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20518 fi
20519 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20520 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20521
20522 # The cast to long int works around a bug in the HP C Compiler
20523 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20524 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20525 # This bug is HP SR number 8606223364.
20526 { echo "$as_me:$LINENO: checking size of void *" >&5
20527 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20528 if test "${ac_cv_sizeof_void_p+set}" = set; then
20529 echo $ECHO_N "(cached) $ECHO_C" >&6
20530 else
20531 if test "$cross_compiling" = yes; then
20532 # Depending upon the size, compute the lo and hi bounds.
20533 cat >conftest.$ac_ext <<_ACEOF
20534 /* confdefs.h. */
20535 _ACEOF
20536 cat confdefs.h >>conftest.$ac_ext
20537 cat >>conftest.$ac_ext <<_ACEOF
20538 /* end confdefs.h. */
20539 $ac_includes_default
20540 typedef void * ac__type_sizeof_;
20541 int
20542 main ()
20543 {
20544 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20545 test_array [0] = 0
20546
20547 ;
20548 return 0;
20549 }
20550 _ACEOF
20551 rm -f conftest.$ac_objext
20552 if { (ac_try="$ac_compile"
20553 case "(($ac_try" in
20554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20555 *) ac_try_echo=$ac_try;;
20556 esac
20557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20558 (eval "$ac_compile") 2>conftest.er1
20559 ac_status=$?
20560 grep -v '^ *+' conftest.er1 >conftest.err
20561 rm -f conftest.er1
20562 cat conftest.err >&5
20563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20564 (exit $ac_status); } && {
20565 test -z "$ac_c_werror_flag" ||
20566 test ! -s conftest.err
20567 } && test -s conftest.$ac_objext; then
20568 ac_lo=0 ac_mid=0
20569 while :; do
20570 cat >conftest.$ac_ext <<_ACEOF
20571 /* confdefs.h. */
20572 _ACEOF
20573 cat confdefs.h >>conftest.$ac_ext
20574 cat >>conftest.$ac_ext <<_ACEOF
20575 /* end confdefs.h. */
20576 $ac_includes_default
20577 typedef void * ac__type_sizeof_;
20578 int
20579 main ()
20580 {
20581 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20582 test_array [0] = 0
20583
20584 ;
20585 return 0;
20586 }
20587 _ACEOF
20588 rm -f conftest.$ac_objext
20589 if { (ac_try="$ac_compile"
20590 case "(($ac_try" in
20591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20592 *) ac_try_echo=$ac_try;;
20593 esac
20594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20595 (eval "$ac_compile") 2>conftest.er1
20596 ac_status=$?
20597 grep -v '^ *+' conftest.er1 >conftest.err
20598 rm -f conftest.er1
20599 cat conftest.err >&5
20600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20601 (exit $ac_status); } && {
20602 test -z "$ac_c_werror_flag" ||
20603 test ! -s conftest.err
20604 } && test -s conftest.$ac_objext; then
20605 ac_hi=$ac_mid; break
20606 else
20607 echo "$as_me: failed program was:" >&5
20608 sed 's/^/| /' conftest.$ac_ext >&5
20609
20610 ac_lo=`expr $ac_mid + 1`
20611 if test $ac_lo -le $ac_mid; then
20612 ac_lo= ac_hi=
20613 break
20614 fi
20615 ac_mid=`expr 2 '*' $ac_mid + 1`
20616 fi
20617
20618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20619 done
20620 else
20621 echo "$as_me: failed program was:" >&5
20622 sed 's/^/| /' conftest.$ac_ext >&5
20623
20624 cat >conftest.$ac_ext <<_ACEOF
20625 /* confdefs.h. */
20626 _ACEOF
20627 cat confdefs.h >>conftest.$ac_ext
20628 cat >>conftest.$ac_ext <<_ACEOF
20629 /* end confdefs.h. */
20630 $ac_includes_default
20631 typedef void * ac__type_sizeof_;
20632 int
20633 main ()
20634 {
20635 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20636 test_array [0] = 0
20637
20638 ;
20639 return 0;
20640 }
20641 _ACEOF
20642 rm -f conftest.$ac_objext
20643 if { (ac_try="$ac_compile"
20644 case "(($ac_try" in
20645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20646 *) ac_try_echo=$ac_try;;
20647 esac
20648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20649 (eval "$ac_compile") 2>conftest.er1
20650 ac_status=$?
20651 grep -v '^ *+' conftest.er1 >conftest.err
20652 rm -f conftest.er1
20653 cat conftest.err >&5
20654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20655 (exit $ac_status); } && {
20656 test -z "$ac_c_werror_flag" ||
20657 test ! -s conftest.err
20658 } && test -s conftest.$ac_objext; then
20659 ac_hi=-1 ac_mid=-1
20660 while :; do
20661 cat >conftest.$ac_ext <<_ACEOF
20662 /* confdefs.h. */
20663 _ACEOF
20664 cat confdefs.h >>conftest.$ac_ext
20665 cat >>conftest.$ac_ext <<_ACEOF
20666 /* end confdefs.h. */
20667 $ac_includes_default
20668 typedef void * ac__type_sizeof_;
20669 int
20670 main ()
20671 {
20672 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20673 test_array [0] = 0
20674
20675 ;
20676 return 0;
20677 }
20678 _ACEOF
20679 rm -f conftest.$ac_objext
20680 if { (ac_try="$ac_compile"
20681 case "(($ac_try" in
20682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20683 *) ac_try_echo=$ac_try;;
20684 esac
20685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20686 (eval "$ac_compile") 2>conftest.er1
20687 ac_status=$?
20688 grep -v '^ *+' conftest.er1 >conftest.err
20689 rm -f conftest.er1
20690 cat conftest.err >&5
20691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20692 (exit $ac_status); } && {
20693 test -z "$ac_c_werror_flag" ||
20694 test ! -s conftest.err
20695 } && test -s conftest.$ac_objext; then
20696 ac_lo=$ac_mid; break
20697 else
20698 echo "$as_me: failed program was:" >&5
20699 sed 's/^/| /' conftest.$ac_ext >&5
20700
20701 ac_hi=`expr '(' $ac_mid ')' - 1`
20702 if test $ac_mid -le $ac_hi; then
20703 ac_lo= ac_hi=
20704 break
20705 fi
20706 ac_mid=`expr 2 '*' $ac_mid`
20707 fi
20708
20709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20710 done
20711 else
20712 echo "$as_me: failed program was:" >&5
20713 sed 's/^/| /' conftest.$ac_ext >&5
20714
20715 ac_lo= ac_hi=
20716 fi
20717
20718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20719 fi
20720
20721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20722 # Binary search between lo and hi bounds.
20723 while test "x$ac_lo" != "x$ac_hi"; do
20724 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20725 cat >conftest.$ac_ext <<_ACEOF
20726 /* confdefs.h. */
20727 _ACEOF
20728 cat confdefs.h >>conftest.$ac_ext
20729 cat >>conftest.$ac_ext <<_ACEOF
20730 /* end confdefs.h. */
20731 $ac_includes_default
20732 typedef void * ac__type_sizeof_;
20733 int
20734 main ()
20735 {
20736 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20737 test_array [0] = 0
20738
20739 ;
20740 return 0;
20741 }
20742 _ACEOF
20743 rm -f conftest.$ac_objext
20744 if { (ac_try="$ac_compile"
20745 case "(($ac_try" in
20746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20747 *) ac_try_echo=$ac_try;;
20748 esac
20749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20750 (eval "$ac_compile") 2>conftest.er1
20751 ac_status=$?
20752 grep -v '^ *+' conftest.er1 >conftest.err
20753 rm -f conftest.er1
20754 cat conftest.err >&5
20755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20756 (exit $ac_status); } && {
20757 test -z "$ac_c_werror_flag" ||
20758 test ! -s conftest.err
20759 } && test -s conftest.$ac_objext; then
20760 ac_hi=$ac_mid
20761 else
20762 echo "$as_me: failed program was:" >&5
20763 sed 's/^/| /' conftest.$ac_ext >&5
20764
20765 ac_lo=`expr '(' $ac_mid ')' + 1`
20766 fi
20767
20768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20769 done
20770 case $ac_lo in
20771 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20772 '') if test "$ac_cv_type_void_p" = yes; then
20773 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20774 See \`config.log' for more details." >&5
20775 echo "$as_me: error: cannot compute sizeof (void *)
20776 See \`config.log' for more details." >&2;}
20777 { (exit 77); exit 77; }; }
20778 else
20779 ac_cv_sizeof_void_p=0
20780 fi ;;
20781 esac
20782 else
20783 cat >conftest.$ac_ext <<_ACEOF
20784 /* confdefs.h. */
20785 _ACEOF
20786 cat confdefs.h >>conftest.$ac_ext
20787 cat >>conftest.$ac_ext <<_ACEOF
20788 /* end confdefs.h. */
20789 $ac_includes_default
20790 typedef void * ac__type_sizeof_;
20791 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20792 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20793 #include <stdio.h>
20794 #include <stdlib.h>
20795 int
20796 main ()
20797 {
20798
20799 FILE *f = fopen ("conftest.val", "w");
20800 if (! f)
20801 return 1;
20802 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20803 {
20804 long int i = longval ();
20805 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20806 return 1;
20807 fprintf (f, "%ld\n", i);
20808 }
20809 else
20810 {
20811 unsigned long int i = ulongval ();
20812 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20813 return 1;
20814 fprintf (f, "%lu\n", i);
20815 }
20816 return ferror (f) || fclose (f) != 0;
20817
20818 ;
20819 return 0;
20820 }
20821 _ACEOF
20822 rm -f conftest$ac_exeext
20823 if { (ac_try="$ac_link"
20824 case "(($ac_try" in
20825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20826 *) ac_try_echo=$ac_try;;
20827 esac
20828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20829 (eval "$ac_link") 2>&5
20830 ac_status=$?
20831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20832 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20833 { (case "(($ac_try" in
20834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20835 *) ac_try_echo=$ac_try;;
20836 esac
20837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20838 (eval "$ac_try") 2>&5
20839 ac_status=$?
20840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20841 (exit $ac_status); }; }; then
20842 ac_cv_sizeof_void_p=`cat conftest.val`
20843 else
20844 echo "$as_me: program exited with status $ac_status" >&5
20845 echo "$as_me: failed program was:" >&5
20846 sed 's/^/| /' conftest.$ac_ext >&5
20847
20848 ( exit $ac_status )
20849 if test "$ac_cv_type_void_p" = yes; then
20850 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20851 See \`config.log' for more details." >&5
20852 echo "$as_me: error: cannot compute sizeof (void *)
20853 See \`config.log' for more details." >&2;}
20854 { (exit 77); exit 77; }; }
20855 else
20856 ac_cv_sizeof_void_p=0
20857 fi
20858 fi
20859 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20860 fi
20861 rm -f conftest.val
20862 fi
20863 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20864 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20865
20866
20867
20868 cat >>confdefs.h <<_ACEOF
20869 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20870 _ACEOF
20871
20872
20873 { echo "$as_me:$LINENO: checking for int" >&5
20874 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20875 if test "${ac_cv_type_int+set}" = set; then
20876 echo $ECHO_N "(cached) $ECHO_C" >&6
20877 else
20878 cat >conftest.$ac_ext <<_ACEOF
20879 /* confdefs.h. */
20880 _ACEOF
20881 cat confdefs.h >>conftest.$ac_ext
20882 cat >>conftest.$ac_ext <<_ACEOF
20883 /* end confdefs.h. */
20884 $ac_includes_default
20885 typedef int ac__type_new_;
20886 int
20887 main ()
20888 {
20889 if ((ac__type_new_ *) 0)
20890 return 0;
20891 if (sizeof (ac__type_new_))
20892 return 0;
20893 ;
20894 return 0;
20895 }
20896 _ACEOF
20897 rm -f conftest.$ac_objext
20898 if { (ac_try="$ac_compile"
20899 case "(($ac_try" in
20900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20901 *) ac_try_echo=$ac_try;;
20902 esac
20903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20904 (eval "$ac_compile") 2>conftest.er1
20905 ac_status=$?
20906 grep -v '^ *+' conftest.er1 >conftest.err
20907 rm -f conftest.er1
20908 cat conftest.err >&5
20909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20910 (exit $ac_status); } && {
20911 test -z "$ac_c_werror_flag" ||
20912 test ! -s conftest.err
20913 } && test -s conftest.$ac_objext; then
20914 ac_cv_type_int=yes
20915 else
20916 echo "$as_me: failed program was:" >&5
20917 sed 's/^/| /' conftest.$ac_ext >&5
20918
20919 ac_cv_type_int=no
20920 fi
20921
20922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20923 fi
20924 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20925 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20926
20927 # The cast to long int works around a bug in the HP C Compiler
20928 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20929 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20930 # This bug is HP SR number 8606223364.
20931 { echo "$as_me:$LINENO: checking size of int" >&5
20932 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20933 if test "${ac_cv_sizeof_int+set}" = set; then
20934 echo $ECHO_N "(cached) $ECHO_C" >&6
20935 else
20936 if test "$cross_compiling" = yes; then
20937 # Depending upon the size, compute the lo and hi bounds.
20938 cat >conftest.$ac_ext <<_ACEOF
20939 /* confdefs.h. */
20940 _ACEOF
20941 cat confdefs.h >>conftest.$ac_ext
20942 cat >>conftest.$ac_ext <<_ACEOF
20943 /* end confdefs.h. */
20944 $ac_includes_default
20945 typedef int ac__type_sizeof_;
20946 int
20947 main ()
20948 {
20949 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20950 test_array [0] = 0
20951
20952 ;
20953 return 0;
20954 }
20955 _ACEOF
20956 rm -f conftest.$ac_objext
20957 if { (ac_try="$ac_compile"
20958 case "(($ac_try" in
20959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20960 *) ac_try_echo=$ac_try;;
20961 esac
20962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20963 (eval "$ac_compile") 2>conftest.er1
20964 ac_status=$?
20965 grep -v '^ *+' conftest.er1 >conftest.err
20966 rm -f conftest.er1
20967 cat conftest.err >&5
20968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20969 (exit $ac_status); } && {
20970 test -z "$ac_c_werror_flag" ||
20971 test ! -s conftest.err
20972 } && test -s conftest.$ac_objext; then
20973 ac_lo=0 ac_mid=0
20974 while :; do
20975 cat >conftest.$ac_ext <<_ACEOF
20976 /* confdefs.h. */
20977 _ACEOF
20978 cat confdefs.h >>conftest.$ac_ext
20979 cat >>conftest.$ac_ext <<_ACEOF
20980 /* end confdefs.h. */
20981 $ac_includes_default
20982 typedef int ac__type_sizeof_;
20983 int
20984 main ()
20985 {
20986 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20987 test_array [0] = 0
20988
20989 ;
20990 return 0;
20991 }
20992 _ACEOF
20993 rm -f conftest.$ac_objext
20994 if { (ac_try="$ac_compile"
20995 case "(($ac_try" in
20996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20997 *) ac_try_echo=$ac_try;;
20998 esac
20999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21000 (eval "$ac_compile") 2>conftest.er1
21001 ac_status=$?
21002 grep -v '^ *+' conftest.er1 >conftest.err
21003 rm -f conftest.er1
21004 cat conftest.err >&5
21005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21006 (exit $ac_status); } && {
21007 test -z "$ac_c_werror_flag" ||
21008 test ! -s conftest.err
21009 } && test -s conftest.$ac_objext; then
21010 ac_hi=$ac_mid; break
21011 else
21012 echo "$as_me: failed program was:" >&5
21013 sed 's/^/| /' conftest.$ac_ext >&5
21014
21015 ac_lo=`expr $ac_mid + 1`
21016 if test $ac_lo -le $ac_mid; then
21017 ac_lo= ac_hi=
21018 break
21019 fi
21020 ac_mid=`expr 2 '*' $ac_mid + 1`
21021 fi
21022
21023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21024 done
21025 else
21026 echo "$as_me: failed program was:" >&5
21027 sed 's/^/| /' conftest.$ac_ext >&5
21028
21029 cat >conftest.$ac_ext <<_ACEOF
21030 /* confdefs.h. */
21031 _ACEOF
21032 cat confdefs.h >>conftest.$ac_ext
21033 cat >>conftest.$ac_ext <<_ACEOF
21034 /* end confdefs.h. */
21035 $ac_includes_default
21036 typedef int ac__type_sizeof_;
21037 int
21038 main ()
21039 {
21040 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21041 test_array [0] = 0
21042
21043 ;
21044 return 0;
21045 }
21046 _ACEOF
21047 rm -f conftest.$ac_objext
21048 if { (ac_try="$ac_compile"
21049 case "(($ac_try" in
21050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21051 *) ac_try_echo=$ac_try;;
21052 esac
21053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21054 (eval "$ac_compile") 2>conftest.er1
21055 ac_status=$?
21056 grep -v '^ *+' conftest.er1 >conftest.err
21057 rm -f conftest.er1
21058 cat conftest.err >&5
21059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21060 (exit $ac_status); } && {
21061 test -z "$ac_c_werror_flag" ||
21062 test ! -s conftest.err
21063 } && test -s conftest.$ac_objext; then
21064 ac_hi=-1 ac_mid=-1
21065 while :; do
21066 cat >conftest.$ac_ext <<_ACEOF
21067 /* confdefs.h. */
21068 _ACEOF
21069 cat confdefs.h >>conftest.$ac_ext
21070 cat >>conftest.$ac_ext <<_ACEOF
21071 /* end confdefs.h. */
21072 $ac_includes_default
21073 typedef int ac__type_sizeof_;
21074 int
21075 main ()
21076 {
21077 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21078 test_array [0] = 0
21079
21080 ;
21081 return 0;
21082 }
21083 _ACEOF
21084 rm -f conftest.$ac_objext
21085 if { (ac_try="$ac_compile"
21086 case "(($ac_try" in
21087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21088 *) ac_try_echo=$ac_try;;
21089 esac
21090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21091 (eval "$ac_compile") 2>conftest.er1
21092 ac_status=$?
21093 grep -v '^ *+' conftest.er1 >conftest.err
21094 rm -f conftest.er1
21095 cat conftest.err >&5
21096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21097 (exit $ac_status); } && {
21098 test -z "$ac_c_werror_flag" ||
21099 test ! -s conftest.err
21100 } && test -s conftest.$ac_objext; then
21101 ac_lo=$ac_mid; break
21102 else
21103 echo "$as_me: failed program was:" >&5
21104 sed 's/^/| /' conftest.$ac_ext >&5
21105
21106 ac_hi=`expr '(' $ac_mid ')' - 1`
21107 if test $ac_mid -le $ac_hi; then
21108 ac_lo= ac_hi=
21109 break
21110 fi
21111 ac_mid=`expr 2 '*' $ac_mid`
21112 fi
21113
21114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21115 done
21116 else
21117 echo "$as_me: failed program was:" >&5
21118 sed 's/^/| /' conftest.$ac_ext >&5
21119
21120 ac_lo= ac_hi=
21121 fi
21122
21123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21124 fi
21125
21126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21127 # Binary search between lo and hi bounds.
21128 while test "x$ac_lo" != "x$ac_hi"; do
21129 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21130 cat >conftest.$ac_ext <<_ACEOF
21131 /* confdefs.h. */
21132 _ACEOF
21133 cat confdefs.h >>conftest.$ac_ext
21134 cat >>conftest.$ac_ext <<_ACEOF
21135 /* end confdefs.h. */
21136 $ac_includes_default
21137 typedef int ac__type_sizeof_;
21138 int
21139 main ()
21140 {
21141 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21142 test_array [0] = 0
21143
21144 ;
21145 return 0;
21146 }
21147 _ACEOF
21148 rm -f conftest.$ac_objext
21149 if { (ac_try="$ac_compile"
21150 case "(($ac_try" in
21151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21152 *) ac_try_echo=$ac_try;;
21153 esac
21154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21155 (eval "$ac_compile") 2>conftest.er1
21156 ac_status=$?
21157 grep -v '^ *+' conftest.er1 >conftest.err
21158 rm -f conftest.er1
21159 cat conftest.err >&5
21160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21161 (exit $ac_status); } && {
21162 test -z "$ac_c_werror_flag" ||
21163 test ! -s conftest.err
21164 } && test -s conftest.$ac_objext; then
21165 ac_hi=$ac_mid
21166 else
21167 echo "$as_me: failed program was:" >&5
21168 sed 's/^/| /' conftest.$ac_ext >&5
21169
21170 ac_lo=`expr '(' $ac_mid ')' + 1`
21171 fi
21172
21173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21174 done
21175 case $ac_lo in
21176 ?*) ac_cv_sizeof_int=$ac_lo;;
21177 '') if test "$ac_cv_type_int" = yes; then
21178 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21179 See \`config.log' for more details." >&5
21180 echo "$as_me: error: cannot compute sizeof (int)
21181 See \`config.log' for more details." >&2;}
21182 { (exit 77); exit 77; }; }
21183 else
21184 ac_cv_sizeof_int=0
21185 fi ;;
21186 esac
21187 else
21188 cat >conftest.$ac_ext <<_ACEOF
21189 /* confdefs.h. */
21190 _ACEOF
21191 cat confdefs.h >>conftest.$ac_ext
21192 cat >>conftest.$ac_ext <<_ACEOF
21193 /* end confdefs.h. */
21194 $ac_includes_default
21195 typedef int ac__type_sizeof_;
21196 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21197 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21198 #include <stdio.h>
21199 #include <stdlib.h>
21200 int
21201 main ()
21202 {
21203
21204 FILE *f = fopen ("conftest.val", "w");
21205 if (! f)
21206 return 1;
21207 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21208 {
21209 long int i = longval ();
21210 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21211 return 1;
21212 fprintf (f, "%ld\n", i);
21213 }
21214 else
21215 {
21216 unsigned long int i = ulongval ();
21217 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21218 return 1;
21219 fprintf (f, "%lu\n", i);
21220 }
21221 return ferror (f) || fclose (f) != 0;
21222
21223 ;
21224 return 0;
21225 }
21226 _ACEOF
21227 rm -f conftest$ac_exeext
21228 if { (ac_try="$ac_link"
21229 case "(($ac_try" in
21230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21231 *) ac_try_echo=$ac_try;;
21232 esac
21233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21234 (eval "$ac_link") 2>&5
21235 ac_status=$?
21236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21237 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21238 { (case "(($ac_try" in
21239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21240 *) ac_try_echo=$ac_try;;
21241 esac
21242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21243 (eval "$ac_try") 2>&5
21244 ac_status=$?
21245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21246 (exit $ac_status); }; }; then
21247 ac_cv_sizeof_int=`cat conftest.val`
21248 else
21249 echo "$as_me: program exited with status $ac_status" >&5
21250 echo "$as_me: failed program was:" >&5
21251 sed 's/^/| /' conftest.$ac_ext >&5
21252
21253 ( exit $ac_status )
21254 if test "$ac_cv_type_int" = yes; then
21255 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21256 See \`config.log' for more details." >&5
21257 echo "$as_me: error: cannot compute sizeof (int)
21258 See \`config.log' for more details." >&2;}
21259 { (exit 77); exit 77; }; }
21260 else
21261 ac_cv_sizeof_int=0
21262 fi
21263 fi
21264 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21265 fi
21266 rm -f conftest.val
21267 fi
21268 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
21269 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
21270
21271
21272
21273 cat >>confdefs.h <<_ACEOF
21274 #define SIZEOF_INT $ac_cv_sizeof_int
21275 _ACEOF
21276
21277
21278 { echo "$as_me:$LINENO: checking for long" >&5
21279 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
21280 if test "${ac_cv_type_long+set}" = set; then
21281 echo $ECHO_N "(cached) $ECHO_C" >&6
21282 else
21283 cat >conftest.$ac_ext <<_ACEOF
21284 /* confdefs.h. */
21285 _ACEOF
21286 cat confdefs.h >>conftest.$ac_ext
21287 cat >>conftest.$ac_ext <<_ACEOF
21288 /* end confdefs.h. */
21289 $ac_includes_default
21290 typedef long ac__type_new_;
21291 int
21292 main ()
21293 {
21294 if ((ac__type_new_ *) 0)
21295 return 0;
21296 if (sizeof (ac__type_new_))
21297 return 0;
21298 ;
21299 return 0;
21300 }
21301 _ACEOF
21302 rm -f conftest.$ac_objext
21303 if { (ac_try="$ac_compile"
21304 case "(($ac_try" in
21305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21306 *) ac_try_echo=$ac_try;;
21307 esac
21308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21309 (eval "$ac_compile") 2>conftest.er1
21310 ac_status=$?
21311 grep -v '^ *+' conftest.er1 >conftest.err
21312 rm -f conftest.er1
21313 cat conftest.err >&5
21314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21315 (exit $ac_status); } && {
21316 test -z "$ac_c_werror_flag" ||
21317 test ! -s conftest.err
21318 } && test -s conftest.$ac_objext; then
21319 ac_cv_type_long=yes
21320 else
21321 echo "$as_me: failed program was:" >&5
21322 sed 's/^/| /' conftest.$ac_ext >&5
21323
21324 ac_cv_type_long=no
21325 fi
21326
21327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21328 fi
21329 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
21330 echo "${ECHO_T}$ac_cv_type_long" >&6; }
21331
21332 # The cast to long int works around a bug in the HP C Compiler
21333 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21334 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21335 # This bug is HP SR number 8606223364.
21336 { echo "$as_me:$LINENO: checking size of long" >&5
21337 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
21338 if test "${ac_cv_sizeof_long+set}" = set; then
21339 echo $ECHO_N "(cached) $ECHO_C" >&6
21340 else
21341 if test "$cross_compiling" = yes; then
21342 # Depending upon the size, compute the lo and hi bounds.
21343 cat >conftest.$ac_ext <<_ACEOF
21344 /* confdefs.h. */
21345 _ACEOF
21346 cat confdefs.h >>conftest.$ac_ext
21347 cat >>conftest.$ac_ext <<_ACEOF
21348 /* end confdefs.h. */
21349 $ac_includes_default
21350 typedef long ac__type_sizeof_;
21351 int
21352 main ()
21353 {
21354 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21355 test_array [0] = 0
21356
21357 ;
21358 return 0;
21359 }
21360 _ACEOF
21361 rm -f conftest.$ac_objext
21362 if { (ac_try="$ac_compile"
21363 case "(($ac_try" in
21364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21365 *) ac_try_echo=$ac_try;;
21366 esac
21367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21368 (eval "$ac_compile") 2>conftest.er1
21369 ac_status=$?
21370 grep -v '^ *+' conftest.er1 >conftest.err
21371 rm -f conftest.er1
21372 cat conftest.err >&5
21373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21374 (exit $ac_status); } && {
21375 test -z "$ac_c_werror_flag" ||
21376 test ! -s conftest.err
21377 } && test -s conftest.$ac_objext; then
21378 ac_lo=0 ac_mid=0
21379 while :; do
21380 cat >conftest.$ac_ext <<_ACEOF
21381 /* confdefs.h. */
21382 _ACEOF
21383 cat confdefs.h >>conftest.$ac_ext
21384 cat >>conftest.$ac_ext <<_ACEOF
21385 /* end confdefs.h. */
21386 $ac_includes_default
21387 typedef long ac__type_sizeof_;
21388 int
21389 main ()
21390 {
21391 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21392 test_array [0] = 0
21393
21394 ;
21395 return 0;
21396 }
21397 _ACEOF
21398 rm -f conftest.$ac_objext
21399 if { (ac_try="$ac_compile"
21400 case "(($ac_try" in
21401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21402 *) ac_try_echo=$ac_try;;
21403 esac
21404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21405 (eval "$ac_compile") 2>conftest.er1
21406 ac_status=$?
21407 grep -v '^ *+' conftest.er1 >conftest.err
21408 rm -f conftest.er1
21409 cat conftest.err >&5
21410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21411 (exit $ac_status); } && {
21412 test -z "$ac_c_werror_flag" ||
21413 test ! -s conftest.err
21414 } && test -s conftest.$ac_objext; then
21415 ac_hi=$ac_mid; break
21416 else
21417 echo "$as_me: failed program was:" >&5
21418 sed 's/^/| /' conftest.$ac_ext >&5
21419
21420 ac_lo=`expr $ac_mid + 1`
21421 if test $ac_lo -le $ac_mid; then
21422 ac_lo= ac_hi=
21423 break
21424 fi
21425 ac_mid=`expr 2 '*' $ac_mid + 1`
21426 fi
21427
21428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21429 done
21430 else
21431 echo "$as_me: failed program was:" >&5
21432 sed 's/^/| /' conftest.$ac_ext >&5
21433
21434 cat >conftest.$ac_ext <<_ACEOF
21435 /* confdefs.h. */
21436 _ACEOF
21437 cat confdefs.h >>conftest.$ac_ext
21438 cat >>conftest.$ac_ext <<_ACEOF
21439 /* end confdefs.h. */
21440 $ac_includes_default
21441 typedef long ac__type_sizeof_;
21442 int
21443 main ()
21444 {
21445 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21446 test_array [0] = 0
21447
21448 ;
21449 return 0;
21450 }
21451 _ACEOF
21452 rm -f conftest.$ac_objext
21453 if { (ac_try="$ac_compile"
21454 case "(($ac_try" in
21455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21456 *) ac_try_echo=$ac_try;;
21457 esac
21458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21459 (eval "$ac_compile") 2>conftest.er1
21460 ac_status=$?
21461 grep -v '^ *+' conftest.er1 >conftest.err
21462 rm -f conftest.er1
21463 cat conftest.err >&5
21464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21465 (exit $ac_status); } && {
21466 test -z "$ac_c_werror_flag" ||
21467 test ! -s conftest.err
21468 } && test -s conftest.$ac_objext; then
21469 ac_hi=-1 ac_mid=-1
21470 while :; do
21471 cat >conftest.$ac_ext <<_ACEOF
21472 /* confdefs.h. */
21473 _ACEOF
21474 cat confdefs.h >>conftest.$ac_ext
21475 cat >>conftest.$ac_ext <<_ACEOF
21476 /* end confdefs.h. */
21477 $ac_includes_default
21478 typedef long ac__type_sizeof_;
21479 int
21480 main ()
21481 {
21482 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21483 test_array [0] = 0
21484
21485 ;
21486 return 0;
21487 }
21488 _ACEOF
21489 rm -f conftest.$ac_objext
21490 if { (ac_try="$ac_compile"
21491 case "(($ac_try" in
21492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21493 *) ac_try_echo=$ac_try;;
21494 esac
21495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21496 (eval "$ac_compile") 2>conftest.er1
21497 ac_status=$?
21498 grep -v '^ *+' conftest.er1 >conftest.err
21499 rm -f conftest.er1
21500 cat conftest.err >&5
21501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21502 (exit $ac_status); } && {
21503 test -z "$ac_c_werror_flag" ||
21504 test ! -s conftest.err
21505 } && test -s conftest.$ac_objext; then
21506 ac_lo=$ac_mid; break
21507 else
21508 echo "$as_me: failed program was:" >&5
21509 sed 's/^/| /' conftest.$ac_ext >&5
21510
21511 ac_hi=`expr '(' $ac_mid ')' - 1`
21512 if test $ac_mid -le $ac_hi; then
21513 ac_lo= ac_hi=
21514 break
21515 fi
21516 ac_mid=`expr 2 '*' $ac_mid`
21517 fi
21518
21519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21520 done
21521 else
21522 echo "$as_me: failed program was:" >&5
21523 sed 's/^/| /' conftest.$ac_ext >&5
21524
21525 ac_lo= ac_hi=
21526 fi
21527
21528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21529 fi
21530
21531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21532 # Binary search between lo and hi bounds.
21533 while test "x$ac_lo" != "x$ac_hi"; do
21534 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21535 cat >conftest.$ac_ext <<_ACEOF
21536 /* confdefs.h. */
21537 _ACEOF
21538 cat confdefs.h >>conftest.$ac_ext
21539 cat >>conftest.$ac_ext <<_ACEOF
21540 /* end confdefs.h. */
21541 $ac_includes_default
21542 typedef long ac__type_sizeof_;
21543 int
21544 main ()
21545 {
21546 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21547 test_array [0] = 0
21548
21549 ;
21550 return 0;
21551 }
21552 _ACEOF
21553 rm -f conftest.$ac_objext
21554 if { (ac_try="$ac_compile"
21555 case "(($ac_try" in
21556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21557 *) ac_try_echo=$ac_try;;
21558 esac
21559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21560 (eval "$ac_compile") 2>conftest.er1
21561 ac_status=$?
21562 grep -v '^ *+' conftest.er1 >conftest.err
21563 rm -f conftest.er1
21564 cat conftest.err >&5
21565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21566 (exit $ac_status); } && {
21567 test -z "$ac_c_werror_flag" ||
21568 test ! -s conftest.err
21569 } && test -s conftest.$ac_objext; then
21570 ac_hi=$ac_mid
21571 else
21572 echo "$as_me: failed program was:" >&5
21573 sed 's/^/| /' conftest.$ac_ext >&5
21574
21575 ac_lo=`expr '(' $ac_mid ')' + 1`
21576 fi
21577
21578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21579 done
21580 case $ac_lo in
21581 ?*) ac_cv_sizeof_long=$ac_lo;;
21582 '') if test "$ac_cv_type_long" = yes; then
21583 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21584 See \`config.log' for more details." >&5
21585 echo "$as_me: error: cannot compute sizeof (long)
21586 See \`config.log' for more details." >&2;}
21587 { (exit 77); exit 77; }; }
21588 else
21589 ac_cv_sizeof_long=0
21590 fi ;;
21591 esac
21592 else
21593 cat >conftest.$ac_ext <<_ACEOF
21594 /* confdefs.h. */
21595 _ACEOF
21596 cat confdefs.h >>conftest.$ac_ext
21597 cat >>conftest.$ac_ext <<_ACEOF
21598 /* end confdefs.h. */
21599 $ac_includes_default
21600 typedef long ac__type_sizeof_;
21601 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21602 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21603 #include <stdio.h>
21604 #include <stdlib.h>
21605 int
21606 main ()
21607 {
21608
21609 FILE *f = fopen ("conftest.val", "w");
21610 if (! f)
21611 return 1;
21612 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21613 {
21614 long int i = longval ();
21615 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21616 return 1;
21617 fprintf (f, "%ld\n", i);
21618 }
21619 else
21620 {
21621 unsigned long int i = ulongval ();
21622 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21623 return 1;
21624 fprintf (f, "%lu\n", i);
21625 }
21626 return ferror (f) || fclose (f) != 0;
21627
21628 ;
21629 return 0;
21630 }
21631 _ACEOF
21632 rm -f conftest$ac_exeext
21633 if { (ac_try="$ac_link"
21634 case "(($ac_try" in
21635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21636 *) ac_try_echo=$ac_try;;
21637 esac
21638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21639 (eval "$ac_link") 2>&5
21640 ac_status=$?
21641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21642 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21643 { (case "(($ac_try" in
21644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21645 *) ac_try_echo=$ac_try;;
21646 esac
21647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21648 (eval "$ac_try") 2>&5
21649 ac_status=$?
21650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21651 (exit $ac_status); }; }; then
21652 ac_cv_sizeof_long=`cat conftest.val`
21653 else
21654 echo "$as_me: program exited with status $ac_status" >&5
21655 echo "$as_me: failed program was:" >&5
21656 sed 's/^/| /' conftest.$ac_ext >&5
21657
21658 ( exit $ac_status )
21659 if test "$ac_cv_type_long" = yes; then
21660 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21661 See \`config.log' for more details." >&5
21662 echo "$as_me: error: cannot compute sizeof (long)
21663 See \`config.log' for more details." >&2;}
21664 { (exit 77); exit 77; }; }
21665 else
21666 ac_cv_sizeof_long=0
21667 fi
21668 fi
21669 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21670 fi
21671 rm -f conftest.val
21672 fi
21673 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21674 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21675
21676
21677
21678 cat >>confdefs.h <<_ACEOF
21679 #define SIZEOF_LONG $ac_cv_sizeof_long
21680 _ACEOF
21681
21682
21683 { echo "$as_me:$LINENO: checking for size_t" >&5
21684 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21685 if test "${ac_cv_type_size_t+set}" = set; then
21686 echo $ECHO_N "(cached) $ECHO_C" >&6
21687 else
21688 cat >conftest.$ac_ext <<_ACEOF
21689 /* confdefs.h. */
21690 _ACEOF
21691 cat confdefs.h >>conftest.$ac_ext
21692 cat >>conftest.$ac_ext <<_ACEOF
21693 /* end confdefs.h. */
21694 $ac_includes_default
21695 typedef size_t ac__type_new_;
21696 int
21697 main ()
21698 {
21699 if ((ac__type_new_ *) 0)
21700 return 0;
21701 if (sizeof (ac__type_new_))
21702 return 0;
21703 ;
21704 return 0;
21705 }
21706 _ACEOF
21707 rm -f conftest.$ac_objext
21708 if { (ac_try="$ac_compile"
21709 case "(($ac_try" in
21710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21711 *) ac_try_echo=$ac_try;;
21712 esac
21713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21714 (eval "$ac_compile") 2>conftest.er1
21715 ac_status=$?
21716 grep -v '^ *+' conftest.er1 >conftest.err
21717 rm -f conftest.er1
21718 cat conftest.err >&5
21719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21720 (exit $ac_status); } && {
21721 test -z "$ac_c_werror_flag" ||
21722 test ! -s conftest.err
21723 } && test -s conftest.$ac_objext; then
21724 ac_cv_type_size_t=yes
21725 else
21726 echo "$as_me: failed program was:" >&5
21727 sed 's/^/| /' conftest.$ac_ext >&5
21728
21729 ac_cv_type_size_t=no
21730 fi
21731
21732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21733 fi
21734 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21735 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21736
21737 # The cast to long int works around a bug in the HP C Compiler
21738 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21739 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21740 # This bug is HP SR number 8606223364.
21741 { echo "$as_me:$LINENO: checking size of size_t" >&5
21742 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21743 if test "${ac_cv_sizeof_size_t+set}" = set; then
21744 echo $ECHO_N "(cached) $ECHO_C" >&6
21745 else
21746 if test "$cross_compiling" = yes; then
21747 # Depending upon the size, compute the lo and hi bounds.
21748 cat >conftest.$ac_ext <<_ACEOF
21749 /* confdefs.h. */
21750 _ACEOF
21751 cat confdefs.h >>conftest.$ac_ext
21752 cat >>conftest.$ac_ext <<_ACEOF
21753 /* end confdefs.h. */
21754 $ac_includes_default
21755 typedef size_t ac__type_sizeof_;
21756 int
21757 main ()
21758 {
21759 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21760 test_array [0] = 0
21761
21762 ;
21763 return 0;
21764 }
21765 _ACEOF
21766 rm -f conftest.$ac_objext
21767 if { (ac_try="$ac_compile"
21768 case "(($ac_try" in
21769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21770 *) ac_try_echo=$ac_try;;
21771 esac
21772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21773 (eval "$ac_compile") 2>conftest.er1
21774 ac_status=$?
21775 grep -v '^ *+' conftest.er1 >conftest.err
21776 rm -f conftest.er1
21777 cat conftest.err >&5
21778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21779 (exit $ac_status); } && {
21780 test -z "$ac_c_werror_flag" ||
21781 test ! -s conftest.err
21782 } && test -s conftest.$ac_objext; then
21783 ac_lo=0 ac_mid=0
21784 while :; do
21785 cat >conftest.$ac_ext <<_ACEOF
21786 /* confdefs.h. */
21787 _ACEOF
21788 cat confdefs.h >>conftest.$ac_ext
21789 cat >>conftest.$ac_ext <<_ACEOF
21790 /* end confdefs.h. */
21791 $ac_includes_default
21792 typedef size_t ac__type_sizeof_;
21793 int
21794 main ()
21795 {
21796 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21797 test_array [0] = 0
21798
21799 ;
21800 return 0;
21801 }
21802 _ACEOF
21803 rm -f conftest.$ac_objext
21804 if { (ac_try="$ac_compile"
21805 case "(($ac_try" in
21806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21807 *) ac_try_echo=$ac_try;;
21808 esac
21809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21810 (eval "$ac_compile") 2>conftest.er1
21811 ac_status=$?
21812 grep -v '^ *+' conftest.er1 >conftest.err
21813 rm -f conftest.er1
21814 cat conftest.err >&5
21815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21816 (exit $ac_status); } && {
21817 test -z "$ac_c_werror_flag" ||
21818 test ! -s conftest.err
21819 } && test -s conftest.$ac_objext; then
21820 ac_hi=$ac_mid; break
21821 else
21822 echo "$as_me: failed program was:" >&5
21823 sed 's/^/| /' conftest.$ac_ext >&5
21824
21825 ac_lo=`expr $ac_mid + 1`
21826 if test $ac_lo -le $ac_mid; then
21827 ac_lo= ac_hi=
21828 break
21829 fi
21830 ac_mid=`expr 2 '*' $ac_mid + 1`
21831 fi
21832
21833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21834 done
21835 else
21836 echo "$as_me: failed program was:" >&5
21837 sed 's/^/| /' conftest.$ac_ext >&5
21838
21839 cat >conftest.$ac_ext <<_ACEOF
21840 /* confdefs.h. */
21841 _ACEOF
21842 cat confdefs.h >>conftest.$ac_ext
21843 cat >>conftest.$ac_ext <<_ACEOF
21844 /* end confdefs.h. */
21845 $ac_includes_default
21846 typedef size_t ac__type_sizeof_;
21847 int
21848 main ()
21849 {
21850 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21851 test_array [0] = 0
21852
21853 ;
21854 return 0;
21855 }
21856 _ACEOF
21857 rm -f conftest.$ac_objext
21858 if { (ac_try="$ac_compile"
21859 case "(($ac_try" in
21860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21861 *) ac_try_echo=$ac_try;;
21862 esac
21863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21864 (eval "$ac_compile") 2>conftest.er1
21865 ac_status=$?
21866 grep -v '^ *+' conftest.er1 >conftest.err
21867 rm -f conftest.er1
21868 cat conftest.err >&5
21869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21870 (exit $ac_status); } && {
21871 test -z "$ac_c_werror_flag" ||
21872 test ! -s conftest.err
21873 } && test -s conftest.$ac_objext; then
21874 ac_hi=-1 ac_mid=-1
21875 while :; do
21876 cat >conftest.$ac_ext <<_ACEOF
21877 /* confdefs.h. */
21878 _ACEOF
21879 cat confdefs.h >>conftest.$ac_ext
21880 cat >>conftest.$ac_ext <<_ACEOF
21881 /* end confdefs.h. */
21882 $ac_includes_default
21883 typedef size_t ac__type_sizeof_;
21884 int
21885 main ()
21886 {
21887 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21888 test_array [0] = 0
21889
21890 ;
21891 return 0;
21892 }
21893 _ACEOF
21894 rm -f conftest.$ac_objext
21895 if { (ac_try="$ac_compile"
21896 case "(($ac_try" in
21897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21898 *) ac_try_echo=$ac_try;;
21899 esac
21900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21901 (eval "$ac_compile") 2>conftest.er1
21902 ac_status=$?
21903 grep -v '^ *+' conftest.er1 >conftest.err
21904 rm -f conftest.er1
21905 cat conftest.err >&5
21906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21907 (exit $ac_status); } && {
21908 test -z "$ac_c_werror_flag" ||
21909 test ! -s conftest.err
21910 } && test -s conftest.$ac_objext; then
21911 ac_lo=$ac_mid; break
21912 else
21913 echo "$as_me: failed program was:" >&5
21914 sed 's/^/| /' conftest.$ac_ext >&5
21915
21916 ac_hi=`expr '(' $ac_mid ')' - 1`
21917 if test $ac_mid -le $ac_hi; then
21918 ac_lo= ac_hi=
21919 break
21920 fi
21921 ac_mid=`expr 2 '*' $ac_mid`
21922 fi
21923
21924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21925 done
21926 else
21927 echo "$as_me: failed program was:" >&5
21928 sed 's/^/| /' conftest.$ac_ext >&5
21929
21930 ac_lo= ac_hi=
21931 fi
21932
21933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21934 fi
21935
21936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21937 # Binary search between lo and hi bounds.
21938 while test "x$ac_lo" != "x$ac_hi"; do
21939 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21940 cat >conftest.$ac_ext <<_ACEOF
21941 /* confdefs.h. */
21942 _ACEOF
21943 cat confdefs.h >>conftest.$ac_ext
21944 cat >>conftest.$ac_ext <<_ACEOF
21945 /* end confdefs.h. */
21946 $ac_includes_default
21947 typedef size_t ac__type_sizeof_;
21948 int
21949 main ()
21950 {
21951 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21952 test_array [0] = 0
21953
21954 ;
21955 return 0;
21956 }
21957 _ACEOF
21958 rm -f conftest.$ac_objext
21959 if { (ac_try="$ac_compile"
21960 case "(($ac_try" in
21961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21962 *) ac_try_echo=$ac_try;;
21963 esac
21964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21965 (eval "$ac_compile") 2>conftest.er1
21966 ac_status=$?
21967 grep -v '^ *+' conftest.er1 >conftest.err
21968 rm -f conftest.er1
21969 cat conftest.err >&5
21970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21971 (exit $ac_status); } && {
21972 test -z "$ac_c_werror_flag" ||
21973 test ! -s conftest.err
21974 } && test -s conftest.$ac_objext; then
21975 ac_hi=$ac_mid
21976 else
21977 echo "$as_me: failed program was:" >&5
21978 sed 's/^/| /' conftest.$ac_ext >&5
21979
21980 ac_lo=`expr '(' $ac_mid ')' + 1`
21981 fi
21982
21983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21984 done
21985 case $ac_lo in
21986 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21987 '') if test "$ac_cv_type_size_t" = yes; then
21988 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21989 See \`config.log' for more details." >&5
21990 echo "$as_me: error: cannot compute sizeof (size_t)
21991 See \`config.log' for more details." >&2;}
21992 { (exit 77); exit 77; }; }
21993 else
21994 ac_cv_sizeof_size_t=0
21995 fi ;;
21996 esac
21997 else
21998 cat >conftest.$ac_ext <<_ACEOF
21999 /* confdefs.h. */
22000 _ACEOF
22001 cat confdefs.h >>conftest.$ac_ext
22002 cat >>conftest.$ac_ext <<_ACEOF
22003 /* end confdefs.h. */
22004 $ac_includes_default
22005 typedef size_t ac__type_sizeof_;
22006 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22007 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22008 #include <stdio.h>
22009 #include <stdlib.h>
22010 int
22011 main ()
22012 {
22013
22014 FILE *f = fopen ("conftest.val", "w");
22015 if (! f)
22016 return 1;
22017 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22018 {
22019 long int i = longval ();
22020 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22021 return 1;
22022 fprintf (f, "%ld\n", i);
22023 }
22024 else
22025 {
22026 unsigned long int i = ulongval ();
22027 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22028 return 1;
22029 fprintf (f, "%lu\n", i);
22030 }
22031 return ferror (f) || fclose (f) != 0;
22032
22033 ;
22034 return 0;
22035 }
22036 _ACEOF
22037 rm -f conftest$ac_exeext
22038 if { (ac_try="$ac_link"
22039 case "(($ac_try" in
22040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22041 *) ac_try_echo=$ac_try;;
22042 esac
22043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22044 (eval "$ac_link") 2>&5
22045 ac_status=$?
22046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22047 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22048 { (case "(($ac_try" in
22049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22050 *) ac_try_echo=$ac_try;;
22051 esac
22052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22053 (eval "$ac_try") 2>&5
22054 ac_status=$?
22055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22056 (exit $ac_status); }; }; then
22057 ac_cv_sizeof_size_t=`cat conftest.val`
22058 else
22059 echo "$as_me: program exited with status $ac_status" >&5
22060 echo "$as_me: failed program was:" >&5
22061 sed 's/^/| /' conftest.$ac_ext >&5
22062
22063 ( exit $ac_status )
22064 if test "$ac_cv_type_size_t" = yes; then
22065 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22066 See \`config.log' for more details." >&5
22067 echo "$as_me: error: cannot compute sizeof (size_t)
22068 See \`config.log' for more details." >&2;}
22069 { (exit 77); exit 77; }; }
22070 else
22071 ac_cv_sizeof_size_t=0
22072 fi
22073 fi
22074 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22075 fi
22076 rm -f conftest.val
22077 fi
22078 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
22079 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
22080
22081
22082
22083 cat >>confdefs.h <<_ACEOF
22084 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
22085 _ACEOF
22086
22087
22088
22089 case "${host}" in
22090 arm-*-linux* )
22091 { echo "$as_me:$LINENO: checking for long long" >&5
22092 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22093 if test "${ac_cv_type_long_long+set}" = set; then
22094 echo $ECHO_N "(cached) $ECHO_C" >&6
22095 else
22096 cat >conftest.$ac_ext <<_ACEOF
22097 /* confdefs.h. */
22098 _ACEOF
22099 cat confdefs.h >>conftest.$ac_ext
22100 cat >>conftest.$ac_ext <<_ACEOF
22101 /* end confdefs.h. */
22102 $ac_includes_default
22103 typedef long long ac__type_new_;
22104 int
22105 main ()
22106 {
22107 if ((ac__type_new_ *) 0)
22108 return 0;
22109 if (sizeof (ac__type_new_))
22110 return 0;
22111 ;
22112 return 0;
22113 }
22114 _ACEOF
22115 rm -f conftest.$ac_objext
22116 if { (ac_try="$ac_compile"
22117 case "(($ac_try" in
22118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22119 *) ac_try_echo=$ac_try;;
22120 esac
22121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22122 (eval "$ac_compile") 2>conftest.er1
22123 ac_status=$?
22124 grep -v '^ *+' conftest.er1 >conftest.err
22125 rm -f conftest.er1
22126 cat conftest.err >&5
22127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22128 (exit $ac_status); } && {
22129 test -z "$ac_c_werror_flag" ||
22130 test ! -s conftest.err
22131 } && test -s conftest.$ac_objext; then
22132 ac_cv_type_long_long=yes
22133 else
22134 echo "$as_me: failed program was:" >&5
22135 sed 's/^/| /' conftest.$ac_ext >&5
22136
22137 ac_cv_type_long_long=no
22138 fi
22139
22140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22141 fi
22142 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22143 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22144
22145 # The cast to long int works around a bug in the HP C Compiler
22146 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22147 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22148 # This bug is HP SR number 8606223364.
22149 { echo "$as_me:$LINENO: checking size of long long" >&5
22150 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22151 if test "${ac_cv_sizeof_long_long+set}" = set; then
22152 echo $ECHO_N "(cached) $ECHO_C" >&6
22153 else
22154 if test "$cross_compiling" = yes; then
22155 # Depending upon the size, compute the lo and hi bounds.
22156 cat >conftest.$ac_ext <<_ACEOF
22157 /* confdefs.h. */
22158 _ACEOF
22159 cat confdefs.h >>conftest.$ac_ext
22160 cat >>conftest.$ac_ext <<_ACEOF
22161 /* end confdefs.h. */
22162 $ac_includes_default
22163 typedef long long ac__type_sizeof_;
22164 int
22165 main ()
22166 {
22167 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22168 test_array [0] = 0
22169
22170 ;
22171 return 0;
22172 }
22173 _ACEOF
22174 rm -f conftest.$ac_objext
22175 if { (ac_try="$ac_compile"
22176 case "(($ac_try" in
22177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22178 *) ac_try_echo=$ac_try;;
22179 esac
22180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22181 (eval "$ac_compile") 2>conftest.er1
22182 ac_status=$?
22183 grep -v '^ *+' conftest.er1 >conftest.err
22184 rm -f conftest.er1
22185 cat conftest.err >&5
22186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22187 (exit $ac_status); } && {
22188 test -z "$ac_c_werror_flag" ||
22189 test ! -s conftest.err
22190 } && test -s conftest.$ac_objext; then
22191 ac_lo=0 ac_mid=0
22192 while :; do
22193 cat >conftest.$ac_ext <<_ACEOF
22194 /* confdefs.h. */
22195 _ACEOF
22196 cat confdefs.h >>conftest.$ac_ext
22197 cat >>conftest.$ac_ext <<_ACEOF
22198 /* end confdefs.h. */
22199 $ac_includes_default
22200 typedef long long ac__type_sizeof_;
22201 int
22202 main ()
22203 {
22204 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22205 test_array [0] = 0
22206
22207 ;
22208 return 0;
22209 }
22210 _ACEOF
22211 rm -f conftest.$ac_objext
22212 if { (ac_try="$ac_compile"
22213 case "(($ac_try" in
22214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22215 *) ac_try_echo=$ac_try;;
22216 esac
22217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22218 (eval "$ac_compile") 2>conftest.er1
22219 ac_status=$?
22220 grep -v '^ *+' conftest.er1 >conftest.err
22221 rm -f conftest.er1
22222 cat conftest.err >&5
22223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22224 (exit $ac_status); } && {
22225 test -z "$ac_c_werror_flag" ||
22226 test ! -s conftest.err
22227 } && test -s conftest.$ac_objext; then
22228 ac_hi=$ac_mid; break
22229 else
22230 echo "$as_me: failed program was:" >&5
22231 sed 's/^/| /' conftest.$ac_ext >&5
22232
22233 ac_lo=`expr $ac_mid + 1`
22234 if test $ac_lo -le $ac_mid; then
22235 ac_lo= ac_hi=
22236 break
22237 fi
22238 ac_mid=`expr 2 '*' $ac_mid + 1`
22239 fi
22240
22241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22242 done
22243 else
22244 echo "$as_me: failed program was:" >&5
22245 sed 's/^/| /' conftest.$ac_ext >&5
22246
22247 cat >conftest.$ac_ext <<_ACEOF
22248 /* confdefs.h. */
22249 _ACEOF
22250 cat confdefs.h >>conftest.$ac_ext
22251 cat >>conftest.$ac_ext <<_ACEOF
22252 /* end confdefs.h. */
22253 $ac_includes_default
22254 typedef long long ac__type_sizeof_;
22255 int
22256 main ()
22257 {
22258 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22259 test_array [0] = 0
22260
22261 ;
22262 return 0;
22263 }
22264 _ACEOF
22265 rm -f conftest.$ac_objext
22266 if { (ac_try="$ac_compile"
22267 case "(($ac_try" in
22268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22269 *) ac_try_echo=$ac_try;;
22270 esac
22271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22272 (eval "$ac_compile") 2>conftest.er1
22273 ac_status=$?
22274 grep -v '^ *+' conftest.er1 >conftest.err
22275 rm -f conftest.er1
22276 cat conftest.err >&5
22277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22278 (exit $ac_status); } && {
22279 test -z "$ac_c_werror_flag" ||
22280 test ! -s conftest.err
22281 } && test -s conftest.$ac_objext; then
22282 ac_hi=-1 ac_mid=-1
22283 while :; do
22284 cat >conftest.$ac_ext <<_ACEOF
22285 /* confdefs.h. */
22286 _ACEOF
22287 cat confdefs.h >>conftest.$ac_ext
22288 cat >>conftest.$ac_ext <<_ACEOF
22289 /* end confdefs.h. */
22290 $ac_includes_default
22291 typedef long long ac__type_sizeof_;
22292 int
22293 main ()
22294 {
22295 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22296 test_array [0] = 0
22297
22298 ;
22299 return 0;
22300 }
22301 _ACEOF
22302 rm -f conftest.$ac_objext
22303 if { (ac_try="$ac_compile"
22304 case "(($ac_try" in
22305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22306 *) ac_try_echo=$ac_try;;
22307 esac
22308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22309 (eval "$ac_compile") 2>conftest.er1
22310 ac_status=$?
22311 grep -v '^ *+' conftest.er1 >conftest.err
22312 rm -f conftest.er1
22313 cat conftest.err >&5
22314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22315 (exit $ac_status); } && {
22316 test -z "$ac_c_werror_flag" ||
22317 test ! -s conftest.err
22318 } && test -s conftest.$ac_objext; then
22319 ac_lo=$ac_mid; break
22320 else
22321 echo "$as_me: failed program was:" >&5
22322 sed 's/^/| /' conftest.$ac_ext >&5
22323
22324 ac_hi=`expr '(' $ac_mid ')' - 1`
22325 if test $ac_mid -le $ac_hi; then
22326 ac_lo= ac_hi=
22327 break
22328 fi
22329 ac_mid=`expr 2 '*' $ac_mid`
22330 fi
22331
22332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22333 done
22334 else
22335 echo "$as_me: failed program was:" >&5
22336 sed 's/^/| /' conftest.$ac_ext >&5
22337
22338 ac_lo= ac_hi=
22339 fi
22340
22341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22342 fi
22343
22344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22345 # Binary search between lo and hi bounds.
22346 while test "x$ac_lo" != "x$ac_hi"; do
22347 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22348 cat >conftest.$ac_ext <<_ACEOF
22349 /* confdefs.h. */
22350 _ACEOF
22351 cat confdefs.h >>conftest.$ac_ext
22352 cat >>conftest.$ac_ext <<_ACEOF
22353 /* end confdefs.h. */
22354 $ac_includes_default
22355 typedef long long ac__type_sizeof_;
22356 int
22357 main ()
22358 {
22359 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22360 test_array [0] = 0
22361
22362 ;
22363 return 0;
22364 }
22365 _ACEOF
22366 rm -f conftest.$ac_objext
22367 if { (ac_try="$ac_compile"
22368 case "(($ac_try" in
22369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22370 *) ac_try_echo=$ac_try;;
22371 esac
22372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22373 (eval "$ac_compile") 2>conftest.er1
22374 ac_status=$?
22375 grep -v '^ *+' conftest.er1 >conftest.err
22376 rm -f conftest.er1
22377 cat conftest.err >&5
22378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22379 (exit $ac_status); } && {
22380 test -z "$ac_c_werror_flag" ||
22381 test ! -s conftest.err
22382 } && test -s conftest.$ac_objext; then
22383 ac_hi=$ac_mid
22384 else
22385 echo "$as_me: failed program was:" >&5
22386 sed 's/^/| /' conftest.$ac_ext >&5
22387
22388 ac_lo=`expr '(' $ac_mid ')' + 1`
22389 fi
22390
22391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22392 done
22393 case $ac_lo in
22394 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22395 '') if test "$ac_cv_type_long_long" = yes; then
22396 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22397 See \`config.log' for more details." >&5
22398 echo "$as_me: error: cannot compute sizeof (long long)
22399 See \`config.log' for more details." >&2;}
22400 { (exit 77); exit 77; }; }
22401 else
22402 ac_cv_sizeof_long_long=0
22403 fi ;;
22404 esac
22405 else
22406 cat >conftest.$ac_ext <<_ACEOF
22407 /* confdefs.h. */
22408 _ACEOF
22409 cat confdefs.h >>conftest.$ac_ext
22410 cat >>conftest.$ac_ext <<_ACEOF
22411 /* end confdefs.h. */
22412 $ac_includes_default
22413 typedef long long ac__type_sizeof_;
22414 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22415 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22416 #include <stdio.h>
22417 #include <stdlib.h>
22418 int
22419 main ()
22420 {
22421
22422 FILE *f = fopen ("conftest.val", "w");
22423 if (! f)
22424 return 1;
22425 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22426 {
22427 long int i = longval ();
22428 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22429 return 1;
22430 fprintf (f, "%ld\n", i);
22431 }
22432 else
22433 {
22434 unsigned long int i = ulongval ();
22435 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22436 return 1;
22437 fprintf (f, "%lu\n", i);
22438 }
22439 return ferror (f) || fclose (f) != 0;
22440
22441 ;
22442 return 0;
22443 }
22444 _ACEOF
22445 rm -f conftest$ac_exeext
22446 if { (ac_try="$ac_link"
22447 case "(($ac_try" in
22448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22449 *) ac_try_echo=$ac_try;;
22450 esac
22451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22452 (eval "$ac_link") 2>&5
22453 ac_status=$?
22454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22455 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22456 { (case "(($ac_try" in
22457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22458 *) ac_try_echo=$ac_try;;
22459 esac
22460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22461 (eval "$ac_try") 2>&5
22462 ac_status=$?
22463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22464 (exit $ac_status); }; }; then
22465 ac_cv_sizeof_long_long=`cat conftest.val`
22466 else
22467 echo "$as_me: program exited with status $ac_status" >&5
22468 echo "$as_me: failed program was:" >&5
22469 sed 's/^/| /' conftest.$ac_ext >&5
22470
22471 ( exit $ac_status )
22472 if test "$ac_cv_type_long_long" = yes; then
22473 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22474 See \`config.log' for more details." >&5
22475 echo "$as_me: error: cannot compute sizeof (long long)
22476 See \`config.log' for more details." >&2;}
22477 { (exit 77); exit 77; }; }
22478 else
22479 ac_cv_sizeof_long_long=0
22480 fi
22481 fi
22482 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22483 fi
22484 rm -f conftest.val
22485 fi
22486 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22487 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22488
22489
22490
22491 cat >>confdefs.h <<_ACEOF
22492 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22493 _ACEOF
22494
22495
22496 ;;
22497 *-hp-hpux* )
22498 { echo "$as_me:$LINENO: checking for long long" >&5
22499 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22500 if test "${ac_cv_type_long_long+set}" = set; then
22501 echo $ECHO_N "(cached) $ECHO_C" >&6
22502 else
22503 cat >conftest.$ac_ext <<_ACEOF
22504 /* confdefs.h. */
22505 _ACEOF
22506 cat confdefs.h >>conftest.$ac_ext
22507 cat >>conftest.$ac_ext <<_ACEOF
22508 /* end confdefs.h. */
22509 $ac_includes_default
22510 typedef long long ac__type_new_;
22511 int
22512 main ()
22513 {
22514 if ((ac__type_new_ *) 0)
22515 return 0;
22516 if (sizeof (ac__type_new_))
22517 return 0;
22518 ;
22519 return 0;
22520 }
22521 _ACEOF
22522 rm -f conftest.$ac_objext
22523 if { (ac_try="$ac_compile"
22524 case "(($ac_try" in
22525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22526 *) ac_try_echo=$ac_try;;
22527 esac
22528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22529 (eval "$ac_compile") 2>conftest.er1
22530 ac_status=$?
22531 grep -v '^ *+' conftest.er1 >conftest.err
22532 rm -f conftest.er1
22533 cat conftest.err >&5
22534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22535 (exit $ac_status); } && {
22536 test -z "$ac_c_werror_flag" ||
22537 test ! -s conftest.err
22538 } && test -s conftest.$ac_objext; then
22539 ac_cv_type_long_long=yes
22540 else
22541 echo "$as_me: failed program was:" >&5
22542 sed 's/^/| /' conftest.$ac_ext >&5
22543
22544 ac_cv_type_long_long=no
22545 fi
22546
22547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22548 fi
22549 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22550 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22551
22552 # The cast to long int works around a bug in the HP C Compiler
22553 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22554 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22555 # This bug is HP SR number 8606223364.
22556 { echo "$as_me:$LINENO: checking size of long long" >&5
22557 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22558 if test "${ac_cv_sizeof_long_long+set}" = set; then
22559 echo $ECHO_N "(cached) $ECHO_C" >&6
22560 else
22561 if test "$cross_compiling" = yes; then
22562 # Depending upon the size, compute the lo and hi bounds.
22563 cat >conftest.$ac_ext <<_ACEOF
22564 /* confdefs.h. */
22565 _ACEOF
22566 cat confdefs.h >>conftest.$ac_ext
22567 cat >>conftest.$ac_ext <<_ACEOF
22568 /* end confdefs.h. */
22569 $ac_includes_default
22570 typedef long long ac__type_sizeof_;
22571 int
22572 main ()
22573 {
22574 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22575 test_array [0] = 0
22576
22577 ;
22578 return 0;
22579 }
22580 _ACEOF
22581 rm -f conftest.$ac_objext
22582 if { (ac_try="$ac_compile"
22583 case "(($ac_try" in
22584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22585 *) ac_try_echo=$ac_try;;
22586 esac
22587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22588 (eval "$ac_compile") 2>conftest.er1
22589 ac_status=$?
22590 grep -v '^ *+' conftest.er1 >conftest.err
22591 rm -f conftest.er1
22592 cat conftest.err >&5
22593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22594 (exit $ac_status); } && {
22595 test -z "$ac_c_werror_flag" ||
22596 test ! -s conftest.err
22597 } && test -s conftest.$ac_objext; then
22598 ac_lo=0 ac_mid=0
22599 while :; do
22600 cat >conftest.$ac_ext <<_ACEOF
22601 /* confdefs.h. */
22602 _ACEOF
22603 cat confdefs.h >>conftest.$ac_ext
22604 cat >>conftest.$ac_ext <<_ACEOF
22605 /* end confdefs.h. */
22606 $ac_includes_default
22607 typedef long long ac__type_sizeof_;
22608 int
22609 main ()
22610 {
22611 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22612 test_array [0] = 0
22613
22614 ;
22615 return 0;
22616 }
22617 _ACEOF
22618 rm -f conftest.$ac_objext
22619 if { (ac_try="$ac_compile"
22620 case "(($ac_try" in
22621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22622 *) ac_try_echo=$ac_try;;
22623 esac
22624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22625 (eval "$ac_compile") 2>conftest.er1
22626 ac_status=$?
22627 grep -v '^ *+' conftest.er1 >conftest.err
22628 rm -f conftest.er1
22629 cat conftest.err >&5
22630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22631 (exit $ac_status); } && {
22632 test -z "$ac_c_werror_flag" ||
22633 test ! -s conftest.err
22634 } && test -s conftest.$ac_objext; then
22635 ac_hi=$ac_mid; break
22636 else
22637 echo "$as_me: failed program was:" >&5
22638 sed 's/^/| /' conftest.$ac_ext >&5
22639
22640 ac_lo=`expr $ac_mid + 1`
22641 if test $ac_lo -le $ac_mid; then
22642 ac_lo= ac_hi=
22643 break
22644 fi
22645 ac_mid=`expr 2 '*' $ac_mid + 1`
22646 fi
22647
22648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22649 done
22650 else
22651 echo "$as_me: failed program was:" >&5
22652 sed 's/^/| /' conftest.$ac_ext >&5
22653
22654 cat >conftest.$ac_ext <<_ACEOF
22655 /* confdefs.h. */
22656 _ACEOF
22657 cat confdefs.h >>conftest.$ac_ext
22658 cat >>conftest.$ac_ext <<_ACEOF
22659 /* end confdefs.h. */
22660 $ac_includes_default
22661 typedef long long ac__type_sizeof_;
22662 int
22663 main ()
22664 {
22665 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22666 test_array [0] = 0
22667
22668 ;
22669 return 0;
22670 }
22671 _ACEOF
22672 rm -f conftest.$ac_objext
22673 if { (ac_try="$ac_compile"
22674 case "(($ac_try" in
22675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22676 *) ac_try_echo=$ac_try;;
22677 esac
22678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22679 (eval "$ac_compile") 2>conftest.er1
22680 ac_status=$?
22681 grep -v '^ *+' conftest.er1 >conftest.err
22682 rm -f conftest.er1
22683 cat conftest.err >&5
22684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22685 (exit $ac_status); } && {
22686 test -z "$ac_c_werror_flag" ||
22687 test ! -s conftest.err
22688 } && test -s conftest.$ac_objext; then
22689 ac_hi=-1 ac_mid=-1
22690 while :; do
22691 cat >conftest.$ac_ext <<_ACEOF
22692 /* confdefs.h. */
22693 _ACEOF
22694 cat confdefs.h >>conftest.$ac_ext
22695 cat >>conftest.$ac_ext <<_ACEOF
22696 /* end confdefs.h. */
22697 $ac_includes_default
22698 typedef long long ac__type_sizeof_;
22699 int
22700 main ()
22701 {
22702 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22703 test_array [0] = 0
22704
22705 ;
22706 return 0;
22707 }
22708 _ACEOF
22709 rm -f conftest.$ac_objext
22710 if { (ac_try="$ac_compile"
22711 case "(($ac_try" in
22712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22713 *) ac_try_echo=$ac_try;;
22714 esac
22715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22716 (eval "$ac_compile") 2>conftest.er1
22717 ac_status=$?
22718 grep -v '^ *+' conftest.er1 >conftest.err
22719 rm -f conftest.er1
22720 cat conftest.err >&5
22721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22722 (exit $ac_status); } && {
22723 test -z "$ac_c_werror_flag" ||
22724 test ! -s conftest.err
22725 } && test -s conftest.$ac_objext; then
22726 ac_lo=$ac_mid; break
22727 else
22728 echo "$as_me: failed program was:" >&5
22729 sed 's/^/| /' conftest.$ac_ext >&5
22730
22731 ac_hi=`expr '(' $ac_mid ')' - 1`
22732 if test $ac_mid -le $ac_hi; then
22733 ac_lo= ac_hi=
22734 break
22735 fi
22736 ac_mid=`expr 2 '*' $ac_mid`
22737 fi
22738
22739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22740 done
22741 else
22742 echo "$as_me: failed program was:" >&5
22743 sed 's/^/| /' conftest.$ac_ext >&5
22744
22745 ac_lo= ac_hi=
22746 fi
22747
22748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22749 fi
22750
22751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22752 # Binary search between lo and hi bounds.
22753 while test "x$ac_lo" != "x$ac_hi"; do
22754 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22755 cat >conftest.$ac_ext <<_ACEOF
22756 /* confdefs.h. */
22757 _ACEOF
22758 cat confdefs.h >>conftest.$ac_ext
22759 cat >>conftest.$ac_ext <<_ACEOF
22760 /* end confdefs.h. */
22761 $ac_includes_default
22762 typedef long long ac__type_sizeof_;
22763 int
22764 main ()
22765 {
22766 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22767 test_array [0] = 0
22768
22769 ;
22770 return 0;
22771 }
22772 _ACEOF
22773 rm -f conftest.$ac_objext
22774 if { (ac_try="$ac_compile"
22775 case "(($ac_try" in
22776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22777 *) ac_try_echo=$ac_try;;
22778 esac
22779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22780 (eval "$ac_compile") 2>conftest.er1
22781 ac_status=$?
22782 grep -v '^ *+' conftest.er1 >conftest.err
22783 rm -f conftest.er1
22784 cat conftest.err >&5
22785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22786 (exit $ac_status); } && {
22787 test -z "$ac_c_werror_flag" ||
22788 test ! -s conftest.err
22789 } && test -s conftest.$ac_objext; then
22790 ac_hi=$ac_mid
22791 else
22792 echo "$as_me: failed program was:" >&5
22793 sed 's/^/| /' conftest.$ac_ext >&5
22794
22795 ac_lo=`expr '(' $ac_mid ')' + 1`
22796 fi
22797
22798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22799 done
22800 case $ac_lo in
22801 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22802 '') if test "$ac_cv_type_long_long" = yes; then
22803 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22804 See \`config.log' for more details." >&5
22805 echo "$as_me: error: cannot compute sizeof (long long)
22806 See \`config.log' for more details." >&2;}
22807 { (exit 77); exit 77; }; }
22808 else
22809 ac_cv_sizeof_long_long=0
22810 fi ;;
22811 esac
22812 else
22813 cat >conftest.$ac_ext <<_ACEOF
22814 /* confdefs.h. */
22815 _ACEOF
22816 cat confdefs.h >>conftest.$ac_ext
22817 cat >>conftest.$ac_ext <<_ACEOF
22818 /* end confdefs.h. */
22819 $ac_includes_default
22820 typedef long long ac__type_sizeof_;
22821 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22822 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22823 #include <stdio.h>
22824 #include <stdlib.h>
22825 int
22826 main ()
22827 {
22828
22829 FILE *f = fopen ("conftest.val", "w");
22830 if (! f)
22831 return 1;
22832 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22833 {
22834 long int i = longval ();
22835 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22836 return 1;
22837 fprintf (f, "%ld\n", i);
22838 }
22839 else
22840 {
22841 unsigned long int i = ulongval ();
22842 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22843 return 1;
22844 fprintf (f, "%lu\n", i);
22845 }
22846 return ferror (f) || fclose (f) != 0;
22847
22848 ;
22849 return 0;
22850 }
22851 _ACEOF
22852 rm -f conftest$ac_exeext
22853 if { (ac_try="$ac_link"
22854 case "(($ac_try" in
22855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22856 *) ac_try_echo=$ac_try;;
22857 esac
22858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22859 (eval "$ac_link") 2>&5
22860 ac_status=$?
22861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22862 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22863 { (case "(($ac_try" in
22864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22865 *) ac_try_echo=$ac_try;;
22866 esac
22867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22868 (eval "$ac_try") 2>&5
22869 ac_status=$?
22870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22871 (exit $ac_status); }; }; then
22872 ac_cv_sizeof_long_long=`cat conftest.val`
22873 else
22874 echo "$as_me: program exited with status $ac_status" >&5
22875 echo "$as_me: failed program was:" >&5
22876 sed 's/^/| /' conftest.$ac_ext >&5
22877
22878 ( exit $ac_status )
22879 if test "$ac_cv_type_long_long" = yes; then
22880 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22881 See \`config.log' for more details." >&5
22882 echo "$as_me: error: cannot compute sizeof (long long)
22883 See \`config.log' for more details." >&2;}
22884 { (exit 77); exit 77; }; }
22885 else
22886 ac_cv_sizeof_long_long=0
22887 fi
22888 fi
22889 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22890 fi
22891 rm -f conftest.val
22892 fi
22893 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22894 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22895
22896
22897
22898 cat >>confdefs.h <<_ACEOF
22899 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22900 _ACEOF
22901
22902
22903 if test "$ac_cv_sizeof_long_long" != 0; then
22904 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22905 fi
22906 ;;
22907 * )
22908 { echo "$as_me:$LINENO: checking for long long" >&5
22909 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22910 if test "${ac_cv_type_long_long+set}" = set; then
22911 echo $ECHO_N "(cached) $ECHO_C" >&6
22912 else
22913 cat >conftest.$ac_ext <<_ACEOF
22914 /* confdefs.h. */
22915 _ACEOF
22916 cat confdefs.h >>conftest.$ac_ext
22917 cat >>conftest.$ac_ext <<_ACEOF
22918 /* end confdefs.h. */
22919 $ac_includes_default
22920 typedef long long ac__type_new_;
22921 int
22922 main ()
22923 {
22924 if ((ac__type_new_ *) 0)
22925 return 0;
22926 if (sizeof (ac__type_new_))
22927 return 0;
22928 ;
22929 return 0;
22930 }
22931 _ACEOF
22932 rm -f conftest.$ac_objext
22933 if { (ac_try="$ac_compile"
22934 case "(($ac_try" in
22935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22936 *) ac_try_echo=$ac_try;;
22937 esac
22938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22939 (eval "$ac_compile") 2>conftest.er1
22940 ac_status=$?
22941 grep -v '^ *+' conftest.er1 >conftest.err
22942 rm -f conftest.er1
22943 cat conftest.err >&5
22944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22945 (exit $ac_status); } && {
22946 test -z "$ac_c_werror_flag" ||
22947 test ! -s conftest.err
22948 } && test -s conftest.$ac_objext; then
22949 ac_cv_type_long_long=yes
22950 else
22951 echo "$as_me: failed program was:" >&5
22952 sed 's/^/| /' conftest.$ac_ext >&5
22953
22954 ac_cv_type_long_long=no
22955 fi
22956
22957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22958 fi
22959 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22960 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22961
22962 # The cast to long int works around a bug in the HP C Compiler
22963 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22964 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22965 # This bug is HP SR number 8606223364.
22966 { echo "$as_me:$LINENO: checking size of long long" >&5
22967 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22968 if test "${ac_cv_sizeof_long_long+set}" = set; then
22969 echo $ECHO_N "(cached) $ECHO_C" >&6
22970 else
22971 if test "$cross_compiling" = yes; then
22972 # Depending upon the size, compute the lo and hi bounds.
22973 cat >conftest.$ac_ext <<_ACEOF
22974 /* confdefs.h. */
22975 _ACEOF
22976 cat confdefs.h >>conftest.$ac_ext
22977 cat >>conftest.$ac_ext <<_ACEOF
22978 /* end confdefs.h. */
22979 $ac_includes_default
22980 typedef long long ac__type_sizeof_;
22981 int
22982 main ()
22983 {
22984 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22985 test_array [0] = 0
22986
22987 ;
22988 return 0;
22989 }
22990 _ACEOF
22991 rm -f conftest.$ac_objext
22992 if { (ac_try="$ac_compile"
22993 case "(($ac_try" in
22994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22995 *) ac_try_echo=$ac_try;;
22996 esac
22997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22998 (eval "$ac_compile") 2>conftest.er1
22999 ac_status=$?
23000 grep -v '^ *+' conftest.er1 >conftest.err
23001 rm -f conftest.er1
23002 cat conftest.err >&5
23003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23004 (exit $ac_status); } && {
23005 test -z "$ac_c_werror_flag" ||
23006 test ! -s conftest.err
23007 } && test -s conftest.$ac_objext; then
23008 ac_lo=0 ac_mid=0
23009 while :; do
23010 cat >conftest.$ac_ext <<_ACEOF
23011 /* confdefs.h. */
23012 _ACEOF
23013 cat confdefs.h >>conftest.$ac_ext
23014 cat >>conftest.$ac_ext <<_ACEOF
23015 /* end confdefs.h. */
23016 $ac_includes_default
23017 typedef long long ac__type_sizeof_;
23018 int
23019 main ()
23020 {
23021 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23022 test_array [0] = 0
23023
23024 ;
23025 return 0;
23026 }
23027 _ACEOF
23028 rm -f conftest.$ac_objext
23029 if { (ac_try="$ac_compile"
23030 case "(($ac_try" in
23031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23032 *) ac_try_echo=$ac_try;;
23033 esac
23034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23035 (eval "$ac_compile") 2>conftest.er1
23036 ac_status=$?
23037 grep -v '^ *+' conftest.er1 >conftest.err
23038 rm -f conftest.er1
23039 cat conftest.err >&5
23040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23041 (exit $ac_status); } && {
23042 test -z "$ac_c_werror_flag" ||
23043 test ! -s conftest.err
23044 } && test -s conftest.$ac_objext; then
23045 ac_hi=$ac_mid; break
23046 else
23047 echo "$as_me: failed program was:" >&5
23048 sed 's/^/| /' conftest.$ac_ext >&5
23049
23050 ac_lo=`expr $ac_mid + 1`
23051 if test $ac_lo -le $ac_mid; then
23052 ac_lo= ac_hi=
23053 break
23054 fi
23055 ac_mid=`expr 2 '*' $ac_mid + 1`
23056 fi
23057
23058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23059 done
23060 else
23061 echo "$as_me: failed program was:" >&5
23062 sed 's/^/| /' conftest.$ac_ext >&5
23063
23064 cat >conftest.$ac_ext <<_ACEOF
23065 /* confdefs.h. */
23066 _ACEOF
23067 cat confdefs.h >>conftest.$ac_ext
23068 cat >>conftest.$ac_ext <<_ACEOF
23069 /* end confdefs.h. */
23070 $ac_includes_default
23071 typedef long long ac__type_sizeof_;
23072 int
23073 main ()
23074 {
23075 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23076 test_array [0] = 0
23077
23078 ;
23079 return 0;
23080 }
23081 _ACEOF
23082 rm -f conftest.$ac_objext
23083 if { (ac_try="$ac_compile"
23084 case "(($ac_try" in
23085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23086 *) ac_try_echo=$ac_try;;
23087 esac
23088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23089 (eval "$ac_compile") 2>conftest.er1
23090 ac_status=$?
23091 grep -v '^ *+' conftest.er1 >conftest.err
23092 rm -f conftest.er1
23093 cat conftest.err >&5
23094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23095 (exit $ac_status); } && {
23096 test -z "$ac_c_werror_flag" ||
23097 test ! -s conftest.err
23098 } && test -s conftest.$ac_objext; then
23099 ac_hi=-1 ac_mid=-1
23100 while :; do
23101 cat >conftest.$ac_ext <<_ACEOF
23102 /* confdefs.h. */
23103 _ACEOF
23104 cat confdefs.h >>conftest.$ac_ext
23105 cat >>conftest.$ac_ext <<_ACEOF
23106 /* end confdefs.h. */
23107 $ac_includes_default
23108 typedef long long ac__type_sizeof_;
23109 int
23110 main ()
23111 {
23112 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23113 test_array [0] = 0
23114
23115 ;
23116 return 0;
23117 }
23118 _ACEOF
23119 rm -f conftest.$ac_objext
23120 if { (ac_try="$ac_compile"
23121 case "(($ac_try" in
23122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23123 *) ac_try_echo=$ac_try;;
23124 esac
23125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23126 (eval "$ac_compile") 2>conftest.er1
23127 ac_status=$?
23128 grep -v '^ *+' conftest.er1 >conftest.err
23129 rm -f conftest.er1
23130 cat conftest.err >&5
23131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23132 (exit $ac_status); } && {
23133 test -z "$ac_c_werror_flag" ||
23134 test ! -s conftest.err
23135 } && test -s conftest.$ac_objext; then
23136 ac_lo=$ac_mid; break
23137 else
23138 echo "$as_me: failed program was:" >&5
23139 sed 's/^/| /' conftest.$ac_ext >&5
23140
23141 ac_hi=`expr '(' $ac_mid ')' - 1`
23142 if test $ac_mid -le $ac_hi; then
23143 ac_lo= ac_hi=
23144 break
23145 fi
23146 ac_mid=`expr 2 '*' $ac_mid`
23147 fi
23148
23149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23150 done
23151 else
23152 echo "$as_me: failed program was:" >&5
23153 sed 's/^/| /' conftest.$ac_ext >&5
23154
23155 ac_lo= ac_hi=
23156 fi
23157
23158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23159 fi
23160
23161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23162 # Binary search between lo and hi bounds.
23163 while test "x$ac_lo" != "x$ac_hi"; do
23164 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23165 cat >conftest.$ac_ext <<_ACEOF
23166 /* confdefs.h. */
23167 _ACEOF
23168 cat confdefs.h >>conftest.$ac_ext
23169 cat >>conftest.$ac_ext <<_ACEOF
23170 /* end confdefs.h. */
23171 $ac_includes_default
23172 typedef long long ac__type_sizeof_;
23173 int
23174 main ()
23175 {
23176 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23177 test_array [0] = 0
23178
23179 ;
23180 return 0;
23181 }
23182 _ACEOF
23183 rm -f conftest.$ac_objext
23184 if { (ac_try="$ac_compile"
23185 case "(($ac_try" in
23186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23187 *) ac_try_echo=$ac_try;;
23188 esac
23189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23190 (eval "$ac_compile") 2>conftest.er1
23191 ac_status=$?
23192 grep -v '^ *+' conftest.er1 >conftest.err
23193 rm -f conftest.er1
23194 cat conftest.err >&5
23195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23196 (exit $ac_status); } && {
23197 test -z "$ac_c_werror_flag" ||
23198 test ! -s conftest.err
23199 } && test -s conftest.$ac_objext; then
23200 ac_hi=$ac_mid
23201 else
23202 echo "$as_me: failed program was:" >&5
23203 sed 's/^/| /' conftest.$ac_ext >&5
23204
23205 ac_lo=`expr '(' $ac_mid ')' + 1`
23206 fi
23207
23208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23209 done
23210 case $ac_lo in
23211 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23212 '') if test "$ac_cv_type_long_long" = yes; then
23213 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23214 See \`config.log' for more details." >&5
23215 echo "$as_me: error: cannot compute sizeof (long long)
23216 See \`config.log' for more details." >&2;}
23217 { (exit 77); exit 77; }; }
23218 else
23219 ac_cv_sizeof_long_long=0
23220 fi ;;
23221 esac
23222 else
23223 cat >conftest.$ac_ext <<_ACEOF
23224 /* confdefs.h. */
23225 _ACEOF
23226 cat confdefs.h >>conftest.$ac_ext
23227 cat >>conftest.$ac_ext <<_ACEOF
23228 /* end confdefs.h. */
23229 $ac_includes_default
23230 typedef long long ac__type_sizeof_;
23231 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23232 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23233 #include <stdio.h>
23234 #include <stdlib.h>
23235 int
23236 main ()
23237 {
23238
23239 FILE *f = fopen ("conftest.val", "w");
23240 if (! f)
23241 return 1;
23242 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23243 {
23244 long int i = longval ();
23245 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23246 return 1;
23247 fprintf (f, "%ld\n", i);
23248 }
23249 else
23250 {
23251 unsigned long int i = ulongval ();
23252 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23253 return 1;
23254 fprintf (f, "%lu\n", i);
23255 }
23256 return ferror (f) || fclose (f) != 0;
23257
23258 ;
23259 return 0;
23260 }
23261 _ACEOF
23262 rm -f conftest$ac_exeext
23263 if { (ac_try="$ac_link"
23264 case "(($ac_try" in
23265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23266 *) ac_try_echo=$ac_try;;
23267 esac
23268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23269 (eval "$ac_link") 2>&5
23270 ac_status=$?
23271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23272 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23273 { (case "(($ac_try" in
23274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23275 *) ac_try_echo=$ac_try;;
23276 esac
23277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23278 (eval "$ac_try") 2>&5
23279 ac_status=$?
23280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23281 (exit $ac_status); }; }; then
23282 ac_cv_sizeof_long_long=`cat conftest.val`
23283 else
23284 echo "$as_me: program exited with status $ac_status" >&5
23285 echo "$as_me: failed program was:" >&5
23286 sed 's/^/| /' conftest.$ac_ext >&5
23287
23288 ( exit $ac_status )
23289 if test "$ac_cv_type_long_long" = yes; then
23290 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23291 See \`config.log' for more details." >&5
23292 echo "$as_me: error: cannot compute sizeof (long long)
23293 See \`config.log' for more details." >&2;}
23294 { (exit 77); exit 77; }; }
23295 else
23296 ac_cv_sizeof_long_long=0
23297 fi
23298 fi
23299 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23300 fi
23301 rm -f conftest.val
23302 fi
23303 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23304 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23305
23306
23307
23308 cat >>confdefs.h <<_ACEOF
23309 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23310 _ACEOF
23311
23312
23313 esac
23314
23315 { echo "$as_me:$LINENO: checking for wchar_t" >&5
23316 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
23317 if test "${ac_cv_type_wchar_t+set}" = set; then
23318 echo $ECHO_N "(cached) $ECHO_C" >&6
23319 else
23320 cat >conftest.$ac_ext <<_ACEOF
23321 /* confdefs.h. */
23322 _ACEOF
23323 cat confdefs.h >>conftest.$ac_ext
23324 cat >>conftest.$ac_ext <<_ACEOF
23325 /* end confdefs.h. */
23326
23327 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23328 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23329 # error "fake wchar_t"
23330 #endif
23331 #ifdef HAVE_WCHAR_H
23332 # ifdef __CYGWIN__
23333 # include <stddef.h>
23334 # endif
23335 # include <wchar.h>
23336 #endif
23337 #ifdef HAVE_STDLIB_H
23338 # include <stdlib.h>
23339 #endif
23340 #include <stdio.h>
23341
23342
23343
23344 typedef wchar_t ac__type_new_;
23345 int
23346 main ()
23347 {
23348 if ((ac__type_new_ *) 0)
23349 return 0;
23350 if (sizeof (ac__type_new_))
23351 return 0;
23352 ;
23353 return 0;
23354 }
23355 _ACEOF
23356 rm -f conftest.$ac_objext
23357 if { (ac_try="$ac_compile"
23358 case "(($ac_try" in
23359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23360 *) ac_try_echo=$ac_try;;
23361 esac
23362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23363 (eval "$ac_compile") 2>conftest.er1
23364 ac_status=$?
23365 grep -v '^ *+' conftest.er1 >conftest.err
23366 rm -f conftest.er1
23367 cat conftest.err >&5
23368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23369 (exit $ac_status); } && {
23370 test -z "$ac_c_werror_flag" ||
23371 test ! -s conftest.err
23372 } && test -s conftest.$ac_objext; then
23373 ac_cv_type_wchar_t=yes
23374 else
23375 echo "$as_me: failed program was:" >&5
23376 sed 's/^/| /' conftest.$ac_ext >&5
23377
23378 ac_cv_type_wchar_t=no
23379 fi
23380
23381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23382 fi
23383 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
23384 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
23385
23386 # The cast to long int works around a bug in the HP C Compiler
23387 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23388 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23389 # This bug is HP SR number 8606223364.
23390 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
23391 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
23392 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
23393 echo $ECHO_N "(cached) $ECHO_C" >&6
23394 else
23395 if test "$cross_compiling" = yes; then
23396 # Depending upon the size, compute the lo and hi bounds.
23397 cat >conftest.$ac_ext <<_ACEOF
23398 /* confdefs.h. */
23399 _ACEOF
23400 cat confdefs.h >>conftest.$ac_ext
23401 cat >>conftest.$ac_ext <<_ACEOF
23402 /* end confdefs.h. */
23403
23404 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23405 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23406 # error "fake wchar_t"
23407 #endif
23408 #ifdef HAVE_WCHAR_H
23409 # ifdef __CYGWIN__
23410 # include <stddef.h>
23411 # endif
23412 # include <wchar.h>
23413 #endif
23414 #ifdef HAVE_STDLIB_H
23415 # include <stdlib.h>
23416 #endif
23417 #include <stdio.h>
23418
23419
23420
23421 typedef wchar_t ac__type_sizeof_;
23422 int
23423 main ()
23424 {
23425 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23426 test_array [0] = 0
23427
23428 ;
23429 return 0;
23430 }
23431 _ACEOF
23432 rm -f conftest.$ac_objext
23433 if { (ac_try="$ac_compile"
23434 case "(($ac_try" in
23435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23436 *) ac_try_echo=$ac_try;;
23437 esac
23438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23439 (eval "$ac_compile") 2>conftest.er1
23440 ac_status=$?
23441 grep -v '^ *+' conftest.er1 >conftest.err
23442 rm -f conftest.er1
23443 cat conftest.err >&5
23444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23445 (exit $ac_status); } && {
23446 test -z "$ac_c_werror_flag" ||
23447 test ! -s conftest.err
23448 } && test -s conftest.$ac_objext; then
23449 ac_lo=0 ac_mid=0
23450 while :; do
23451 cat >conftest.$ac_ext <<_ACEOF
23452 /* confdefs.h. */
23453 _ACEOF
23454 cat confdefs.h >>conftest.$ac_ext
23455 cat >>conftest.$ac_ext <<_ACEOF
23456 /* end confdefs.h. */
23457
23458 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23459 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23460 # error "fake wchar_t"
23461 #endif
23462 #ifdef HAVE_WCHAR_H
23463 # ifdef __CYGWIN__
23464 # include <stddef.h>
23465 # endif
23466 # include <wchar.h>
23467 #endif
23468 #ifdef HAVE_STDLIB_H
23469 # include <stdlib.h>
23470 #endif
23471 #include <stdio.h>
23472
23473
23474
23475 typedef wchar_t ac__type_sizeof_;
23476 int
23477 main ()
23478 {
23479 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23480 test_array [0] = 0
23481
23482 ;
23483 return 0;
23484 }
23485 _ACEOF
23486 rm -f conftest.$ac_objext
23487 if { (ac_try="$ac_compile"
23488 case "(($ac_try" in
23489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23490 *) ac_try_echo=$ac_try;;
23491 esac
23492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23493 (eval "$ac_compile") 2>conftest.er1
23494 ac_status=$?
23495 grep -v '^ *+' conftest.er1 >conftest.err
23496 rm -f conftest.er1
23497 cat conftest.err >&5
23498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23499 (exit $ac_status); } && {
23500 test -z "$ac_c_werror_flag" ||
23501 test ! -s conftest.err
23502 } && test -s conftest.$ac_objext; then
23503 ac_hi=$ac_mid; break
23504 else
23505 echo "$as_me: failed program was:" >&5
23506 sed 's/^/| /' conftest.$ac_ext >&5
23507
23508 ac_lo=`expr $ac_mid + 1`
23509 if test $ac_lo -le $ac_mid; then
23510 ac_lo= ac_hi=
23511 break
23512 fi
23513 ac_mid=`expr 2 '*' $ac_mid + 1`
23514 fi
23515
23516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23517 done
23518 else
23519 echo "$as_me: failed program was:" >&5
23520 sed 's/^/| /' conftest.$ac_ext >&5
23521
23522 cat >conftest.$ac_ext <<_ACEOF
23523 /* confdefs.h. */
23524 _ACEOF
23525 cat confdefs.h >>conftest.$ac_ext
23526 cat >>conftest.$ac_ext <<_ACEOF
23527 /* end confdefs.h. */
23528
23529 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23530 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23531 # error "fake wchar_t"
23532 #endif
23533 #ifdef HAVE_WCHAR_H
23534 # ifdef __CYGWIN__
23535 # include <stddef.h>
23536 # endif
23537 # include <wchar.h>
23538 #endif
23539 #ifdef HAVE_STDLIB_H
23540 # include <stdlib.h>
23541 #endif
23542 #include <stdio.h>
23543
23544
23545
23546 typedef wchar_t ac__type_sizeof_;
23547 int
23548 main ()
23549 {
23550 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23551 test_array [0] = 0
23552
23553 ;
23554 return 0;
23555 }
23556 _ACEOF
23557 rm -f conftest.$ac_objext
23558 if { (ac_try="$ac_compile"
23559 case "(($ac_try" in
23560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23561 *) ac_try_echo=$ac_try;;
23562 esac
23563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23564 (eval "$ac_compile") 2>conftest.er1
23565 ac_status=$?
23566 grep -v '^ *+' conftest.er1 >conftest.err
23567 rm -f conftest.er1
23568 cat conftest.err >&5
23569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23570 (exit $ac_status); } && {
23571 test -z "$ac_c_werror_flag" ||
23572 test ! -s conftest.err
23573 } && test -s conftest.$ac_objext; then
23574 ac_hi=-1 ac_mid=-1
23575 while :; do
23576 cat >conftest.$ac_ext <<_ACEOF
23577 /* confdefs.h. */
23578 _ACEOF
23579 cat confdefs.h >>conftest.$ac_ext
23580 cat >>conftest.$ac_ext <<_ACEOF
23581 /* end confdefs.h. */
23582
23583 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23584 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23585 # error "fake wchar_t"
23586 #endif
23587 #ifdef HAVE_WCHAR_H
23588 # ifdef __CYGWIN__
23589 # include <stddef.h>
23590 # endif
23591 # include <wchar.h>
23592 #endif
23593 #ifdef HAVE_STDLIB_H
23594 # include <stdlib.h>
23595 #endif
23596 #include <stdio.h>
23597
23598
23599
23600 typedef wchar_t ac__type_sizeof_;
23601 int
23602 main ()
23603 {
23604 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23605 test_array [0] = 0
23606
23607 ;
23608 return 0;
23609 }
23610 _ACEOF
23611 rm -f conftest.$ac_objext
23612 if { (ac_try="$ac_compile"
23613 case "(($ac_try" in
23614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23615 *) ac_try_echo=$ac_try;;
23616 esac
23617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23618 (eval "$ac_compile") 2>conftest.er1
23619 ac_status=$?
23620 grep -v '^ *+' conftest.er1 >conftest.err
23621 rm -f conftest.er1
23622 cat conftest.err >&5
23623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23624 (exit $ac_status); } && {
23625 test -z "$ac_c_werror_flag" ||
23626 test ! -s conftest.err
23627 } && test -s conftest.$ac_objext; then
23628 ac_lo=$ac_mid; break
23629 else
23630 echo "$as_me: failed program was:" >&5
23631 sed 's/^/| /' conftest.$ac_ext >&5
23632
23633 ac_hi=`expr '(' $ac_mid ')' - 1`
23634 if test $ac_mid -le $ac_hi; then
23635 ac_lo= ac_hi=
23636 break
23637 fi
23638 ac_mid=`expr 2 '*' $ac_mid`
23639 fi
23640
23641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23642 done
23643 else
23644 echo "$as_me: failed program was:" >&5
23645 sed 's/^/| /' conftest.$ac_ext >&5
23646
23647 ac_lo= ac_hi=
23648 fi
23649
23650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23651 fi
23652
23653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23654 # Binary search between lo and hi bounds.
23655 while test "x$ac_lo" != "x$ac_hi"; do
23656 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23657 cat >conftest.$ac_ext <<_ACEOF
23658 /* confdefs.h. */
23659 _ACEOF
23660 cat confdefs.h >>conftest.$ac_ext
23661 cat >>conftest.$ac_ext <<_ACEOF
23662 /* end confdefs.h. */
23663
23664 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23665 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23666 # error "fake wchar_t"
23667 #endif
23668 #ifdef HAVE_WCHAR_H
23669 # ifdef __CYGWIN__
23670 # include <stddef.h>
23671 # endif
23672 # include <wchar.h>
23673 #endif
23674 #ifdef HAVE_STDLIB_H
23675 # include <stdlib.h>
23676 #endif
23677 #include <stdio.h>
23678
23679
23680
23681 typedef wchar_t ac__type_sizeof_;
23682 int
23683 main ()
23684 {
23685 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23686 test_array [0] = 0
23687
23688 ;
23689 return 0;
23690 }
23691 _ACEOF
23692 rm -f conftest.$ac_objext
23693 if { (ac_try="$ac_compile"
23694 case "(($ac_try" in
23695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23696 *) ac_try_echo=$ac_try;;
23697 esac
23698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23699 (eval "$ac_compile") 2>conftest.er1
23700 ac_status=$?
23701 grep -v '^ *+' conftest.er1 >conftest.err
23702 rm -f conftest.er1
23703 cat conftest.err >&5
23704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23705 (exit $ac_status); } && {
23706 test -z "$ac_c_werror_flag" ||
23707 test ! -s conftest.err
23708 } && test -s conftest.$ac_objext; then
23709 ac_hi=$ac_mid
23710 else
23711 echo "$as_me: failed program was:" >&5
23712 sed 's/^/| /' conftest.$ac_ext >&5
23713
23714 ac_lo=`expr '(' $ac_mid ')' + 1`
23715 fi
23716
23717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23718 done
23719 case $ac_lo in
23720 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23721 '') if test "$ac_cv_type_wchar_t" = yes; then
23722 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23723 See \`config.log' for more details." >&5
23724 echo "$as_me: error: cannot compute sizeof (wchar_t)
23725 See \`config.log' for more details." >&2;}
23726 { (exit 77); exit 77; }; }
23727 else
23728 ac_cv_sizeof_wchar_t=0
23729 fi ;;
23730 esac
23731 else
23732 cat >conftest.$ac_ext <<_ACEOF
23733 /* confdefs.h. */
23734 _ACEOF
23735 cat confdefs.h >>conftest.$ac_ext
23736 cat >>conftest.$ac_ext <<_ACEOF
23737 /* end confdefs.h. */
23738
23739 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23740 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23741 # error "fake wchar_t"
23742 #endif
23743 #ifdef HAVE_WCHAR_H
23744 # ifdef __CYGWIN__
23745 # include <stddef.h>
23746 # endif
23747 # include <wchar.h>
23748 #endif
23749 #ifdef HAVE_STDLIB_H
23750 # include <stdlib.h>
23751 #endif
23752 #include <stdio.h>
23753
23754
23755
23756 typedef wchar_t ac__type_sizeof_;
23757 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23758 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23759 #include <stdio.h>
23760 #include <stdlib.h>
23761 int
23762 main ()
23763 {
23764
23765 FILE *f = fopen ("conftest.val", "w");
23766 if (! f)
23767 return 1;
23768 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23769 {
23770 long int i = longval ();
23771 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23772 return 1;
23773 fprintf (f, "%ld\n", i);
23774 }
23775 else
23776 {
23777 unsigned long int i = ulongval ();
23778 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23779 return 1;
23780 fprintf (f, "%lu\n", i);
23781 }
23782 return ferror (f) || fclose (f) != 0;
23783
23784 ;
23785 return 0;
23786 }
23787 _ACEOF
23788 rm -f conftest$ac_exeext
23789 if { (ac_try="$ac_link"
23790 case "(($ac_try" in
23791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23792 *) ac_try_echo=$ac_try;;
23793 esac
23794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23795 (eval "$ac_link") 2>&5
23796 ac_status=$?
23797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23798 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23799 { (case "(($ac_try" in
23800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23801 *) ac_try_echo=$ac_try;;
23802 esac
23803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23804 (eval "$ac_try") 2>&5
23805 ac_status=$?
23806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23807 (exit $ac_status); }; }; then
23808 ac_cv_sizeof_wchar_t=`cat conftest.val`
23809 else
23810 echo "$as_me: program exited with status $ac_status" >&5
23811 echo "$as_me: failed program was:" >&5
23812 sed 's/^/| /' conftest.$ac_ext >&5
23813
23814 ( exit $ac_status )
23815 if test "$ac_cv_type_wchar_t" = yes; then
23816 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23817 See \`config.log' for more details." >&5
23818 echo "$as_me: error: cannot compute sizeof (wchar_t)
23819 See \`config.log' for more details." >&2;}
23820 { (exit 77); exit 77; }; }
23821 else
23822 ac_cv_sizeof_wchar_t=0
23823 fi
23824 fi
23825 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23826 fi
23827 rm -f conftest.val
23828 fi
23829 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23830 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23831
23832
23833
23834 cat >>confdefs.h <<_ACEOF
23835 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23836 _ACEOF
23837
23838
23839 if test "$ac_cv_sizeof_wchar_t" != 0; then
23840 wxUSE_WCHAR_T=yes
23841 else
23842 wxUSE_WCHAR_T=no
23843 fi
23844
23845 { echo "$as_me:$LINENO: checking for va_copy" >&5
23846 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23847 if test "${wx_cv_func_va_copy+set}" = set; then
23848 echo $ECHO_N "(cached) $ECHO_C" >&6
23849 else
23850
23851 ac_ext=cpp
23852 ac_cpp='$CXXCPP $CPPFLAGS'
23853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23856
23857 cat >conftest.$ac_ext <<_ACEOF
23858
23859 #include <stdarg.h>
23860 void foo(char *f, ...)
23861 {
23862 va_list ap1, ap2;
23863 va_start(ap1, f);
23864 va_copy(ap2, ap1);
23865 va_end(ap2);
23866 va_end(ap1);
23867 }
23868 int main()
23869 {
23870 foo("hi", 17);
23871 return 0;
23872 }
23873 _ACEOF
23874 rm -f conftest.$ac_objext conftest$ac_exeext
23875 if { (ac_try="$ac_link"
23876 case "(($ac_try" in
23877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23878 *) ac_try_echo=$ac_try;;
23879 esac
23880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23881 (eval "$ac_link") 2>conftest.er1
23882 ac_status=$?
23883 grep -v '^ *+' conftest.er1 >conftest.err
23884 rm -f conftest.er1
23885 cat conftest.err >&5
23886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23887 (exit $ac_status); } && {
23888 test -z "$ac_cxx_werror_flag" ||
23889 test ! -s conftest.err
23890 } && test -s conftest$ac_exeext &&
23891 $as_test_x conftest$ac_exeext; then
23892 wx_cv_func_va_copy=yes
23893 else
23894 echo "$as_me: failed program was:" >&5
23895 sed 's/^/| /' conftest.$ac_ext >&5
23896
23897 wx_cv_func_va_copy=no
23898
23899 fi
23900
23901 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23902 conftest$ac_exeext conftest.$ac_ext
23903 ac_ext=c
23904 ac_cpp='$CPP $CPPFLAGS'
23905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23908
23909
23910
23911 fi
23912 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23913 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23914
23915 if test $wx_cv_func_va_copy = "yes"; then
23916 cat >>confdefs.h <<\_ACEOF
23917 #define HAVE_VA_COPY 1
23918 _ACEOF
23919
23920 else
23921 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23922 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23923 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23924 echo $ECHO_N "(cached) $ECHO_C" >&6
23925 else
23926
23927 if test "$cross_compiling" = yes; then
23928 wx_cv_type_va_list_lvalue=yes
23929
23930 else
23931 cat >conftest.$ac_ext <<_ACEOF
23932
23933 #include <stdarg.h>
23934 int foo(char *f, ...)
23935 {
23936 va_list ap1, ap2;
23937 va_start(ap1, f);
23938 ap2 = ap1;
23939 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23940 return 1;
23941 va_end(ap2);
23942 va_end(ap1);
23943 return 0;
23944 }
23945 int main()
23946 {
23947 return foo("hi", 17);
23948 }
23949 _ACEOF
23950 rm -f conftest$ac_exeext
23951 if { (ac_try="$ac_link"
23952 case "(($ac_try" in
23953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23954 *) ac_try_echo=$ac_try;;
23955 esac
23956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23957 (eval "$ac_link") 2>&5
23958 ac_status=$?
23959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23960 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23961 { (case "(($ac_try" in
23962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23963 *) ac_try_echo=$ac_try;;
23964 esac
23965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23966 (eval "$ac_try") 2>&5
23967 ac_status=$?
23968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23969 (exit $ac_status); }; }; then
23970 wx_cv_type_va_list_lvalue=yes
23971 else
23972 echo "$as_me: program exited with status $ac_status" >&5
23973 echo "$as_me: failed program was:" >&5
23974 sed 's/^/| /' conftest.$ac_ext >&5
23975
23976 ( exit $ac_status )
23977 wx_cv_type_va_list_lvalue=no
23978 fi
23979 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23980 fi
23981
23982
23983
23984
23985 fi
23986 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23987 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23988
23989 if test $wx_cv_type_va_list_lvalue != "yes"; then
23990 cat >>confdefs.h <<\_ACEOF
23991 #define VA_LIST_IS_ARRAY 1
23992 _ACEOF
23993
23994 fi
23995 fi
23996
23997 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23998
23999 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
24000 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
24001 if test "${wx_cv_have_variadic_macros+set}" = set; then
24002 echo $ECHO_N "(cached) $ECHO_C" >&6
24003 else
24004
24005 ac_ext=cpp
24006 ac_cpp='$CXXCPP $CPPFLAGS'
24007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24010
24011 cat >conftest.$ac_ext <<_ACEOF
24012 /* confdefs.h. */
24013 _ACEOF
24014 cat confdefs.h >>conftest.$ac_ext
24015 cat >>conftest.$ac_ext <<_ACEOF
24016 /* end confdefs.h. */
24017
24018 #include <stdio.h>
24019 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
24020
24021 int
24022 main ()
24023 {
24024
24025 test("%s %d %p", "test", 1, 0);
24026
24027
24028 ;
24029 return 0;
24030 }
24031 _ACEOF
24032 rm -f conftest.$ac_objext
24033 if { (ac_try="$ac_compile"
24034 case "(($ac_try" in
24035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24036 *) ac_try_echo=$ac_try;;
24037 esac
24038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24039 (eval "$ac_compile") 2>conftest.er1
24040 ac_status=$?
24041 grep -v '^ *+' conftest.er1 >conftest.err
24042 rm -f conftest.er1
24043 cat conftest.err >&5
24044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24045 (exit $ac_status); } && {
24046 test -z "$ac_cxx_werror_flag" ||
24047 test ! -s conftest.err
24048 } && test -s conftest.$ac_objext; then
24049 wx_cv_have_variadic_macros=yes
24050 else
24051 echo "$as_me: failed program was:" >&5
24052 sed 's/^/| /' conftest.$ac_ext >&5
24053
24054 wx_cv_have_variadic_macros=no
24055
24056 fi
24057
24058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24059 ac_ext=c
24060 ac_cpp='$CPP $CPPFLAGS'
24061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24064
24065
24066
24067 fi
24068 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
24069 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
24070
24071 if test $wx_cv_have_variadic_macros = "yes"; then
24072 cat >>confdefs.h <<\_ACEOF
24073 #define HAVE_VARIADIC_MACROS 1
24074 _ACEOF
24075
24076 fi
24077
24078 fi
24079
24080 LARGEFILE_CPPFLAGS=
24081 # Check whether --enable-largefile was given.
24082 if test "${enable_largefile+set}" = set; then
24083 enableval=$enable_largefile;
24084 fi
24085
24086 if test "$enable_largefile" != no; then
24087 wx_largefile=no
24088
24089 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
24090 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
24091 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
24092 echo $ECHO_N "(cached) $ECHO_C" >&6
24093 else
24094
24095 cat >conftest.$ac_ext <<_ACEOF
24096 /* confdefs.h. */
24097 _ACEOF
24098 cat confdefs.h >>conftest.$ac_ext
24099 cat >>conftest.$ac_ext <<_ACEOF
24100 /* end confdefs.h. */
24101 #define _FILE_OFFSET_BITS 64
24102 #include <sys/types.h>
24103 int
24104 main ()
24105 {
24106 typedef struct {
24107 unsigned int field: sizeof(off_t) == 8;
24108 } wxlf;
24109
24110 ;
24111 return 0;
24112 }
24113 _ACEOF
24114 rm -f conftest.$ac_objext
24115 if { (ac_try="$ac_compile"
24116 case "(($ac_try" in
24117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24118 *) ac_try_echo=$ac_try;;
24119 esac
24120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24121 (eval "$ac_compile") 2>conftest.er1
24122 ac_status=$?
24123 grep -v '^ *+' conftest.er1 >conftest.err
24124 rm -f conftest.er1
24125 cat conftest.err >&5
24126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24127 (exit $ac_status); } && {
24128 test -z "$ac_c_werror_flag" ||
24129 test ! -s conftest.err
24130 } && test -s conftest.$ac_objext; then
24131 ac_cv_sys_file_offset_bits=64
24132 else
24133 echo "$as_me: failed program was:" >&5
24134 sed 's/^/| /' conftest.$ac_ext >&5
24135
24136 ac_cv_sys_file_offset_bits=no
24137 fi
24138
24139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24140
24141
24142 fi
24143 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
24144 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
24145
24146 if test "$ac_cv_sys_file_offset_bits" != no; then
24147 wx_largefile=yes
24148 cat >>confdefs.h <<_ACEOF
24149 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
24150 _ACEOF
24151
24152 fi
24153
24154 if test "x$wx_largefile" != "xyes"; then
24155
24156 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
24157 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
24158 if test "${ac_cv_sys_large_files+set}" = set; then
24159 echo $ECHO_N "(cached) $ECHO_C" >&6
24160 else
24161
24162 cat >conftest.$ac_ext <<_ACEOF
24163 /* confdefs.h. */
24164 _ACEOF
24165 cat confdefs.h >>conftest.$ac_ext
24166 cat >>conftest.$ac_ext <<_ACEOF
24167 /* end confdefs.h. */
24168 #define _LARGE_FILES 1
24169 #include <sys/types.h>
24170 int
24171 main ()
24172 {
24173 typedef struct {
24174 unsigned int field: sizeof(off_t) == 8;
24175 } wxlf;
24176
24177 ;
24178 return 0;
24179 }
24180 _ACEOF
24181 rm -f conftest.$ac_objext
24182 if { (ac_try="$ac_compile"
24183 case "(($ac_try" in
24184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24185 *) ac_try_echo=$ac_try;;
24186 esac
24187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24188 (eval "$ac_compile") 2>conftest.er1
24189 ac_status=$?
24190 grep -v '^ *+' conftest.er1 >conftest.err
24191 rm -f conftest.er1
24192 cat conftest.err >&5
24193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24194 (exit $ac_status); } && {
24195 test -z "$ac_c_werror_flag" ||
24196 test ! -s conftest.err
24197 } && test -s conftest.$ac_objext; then
24198 ac_cv_sys_large_files=1
24199 else
24200 echo "$as_me: failed program was:" >&5
24201 sed 's/^/| /' conftest.$ac_ext >&5
24202
24203 ac_cv_sys_large_files=no
24204 fi
24205
24206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24207
24208
24209 fi
24210 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
24211 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
24212
24213 if test "$ac_cv_sys_large_files" != no; then
24214 wx_largefile=yes
24215 cat >>confdefs.h <<_ACEOF
24216 #define _LARGE_FILES $ac_cv_sys_large_files
24217 _ACEOF
24218
24219 fi
24220
24221 fi
24222
24223 { echo "$as_me:$LINENO: checking if large file support is available" >&5
24224 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
24225 if test "x$wx_largefile" = "xyes"; then
24226 cat >>confdefs.h <<\_ACEOF
24227 #define HAVE_LARGEFILE_SUPPORT 1
24228 _ACEOF
24229
24230 fi
24231 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
24232 echo "${ECHO_T}$wx_largefile" >&6; }
24233 fi
24234
24235 if test "$ac_cv_sys_file_offset_bits" = "64"; then
24236 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
24237 elif test "$ac_cv_sys_large_files" = 1; then
24238 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
24239 fi
24240
24241 if test -n "$LARGEFILE_CPPFLAGS"; then
24242 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
24243
24244 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
24245 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
24246 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
24247 if test "${wx_cv_STDC_EXT_required+set}" = set; then
24248 echo $ECHO_N "(cached) $ECHO_C" >&6
24249 else
24250
24251 ac_ext=cpp
24252 ac_cpp='$CXXCPP $CPPFLAGS'
24253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24256
24257 cat >conftest.$ac_ext <<_ACEOF
24258 /* confdefs.h. */
24259 _ACEOF
24260 cat confdefs.h >>conftest.$ac_ext
24261 cat >>conftest.$ac_ext <<_ACEOF
24262 /* end confdefs.h. */
24263
24264 int
24265 main ()
24266 {
24267
24268 #ifndef __STDC_EXT__
24269 choke me
24270 #endif
24271
24272 ;
24273 return 0;
24274 }
24275 _ACEOF
24276 rm -f conftest.$ac_objext
24277 if { (ac_try="$ac_compile"
24278 case "(($ac_try" in
24279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24280 *) ac_try_echo=$ac_try;;
24281 esac
24282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24283 (eval "$ac_compile") 2>conftest.er1
24284 ac_status=$?
24285 grep -v '^ *+' conftest.er1 >conftest.err
24286 rm -f conftest.er1
24287 cat conftest.err >&5
24288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24289 (exit $ac_status); } && {
24290 test -z "$ac_cxx_werror_flag" ||
24291 test ! -s conftest.err
24292 } && test -s conftest.$ac_objext; then
24293 wx_cv_STDC_EXT_required=no
24294 else
24295 echo "$as_me: failed program was:" >&5
24296 sed 's/^/| /' conftest.$ac_ext >&5
24297
24298 wx_cv_STDC_EXT_required=yes
24299
24300 fi
24301
24302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24303 ac_ext=c
24304 ac_cpp='$CPP $CPPFLAGS'
24305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24308
24309
24310
24311 fi
24312 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
24313 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
24314 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
24315 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
24316 fi
24317 fi
24318 fi
24319
24320 ac_ext=cpp
24321 ac_cpp='$CXXCPP $CPPFLAGS'
24322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24325
24326 old_CPPFLAGS="$CPPFLAGS"
24327 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
24328 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
24329 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
24330 if test "${ac_cv_sys_largefile_source+set}" = set; then
24331 echo $ECHO_N "(cached) $ECHO_C" >&6
24332 else
24333 while :; do
24334 cat >conftest.$ac_ext <<_ACEOF
24335 /* confdefs.h. */
24336 _ACEOF
24337 cat confdefs.h >>conftest.$ac_ext
24338 cat >>conftest.$ac_ext <<_ACEOF
24339 /* end confdefs.h. */
24340 #include <sys/types.h> /* for off_t */
24341 #include <stdio.h>
24342 int
24343 main ()
24344 {
24345 int (*fp) (FILE *, off_t, int) = fseeko;
24346 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24347 ;
24348 return 0;
24349 }
24350 _ACEOF
24351 rm -f conftest.$ac_objext conftest$ac_exeext
24352 if { (ac_try="$ac_link"
24353 case "(($ac_try" in
24354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24355 *) ac_try_echo=$ac_try;;
24356 esac
24357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24358 (eval "$ac_link") 2>conftest.er1
24359 ac_status=$?
24360 grep -v '^ *+' conftest.er1 >conftest.err
24361 rm -f conftest.er1
24362 cat conftest.err >&5
24363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24364 (exit $ac_status); } && {
24365 test -z "$ac_cxx_werror_flag" ||
24366 test ! -s conftest.err
24367 } && test -s conftest$ac_exeext &&
24368 $as_test_x conftest$ac_exeext; then
24369 ac_cv_sys_largefile_source=no; break
24370 else
24371 echo "$as_me: failed program was:" >&5
24372 sed 's/^/| /' conftest.$ac_ext >&5
24373
24374
24375 fi
24376
24377 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24378 conftest$ac_exeext conftest.$ac_ext
24379 cat >conftest.$ac_ext <<_ACEOF
24380 /* confdefs.h. */
24381 _ACEOF
24382 cat confdefs.h >>conftest.$ac_ext
24383 cat >>conftest.$ac_ext <<_ACEOF
24384 /* end confdefs.h. */
24385 #define _LARGEFILE_SOURCE 1
24386 #include <sys/types.h> /* for off_t */
24387 #include <stdio.h>
24388 int
24389 main ()
24390 {
24391 int (*fp) (FILE *, off_t, int) = fseeko;
24392 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24393 ;
24394 return 0;
24395 }
24396 _ACEOF
24397 rm -f conftest.$ac_objext conftest$ac_exeext
24398 if { (ac_try="$ac_link"
24399 case "(($ac_try" in
24400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24401 *) ac_try_echo=$ac_try;;
24402 esac
24403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24404 (eval "$ac_link") 2>conftest.er1
24405 ac_status=$?
24406 grep -v '^ *+' conftest.er1 >conftest.err
24407 rm -f conftest.er1
24408 cat conftest.err >&5
24409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24410 (exit $ac_status); } && {
24411 test -z "$ac_cxx_werror_flag" ||
24412 test ! -s conftest.err
24413 } && test -s conftest$ac_exeext &&
24414 $as_test_x conftest$ac_exeext; then
24415 ac_cv_sys_largefile_source=1; break
24416 else
24417 echo "$as_me: failed program was:" >&5
24418 sed 's/^/| /' conftest.$ac_ext >&5
24419
24420
24421 fi
24422
24423 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24424 conftest$ac_exeext conftest.$ac_ext
24425 ac_cv_sys_largefile_source=unknown
24426 break
24427 done
24428 fi
24429 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
24430 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
24431 case $ac_cv_sys_largefile_source in #(
24432 no | unknown) ;;
24433 *)
24434 cat >>confdefs.h <<_ACEOF
24435 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
24436 _ACEOF
24437 ;;
24438 esac
24439 rm -f conftest*
24440
24441 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
24442 # in glibc 2.1.3, but that breaks too many other things.
24443 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
24444 if test $ac_cv_sys_largefile_source != unknown; then
24445
24446 cat >>confdefs.h <<\_ACEOF
24447 #define HAVE_FSEEKO 1
24448 _ACEOF
24449
24450 fi
24451
24452 CPPFLAGS="$old_CPPFLAGS"
24453 ac_ext=c
24454 ac_cpp='$CPP $CPPFLAGS'
24455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24458
24459 if test "$ac_cv_sys_largefile_source" != no; then
24460 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
24461 fi
24462
24463 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24464 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
24465 if test "${ac_cv_c_bigendian+set}" = set; then
24466 echo $ECHO_N "(cached) $ECHO_C" >&6
24467 else
24468 ac_cv_c_bigendian=unknown
24469 # See if sys/param.h defines the BYTE_ORDER macro.
24470 cat >conftest.$ac_ext <<_ACEOF
24471 /* confdefs.h. */
24472 _ACEOF
24473 cat confdefs.h >>conftest.$ac_ext
24474 cat >>conftest.$ac_ext <<_ACEOF
24475 /* end confdefs.h. */
24476 #include <sys/types.h>
24477 #include <sys/param.h>
24478 int
24479 main ()
24480 {
24481
24482 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24483 bogus endian macros
24484 #endif
24485 ;
24486 return 0;
24487 }
24488 _ACEOF
24489 rm -f conftest.$ac_objext
24490 if { (ac_try="$ac_compile"
24491 case "(($ac_try" in
24492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24493 *) ac_try_echo=$ac_try;;
24494 esac
24495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24496 (eval "$ac_compile") 2>conftest.er1
24497 ac_status=$?
24498 grep -v '^ *+' conftest.er1 >conftest.err
24499 rm -f conftest.er1
24500 cat conftest.err >&5
24501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24502 (exit $ac_status); } && {
24503 test -z "$ac_c_werror_flag" ||
24504 test ! -s conftest.err
24505 } && test -s conftest.$ac_objext; then
24506 # It does; now see whether it defined to BIG_ENDIAN or not.
24507 cat >conftest.$ac_ext <<_ACEOF
24508 /* confdefs.h. */
24509 _ACEOF
24510 cat confdefs.h >>conftest.$ac_ext
24511 cat >>conftest.$ac_ext <<_ACEOF
24512 /* end confdefs.h. */
24513 #include <sys/types.h>
24514 #include <sys/param.h>
24515 int
24516 main ()
24517 {
24518
24519 #if BYTE_ORDER != BIG_ENDIAN
24520 not big endian
24521 #endif
24522 ;
24523 return 0;
24524 }
24525 _ACEOF
24526 rm -f conftest.$ac_objext
24527 if { (ac_try="$ac_compile"
24528 case "(($ac_try" in
24529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24530 *) ac_try_echo=$ac_try;;
24531 esac
24532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24533 (eval "$ac_compile") 2>conftest.er1
24534 ac_status=$?
24535 grep -v '^ *+' conftest.er1 >conftest.err
24536 rm -f conftest.er1
24537 cat conftest.err >&5
24538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24539 (exit $ac_status); } && {
24540 test -z "$ac_c_werror_flag" ||
24541 test ! -s conftest.err
24542 } && test -s conftest.$ac_objext; then
24543 ac_cv_c_bigendian=yes
24544 else
24545 echo "$as_me: failed program was:" >&5
24546 sed 's/^/| /' conftest.$ac_ext >&5
24547
24548 ac_cv_c_bigendian=no
24549 fi
24550
24551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24552 else
24553 echo "$as_me: failed program was:" >&5
24554 sed 's/^/| /' conftest.$ac_ext >&5
24555
24556
24557 fi
24558
24559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24560 if test $ac_cv_c_bigendian = unknown; then
24561 if test "$cross_compiling" = yes; then
24562 ac_cv_c_bigendian=unknown
24563 else
24564 cat >conftest.$ac_ext <<_ACEOF
24565 /* confdefs.h. */
24566 _ACEOF
24567 cat confdefs.h >>conftest.$ac_ext
24568 cat >>conftest.$ac_ext <<_ACEOF
24569 /* end confdefs.h. */
24570 main () {
24571 /* Are we little or big endian? From Harbison&Steele. */
24572 union
24573 {
24574 long l;
24575 char c[sizeof (long)];
24576 } u;
24577 u.l = 1;
24578 exit (u.c[sizeof (long) - 1] == 1);
24579 }
24580 _ACEOF
24581 rm -f conftest$ac_exeext
24582 if { (ac_try="$ac_link"
24583 case "(($ac_try" in
24584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24585 *) ac_try_echo=$ac_try;;
24586 esac
24587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24588 (eval "$ac_link") 2>&5
24589 ac_status=$?
24590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24591 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24592 { (case "(($ac_try" in
24593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24594 *) ac_try_echo=$ac_try;;
24595 esac
24596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24597 (eval "$ac_try") 2>&5
24598 ac_status=$?
24599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24600 (exit $ac_status); }; }; then
24601 ac_cv_c_bigendian=no
24602 else
24603 echo "$as_me: program exited with status $ac_status" >&5
24604 echo "$as_me: failed program was:" >&5
24605 sed 's/^/| /' conftest.$ac_ext >&5
24606
24607 ( exit $ac_status )
24608 ac_cv_c_bigendian=yes
24609 fi
24610 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24611 fi
24612
24613
24614 fi
24615 fi
24616 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24617 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24618 if test $ac_cv_c_bigendian = unknown; then
24619 { 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
24620 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;}
24621 fi
24622 if test $ac_cv_c_bigendian = yes; then
24623 cat >>confdefs.h <<\_ACEOF
24624 #define WORDS_BIGENDIAN 1
24625 _ACEOF
24626
24627 fi
24628
24629
24630
24631
24632 ac_ext=cpp
24633 ac_cpp='$CXXCPP $CPPFLAGS'
24634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24637
24638
24639
24640 for ac_header in iostream
24641 do
24642 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24643 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24644 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24645 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24646 echo $ECHO_N "(cached) $ECHO_C" >&6
24647 else
24648 cat >conftest.$ac_ext <<_ACEOF
24649 /* confdefs.h. */
24650 _ACEOF
24651 cat confdefs.h >>conftest.$ac_ext
24652 cat >>conftest.$ac_ext <<_ACEOF
24653 /* end confdefs.h. */
24654
24655
24656 #include <$ac_header>
24657 _ACEOF
24658 rm -f conftest.$ac_objext
24659 if { (ac_try="$ac_compile"
24660 case "(($ac_try" in
24661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24662 *) ac_try_echo=$ac_try;;
24663 esac
24664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24665 (eval "$ac_compile") 2>conftest.er1
24666 ac_status=$?
24667 grep -v '^ *+' conftest.er1 >conftest.err
24668 rm -f conftest.er1
24669 cat conftest.err >&5
24670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24671 (exit $ac_status); } && {
24672 test -z "$ac_cxx_werror_flag" ||
24673 test ! -s conftest.err
24674 } && test -s conftest.$ac_objext; then
24675 eval "$as_ac_Header=yes"
24676 else
24677 echo "$as_me: failed program was:" >&5
24678 sed 's/^/| /' conftest.$ac_ext >&5
24679
24680 eval "$as_ac_Header=no"
24681 fi
24682
24683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24684 fi
24685 ac_res=`eval echo '${'$as_ac_Header'}'`
24686 { echo "$as_me:$LINENO: result: $ac_res" >&5
24687 echo "${ECHO_T}$ac_res" >&6; }
24688 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24689 cat >>confdefs.h <<_ACEOF
24690 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24691 _ACEOF
24692
24693 fi
24694
24695 done
24696
24697
24698 if test "$ac_cv_header_iostream" = "yes" ; then
24699 :
24700 else
24701 cat >>confdefs.h <<\_ACEOF
24702 #define wxUSE_IOSTREAMH 1
24703 _ACEOF
24704
24705 fi
24706
24707 ac_ext=c
24708 ac_cpp='$CPP $CPPFLAGS'
24709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24712
24713
24714
24715
24716 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24717 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24718 if test "${wx_cv_explicit+set}" = set; then
24719 echo $ECHO_N "(cached) $ECHO_C" >&6
24720 else
24721
24722
24723 ac_ext=cpp
24724 ac_cpp='$CXXCPP $CPPFLAGS'
24725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24728
24729
24730 cat >conftest.$ac_ext <<_ACEOF
24731 /* confdefs.h. */
24732 _ACEOF
24733 cat confdefs.h >>conftest.$ac_ext
24734 cat >>conftest.$ac_ext <<_ACEOF
24735 /* end confdefs.h. */
24736
24737 class Foo { public: explicit Foo(int) {} };
24738
24739 int
24740 main ()
24741 {
24742
24743 return 0;
24744
24745 ;
24746 return 0;
24747 }
24748 _ACEOF
24749 rm -f conftest.$ac_objext
24750 if { (ac_try="$ac_compile"
24751 case "(($ac_try" in
24752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24753 *) ac_try_echo=$ac_try;;
24754 esac
24755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24756 (eval "$ac_compile") 2>conftest.er1
24757 ac_status=$?
24758 grep -v '^ *+' conftest.er1 >conftest.err
24759 rm -f conftest.er1
24760 cat conftest.err >&5
24761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24762 (exit $ac_status); } && {
24763 test -z "$ac_cxx_werror_flag" ||
24764 test ! -s conftest.err
24765 } && test -s conftest.$ac_objext; then
24766
24767 cat >conftest.$ac_ext <<_ACEOF
24768 /* confdefs.h. */
24769 _ACEOF
24770 cat confdefs.h >>conftest.$ac_ext
24771 cat >>conftest.$ac_ext <<_ACEOF
24772 /* end confdefs.h. */
24773
24774 class Foo { public: explicit Foo(int) {} };
24775 static void TakeFoo(const Foo& foo) { }
24776
24777 int
24778 main ()
24779 {
24780
24781 TakeFoo(17);
24782 return 0;
24783
24784 ;
24785 return 0;
24786 }
24787 _ACEOF
24788 rm -f conftest.$ac_objext
24789 if { (ac_try="$ac_compile"
24790 case "(($ac_try" in
24791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24792 *) ac_try_echo=$ac_try;;
24793 esac
24794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24795 (eval "$ac_compile") 2>conftest.er1
24796 ac_status=$?
24797 grep -v '^ *+' conftest.er1 >conftest.err
24798 rm -f conftest.er1
24799 cat conftest.err >&5
24800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24801 (exit $ac_status); } && {
24802 test -z "$ac_cxx_werror_flag" ||
24803 test ! -s conftest.err
24804 } && test -s conftest.$ac_objext; then
24805 wx_cv_explicit=no
24806 else
24807 echo "$as_me: failed program was:" >&5
24808 sed 's/^/| /' conftest.$ac_ext >&5
24809
24810 wx_cv_explicit=yes
24811
24812 fi
24813
24814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24815
24816 else
24817 echo "$as_me: failed program was:" >&5
24818 sed 's/^/| /' conftest.$ac_ext >&5
24819
24820 wx_cv_explicit=no
24821
24822 fi
24823
24824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24825
24826 ac_ext=c
24827 ac_cpp='$CPP $CPPFLAGS'
24828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24831
24832
24833 fi
24834 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24835 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24836
24837 if test "$wx_cv_explicit" = "yes"; then
24838 cat >>confdefs.h <<\_ACEOF
24839 #define HAVE_EXPLICIT 1
24840 _ACEOF
24841
24842 fi
24843
24844
24845 if test "x$SUNCXX" = xyes; then
24846 CXXFLAGS="-features=tmplife $CXXFLAGS"
24847 fi
24848
24849 if test "x$SUNCC" = xyes; then
24850 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24851 fi
24852
24853 if test "x$SGICC" = "xyes"; then
24854 { echo "$as_me:$LINENO: checking if cc version is 7.4.4 or greater" >&5
24855 echo $ECHO_N "checking if cc version is 7.4.4 or greater... $ECHO_C" >&6; }
24856 if test "${wx_cv_prog_sgicc744+set}" = set; then
24857 echo $ECHO_N "(cached) $ECHO_C" >&6
24858 else
24859
24860 cat >conftest.$ac_ext <<_ACEOF
24861 /* confdefs.h. */
24862 _ACEOF
24863 cat confdefs.h >>conftest.$ac_ext
24864 cat >>conftest.$ac_ext <<_ACEOF
24865 /* end confdefs.h. */
24866
24867 int
24868 main ()
24869 {
24870
24871 #if _SGI_COMPILER_VERSION >= 744
24872 chock me: mipsPro is 7.4.4 or later
24873 #endif
24874
24875 ;
24876 return 0;
24877 }
24878 _ACEOF
24879 rm -f conftest.$ac_objext
24880 if { (ac_try="$ac_compile"
24881 case "(($ac_try" in
24882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24883 *) ac_try_echo=$ac_try;;
24884 esac
24885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24886 (eval "$ac_compile") 2>conftest.er1
24887 ac_status=$?
24888 grep -v '^ *+' conftest.er1 >conftest.err
24889 rm -f conftest.er1
24890 cat conftest.err >&5
24891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24892 (exit $ac_status); } && {
24893 test -z "$ac_c_werror_flag" ||
24894 test ! -s conftest.err
24895 } && test -s conftest.$ac_objext; then
24896 wx_cv_prog_sgicc744=no
24897 else
24898 echo "$as_me: failed program was:" >&5
24899 sed 's/^/| /' conftest.$ac_ext >&5
24900
24901 wx_cv_prog_sgicc744=yes
24902
24903 fi
24904
24905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24906
24907
24908 fi
24909 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicc744" >&5
24910 echo "${ECHO_T}$wx_cv_prog_sgicc744" >&6; }
24911
24912 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
24913 CFLAGS="-woff 3970 $CFLAGS"
24914 fi
24915 fi
24916 if test "x$SGICXX" = "xyes"; then
24917 { echo "$as_me:$LINENO: checking if CC version is 7.4.4 or greater" >&5
24918 echo $ECHO_N "checking if CC version is 7.4.4 or greater... $ECHO_C" >&6; }
24919 if test "${wx_cv_prog_sgicxx744+set}" = set; then
24920 echo $ECHO_N "(cached) $ECHO_C" >&6
24921 else
24922
24923 ac_ext=cpp
24924 ac_cpp='$CXXCPP $CPPFLAGS'
24925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24928
24929 cat >conftest.$ac_ext <<_ACEOF
24930 /* confdefs.h. */
24931 _ACEOF
24932 cat confdefs.h >>conftest.$ac_ext
24933 cat >>conftest.$ac_ext <<_ACEOF
24934 /* end confdefs.h. */
24935
24936 int
24937 main ()
24938 {
24939
24940 #if _SGI_COMPILER_VERSION >= 744
24941 chock me: mipsPro is 7.4.4 or later
24942 #endif
24943
24944 ;
24945 return 0;
24946 }
24947 _ACEOF
24948 rm -f conftest.$ac_objext
24949 if { (ac_try="$ac_compile"
24950 case "(($ac_try" in
24951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24952 *) ac_try_echo=$ac_try;;
24953 esac
24954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24955 (eval "$ac_compile") 2>conftest.er1
24956 ac_status=$?
24957 grep -v '^ *+' conftest.er1 >conftest.err
24958 rm -f conftest.er1
24959 cat conftest.err >&5
24960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24961 (exit $ac_status); } && {
24962 test -z "$ac_cxx_werror_flag" ||
24963 test ! -s conftest.err
24964 } && test -s conftest.$ac_objext; then
24965 wx_cv_prog_sgicxx744=no
24966 else
24967 echo "$as_me: failed program was:" >&5
24968 sed 's/^/| /' conftest.$ac_ext >&5
24969
24970 wx_cv_prog_sgicxx744=yes
24971
24972 fi
24973
24974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24975 ac_ext=c
24976 ac_cpp='$CPP $CPPFLAGS'
24977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24980
24981
24982
24983 fi
24984 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicxx744" >&5
24985 echo "${ECHO_T}$wx_cv_prog_sgicxx744" >&6; }
24986
24987 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
24988 CXXFLAGS="-woff 3970 $CXXFLAGS"
24989 fi
24990 fi
24991
24992 if test "x$HPCC" = "xyes"; then
24993 CFLAGS="+W 2011,2450 $CFLAGS"
24994 fi
24995 if test "x$HPCXX" = "xyes"; then
24996 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
24997 fi
24998
24999 if test "x$COMPAQCXX" = "xyes"; then
25000 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
25001 fi
25002
25003 ac_ext=cpp
25004 ac_cpp='$CXXCPP $CPPFLAGS'
25005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25008
25009
25010 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
25011 if test "$wxUSE_UNICODE" = "yes"; then
25012 std_string="std::wstring"
25013 char_type="wchar_t"
25014 else
25015 std_string="std::string"
25016 char_type="char"
25017 fi
25018
25019 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
25020 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
25021 if test "${wx_cv_class_stdstring+set}" = set; then
25022 echo $ECHO_N "(cached) $ECHO_C" >&6
25023 else
25024
25025 cat >conftest.$ac_ext <<_ACEOF
25026 /* confdefs.h. */
25027 _ACEOF
25028 cat confdefs.h >>conftest.$ac_ext
25029 cat >>conftest.$ac_ext <<_ACEOF
25030 /* end confdefs.h. */
25031 #include <string>
25032 int
25033 main ()
25034 {
25035 $std_string foo;
25036 ;
25037 return 0;
25038 }
25039 _ACEOF
25040 rm -f conftest.$ac_objext
25041 if { (ac_try="$ac_compile"
25042 case "(($ac_try" in
25043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25044 *) ac_try_echo=$ac_try;;
25045 esac
25046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25047 (eval "$ac_compile") 2>conftest.er1
25048 ac_status=$?
25049 grep -v '^ *+' conftest.er1 >conftest.err
25050 rm -f conftest.er1
25051 cat conftest.err >&5
25052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25053 (exit $ac_status); } && {
25054 test -z "$ac_cxx_werror_flag" ||
25055 test ! -s conftest.err
25056 } && test -s conftest.$ac_objext; then
25057 wx_cv_class_stdstring=yes
25058 else
25059 echo "$as_me: failed program was:" >&5
25060 sed 's/^/| /' conftest.$ac_ext >&5
25061
25062 wx_cv_class_stdstring=no
25063
25064 fi
25065
25066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25067
25068
25069 fi
25070 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
25071 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
25072
25073 if test "$wx_cv_class_stdstring" = yes; then
25074 if test "$wxUSE_UNICODE" = "yes"; then
25075 cat >>confdefs.h <<\_ACEOF
25076 #define HAVE_STD_WSTRING 1
25077 _ACEOF
25078
25079 fi
25080 else
25081 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
25082 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
25083 if test "${wx_cv_class_stdbasicstring+set}" = set; then
25084 echo $ECHO_N "(cached) $ECHO_C" >&6
25085 else
25086
25087 cat >conftest.$ac_ext <<_ACEOF
25088 /* confdefs.h. */
25089 _ACEOF
25090 cat confdefs.h >>conftest.$ac_ext
25091 cat >>conftest.$ac_ext <<_ACEOF
25092 /* end confdefs.h. */
25093
25094 #ifdef HAVE_WCHAR_H
25095 # ifdef __CYGWIN__
25096 # include <stddef.h>
25097 # endif
25098 # include <wchar.h>
25099 #endif
25100 #ifdef HAVE_STDLIB_H
25101 # include <stdlib.h>
25102 #endif
25103 #include <stdio.h>
25104 #include <string>
25105
25106 int
25107 main ()
25108 {
25109 std::basic_string<$char_type> foo;
25110 const $char_type* dummy = foo.c_str();
25111 ;
25112 return 0;
25113 }
25114 _ACEOF
25115 rm -f conftest.$ac_objext
25116 if { (ac_try="$ac_compile"
25117 case "(($ac_try" in
25118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25119 *) ac_try_echo=$ac_try;;
25120 esac
25121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25122 (eval "$ac_compile") 2>conftest.er1
25123 ac_status=$?
25124 grep -v '^ *+' conftest.er1 >conftest.err
25125 rm -f conftest.er1
25126 cat conftest.err >&5
25127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25128 (exit $ac_status); } && {
25129 test -z "$ac_cxx_werror_flag" ||
25130 test ! -s conftest.err
25131 } && test -s conftest.$ac_objext; then
25132 wx_cv_class_stdbasicstring=yes
25133 else
25134 echo "$as_me: failed program was:" >&5
25135 sed 's/^/| /' conftest.$ac_ext >&5
25136
25137 wx_cv_class_stdbasicstring=no
25138
25139 fi
25140
25141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25142
25143
25144 fi
25145 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
25146 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
25147
25148 if test "$wx_cv_class_stdbasicstring" != yes; then
25149 if test "$wxUSE_STL" = "yes"; then
25150 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
25151 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
25152 { (exit 1); exit 1; }; }
25153 elif test "$wxUSE_STD_STRING" = "yes"; then
25154 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
25155 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
25156 { (exit 1); exit 1; }; }
25157 else
25158 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
25159 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
25160 wxUSE_STD_STRING=no
25161 fi
25162 fi
25163 fi
25164 fi
25165
25166 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25167 { echo "$as_me:$LINENO: checking for std::istream" >&5
25168 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
25169 if test "${ac_cv_type_std__istream+set}" = set; then
25170 echo $ECHO_N "(cached) $ECHO_C" >&6
25171 else
25172 cat >conftest.$ac_ext <<_ACEOF
25173 /* confdefs.h. */
25174 _ACEOF
25175 cat confdefs.h >>conftest.$ac_ext
25176 cat >>conftest.$ac_ext <<_ACEOF
25177 /* end confdefs.h. */
25178 #include <iostream>
25179
25180 typedef std::istream ac__type_new_;
25181 int
25182 main ()
25183 {
25184 if ((ac__type_new_ *) 0)
25185 return 0;
25186 if (sizeof (ac__type_new_))
25187 return 0;
25188 ;
25189 return 0;
25190 }
25191 _ACEOF
25192 rm -f conftest.$ac_objext
25193 if { (ac_try="$ac_compile"
25194 case "(($ac_try" in
25195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25196 *) ac_try_echo=$ac_try;;
25197 esac
25198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25199 (eval "$ac_compile") 2>conftest.er1
25200 ac_status=$?
25201 grep -v '^ *+' conftest.er1 >conftest.err
25202 rm -f conftest.er1
25203 cat conftest.err >&5
25204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25205 (exit $ac_status); } && {
25206 test -z "$ac_cxx_werror_flag" ||
25207 test ! -s conftest.err
25208 } && test -s conftest.$ac_objext; then
25209 ac_cv_type_std__istream=yes
25210 else
25211 echo "$as_me: failed program was:" >&5
25212 sed 's/^/| /' conftest.$ac_ext >&5
25213
25214 ac_cv_type_std__istream=no
25215 fi
25216
25217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25218 fi
25219 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
25220 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
25221 if test $ac_cv_type_std__istream = yes; then
25222
25223 cat >>confdefs.h <<_ACEOF
25224 #define HAVE_STD__ISTREAM 1
25225 _ACEOF
25226
25227
25228 else
25229 wxUSE_STD_IOSTREAM=no
25230 fi
25231 { echo "$as_me:$LINENO: checking for std::ostream" >&5
25232 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
25233 if test "${ac_cv_type_std__ostream+set}" = set; then
25234 echo $ECHO_N "(cached) $ECHO_C" >&6
25235 else
25236 cat >conftest.$ac_ext <<_ACEOF
25237 /* confdefs.h. */
25238 _ACEOF
25239 cat confdefs.h >>conftest.$ac_ext
25240 cat >>conftest.$ac_ext <<_ACEOF
25241 /* end confdefs.h. */
25242 #include <iostream>
25243
25244 typedef std::ostream ac__type_new_;
25245 int
25246 main ()
25247 {
25248 if ((ac__type_new_ *) 0)
25249 return 0;
25250 if (sizeof (ac__type_new_))
25251 return 0;
25252 ;
25253 return 0;
25254 }
25255 _ACEOF
25256 rm -f conftest.$ac_objext
25257 if { (ac_try="$ac_compile"
25258 case "(($ac_try" in
25259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25260 *) ac_try_echo=$ac_try;;
25261 esac
25262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25263 (eval "$ac_compile") 2>conftest.er1
25264 ac_status=$?
25265 grep -v '^ *+' conftest.er1 >conftest.err
25266 rm -f conftest.er1
25267 cat conftest.err >&5
25268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25269 (exit $ac_status); } && {
25270 test -z "$ac_cxx_werror_flag" ||
25271 test ! -s conftest.err
25272 } && test -s conftest.$ac_objext; then
25273 ac_cv_type_std__ostream=yes
25274 else
25275 echo "$as_me: failed program was:" >&5
25276 sed 's/^/| /' conftest.$ac_ext >&5
25277
25278 ac_cv_type_std__ostream=no
25279 fi
25280
25281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25282 fi
25283 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
25284 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
25285 if test $ac_cv_type_std__ostream = yes; then
25286
25287 cat >>confdefs.h <<_ACEOF
25288 #define HAVE_STD__OSTREAM 1
25289 _ACEOF
25290
25291
25292 else
25293 wxUSE_STD_IOSTREAM=no
25294 fi
25295
25296
25297 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
25298 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25299 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
25300 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
25301 { (exit 1); exit 1; }; }
25302 else
25303 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
25304 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
25305 fi
25306 fi
25307 fi
25308
25309 if test "$wxUSE_STL" = "yes"; then
25310 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
25311 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
25312 if test "${wx_cv_lib_stl+set}" = set; then
25313 echo $ECHO_N "(cached) $ECHO_C" >&6
25314 else
25315 cat >conftest.$ac_ext <<_ACEOF
25316 /* confdefs.h. */
25317 _ACEOF
25318 cat confdefs.h >>conftest.$ac_ext
25319 cat >>conftest.$ac_ext <<_ACEOF
25320 /* end confdefs.h. */
25321 #include <string>
25322 #include <functional>
25323 #include <algorithm>
25324 #include <vector>
25325 #include <list>
25326 int
25327 main ()
25328 {
25329 std::vector<int> moo;
25330 std::list<int> foo;
25331 std::vector<int>::iterator it =
25332 std::find_if(moo.begin(), moo.end(),
25333 std::bind2nd(std::less<int>(), 3));
25334 ;
25335 return 0;
25336 }
25337 _ACEOF
25338 rm -f conftest.$ac_objext
25339 if { (ac_try="$ac_compile"
25340 case "(($ac_try" in
25341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25342 *) ac_try_echo=$ac_try;;
25343 esac
25344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25345 (eval "$ac_compile") 2>conftest.er1
25346 ac_status=$?
25347 grep -v '^ *+' conftest.er1 >conftest.err
25348 rm -f conftest.er1
25349 cat conftest.err >&5
25350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25351 (exit $ac_status); } && {
25352 test -z "$ac_cxx_werror_flag" ||
25353 test ! -s conftest.err
25354 } && test -s conftest.$ac_objext; then
25355 wx_cv_lib_stl=yes
25356 else
25357 echo "$as_me: failed program was:" >&5
25358 sed 's/^/| /' conftest.$ac_ext >&5
25359
25360 wx_cv_lib_stl=no
25361
25362 fi
25363
25364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25365
25366 fi
25367 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
25368 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
25369
25370 if test "$wx_cv_lib_stl" != yes; then
25371 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
25372 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
25373 { (exit 1); exit 1; }; }
25374 fi
25375
25376 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
25377 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
25378 if test "${wx_cv_func_stdstring_compare+set}" = set; then
25379 echo $ECHO_N "(cached) $ECHO_C" >&6
25380 else
25381 cat >conftest.$ac_ext <<_ACEOF
25382 /* confdefs.h. */
25383 _ACEOF
25384 cat confdefs.h >>conftest.$ac_ext
25385 cat >>conftest.$ac_ext <<_ACEOF
25386 /* end confdefs.h. */
25387 #include <string>
25388 int
25389 main ()
25390 {
25391 std::string foo, bar;
25392 foo.compare(bar);
25393 foo.compare(1, 1, bar);
25394 foo.compare(1, 1, bar, 1, 1);
25395 foo.compare("");
25396 foo.compare(1, 1, "");
25397 foo.compare(1, 1, "", 2);
25398 ;
25399 return 0;
25400 }
25401 _ACEOF
25402 rm -f conftest.$ac_objext
25403 if { (ac_try="$ac_compile"
25404 case "(($ac_try" in
25405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25406 *) ac_try_echo=$ac_try;;
25407 esac
25408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25409 (eval "$ac_compile") 2>conftest.er1
25410 ac_status=$?
25411 grep -v '^ *+' conftest.er1 >conftest.err
25412 rm -f conftest.er1
25413 cat conftest.err >&5
25414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25415 (exit $ac_status); } && {
25416 test -z "$ac_cxx_werror_flag" ||
25417 test ! -s conftest.err
25418 } && test -s conftest.$ac_objext; then
25419 wx_cv_func_stdstring_compare=yes
25420 else
25421 echo "$as_me: failed program was:" >&5
25422 sed 's/^/| /' conftest.$ac_ext >&5
25423
25424 wx_cv_func_stdstring_compare=no
25425
25426 fi
25427
25428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25429
25430 fi
25431 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
25432 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
25433
25434 if test "$wx_cv_func_stdstring_compare" = yes; then
25435 cat >>confdefs.h <<\_ACEOF
25436 #define HAVE_STD_STRING_COMPARE 1
25437 _ACEOF
25438
25439 fi
25440
25441 if test "$wx_cv_class_gnuhashmapset" = yes; then
25442 cat >>confdefs.h <<\_ACEOF
25443 #define HAVE_EXT_HASH_MAP 1
25444 _ACEOF
25445
25446 cat >>confdefs.h <<\_ACEOF
25447 #define HAVE_GNU_CXX_HASH_MAP 1
25448 _ACEOF
25449
25450 fi
25451
25452 { echo "$as_me:$LINENO: checking for unordered_map" >&5
25453 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
25454 if test "${ac_cv_header_unordered_map+set}" = set; then
25455 echo $ECHO_N "(cached) $ECHO_C" >&6
25456 else
25457 cat >conftest.$ac_ext <<_ACEOF
25458 /* confdefs.h. */
25459 _ACEOF
25460 cat confdefs.h >>conftest.$ac_ext
25461 cat >>conftest.$ac_ext <<_ACEOF
25462 /* end confdefs.h. */
25463
25464
25465
25466 #include <unordered_map>
25467 _ACEOF
25468 rm -f conftest.$ac_objext
25469 if { (ac_try="$ac_compile"
25470 case "(($ac_try" in
25471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25472 *) ac_try_echo=$ac_try;;
25473 esac
25474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25475 (eval "$ac_compile") 2>conftest.er1
25476 ac_status=$?
25477 grep -v '^ *+' conftest.er1 >conftest.err
25478 rm -f conftest.er1
25479 cat conftest.err >&5
25480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25481 (exit $ac_status); } && {
25482 test -z "$ac_cxx_werror_flag" ||
25483 test ! -s conftest.err
25484 } && test -s conftest.$ac_objext; then
25485 ac_cv_header_unordered_map=yes
25486 else
25487 echo "$as_me: failed program was:" >&5
25488 sed 's/^/| /' conftest.$ac_ext >&5
25489
25490 ac_cv_header_unordered_map=no
25491 fi
25492
25493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25494 fi
25495 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
25496 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
25497 if test $ac_cv_header_unordered_map = yes; then
25498 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
25499 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
25500 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
25501 echo $ECHO_N "(cached) $ECHO_C" >&6
25502 else
25503 cat >conftest.$ac_ext <<_ACEOF
25504 /* confdefs.h. */
25505 _ACEOF
25506 cat confdefs.h >>conftest.$ac_ext
25507 cat >>conftest.$ac_ext <<_ACEOF
25508 /* end confdefs.h. */
25509 #include <unordered_map>
25510 #include <unordered_set>
25511 int
25512 main ()
25513 {
25514 std::unordered_map<double*, char*> test1;
25515 std::unordered_set<char*> test2;
25516 ;
25517 return 0;
25518 }
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 wx_cv_class_stdunorderedmapset=yes
25538 else
25539 echo "$as_me: failed program was:" >&5
25540 sed 's/^/| /' conftest.$ac_ext >&5
25541
25542 wx_cv_class_stdunorderedmapset=no
25543 fi
25544
25545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25546
25547
25548 fi
25549 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
25550 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
25551 fi
25552
25553
25554
25555 if test "$wx_cv_class_stdunorderedmapset" = yes; then
25556 cat >>confdefs.h <<\_ACEOF
25557 #define HAVE_STD_UNORDERED_MAP 1
25558 _ACEOF
25559
25560 cat >>confdefs.h <<\_ACEOF
25561 #define HAVE_STD_UNORDERED_SET 1
25562 _ACEOF
25563
25564 else
25565 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
25566 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
25567 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
25568 echo $ECHO_N "(cached) $ECHO_C" >&6
25569 else
25570 cat >conftest.$ac_ext <<_ACEOF
25571 /* confdefs.h. */
25572 _ACEOF
25573 cat confdefs.h >>conftest.$ac_ext
25574 cat >>conftest.$ac_ext <<_ACEOF
25575 /* end confdefs.h. */
25576
25577
25578
25579 #include <tr1/unordered_map>
25580 _ACEOF
25581 rm -f conftest.$ac_objext
25582 if { (ac_try="$ac_compile"
25583 case "(($ac_try" in
25584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25585 *) ac_try_echo=$ac_try;;
25586 esac
25587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25588 (eval "$ac_compile") 2>conftest.er1
25589 ac_status=$?
25590 grep -v '^ *+' conftest.er1 >conftest.err
25591 rm -f conftest.er1
25592 cat conftest.err >&5
25593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25594 (exit $ac_status); } && {
25595 test -z "$ac_cxx_werror_flag" ||
25596 test ! -s conftest.err
25597 } && test -s conftest.$ac_objext; then
25598 ac_cv_header_tr1_unordered_map=yes
25599 else
25600 echo "$as_me: failed program was:" >&5
25601 sed 's/^/| /' conftest.$ac_ext >&5
25602
25603 ac_cv_header_tr1_unordered_map=no
25604 fi
25605
25606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25607 fi
25608 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
25609 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
25610 if test $ac_cv_header_tr1_unordered_map = yes; then
25611 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
25612 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
25613 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
25614 echo $ECHO_N "(cached) $ECHO_C" >&6
25615 else
25616 cat >conftest.$ac_ext <<_ACEOF
25617 /* confdefs.h. */
25618 _ACEOF
25619 cat confdefs.h >>conftest.$ac_ext
25620 cat >>conftest.$ac_ext <<_ACEOF
25621 /* end confdefs.h. */
25622 #include <tr1/unordered_map>
25623 #include <tr1/unordered_set>
25624 int
25625 main ()
25626 {
25627 std::tr1::unordered_map<double*, char*> test1;
25628 std::tr1::unordered_set<char*> test2;
25629 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
25630 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
25631 #endif
25632 ;
25633 return 0;
25634 }
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 wx_cv_class_tr1unorderedmapset=yes
25654 else
25655 echo "$as_me: failed program was:" >&5
25656 sed 's/^/| /' conftest.$ac_ext >&5
25657
25658 wx_cv_class_tr1unorderedmapset=no
25659 fi
25660
25661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25662
25663
25664 fi
25665 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25666 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25667 fi
25668
25669
25670
25671 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25672 cat >>confdefs.h <<\_ACEOF
25673 #define HAVE_TR1_UNORDERED_MAP 1
25674 _ACEOF
25675
25676 cat >>confdefs.h <<\_ACEOF
25677 #define HAVE_TR1_UNORDERED_SET 1
25678 _ACEOF
25679
25680 else
25681 { echo "$as_me:$LINENO: checking for hash_map" >&5
25682 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25683 if test "${ac_cv_header_hash_map+set}" = set; then
25684 echo $ECHO_N "(cached) $ECHO_C" >&6
25685 else
25686 cat >conftest.$ac_ext <<_ACEOF
25687 /* confdefs.h. */
25688 _ACEOF
25689 cat confdefs.h >>conftest.$ac_ext
25690 cat >>conftest.$ac_ext <<_ACEOF
25691 /* end confdefs.h. */
25692
25693
25694
25695 #include <hash_map>
25696 _ACEOF
25697 rm -f conftest.$ac_objext
25698 if { (ac_try="$ac_compile"
25699 case "(($ac_try" in
25700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25701 *) ac_try_echo=$ac_try;;
25702 esac
25703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25704 (eval "$ac_compile") 2>conftest.er1
25705 ac_status=$?
25706 grep -v '^ *+' conftest.er1 >conftest.err
25707 rm -f conftest.er1
25708 cat conftest.err >&5
25709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25710 (exit $ac_status); } && {
25711 test -z "$ac_cxx_werror_flag" ||
25712 test ! -s conftest.err
25713 } && test -s conftest.$ac_objext; then
25714 ac_cv_header_hash_map=yes
25715 else
25716 echo "$as_me: failed program was:" >&5
25717 sed 's/^/| /' conftest.$ac_ext >&5
25718
25719 ac_cv_header_hash_map=no
25720 fi
25721
25722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25723 fi
25724 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25725 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25726 if test $ac_cv_header_hash_map = yes; then
25727 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25728 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25729 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25730 echo $ECHO_N "(cached) $ECHO_C" >&6
25731 else
25732 cat >conftest.$ac_ext <<_ACEOF
25733 /* confdefs.h. */
25734 _ACEOF
25735 cat confdefs.h >>conftest.$ac_ext
25736 cat >>conftest.$ac_ext <<_ACEOF
25737 /* end confdefs.h. */
25738 #include <hash_map>
25739 #include <hash_set>
25740 int
25741 main ()
25742 {
25743 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25744 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25745 ;
25746 return 0;
25747 }
25748 _ACEOF
25749 rm -f conftest.$ac_objext
25750 if { (ac_try="$ac_compile"
25751 case "(($ac_try" in
25752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25753 *) ac_try_echo=$ac_try;;
25754 esac
25755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25756 (eval "$ac_compile") 2>conftest.er1
25757 ac_status=$?
25758 grep -v '^ *+' conftest.er1 >conftest.err
25759 rm -f conftest.er1
25760 cat conftest.err >&5
25761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25762 (exit $ac_status); } && {
25763 test -z "$ac_cxx_werror_flag" ||
25764 test ! -s conftest.err
25765 } && test -s conftest.$ac_objext; then
25766 wx_cv_class_stdhashmapset=yes
25767 else
25768 echo "$as_me: failed program was:" >&5
25769 sed 's/^/| /' conftest.$ac_ext >&5
25770
25771 wx_cv_class_stdhashmapset=no
25772 fi
25773
25774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25775
25776
25777 fi
25778 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25779 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25780 fi
25781
25782
25783
25784 if test "$wx_cv_class_stdhashmapset" = yes; then
25785 cat >>confdefs.h <<\_ACEOF
25786 #define HAVE_HASH_MAP 1
25787 _ACEOF
25788
25789 cat >>confdefs.h <<\_ACEOF
25790 #define HAVE_STD_HASH_MAP 1
25791 _ACEOF
25792
25793 fi
25794
25795 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25796 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25797 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25798 echo $ECHO_N "(cached) $ECHO_C" >&6
25799 else
25800 cat >conftest.$ac_ext <<_ACEOF
25801 /* confdefs.h. */
25802 _ACEOF
25803 cat confdefs.h >>conftest.$ac_ext
25804 cat >>conftest.$ac_ext <<_ACEOF
25805 /* end confdefs.h. */
25806
25807
25808
25809 #include <ext/hash_map>
25810 _ACEOF
25811 rm -f conftest.$ac_objext
25812 if { (ac_try="$ac_compile"
25813 case "(($ac_try" in
25814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25815 *) ac_try_echo=$ac_try;;
25816 esac
25817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25818 (eval "$ac_compile") 2>conftest.er1
25819 ac_status=$?
25820 grep -v '^ *+' conftest.er1 >conftest.err
25821 rm -f conftest.er1
25822 cat conftest.err >&5
25823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25824 (exit $ac_status); } && {
25825 test -z "$ac_cxx_werror_flag" ||
25826 test ! -s conftest.err
25827 } && test -s conftest.$ac_objext; then
25828 ac_cv_header_ext_hash_map=yes
25829 else
25830 echo "$as_me: failed program was:" >&5
25831 sed 's/^/| /' conftest.$ac_ext >&5
25832
25833 ac_cv_header_ext_hash_map=no
25834 fi
25835
25836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25837 fi
25838 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25839 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25840 if test $ac_cv_header_ext_hash_map = yes; then
25841 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25842 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25843 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25844 echo $ECHO_N "(cached) $ECHO_C" >&6
25845 else
25846 cat >conftest.$ac_ext <<_ACEOF
25847 /* confdefs.h. */
25848 _ACEOF
25849 cat confdefs.h >>conftest.$ac_ext
25850 cat >>conftest.$ac_ext <<_ACEOF
25851 /* end confdefs.h. */
25852 #include <ext/hash_map>
25853 #include <ext/hash_set>
25854 int
25855 main ()
25856 {
25857 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25858 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25859 ;
25860 return 0;
25861 }
25862 _ACEOF
25863 rm -f conftest.$ac_objext
25864 if { (ac_try="$ac_compile"
25865 case "(($ac_try" in
25866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25867 *) ac_try_echo=$ac_try;;
25868 esac
25869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25870 (eval "$ac_compile") 2>conftest.er1
25871 ac_status=$?
25872 grep -v '^ *+' conftest.er1 >conftest.err
25873 rm -f conftest.er1
25874 cat conftest.err >&5
25875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25876 (exit $ac_status); } && {
25877 test -z "$ac_cxx_werror_flag" ||
25878 test ! -s conftest.err
25879 } && test -s conftest.$ac_objext; then
25880 wx_cv_class_gnuhashmapset=yes
25881 else
25882 echo "$as_me: failed program was:" >&5
25883 sed 's/^/| /' conftest.$ac_ext >&5
25884
25885 wx_cv_class_gnuhashmapset=no
25886 fi
25887
25888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25889
25890
25891 fi
25892 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25893 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25894 fi
25895
25896
25897
25898 fi
25899 fi
25900 fi
25901
25902 ac_ext=cpp
25903 ac_cpp='$CXXCPP $CPPFLAGS'
25904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25907 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
25908 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
25909 if test -z "$CXXCPP"; then
25910 if test "${ac_cv_prog_CXXCPP+set}" = set; then
25911 echo $ECHO_N "(cached) $ECHO_C" >&6
25912 else
25913 # Double quotes because CXXCPP needs to be expanded
25914 for CXXCPP in "$CXX -E" "/lib/cpp"
25915 do
25916 ac_preproc_ok=false
25917 for ac_cxx_preproc_warn_flag in '' yes
25918 do
25919 # Use a header file that comes with gcc, so configuring glibc
25920 # with a fresh cross-compiler works.
25921 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25922 # <limits.h> exists even on freestanding compilers.
25923 # On the NeXT, cc -E runs the code through the compiler's parser,
25924 # not just through cpp. "Syntax error" is here to catch this case.
25925 cat >conftest.$ac_ext <<_ACEOF
25926 /* confdefs.h. */
25927 _ACEOF
25928 cat confdefs.h >>conftest.$ac_ext
25929 cat >>conftest.$ac_ext <<_ACEOF
25930 /* end confdefs.h. */
25931 #ifdef __STDC__
25932 # include <limits.h>
25933 #else
25934 # include <assert.h>
25935 #endif
25936 Syntax error
25937 _ACEOF
25938 if { (ac_try="$ac_cpp conftest.$ac_ext"
25939 case "(($ac_try" in
25940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25941 *) ac_try_echo=$ac_try;;
25942 esac
25943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25944 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25945 ac_status=$?
25946 grep -v '^ *+' conftest.er1 >conftest.err
25947 rm -f conftest.er1
25948 cat conftest.err >&5
25949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25950 (exit $ac_status); } >/dev/null && {
25951 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
25952 test ! -s conftest.err
25953 }; then
25954 :
25955 else
25956 echo "$as_me: failed program was:" >&5
25957 sed 's/^/| /' conftest.$ac_ext >&5
25958
25959 # Broken: fails on valid input.
25960 continue
25961 fi
25962
25963 rm -f conftest.err conftest.$ac_ext
25964
25965 # OK, works on sane cases. Now check whether nonexistent headers
25966 # can be detected and how.
25967 cat >conftest.$ac_ext <<_ACEOF
25968 /* confdefs.h. */
25969 _ACEOF
25970 cat confdefs.h >>conftest.$ac_ext
25971 cat >>conftest.$ac_ext <<_ACEOF
25972 /* end confdefs.h. */
25973 #include <ac_nonexistent.h>
25974 _ACEOF
25975 if { (ac_try="$ac_cpp conftest.$ac_ext"
25976 case "(($ac_try" in
25977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25978 *) ac_try_echo=$ac_try;;
25979 esac
25980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25981 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25982 ac_status=$?
25983 grep -v '^ *+' conftest.er1 >conftest.err
25984 rm -f conftest.er1
25985 cat conftest.err >&5
25986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25987 (exit $ac_status); } >/dev/null && {
25988 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
25989 test ! -s conftest.err
25990 }; then
25991 # Broken: success on invalid input.
25992 continue
25993 else
25994 echo "$as_me: failed program was:" >&5
25995 sed 's/^/| /' conftest.$ac_ext >&5
25996
25997 # Passes both tests.
25998 ac_preproc_ok=:
25999 break
26000 fi
26001
26002 rm -f conftest.err conftest.$ac_ext
26003
26004 done
26005 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26006 rm -f conftest.err conftest.$ac_ext
26007 if $ac_preproc_ok; then
26008 break
26009 fi
26010
26011 done
26012 ac_cv_prog_CXXCPP=$CXXCPP
26013
26014 fi
26015 CXXCPP=$ac_cv_prog_CXXCPP
26016 else
26017 ac_cv_prog_CXXCPP=$CXXCPP
26018 fi
26019 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
26020 echo "${ECHO_T}$CXXCPP" >&6; }
26021 ac_preproc_ok=false
26022 for ac_cxx_preproc_warn_flag in '' yes
26023 do
26024 # Use a header file that comes with gcc, so configuring glibc
26025 # with a fresh cross-compiler works.
26026 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26027 # <limits.h> exists even on freestanding compilers.
26028 # On the NeXT, cc -E runs the code through the compiler's parser,
26029 # not just through cpp. "Syntax error" is here to catch this case.
26030 cat >conftest.$ac_ext <<_ACEOF
26031 /* confdefs.h. */
26032 _ACEOF
26033 cat confdefs.h >>conftest.$ac_ext
26034 cat >>conftest.$ac_ext <<_ACEOF
26035 /* end confdefs.h. */
26036 #ifdef __STDC__
26037 # include <limits.h>
26038 #else
26039 # include <assert.h>
26040 #endif
26041 Syntax error
26042 _ACEOF
26043 if { (ac_try="$ac_cpp conftest.$ac_ext"
26044 case "(($ac_try" in
26045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26046 *) ac_try_echo=$ac_try;;
26047 esac
26048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26049 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26050 ac_status=$?
26051 grep -v '^ *+' conftest.er1 >conftest.err
26052 rm -f conftest.er1
26053 cat conftest.err >&5
26054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26055 (exit $ac_status); } >/dev/null && {
26056 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26057 test ! -s conftest.err
26058 }; then
26059 :
26060 else
26061 echo "$as_me: failed program was:" >&5
26062 sed 's/^/| /' conftest.$ac_ext >&5
26063
26064 # Broken: fails on valid input.
26065 continue
26066 fi
26067
26068 rm -f conftest.err conftest.$ac_ext
26069
26070 # OK, works on sane cases. Now check whether nonexistent headers
26071 # can be detected and how.
26072 cat >conftest.$ac_ext <<_ACEOF
26073 /* confdefs.h. */
26074 _ACEOF
26075 cat confdefs.h >>conftest.$ac_ext
26076 cat >>conftest.$ac_ext <<_ACEOF
26077 /* end confdefs.h. */
26078 #include <ac_nonexistent.h>
26079 _ACEOF
26080 if { (ac_try="$ac_cpp conftest.$ac_ext"
26081 case "(($ac_try" in
26082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26083 *) ac_try_echo=$ac_try;;
26084 esac
26085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26086 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26087 ac_status=$?
26088 grep -v '^ *+' conftest.er1 >conftest.err
26089 rm -f conftest.er1
26090 cat conftest.err >&5
26091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26092 (exit $ac_status); } >/dev/null && {
26093 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26094 test ! -s conftest.err
26095 }; then
26096 # Broken: success on invalid input.
26097 continue
26098 else
26099 echo "$as_me: failed program was:" >&5
26100 sed 's/^/| /' conftest.$ac_ext >&5
26101
26102 # Passes both tests.
26103 ac_preproc_ok=:
26104 break
26105 fi
26106
26107 rm -f conftest.err conftest.$ac_ext
26108
26109 done
26110 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26111 rm -f conftest.err conftest.$ac_ext
26112 if $ac_preproc_ok; then
26113 :
26114 else
26115 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26116 See \`config.log' for more details." >&5
26117 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26118 See \`config.log' for more details." >&2;}
26119 { (exit 1); exit 1; }; }
26120 fi
26121
26122 ac_ext=cpp
26123 ac_cpp='$CXXCPP $CPPFLAGS'
26124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26127
26128
26129
26130
26131 for ac_header in type_traits tr1/type_traits
26132 do
26133 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26134 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26135 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26136 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26137 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26138 echo $ECHO_N "(cached) $ECHO_C" >&6
26139 fi
26140 ac_res=`eval echo '${'$as_ac_Header'}'`
26141 { echo "$as_me:$LINENO: result: $ac_res" >&5
26142 echo "${ECHO_T}$ac_res" >&6; }
26143 else
26144 # Is the header compilable?
26145 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
26146 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
26147 cat >conftest.$ac_ext <<_ACEOF
26148 /* confdefs.h. */
26149 _ACEOF
26150 cat confdefs.h >>conftest.$ac_ext
26151 cat >>conftest.$ac_ext <<_ACEOF
26152 /* end confdefs.h. */
26153 $ac_includes_default
26154 #include <$ac_header>
26155 _ACEOF
26156 rm -f conftest.$ac_objext
26157 if { (ac_try="$ac_compile"
26158 case "(($ac_try" in
26159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26160 *) ac_try_echo=$ac_try;;
26161 esac
26162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26163 (eval "$ac_compile") 2>conftest.er1
26164 ac_status=$?
26165 grep -v '^ *+' conftest.er1 >conftest.err
26166 rm -f conftest.er1
26167 cat conftest.err >&5
26168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26169 (exit $ac_status); } && {
26170 test -z "$ac_cxx_werror_flag" ||
26171 test ! -s conftest.err
26172 } && test -s conftest.$ac_objext; then
26173 ac_header_compiler=yes
26174 else
26175 echo "$as_me: failed program was:" >&5
26176 sed 's/^/| /' conftest.$ac_ext >&5
26177
26178 ac_header_compiler=no
26179 fi
26180
26181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26182 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26183 echo "${ECHO_T}$ac_header_compiler" >&6; }
26184
26185 # Is the header present?
26186 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
26187 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
26188 cat >conftest.$ac_ext <<_ACEOF
26189 /* confdefs.h. */
26190 _ACEOF
26191 cat confdefs.h >>conftest.$ac_ext
26192 cat >>conftest.$ac_ext <<_ACEOF
26193 /* end confdefs.h. */
26194 #include <$ac_header>
26195 _ACEOF
26196 if { (ac_try="$ac_cpp conftest.$ac_ext"
26197 case "(($ac_try" in
26198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26199 *) ac_try_echo=$ac_try;;
26200 esac
26201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26202 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26203 ac_status=$?
26204 grep -v '^ *+' conftest.er1 >conftest.err
26205 rm -f conftest.er1
26206 cat conftest.err >&5
26207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26208 (exit $ac_status); } >/dev/null && {
26209 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26210 test ! -s conftest.err
26211 }; then
26212 ac_header_preproc=yes
26213 else
26214 echo "$as_me: failed program was:" >&5
26215 sed 's/^/| /' conftest.$ac_ext >&5
26216
26217 ac_header_preproc=no
26218 fi
26219
26220 rm -f conftest.err conftest.$ac_ext
26221 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26222 echo "${ECHO_T}$ac_header_preproc" >&6; }
26223
26224 # So? What about this header?
26225 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26226 yes:no: )
26227 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26228 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26229 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26230 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26231 ac_header_preproc=yes
26232 ;;
26233 no:yes:* )
26234 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26235 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26236 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26237 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26238 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26239 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26240 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26241 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26242 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26243 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26244 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26245 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26246 ( cat <<\_ASBOX
26247 ## ----------------------------------------- ##
26248 ## Report this to wx-dev@lists.wxwidgets.org ##
26249 ## ----------------------------------------- ##
26250 _ASBOX
26251 ) | sed "s/^/$as_me: WARNING: /" >&2
26252 ;;
26253 esac
26254 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26255 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26256 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26257 echo $ECHO_N "(cached) $ECHO_C" >&6
26258 else
26259 eval "$as_ac_Header=\$ac_header_preproc"
26260 fi
26261 ac_res=`eval echo '${'$as_ac_Header'}'`
26262 { echo "$as_me:$LINENO: result: $ac_res" >&5
26263 echo "${ECHO_T}$ac_res" >&6; }
26264
26265 fi
26266 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26267 cat >>confdefs.h <<_ACEOF
26268 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26269 _ACEOF
26270
26271 fi
26272
26273 done
26274
26275
26276
26277
26278 if test -n "$GCC"; then
26279 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
26280 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
26281 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
26282 echo $ECHO_N "(cached) $ECHO_C" >&6
26283 else
26284
26285 cat >conftest.$ac_ext <<_ACEOF
26286 /* confdefs.h. */
26287 _ACEOF
26288 cat confdefs.h >>conftest.$ac_ext
26289 cat >>conftest.$ac_ext <<_ACEOF
26290 /* end confdefs.h. */
26291
26292 int
26293 main ()
26294 {
26295
26296 unsigned int value=0;
26297 /* wxAtomicInc doesn't use return value here */
26298 __sync_fetch_and_add(&value, 2);
26299 __sync_sub_and_fetch(&value, 1);
26300 /* but wxAtomicDec does, so mimic that: */
26301 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
26302
26303 ;
26304 return 0;
26305 }
26306 _ACEOF
26307 rm -f conftest.$ac_objext conftest$ac_exeext
26308 if { (ac_try="$ac_link"
26309 case "(($ac_try" in
26310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26311 *) ac_try_echo=$ac_try;;
26312 esac
26313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26314 (eval "$ac_link") 2>conftest.er1
26315 ac_status=$?
26316 grep -v '^ *+' conftest.er1 >conftest.err
26317 rm -f conftest.er1
26318 cat conftest.err >&5
26319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26320 (exit $ac_status); } && {
26321 test -z "$ac_cxx_werror_flag" ||
26322 test ! -s conftest.err
26323 } && test -s conftest$ac_exeext &&
26324 $as_test_x conftest$ac_exeext; then
26325 wx_cv_cc_gcc_atomic_builtins=yes
26326 else
26327 echo "$as_me: failed program was:" >&5
26328 sed 's/^/| /' conftest.$ac_ext >&5
26329
26330 wx_cv_cc_gcc_atomic_builtins=no
26331 fi
26332
26333 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26334 conftest$ac_exeext conftest.$ac_ext
26335
26336 fi
26337
26338 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
26339 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
26340 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
26341 cat >>confdefs.h <<\_ACEOF
26342 #define HAVE_GCC_ATOMIC_BUILTINS 1
26343 _ACEOF
26344
26345 fi
26346 fi
26347
26348
26349 ac_ext=c
26350 ac_cpp='$CPP $CPPFLAGS'
26351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26354
26355
26356
26357 SEARCH_INCLUDE="\
26358 /usr/local/include \
26359 /usr/local/X11/include \
26360 /usr/local/include/X11 \
26361 /usr/local/X11R7/include \
26362 /usr/local/X11R6/include \
26363 /usr/local/include/X11R7 \
26364 /usr/local/include/X11R6 \
26365 \
26366 /usr/Motif-2.1/include \
26367 /usr/Motif-1.2/include \
26368 /usr/include/Motif1.2 \
26369 \
26370 /usr/dt/include \
26371 /usr/openwin/include \
26372 \
26373 /usr/include/Xm \
26374 \
26375 /usr/X11R7/include \
26376 /usr/X11R6/include \
26377 /usr/X11R6.4/include \
26378 \
26379 /usr/include/X11R7 \
26380 /usr/include/X11R6 \
26381 \
26382 /usr/X11/include \
26383 /usr/include/X11 \
26384 \
26385 /usr/XFree86/include/X11 \
26386 /usr/pkg/include \
26387 \
26388 /usr/local/X1R5/include \
26389 /usr/local/include/X11R5 \
26390 /usr/X11R5/include \
26391 /usr/include/X11R5 \
26392 \
26393 /usr/local/X11R4/include \
26394 /usr/local/include/X11R4 \
26395 /usr/X11R4/include \
26396 /usr/include/X11R4 \
26397 \
26398 /usr/openwin/share/include"
26399
26400 { echo "$as_me:$LINENO: checking for libraries directory" >&5
26401 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
26402
26403 case "${host}" in
26404 *-*-irix6* )
26405 if test "${wx_cv_std_libpath+set}" = set; then
26406 echo $ECHO_N "(cached) $ECHO_C" >&6
26407 else
26408
26409 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
26410 for e in a so sl dylib dll.a; do
26411 libc="$d/libc.$e"
26412 if test -f $libc; then
26413 save_LIBS="$LIBS"
26414 LIBS="$libc"
26415 cat >conftest.$ac_ext <<_ACEOF
26416 int main() { return 0; }
26417 _ACEOF
26418 rm -f conftest.$ac_objext conftest$ac_exeext
26419 if { (ac_try="$ac_link"
26420 case "(($ac_try" in
26421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26422 *) ac_try_echo=$ac_try;;
26423 esac
26424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26425 (eval "$ac_link") 2>conftest.er1
26426 ac_status=$?
26427 grep -v '^ *+' conftest.er1 >conftest.err
26428 rm -f conftest.er1
26429 cat conftest.err >&5
26430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26431 (exit $ac_status); } && {
26432 test -z "$ac_c_werror_flag" ||
26433 test ! -s conftest.err
26434 } && test -s conftest$ac_exeext &&
26435 $as_test_x conftest$ac_exeext; then
26436 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
26437 else
26438 echo "$as_me: failed program was:" >&5
26439 sed 's/^/| /' conftest.$ac_ext >&5
26440
26441
26442 fi
26443
26444 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26445 conftest$ac_exeext conftest.$ac_ext
26446 LIBS="$save_LIBS"
26447 if test "x$wx_cv_std_libpath" != "x"; then
26448 break 2
26449 fi
26450 fi
26451 done
26452 done
26453 if test "x$wx_cv_std_libpath" = "x"; then
26454 wx_cv_std_libpath="lib"
26455 fi
26456
26457
26458 fi
26459
26460 ;;
26461
26462 *-*-solaris2* )
26463 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
26464 wx_cv_std_libpath="lib/64"
26465 else
26466 wx_cv_std_libpath="lib"
26467 fi
26468 ;;
26469
26470 *-*-linux* )
26471 if test "$ac_cv_sizeof_void_p" = 8 -a \
26472 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
26473 wx_cv_std_libpath="lib64"
26474 else
26475 wx_cv_std_libpath="lib"
26476 fi
26477 ;;
26478
26479 *)
26480 wx_cv_std_libpath="lib";
26481 ;;
26482 esac
26483
26484 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
26485 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
26486
26487 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
26488
26489 if test "$build" != "$host" -a "$GCC" = yes; then
26490 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
26491 cross_root=`dirname $cross_root`
26492 cross_root=`dirname $cross_root`
26493
26494 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26495 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26496 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
26497
26498 if test -z "$PKG_CONFIG_PATH"; then
26499 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
26500 export PKG_CONFIG_PATH
26501 fi
26502
26503 if test -z "$x_includes" -o "$x_includes" = NONE; then
26504
26505 ac_find_includes=
26506 for ac_dir in $SEARCH_INCLUDE /usr/include;
26507 do
26508 if test -f "$ac_dir/X11/Intrinsic.h"; then
26509 ac_find_includes=$ac_dir
26510 break
26511 fi
26512 done
26513
26514 x_includes=$ac_find_includes
26515 fi
26516 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
26517
26518 ac_find_libraries=
26519 for ac_dir in $SEARCH_LIB;
26520 do
26521 for ac_extension in a so sl dylib dll.a; do
26522 if test -f "$ac_dir/libXt.$ac_extension"; then
26523 ac_find_libraries=$ac_dir
26524 break 2
26525 fi
26526 done
26527 done
26528
26529 x_libraries=$ac_find_libraries
26530 fi
26531 fi
26532 fi
26533
26534
26535 cat >confcache <<\_ACEOF
26536 # This file is a shell script that caches the results of configure
26537 # tests run on this system so they can be shared between configure
26538 # scripts and configure runs, see configure's option --config-cache.
26539 # It is not useful on other systems. If it contains results you don't
26540 # want to keep, you may remove or edit it.
26541 #
26542 # config.status only pays attention to the cache file if you give it
26543 # the --recheck option to rerun configure.
26544 #
26545 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26546 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26547 # following values.
26548
26549 _ACEOF
26550
26551 # The following way of writing the cache mishandles newlines in values,
26552 # but we know of no workaround that is simple, portable, and efficient.
26553 # So, we kill variables containing newlines.
26554 # Ultrix sh set writes to stderr and can't be redirected directly,
26555 # and sets the high bit in the cache file unless we assign to the vars.
26556 (
26557 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26558 eval ac_val=\$$ac_var
26559 case $ac_val in #(
26560 *${as_nl}*)
26561 case $ac_var in #(
26562 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
26563 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
26564 esac
26565 case $ac_var in #(
26566 _ | IFS | as_nl) ;; #(
26567 *) $as_unset $ac_var ;;
26568 esac ;;
26569 esac
26570 done
26571
26572 (set) 2>&1 |
26573 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26574 *${as_nl}ac_space=\ *)
26575 # `set' does not quote correctly, so add quotes (double-quote
26576 # substitution turns \\\\ into \\, and sed turns \\ into \).
26577 sed -n \
26578 "s/'/'\\\\''/g;
26579 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26580 ;; #(
26581 *)
26582 # `set' quotes correctly as required by POSIX, so do not add quotes.
26583 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26584 ;;
26585 esac |
26586 sort
26587 ) |
26588 sed '
26589 /^ac_cv_env_/b end
26590 t clear
26591 :clear
26592 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26593 t end
26594 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26595 :end' >>confcache
26596 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
26597 if test -w "$cache_file"; then
26598 test "x$cache_file" != "x/dev/null" &&
26599 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
26600 echo "$as_me: updating cache $cache_file" >&6;}
26601 cat confcache >$cache_file
26602 else
26603 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
26604 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26605 fi
26606 fi
26607 rm -f confcache
26608
26609 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
26610 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
26611 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
26612 if test "${wx_cv_lib_glibc21+set}" = set; then
26613 echo $ECHO_N "(cached) $ECHO_C" >&6
26614 else
26615
26616 cat >conftest.$ac_ext <<_ACEOF
26617 /* confdefs.h. */
26618 _ACEOF
26619 cat confdefs.h >>conftest.$ac_ext
26620 cat >>conftest.$ac_ext <<_ACEOF
26621 /* end confdefs.h. */
26622 #include <features.h>
26623 int
26624 main ()
26625 {
26626
26627 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
26628 not glibc 2.1
26629 #endif
26630
26631 ;
26632 return 0;
26633 }
26634 _ACEOF
26635 rm -f conftest.$ac_objext
26636 if { (ac_try="$ac_compile"
26637 case "(($ac_try" in
26638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26639 *) ac_try_echo=$ac_try;;
26640 esac
26641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26642 (eval "$ac_compile") 2>conftest.er1
26643 ac_status=$?
26644 grep -v '^ *+' conftest.er1 >conftest.err
26645 rm -f conftest.er1
26646 cat conftest.err >&5
26647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26648 (exit $ac_status); } && {
26649 test -z "$ac_c_werror_flag" ||
26650 test ! -s conftest.err
26651 } && test -s conftest.$ac_objext; then
26652
26653 wx_cv_lib_glibc21=yes
26654
26655 else
26656 echo "$as_me: failed program was:" >&5
26657 sed 's/^/| /' conftest.$ac_ext >&5
26658
26659
26660 wx_cv_lib_glibc21=no
26661
26662
26663 fi
26664
26665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26666
26667 fi
26668 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
26669 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
26670 if test "$wx_cv_lib_glibc21" = "yes"; then
26671 cat >>confdefs.h <<\_ACEOF
26672 #define wxHAVE_GLIBC2 1
26673 _ACEOF
26674
26675 fi
26676 fi
26677
26678 if test "x$wx_cv_lib_glibc21" = "xyes"; then
26679 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
26680 cat >>confdefs.h <<\_ACEOF
26681 #define _GNU_SOURCE 1
26682 _ACEOF
26683
26684 fi
26685 fi
26686
26687 have_cos=0
26688 have_floor=0
26689
26690 for ac_func in cos
26691 do
26692 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26693 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26694 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26695 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26696 echo $ECHO_N "(cached) $ECHO_C" >&6
26697 else
26698 cat >conftest.$ac_ext <<_ACEOF
26699 /* confdefs.h. */
26700 _ACEOF
26701 cat confdefs.h >>conftest.$ac_ext
26702 cat >>conftest.$ac_ext <<_ACEOF
26703 /* end confdefs.h. */
26704 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26705 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26706 #define $ac_func innocuous_$ac_func
26707
26708 /* System header to define __stub macros and hopefully few prototypes,
26709 which can conflict with char $ac_func (); below.
26710 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26711 <limits.h> exists even on freestanding compilers. */
26712
26713 #ifdef __STDC__
26714 # include <limits.h>
26715 #else
26716 # include <assert.h>
26717 #endif
26718
26719 #undef $ac_func
26720
26721 /* Override any GCC internal prototype to avoid an error.
26722 Use char because int might match the return type of a GCC
26723 builtin and then its argument prototype would still apply. */
26724 #ifdef __cplusplus
26725 extern "C"
26726 #endif
26727 char $ac_func ();
26728 /* The GNU C library defines this for functions which it implements
26729 to always fail with ENOSYS. Some functions are actually named
26730 something starting with __ and the normal name is an alias. */
26731 #if defined __stub_$ac_func || defined __stub___$ac_func
26732 choke me
26733 #endif
26734
26735 int
26736 main ()
26737 {
26738 return $ac_func ();
26739 ;
26740 return 0;
26741 }
26742 _ACEOF
26743 rm -f conftest.$ac_objext conftest$ac_exeext
26744 if { (ac_try="$ac_link"
26745 case "(($ac_try" in
26746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26747 *) ac_try_echo=$ac_try;;
26748 esac
26749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26750 (eval "$ac_link") 2>conftest.er1
26751 ac_status=$?
26752 grep -v '^ *+' conftest.er1 >conftest.err
26753 rm -f conftest.er1
26754 cat conftest.err >&5
26755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26756 (exit $ac_status); } && {
26757 test -z "$ac_c_werror_flag" ||
26758 test ! -s conftest.err
26759 } && test -s conftest$ac_exeext &&
26760 $as_test_x conftest$ac_exeext; then
26761 eval "$as_ac_var=yes"
26762 else
26763 echo "$as_me: failed program was:" >&5
26764 sed 's/^/| /' conftest.$ac_ext >&5
26765
26766 eval "$as_ac_var=no"
26767 fi
26768
26769 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26770 conftest$ac_exeext conftest.$ac_ext
26771 fi
26772 ac_res=`eval echo '${'$as_ac_var'}'`
26773 { echo "$as_me:$LINENO: result: $ac_res" >&5
26774 echo "${ECHO_T}$ac_res" >&6; }
26775 if test `eval echo '${'$as_ac_var'}'` = yes; then
26776 cat >>confdefs.h <<_ACEOF
26777 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26778 _ACEOF
26779 have_cos=1
26780 fi
26781 done
26782
26783
26784 for ac_func in floor
26785 do
26786 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26787 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26788 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26789 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26790 echo $ECHO_N "(cached) $ECHO_C" >&6
26791 else
26792 cat >conftest.$ac_ext <<_ACEOF
26793 /* confdefs.h. */
26794 _ACEOF
26795 cat confdefs.h >>conftest.$ac_ext
26796 cat >>conftest.$ac_ext <<_ACEOF
26797 /* end confdefs.h. */
26798 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26799 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26800 #define $ac_func innocuous_$ac_func
26801
26802 /* System header to define __stub macros and hopefully few prototypes,
26803 which can conflict with char $ac_func (); below.
26804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26805 <limits.h> exists even on freestanding compilers. */
26806
26807 #ifdef __STDC__
26808 # include <limits.h>
26809 #else
26810 # include <assert.h>
26811 #endif
26812
26813 #undef $ac_func
26814
26815 /* Override any GCC internal prototype to avoid an error.
26816 Use char because int might match the return type of a GCC
26817 builtin and then its argument prototype would still apply. */
26818 #ifdef __cplusplus
26819 extern "C"
26820 #endif
26821 char $ac_func ();
26822 /* The GNU C library defines this for functions which it implements
26823 to always fail with ENOSYS. Some functions are actually named
26824 something starting with __ and the normal name is an alias. */
26825 #if defined __stub_$ac_func || defined __stub___$ac_func
26826 choke me
26827 #endif
26828
26829 int
26830 main ()
26831 {
26832 return $ac_func ();
26833 ;
26834 return 0;
26835 }
26836 _ACEOF
26837 rm -f conftest.$ac_objext conftest$ac_exeext
26838 if { (ac_try="$ac_link"
26839 case "(($ac_try" in
26840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26841 *) ac_try_echo=$ac_try;;
26842 esac
26843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26844 (eval "$ac_link") 2>conftest.er1
26845 ac_status=$?
26846 grep -v '^ *+' conftest.er1 >conftest.err
26847 rm -f conftest.er1
26848 cat conftest.err >&5
26849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26850 (exit $ac_status); } && {
26851 test -z "$ac_c_werror_flag" ||
26852 test ! -s conftest.err
26853 } && test -s conftest$ac_exeext &&
26854 $as_test_x conftest$ac_exeext; then
26855 eval "$as_ac_var=yes"
26856 else
26857 echo "$as_me: failed program was:" >&5
26858 sed 's/^/| /' conftest.$ac_ext >&5
26859
26860 eval "$as_ac_var=no"
26861 fi
26862
26863 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26864 conftest$ac_exeext conftest.$ac_ext
26865 fi
26866 ac_res=`eval echo '${'$as_ac_var'}'`
26867 { echo "$as_me:$LINENO: result: $ac_res" >&5
26868 echo "${ECHO_T}$ac_res" >&6; }
26869 if test `eval echo '${'$as_ac_var'}'` = yes; then
26870 cat >>confdefs.h <<_ACEOF
26871 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26872 _ACEOF
26873 have_floor=1
26874 fi
26875 done
26876
26877 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
26878 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
26879 if test "$have_cos" = 1 -a "$have_floor" = 1; then
26880 { echo "$as_me:$LINENO: result: yes" >&5
26881 echo "${ECHO_T}yes" >&6; }
26882 else
26883 { echo "$as_me:$LINENO: result: no" >&5
26884 echo "${ECHO_T}no" >&6; }
26885 LIBS="$LIBS -lm"
26886 # use different functions to avoid configure caching
26887 have_sin=0
26888 have_ceil=0
26889
26890 for ac_func in sin
26891 do
26892 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26893 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26894 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26895 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26896 echo $ECHO_N "(cached) $ECHO_C" >&6
26897 else
26898 cat >conftest.$ac_ext <<_ACEOF
26899 /* confdefs.h. */
26900 _ACEOF
26901 cat confdefs.h >>conftest.$ac_ext
26902 cat >>conftest.$ac_ext <<_ACEOF
26903 /* end confdefs.h. */
26904 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26905 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26906 #define $ac_func innocuous_$ac_func
26907
26908 /* System header to define __stub macros and hopefully few prototypes,
26909 which can conflict with char $ac_func (); below.
26910 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26911 <limits.h> exists even on freestanding compilers. */
26912
26913 #ifdef __STDC__
26914 # include <limits.h>
26915 #else
26916 # include <assert.h>
26917 #endif
26918
26919 #undef $ac_func
26920
26921 /* Override any GCC internal prototype to avoid an error.
26922 Use char because int might match the return type of a GCC
26923 builtin and then its argument prototype would still apply. */
26924 #ifdef __cplusplus
26925 extern "C"
26926 #endif
26927 char $ac_func ();
26928 /* The GNU C library defines this for functions which it implements
26929 to always fail with ENOSYS. Some functions are actually named
26930 something starting with __ and the normal name is an alias. */
26931 #if defined __stub_$ac_func || defined __stub___$ac_func
26932 choke me
26933 #endif
26934
26935 int
26936 main ()
26937 {
26938 return $ac_func ();
26939 ;
26940 return 0;
26941 }
26942 _ACEOF
26943 rm -f conftest.$ac_objext conftest$ac_exeext
26944 if { (ac_try="$ac_link"
26945 case "(($ac_try" in
26946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26947 *) ac_try_echo=$ac_try;;
26948 esac
26949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26950 (eval "$ac_link") 2>conftest.er1
26951 ac_status=$?
26952 grep -v '^ *+' conftest.er1 >conftest.err
26953 rm -f conftest.er1
26954 cat conftest.err >&5
26955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26956 (exit $ac_status); } && {
26957 test -z "$ac_c_werror_flag" ||
26958 test ! -s conftest.err
26959 } && test -s conftest$ac_exeext &&
26960 $as_test_x conftest$ac_exeext; then
26961 eval "$as_ac_var=yes"
26962 else
26963 echo "$as_me: failed program was:" >&5
26964 sed 's/^/| /' conftest.$ac_ext >&5
26965
26966 eval "$as_ac_var=no"
26967 fi
26968
26969 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26970 conftest$ac_exeext conftest.$ac_ext
26971 fi
26972 ac_res=`eval echo '${'$as_ac_var'}'`
26973 { echo "$as_me:$LINENO: result: $ac_res" >&5
26974 echo "${ECHO_T}$ac_res" >&6; }
26975 if test `eval echo '${'$as_ac_var'}'` = yes; then
26976 cat >>confdefs.h <<_ACEOF
26977 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26978 _ACEOF
26979 have_sin=1
26980 fi
26981 done
26982
26983
26984 for ac_func in ceil
26985 do
26986 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26987 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26988 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26989 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26990 echo $ECHO_N "(cached) $ECHO_C" >&6
26991 else
26992 cat >conftest.$ac_ext <<_ACEOF
26993 /* confdefs.h. */
26994 _ACEOF
26995 cat confdefs.h >>conftest.$ac_ext
26996 cat >>conftest.$ac_ext <<_ACEOF
26997 /* end confdefs.h. */
26998 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26999 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27000 #define $ac_func innocuous_$ac_func
27001
27002 /* System header to define __stub macros and hopefully few prototypes,
27003 which can conflict with char $ac_func (); below.
27004 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27005 <limits.h> exists even on freestanding compilers. */
27006
27007 #ifdef __STDC__
27008 # include <limits.h>
27009 #else
27010 # include <assert.h>
27011 #endif
27012
27013 #undef $ac_func
27014
27015 /* Override any GCC internal prototype to avoid an error.
27016 Use char because int might match the return type of a GCC
27017 builtin and then its argument prototype would still apply. */
27018 #ifdef __cplusplus
27019 extern "C"
27020 #endif
27021 char $ac_func ();
27022 /* The GNU C library defines this for functions which it implements
27023 to always fail with ENOSYS. Some functions are actually named
27024 something starting with __ and the normal name is an alias. */
27025 #if defined __stub_$ac_func || defined __stub___$ac_func
27026 choke me
27027 #endif
27028
27029 int
27030 main ()
27031 {
27032 return $ac_func ();
27033 ;
27034 return 0;
27035 }
27036 _ACEOF
27037 rm -f conftest.$ac_objext conftest$ac_exeext
27038 if { (ac_try="$ac_link"
27039 case "(($ac_try" in
27040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27041 *) ac_try_echo=$ac_try;;
27042 esac
27043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27044 (eval "$ac_link") 2>conftest.er1
27045 ac_status=$?
27046 grep -v '^ *+' conftest.er1 >conftest.err
27047 rm -f conftest.er1
27048 cat conftest.err >&5
27049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27050 (exit $ac_status); } && {
27051 test -z "$ac_c_werror_flag" ||
27052 test ! -s conftest.err
27053 } && test -s conftest$ac_exeext &&
27054 $as_test_x conftest$ac_exeext; then
27055 eval "$as_ac_var=yes"
27056 else
27057 echo "$as_me: failed program was:" >&5
27058 sed 's/^/| /' conftest.$ac_ext >&5
27059
27060 eval "$as_ac_var=no"
27061 fi
27062
27063 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27064 conftest$ac_exeext conftest.$ac_ext
27065 fi
27066 ac_res=`eval echo '${'$as_ac_var'}'`
27067 { echo "$as_me:$LINENO: result: $ac_res" >&5
27068 echo "${ECHO_T}$ac_res" >&6; }
27069 if test `eval echo '${'$as_ac_var'}'` = yes; then
27070 cat >>confdefs.h <<_ACEOF
27071 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27072 _ACEOF
27073 have_ceil=1
27074 fi
27075 done
27076
27077 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
27078 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
27079 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
27080 { echo "$as_me:$LINENO: result: yes" >&5
27081 echo "${ECHO_T}yes" >&6; }
27082 else
27083 { echo "$as_me:$LINENO: result: no" >&5
27084 echo "${ECHO_T}no" >&6; }
27085 # not sure we should warn the user, crash, etc.
27086 fi
27087 fi
27088
27089 ac_ext=cpp
27090 ac_cpp='$CXXCPP $CPPFLAGS'
27091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27094
27095 if test "wxUSE_UNICODE" = "yes"; then
27096
27097 for wx_func in wcstoull
27098 do
27099 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27100 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27101 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27102 echo $ECHO_N "(cached) $ECHO_C" >&6
27103 else
27104
27105 cat >conftest.$ac_ext <<_ACEOF
27106
27107 /* confdefs.h. */
27108 _ACEOF
27109 cat confdefs.h >>conftest.$ac_ext
27110 cat >>conftest.$ac_ext <<_ACEOF
27111 /* end confdefs.h. */
27112
27113
27114 $ac_includes_default
27115
27116 int
27117 main ()
27118 {
27119
27120 #ifndef $wx_func
27121 &$wx_func;
27122 #endif
27123
27124
27125 ;
27126 return 0;
27127 }
27128
27129 _ACEOF
27130 rm -f conftest.$ac_objext conftest$ac_exeext
27131 if { (ac_try="$ac_link"
27132 case "(($ac_try" in
27133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27134 *) ac_try_echo=$ac_try;;
27135 esac
27136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27137 (eval "$ac_link") 2>conftest.er1
27138 ac_status=$?
27139 grep -v '^ *+' conftest.er1 >conftest.err
27140 rm -f conftest.er1
27141 cat conftest.err >&5
27142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27143 (exit $ac_status); } && {
27144 test -z "$ac_cxx_werror_flag" ||
27145 test ! -s conftest.err
27146 } && test -s conftest$ac_exeext &&
27147 $as_test_x conftest$ac_exeext; then
27148 eval wx_cv_func_$wx_func=yes
27149 else
27150 echo "$as_me: failed program was:" >&5
27151 sed 's/^/| /' conftest.$ac_ext >&5
27152
27153 eval wx_cv_func_$wx_func=no
27154 fi
27155
27156 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27157 conftest$ac_exeext conftest.$ac_ext
27158
27159 fi
27160 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27161 { echo "$as_me:$LINENO: result: $ac_res" >&5
27162 echo "${ECHO_T}$ac_res" >&6; }
27163
27164 if eval test \$wx_cv_func_$wx_func = yes
27165 then
27166 cat >>confdefs.h <<_ACEOF
27167 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27168 _ACEOF
27169
27170
27171 else
27172 :
27173
27174 fi
27175 done
27176
27177 else
27178
27179 for wx_func in strtoull
27180 do
27181 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27182 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27183 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27184 echo $ECHO_N "(cached) $ECHO_C" >&6
27185 else
27186
27187 cat >conftest.$ac_ext <<_ACEOF
27188
27189 /* confdefs.h. */
27190 _ACEOF
27191 cat confdefs.h >>conftest.$ac_ext
27192 cat >>conftest.$ac_ext <<_ACEOF
27193 /* end confdefs.h. */
27194
27195
27196 $ac_includes_default
27197
27198 int
27199 main ()
27200 {
27201
27202 #ifndef $wx_func
27203 &$wx_func;
27204 #endif
27205
27206
27207 ;
27208 return 0;
27209 }
27210
27211 _ACEOF
27212 rm -f conftest.$ac_objext conftest$ac_exeext
27213 if { (ac_try="$ac_link"
27214 case "(($ac_try" in
27215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27216 *) ac_try_echo=$ac_try;;
27217 esac
27218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27219 (eval "$ac_link") 2>conftest.er1
27220 ac_status=$?
27221 grep -v '^ *+' conftest.er1 >conftest.err
27222 rm -f conftest.er1
27223 cat conftest.err >&5
27224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27225 (exit $ac_status); } && {
27226 test -z "$ac_cxx_werror_flag" ||
27227 test ! -s conftest.err
27228 } && test -s conftest$ac_exeext &&
27229 $as_test_x conftest$ac_exeext; then
27230 eval wx_cv_func_$wx_func=yes
27231 else
27232 echo "$as_me: failed program was:" >&5
27233 sed 's/^/| /' conftest.$ac_ext >&5
27234
27235 eval wx_cv_func_$wx_func=no
27236 fi
27237
27238 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27239 conftest$ac_exeext conftest.$ac_ext
27240
27241 fi
27242 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27243 { echo "$as_me:$LINENO: result: $ac_res" >&5
27244 echo "${ECHO_T}$ac_res" >&6; }
27245
27246 if eval test \$wx_cv_func_$wx_func = yes
27247 then
27248 cat >>confdefs.h <<_ACEOF
27249 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27250 _ACEOF
27251
27252
27253 else
27254 :
27255
27256 fi
27257 done
27258
27259 fi
27260 ac_ext=c
27261 ac_cpp='$CPP $CPPFLAGS'
27262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27265
27266
27267
27268
27269 if test "$wxUSE_REGEX" != "no"; then
27270 cat >>confdefs.h <<\_ACEOF
27271 #define wxUSE_REGEX 1
27272 _ACEOF
27273
27274
27275 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
27276 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
27277 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
27278 wxUSE_REGEX=builtin
27279 fi
27280
27281 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
27282 { echo "$as_me:$LINENO: checking for regex.h" >&5
27283 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
27284 if test "${ac_cv_header_regex_h+set}" = set; then
27285 echo $ECHO_N "(cached) $ECHO_C" >&6
27286 else
27287 cat >conftest.$ac_ext <<_ACEOF
27288 /* confdefs.h. */
27289 _ACEOF
27290 cat confdefs.h >>conftest.$ac_ext
27291 cat >>conftest.$ac_ext <<_ACEOF
27292 /* end confdefs.h. */
27293
27294
27295 #include <regex.h>
27296 _ACEOF
27297 rm -f conftest.$ac_objext
27298 if { (ac_try="$ac_compile"
27299 case "(($ac_try" in
27300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27301 *) ac_try_echo=$ac_try;;
27302 esac
27303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27304 (eval "$ac_compile") 2>conftest.er1
27305 ac_status=$?
27306 grep -v '^ *+' conftest.er1 >conftest.err
27307 rm -f conftest.er1
27308 cat conftest.err >&5
27309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27310 (exit $ac_status); } && {
27311 test -z "$ac_c_werror_flag" ||
27312 test ! -s conftest.err
27313 } && test -s conftest.$ac_objext; then
27314 ac_cv_header_regex_h=yes
27315 else
27316 echo "$as_me: failed program was:" >&5
27317 sed 's/^/| /' conftest.$ac_ext >&5
27318
27319 ac_cv_header_regex_h=no
27320 fi
27321
27322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27323 fi
27324 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
27325 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
27326 if test $ac_cv_header_regex_h = yes; then
27327
27328
27329 for ac_func in regcomp re_search
27330 do
27331 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27332 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27333 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27334 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27335 echo $ECHO_N "(cached) $ECHO_C" >&6
27336 else
27337 cat >conftest.$ac_ext <<_ACEOF
27338 /* confdefs.h. */
27339 _ACEOF
27340 cat confdefs.h >>conftest.$ac_ext
27341 cat >>conftest.$ac_ext <<_ACEOF
27342 /* end confdefs.h. */
27343 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27344 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27345 #define $ac_func innocuous_$ac_func
27346
27347 /* System header to define __stub macros and hopefully few prototypes,
27348 which can conflict with char $ac_func (); below.
27349 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27350 <limits.h> exists even on freestanding compilers. */
27351
27352 #ifdef __STDC__
27353 # include <limits.h>
27354 #else
27355 # include <assert.h>
27356 #endif
27357
27358 #undef $ac_func
27359
27360 /* Override any GCC internal prototype to avoid an error.
27361 Use char because int might match the return type of a GCC
27362 builtin and then its argument prototype would still apply. */
27363 #ifdef __cplusplus
27364 extern "C"
27365 #endif
27366 char $ac_func ();
27367 /* The GNU C library defines this for functions which it implements
27368 to always fail with ENOSYS. Some functions are actually named
27369 something starting with __ and the normal name is an alias. */
27370 #if defined __stub_$ac_func || defined __stub___$ac_func
27371 choke me
27372 #endif
27373
27374 int
27375 main ()
27376 {
27377 return $ac_func ();
27378 ;
27379 return 0;
27380 }
27381 _ACEOF
27382 rm -f conftest.$ac_objext conftest$ac_exeext
27383 if { (ac_try="$ac_link"
27384 case "(($ac_try" in
27385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27386 *) ac_try_echo=$ac_try;;
27387 esac
27388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27389 (eval "$ac_link") 2>conftest.er1
27390 ac_status=$?
27391 grep -v '^ *+' conftest.er1 >conftest.err
27392 rm -f conftest.er1
27393 cat conftest.err >&5
27394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27395 (exit $ac_status); } && {
27396 test -z "$ac_c_werror_flag" ||
27397 test ! -s conftest.err
27398 } && test -s conftest$ac_exeext &&
27399 $as_test_x conftest$ac_exeext; then
27400 eval "$as_ac_var=yes"
27401 else
27402 echo "$as_me: failed program was:" >&5
27403 sed 's/^/| /' conftest.$ac_ext >&5
27404
27405 eval "$as_ac_var=no"
27406 fi
27407
27408 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27409 conftest$ac_exeext conftest.$ac_ext
27410 fi
27411 ac_res=`eval echo '${'$as_ac_var'}'`
27412 { echo "$as_me:$LINENO: result: $ac_res" >&5
27413 echo "${ECHO_T}$ac_res" >&6; }
27414 if test `eval echo '${'$as_ac_var'}'` = yes; then
27415 cat >>confdefs.h <<_ACEOF
27416 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27417 _ACEOF
27418
27419 fi
27420 done
27421
27422 fi
27423
27424
27425
27426 if test "x$ac_cv_func_regcomp" != "xyes"; then
27427 if test "$wxUSE_REGEX" = "sys" ; then
27428 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
27429 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
27430 { (exit 1); exit 1; }; }
27431 else
27432 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
27433 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
27434 wxUSE_REGEX=builtin
27435 fi
27436 else
27437 wxUSE_REGEX=sys
27438 cat >>confdefs.h <<\_ACEOF
27439 #define WX_NO_REGEX_ADVANCED 1
27440 _ACEOF
27441
27442 fi
27443 fi
27444 fi
27445
27446
27447 ZLIB_LINK=
27448 if test "$wxUSE_ZLIB" != "no" ; then
27449 cat >>confdefs.h <<\_ACEOF
27450 #define wxUSE_ZLIB 1
27451 _ACEOF
27452
27453
27454 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
27455 if test "$USE_DARWIN" = 1; then
27456 system_zlib_h_ok="yes"
27457 else
27458 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
27459 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
27460 if test "${ac_cv_header_zlib_h+set}" = set; then
27461 echo $ECHO_N "(cached) $ECHO_C" >&6
27462 else
27463 if test "$cross_compiling" = yes; then
27464 unset ac_cv_header_zlib_h
27465
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 #include <zlib.h>
27475 #include <stdio.h>
27476
27477 int main()
27478 {
27479 FILE *f=fopen("conftestval", "w");
27480 if (!f) exit(1);
27481 fprintf(f, "%s",
27482 ZLIB_VERSION[0] == '1' &&
27483 (ZLIB_VERSION[2] > '1' ||
27484 (ZLIB_VERSION[2] == '1' &&
27485 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
27486 exit(0);
27487 }
27488
27489 _ACEOF
27490 rm -f conftest$ac_exeext
27491 if { (ac_try="$ac_link"
27492 case "(($ac_try" in
27493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27494 *) ac_try_echo=$ac_try;;
27495 esac
27496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27497 (eval "$ac_link") 2>&5
27498 ac_status=$?
27499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27500 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27501 { (case "(($ac_try" in
27502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27503 *) ac_try_echo=$ac_try;;
27504 esac
27505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27506 (eval "$ac_try") 2>&5
27507 ac_status=$?
27508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27509 (exit $ac_status); }; }; then
27510 ac_cv_header_zlib_h=`cat conftestval`
27511 else
27512 echo "$as_me: program exited with status $ac_status" >&5
27513 echo "$as_me: failed program was:" >&5
27514 sed 's/^/| /' conftest.$ac_ext >&5
27515
27516 ( exit $ac_status )
27517 ac_cv_header_zlib_h=no
27518 fi
27519 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27520 fi
27521
27522
27523
27524 fi
27525 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27526 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27527 { echo "$as_me:$LINENO: checking for zlib.h" >&5
27528 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
27529 if test "${ac_cv_header_zlib_h+set}" = set; then
27530 echo $ECHO_N "(cached) $ECHO_C" >&6
27531 else
27532 cat >conftest.$ac_ext <<_ACEOF
27533 /* confdefs.h. */
27534 _ACEOF
27535 cat confdefs.h >>conftest.$ac_ext
27536 cat >>conftest.$ac_ext <<_ACEOF
27537 /* end confdefs.h. */
27538
27539
27540 #include <zlib.h>
27541 _ACEOF
27542 rm -f conftest.$ac_objext
27543 if { (ac_try="$ac_compile"
27544 case "(($ac_try" in
27545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27546 *) ac_try_echo=$ac_try;;
27547 esac
27548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27549 (eval "$ac_compile") 2>conftest.er1
27550 ac_status=$?
27551 grep -v '^ *+' conftest.er1 >conftest.err
27552 rm -f conftest.er1
27553 cat conftest.err >&5
27554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27555 (exit $ac_status); } && {
27556 test -z "$ac_c_werror_flag" ||
27557 test ! -s conftest.err
27558 } && test -s conftest.$ac_objext; then
27559 ac_cv_header_zlib_h=yes
27560 else
27561 echo "$as_me: failed program was:" >&5
27562 sed 's/^/| /' conftest.$ac_ext >&5
27563
27564 ac_cv_header_zlib_h=no
27565 fi
27566
27567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27568 fi
27569 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27570 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27571
27572
27573
27574 system_zlib_h_ok=$ac_cv_header_zlib_h
27575 fi
27576
27577 if test "$system_zlib_h_ok" = "yes"; then
27578 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
27579 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
27580 if test "${ac_cv_lib_z_deflate+set}" = set; then
27581 echo $ECHO_N "(cached) $ECHO_C" >&6
27582 else
27583 ac_check_lib_save_LIBS=$LIBS
27584 LIBS="-lz $LIBS"
27585 cat >conftest.$ac_ext <<_ACEOF
27586 /* confdefs.h. */
27587 _ACEOF
27588 cat confdefs.h >>conftest.$ac_ext
27589 cat >>conftest.$ac_ext <<_ACEOF
27590 /* end confdefs.h. */
27591
27592 /* Override any GCC internal prototype to avoid an error.
27593 Use char because int might match the return type of a GCC
27594 builtin and then its argument prototype would still apply. */
27595 #ifdef __cplusplus
27596 extern "C"
27597 #endif
27598 char deflate ();
27599 int
27600 main ()
27601 {
27602 return deflate ();
27603 ;
27604 return 0;
27605 }
27606 _ACEOF
27607 rm -f conftest.$ac_objext conftest$ac_exeext
27608 if { (ac_try="$ac_link"
27609 case "(($ac_try" in
27610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27611 *) ac_try_echo=$ac_try;;
27612 esac
27613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27614 (eval "$ac_link") 2>conftest.er1
27615 ac_status=$?
27616 grep -v '^ *+' conftest.er1 >conftest.err
27617 rm -f conftest.er1
27618 cat conftest.err >&5
27619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27620 (exit $ac_status); } && {
27621 test -z "$ac_c_werror_flag" ||
27622 test ! -s conftest.err
27623 } && test -s conftest$ac_exeext &&
27624 $as_test_x conftest$ac_exeext; then
27625 ac_cv_lib_z_deflate=yes
27626 else
27627 echo "$as_me: failed program was:" >&5
27628 sed 's/^/| /' conftest.$ac_ext >&5
27629
27630 ac_cv_lib_z_deflate=no
27631 fi
27632
27633 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27634 conftest$ac_exeext conftest.$ac_ext
27635 LIBS=$ac_check_lib_save_LIBS
27636 fi
27637 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
27638 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
27639 if test $ac_cv_lib_z_deflate = yes; then
27640 ZLIB_LINK=" -lz"
27641 fi
27642
27643 fi
27644
27645 if test "x$ZLIB_LINK" = "x" ; then
27646 if test "$wxUSE_ZLIB" = "sys" ; then
27647 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
27648 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
27649 { (exit 1); exit 1; }; }
27650 else
27651 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
27652 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
27653 wxUSE_ZLIB=builtin
27654 fi
27655 else
27656 wxUSE_ZLIB=sys
27657 fi
27658 fi
27659 fi
27660
27661
27662 PNG_LINK=
27663 if test "$wxUSE_LIBPNG" != "no" ; then
27664 cat >>confdefs.h <<\_ACEOF
27665 #define wxUSE_LIBPNG 1
27666 _ACEOF
27667
27668
27669 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
27670 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
27671 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
27672 wxUSE_LIBPNG=sys
27673 fi
27674
27675 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
27676 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
27677 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
27678 wxUSE_LIBPNG=builtin
27679 fi
27680
27681 if test "$wxUSE_MGL" != 1 ; then
27682 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
27683 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
27684 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
27685 if test "${ac_cv_header_png_h+set}" = set; then
27686 echo $ECHO_N "(cached) $ECHO_C" >&6
27687 else
27688 if test "$cross_compiling" = yes; then
27689 unset ac_cv_header_png_h
27690
27691 else
27692 cat >conftest.$ac_ext <<_ACEOF
27693 /* confdefs.h. */
27694 _ACEOF
27695 cat confdefs.h >>conftest.$ac_ext
27696 cat >>conftest.$ac_ext <<_ACEOF
27697 /* end confdefs.h. */
27698
27699 #include <png.h>
27700 #include <stdio.h>
27701
27702 int main()
27703 {
27704 FILE *f=fopen("conftestval", "w");
27705 if (!f) exit(1);
27706 fprintf(f, "%s",
27707 PNG_LIBPNG_VER > 90 ? "yes" : "no");
27708 exit(0);
27709 }
27710
27711 _ACEOF
27712 rm -f conftest$ac_exeext
27713 if { (ac_try="$ac_link"
27714 case "(($ac_try" in
27715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27716 *) ac_try_echo=$ac_try;;
27717 esac
27718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27719 (eval "$ac_link") 2>&5
27720 ac_status=$?
27721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27722 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27723 { (case "(($ac_try" in
27724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27725 *) ac_try_echo=$ac_try;;
27726 esac
27727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27728 (eval "$ac_try") 2>&5
27729 ac_status=$?
27730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27731 (exit $ac_status); }; }; then
27732 ac_cv_header_png_h=`cat conftestval`
27733 else
27734 echo "$as_me: program exited with status $ac_status" >&5
27735 echo "$as_me: failed program was:" >&5
27736 sed 's/^/| /' conftest.$ac_ext >&5
27737
27738 ( exit $ac_status )
27739 ac_cv_header_png_h=no
27740 fi
27741 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27742 fi
27743
27744
27745
27746 fi
27747 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27748 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
27749 { echo "$as_me:$LINENO: checking for png.h" >&5
27750 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
27751 if test "${ac_cv_header_png_h+set}" = set; then
27752 echo $ECHO_N "(cached) $ECHO_C" >&6
27753 else
27754 cat >conftest.$ac_ext <<_ACEOF
27755 /* confdefs.h. */
27756 _ACEOF
27757 cat confdefs.h >>conftest.$ac_ext
27758 cat >>conftest.$ac_ext <<_ACEOF
27759 /* end confdefs.h. */
27760
27761
27762 #include <png.h>
27763 _ACEOF
27764 rm -f conftest.$ac_objext
27765 if { (ac_try="$ac_compile"
27766 case "(($ac_try" in
27767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27768 *) ac_try_echo=$ac_try;;
27769 esac
27770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27771 (eval "$ac_compile") 2>conftest.er1
27772 ac_status=$?
27773 grep -v '^ *+' conftest.er1 >conftest.err
27774 rm -f conftest.er1
27775 cat conftest.err >&5
27776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27777 (exit $ac_status); } && {
27778 test -z "$ac_c_werror_flag" ||
27779 test ! -s conftest.err
27780 } && test -s conftest.$ac_objext; then
27781 ac_cv_header_png_h=yes
27782 else
27783 echo "$as_me: failed program was:" >&5
27784 sed 's/^/| /' conftest.$ac_ext >&5
27785
27786 ac_cv_header_png_h=no
27787 fi
27788
27789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27790 fi
27791 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27792 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
27793
27794
27795
27796 if test "$ac_cv_header_png_h" = "yes"; then
27797 { echo "$as_me:$LINENO: checking for png_sig_cmp in -lpng" >&5
27798 echo $ECHO_N "checking for png_sig_cmp in -lpng... $ECHO_C" >&6; }
27799 if test "${ac_cv_lib_png_png_sig_cmp+set}" = set; then
27800 echo $ECHO_N "(cached) $ECHO_C" >&6
27801 else
27802 ac_check_lib_save_LIBS=$LIBS
27803 LIBS="-lpng -lz -lm $LIBS"
27804 cat >conftest.$ac_ext <<_ACEOF
27805 /* confdefs.h. */
27806 _ACEOF
27807 cat confdefs.h >>conftest.$ac_ext
27808 cat >>conftest.$ac_ext <<_ACEOF
27809 /* end confdefs.h. */
27810
27811 /* Override any GCC internal prototype to avoid an error.
27812 Use char because int might match the return type of a GCC
27813 builtin and then its argument prototype would still apply. */
27814 #ifdef __cplusplus
27815 extern "C"
27816 #endif
27817 char png_sig_cmp ();
27818 int
27819 main ()
27820 {
27821 return png_sig_cmp ();
27822 ;
27823 return 0;
27824 }
27825 _ACEOF
27826 rm -f conftest.$ac_objext conftest$ac_exeext
27827 if { (ac_try="$ac_link"
27828 case "(($ac_try" in
27829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27830 *) ac_try_echo=$ac_try;;
27831 esac
27832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27833 (eval "$ac_link") 2>conftest.er1
27834 ac_status=$?
27835 grep -v '^ *+' conftest.er1 >conftest.err
27836 rm -f conftest.er1
27837 cat conftest.err >&5
27838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27839 (exit $ac_status); } && {
27840 test -z "$ac_c_werror_flag" ||
27841 test ! -s conftest.err
27842 } && test -s conftest$ac_exeext &&
27843 $as_test_x conftest$ac_exeext; then
27844 ac_cv_lib_png_png_sig_cmp=yes
27845 else
27846 echo "$as_me: failed program was:" >&5
27847 sed 's/^/| /' conftest.$ac_ext >&5
27848
27849 ac_cv_lib_png_png_sig_cmp=no
27850 fi
27851
27852 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27853 conftest$ac_exeext conftest.$ac_ext
27854 LIBS=$ac_check_lib_save_LIBS
27855 fi
27856 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_sig_cmp" >&5
27857 echo "${ECHO_T}$ac_cv_lib_png_png_sig_cmp" >&6; }
27858 if test $ac_cv_lib_png_png_sig_cmp = yes; then
27859 PNG_LINK=" -lpng -lz"
27860 fi
27861
27862 fi
27863
27864 if test "x$PNG_LINK" = "x" ; then
27865 if test "$wxUSE_LIBPNG" = "sys" ; then
27866 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
27867 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
27868 { (exit 1); exit 1; }; }
27869 else
27870 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
27871 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
27872 wxUSE_LIBPNG=builtin
27873 fi
27874 else
27875 wxUSE_LIBPNG=sys
27876 fi
27877 fi
27878 fi
27879 fi
27880
27881
27882 JPEG_LINK=
27883 if test "$wxUSE_LIBJPEG" != "no" ; then
27884 cat >>confdefs.h <<\_ACEOF
27885 #define wxUSE_LIBJPEG 1
27886 _ACEOF
27887
27888
27889 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
27890 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
27891 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
27892 wxUSE_LIBJPEG=sys
27893 fi
27894
27895 if test "$wxUSE_MGL" != 1 ; then
27896 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
27897 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
27898 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
27899 if test "${ac_cv_header_jpeglib_h+set}" = set; then
27900 echo $ECHO_N "(cached) $ECHO_C" >&6
27901 else
27902 cat >conftest.$ac_ext <<_ACEOF
27903 /* confdefs.h. */
27904 _ACEOF
27905 cat confdefs.h >>conftest.$ac_ext
27906 cat >>conftest.$ac_ext <<_ACEOF
27907 /* end confdefs.h. */
27908
27909 #undef HAVE_STDLIB_H
27910 #include <stdio.h>
27911 #include <jpeglib.h>
27912
27913 int
27914 main ()
27915 {
27916
27917
27918 ;
27919 return 0;
27920 }
27921 _ACEOF
27922 rm -f conftest.$ac_objext
27923 if { (ac_try="$ac_compile"
27924 case "(($ac_try" in
27925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27926 *) ac_try_echo=$ac_try;;
27927 esac
27928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27929 (eval "$ac_compile") 2>conftest.er1
27930 ac_status=$?
27931 grep -v '^ *+' conftest.er1 >conftest.err
27932 rm -f conftest.er1
27933 cat conftest.err >&5
27934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27935 (exit $ac_status); } && {
27936 test -z "$ac_c_werror_flag" ||
27937 test ! -s conftest.err
27938 } && test -s conftest.$ac_objext; then
27939 ac_cv_header_jpeglib_h=yes
27940 else
27941 echo "$as_me: failed program was:" >&5
27942 sed 's/^/| /' conftest.$ac_ext >&5
27943
27944 ac_cv_header_jpeglib_h=no
27945
27946 fi
27947
27948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27949
27950 fi
27951
27952 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
27953 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
27954
27955 if test "$ac_cv_header_jpeglib_h" = "yes"; then
27956 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
27957 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
27958 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
27959 echo $ECHO_N "(cached) $ECHO_C" >&6
27960 else
27961 ac_check_lib_save_LIBS=$LIBS
27962 LIBS="-ljpeg $LIBS"
27963 cat >conftest.$ac_ext <<_ACEOF
27964 /* confdefs.h. */
27965 _ACEOF
27966 cat confdefs.h >>conftest.$ac_ext
27967 cat >>conftest.$ac_ext <<_ACEOF
27968 /* end confdefs.h. */
27969
27970 /* Override any GCC internal prototype to avoid an error.
27971 Use char because int might match the return type of a GCC
27972 builtin and then its argument prototype would still apply. */
27973 #ifdef __cplusplus
27974 extern "C"
27975 #endif
27976 char jpeg_read_header ();
27977 int
27978 main ()
27979 {
27980 return jpeg_read_header ();
27981 ;
27982 return 0;
27983 }
27984 _ACEOF
27985 rm -f conftest.$ac_objext conftest$ac_exeext
27986 if { (ac_try="$ac_link"
27987 case "(($ac_try" in
27988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27989 *) ac_try_echo=$ac_try;;
27990 esac
27991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27992 (eval "$ac_link") 2>conftest.er1
27993 ac_status=$?
27994 grep -v '^ *+' conftest.er1 >conftest.err
27995 rm -f conftest.er1
27996 cat conftest.err >&5
27997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27998 (exit $ac_status); } && {
27999 test -z "$ac_c_werror_flag" ||
28000 test ! -s conftest.err
28001 } && test -s conftest$ac_exeext &&
28002 $as_test_x conftest$ac_exeext; then
28003 ac_cv_lib_jpeg_jpeg_read_header=yes
28004 else
28005 echo "$as_me: failed program was:" >&5
28006 sed 's/^/| /' conftest.$ac_ext >&5
28007
28008 ac_cv_lib_jpeg_jpeg_read_header=no
28009 fi
28010
28011 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28012 conftest$ac_exeext conftest.$ac_ext
28013 LIBS=$ac_check_lib_save_LIBS
28014 fi
28015 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
28016 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
28017 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
28018 JPEG_LINK=" -ljpeg"
28019 fi
28020
28021 fi
28022
28023 if test "x$JPEG_LINK" = "x" ; then
28024 if test "$wxUSE_LIBJPEG" = "sys" ; then
28025 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
28026 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
28027 { (exit 1); exit 1; }; }
28028 else
28029 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
28030 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
28031 wxUSE_LIBJPEG=builtin
28032 fi
28033 else
28034 wxUSE_LIBJPEG=sys
28035
28036 if test "$wxUSE_MSW" = 1; then
28037 { echo "$as_me:$LINENO: checking for boolean" >&5
28038 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28039 if test "${ac_cv_type_boolean+set}" = set; then
28040 echo $ECHO_N "(cached) $ECHO_C" >&6
28041 else
28042 cat >conftest.$ac_ext <<_ACEOF
28043 /* confdefs.h. */
28044 _ACEOF
28045 cat confdefs.h >>conftest.$ac_ext
28046 cat >>conftest.$ac_ext <<_ACEOF
28047 /* end confdefs.h. */
28048 #include <windows.h>
28049
28050 typedef boolean ac__type_new_;
28051 int
28052 main ()
28053 {
28054 if ((ac__type_new_ *) 0)
28055 return 0;
28056 if (sizeof (ac__type_new_))
28057 return 0;
28058 ;
28059 return 0;
28060 }
28061 _ACEOF
28062 rm -f conftest.$ac_objext
28063 if { (ac_try="$ac_compile"
28064 case "(($ac_try" in
28065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28066 *) ac_try_echo=$ac_try;;
28067 esac
28068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28069 (eval "$ac_compile") 2>conftest.er1
28070 ac_status=$?
28071 grep -v '^ *+' conftest.er1 >conftest.err
28072 rm -f conftest.er1
28073 cat conftest.err >&5
28074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28075 (exit $ac_status); } && {
28076 test -z "$ac_c_werror_flag" ||
28077 test ! -s conftest.err
28078 } && test -s conftest.$ac_objext; then
28079 ac_cv_type_boolean=yes
28080 else
28081 echo "$as_me: failed program was:" >&5
28082 sed 's/^/| /' conftest.$ac_ext >&5
28083
28084 ac_cv_type_boolean=no
28085 fi
28086
28087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28088 fi
28089 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28090 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28091 if test $ac_cv_type_boolean = yes; then
28092
28093 cat >>confdefs.h <<_ACEOF
28094 #define HAVE_BOOLEAN 1
28095 _ACEOF
28096
28097
28098 { echo "$as_me:$LINENO: checking for boolean" >&5
28099 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28100 if test "${ac_cv_type_boolean+set}" = set; then
28101 echo $ECHO_N "(cached) $ECHO_C" >&6
28102 else
28103 cat >conftest.$ac_ext <<_ACEOF
28104 /* confdefs.h. */
28105 _ACEOF
28106 cat confdefs.h >>conftest.$ac_ext
28107 cat >>conftest.$ac_ext <<_ACEOF
28108 /* end confdefs.h. */
28109
28110 #undef HAVE_BOOLEAN
28111 #include <stdio.h>
28112 #include <jpeglib.h>
28113
28114
28115 typedef boolean ac__type_new_;
28116 int
28117 main ()
28118 {
28119 if ((ac__type_new_ *) 0)
28120 return 0;
28121 if (sizeof (ac__type_new_))
28122 return 0;
28123 ;
28124 return 0;
28125 }
28126 _ACEOF
28127 rm -f conftest.$ac_objext
28128 if { (ac_try="$ac_compile"
28129 case "(($ac_try" in
28130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28131 *) ac_try_echo=$ac_try;;
28132 esac
28133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28134 (eval "$ac_compile") 2>conftest.er1
28135 ac_status=$?
28136 grep -v '^ *+' conftest.er1 >conftest.err
28137 rm -f conftest.er1
28138 cat conftest.err >&5
28139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28140 (exit $ac_status); } && {
28141 test -z "$ac_c_werror_flag" ||
28142 test ! -s conftest.err
28143 } && test -s conftest.$ac_objext; then
28144 ac_cv_type_boolean=yes
28145 else
28146 echo "$as_me: failed program was:" >&5
28147 sed 's/^/| /' conftest.$ac_ext >&5
28148
28149 ac_cv_type_boolean=no
28150 fi
28151
28152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28153 fi
28154 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28155 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28156
28157 # The cast to long int works around a bug in the HP C Compiler
28158 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28159 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
28160 # This bug is HP SR number 8606223364.
28161 { echo "$as_me:$LINENO: checking size of boolean" >&5
28162 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
28163 if test "${ac_cv_sizeof_boolean+set}" = set; then
28164 echo $ECHO_N "(cached) $ECHO_C" >&6
28165 else
28166 if test "$cross_compiling" = yes; then
28167 # Depending upon the size, compute the lo and hi bounds.
28168 cat >conftest.$ac_ext <<_ACEOF
28169 /* confdefs.h. */
28170 _ACEOF
28171 cat confdefs.h >>conftest.$ac_ext
28172 cat >>conftest.$ac_ext <<_ACEOF
28173 /* end confdefs.h. */
28174
28175 #undef HAVE_BOOLEAN
28176 #include <stdio.h>
28177 #include <jpeglib.h>
28178
28179
28180 typedef boolean ac__type_sizeof_;
28181 int
28182 main ()
28183 {
28184 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
28185 test_array [0] = 0
28186
28187 ;
28188 return 0;
28189 }
28190 _ACEOF
28191 rm -f conftest.$ac_objext
28192 if { (ac_try="$ac_compile"
28193 case "(($ac_try" in
28194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28195 *) ac_try_echo=$ac_try;;
28196 esac
28197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28198 (eval "$ac_compile") 2>conftest.er1
28199 ac_status=$?
28200 grep -v '^ *+' conftest.er1 >conftest.err
28201 rm -f conftest.er1
28202 cat conftest.err >&5
28203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28204 (exit $ac_status); } && {
28205 test -z "$ac_c_werror_flag" ||
28206 test ! -s conftest.err
28207 } && test -s conftest.$ac_objext; then
28208 ac_lo=0 ac_mid=0
28209 while :; do
28210 cat >conftest.$ac_ext <<_ACEOF
28211 /* confdefs.h. */
28212 _ACEOF
28213 cat confdefs.h >>conftest.$ac_ext
28214 cat >>conftest.$ac_ext <<_ACEOF
28215 /* end confdefs.h. */
28216
28217 #undef HAVE_BOOLEAN
28218 #include <stdio.h>
28219 #include <jpeglib.h>
28220
28221
28222 typedef boolean ac__type_sizeof_;
28223 int
28224 main ()
28225 {
28226 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28227 test_array [0] = 0
28228
28229 ;
28230 return 0;
28231 }
28232 _ACEOF
28233 rm -f conftest.$ac_objext
28234 if { (ac_try="$ac_compile"
28235 case "(($ac_try" in
28236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28237 *) ac_try_echo=$ac_try;;
28238 esac
28239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28240 (eval "$ac_compile") 2>conftest.er1
28241 ac_status=$?
28242 grep -v '^ *+' conftest.er1 >conftest.err
28243 rm -f conftest.er1
28244 cat conftest.err >&5
28245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28246 (exit $ac_status); } && {
28247 test -z "$ac_c_werror_flag" ||
28248 test ! -s conftest.err
28249 } && test -s conftest.$ac_objext; then
28250 ac_hi=$ac_mid; break
28251 else
28252 echo "$as_me: failed program was:" >&5
28253 sed 's/^/| /' conftest.$ac_ext >&5
28254
28255 ac_lo=`expr $ac_mid + 1`
28256 if test $ac_lo -le $ac_mid; then
28257 ac_lo= ac_hi=
28258 break
28259 fi
28260 ac_mid=`expr 2 '*' $ac_mid + 1`
28261 fi
28262
28263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28264 done
28265 else
28266 echo "$as_me: failed program was:" >&5
28267 sed 's/^/| /' conftest.$ac_ext >&5
28268
28269 cat >conftest.$ac_ext <<_ACEOF
28270 /* confdefs.h. */
28271 _ACEOF
28272 cat confdefs.h >>conftest.$ac_ext
28273 cat >>conftest.$ac_ext <<_ACEOF
28274 /* end confdefs.h. */
28275
28276 #undef HAVE_BOOLEAN
28277 #include <stdio.h>
28278 #include <jpeglib.h>
28279
28280
28281 typedef boolean ac__type_sizeof_;
28282 int
28283 main ()
28284 {
28285 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
28286 test_array [0] = 0
28287
28288 ;
28289 return 0;
28290 }
28291 _ACEOF
28292 rm -f conftest.$ac_objext
28293 if { (ac_try="$ac_compile"
28294 case "(($ac_try" in
28295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28296 *) ac_try_echo=$ac_try;;
28297 esac
28298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28299 (eval "$ac_compile") 2>conftest.er1
28300 ac_status=$?
28301 grep -v '^ *+' conftest.er1 >conftest.err
28302 rm -f conftest.er1
28303 cat conftest.err >&5
28304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28305 (exit $ac_status); } && {
28306 test -z "$ac_c_werror_flag" ||
28307 test ! -s conftest.err
28308 } && test -s conftest.$ac_objext; then
28309 ac_hi=-1 ac_mid=-1
28310 while :; do
28311 cat >conftest.$ac_ext <<_ACEOF
28312 /* confdefs.h. */
28313 _ACEOF
28314 cat confdefs.h >>conftest.$ac_ext
28315 cat >>conftest.$ac_ext <<_ACEOF
28316 /* end confdefs.h. */
28317
28318 #undef HAVE_BOOLEAN
28319 #include <stdio.h>
28320 #include <jpeglib.h>
28321
28322
28323 typedef boolean ac__type_sizeof_;
28324 int
28325 main ()
28326 {
28327 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
28328 test_array [0] = 0
28329
28330 ;
28331 return 0;
28332 }
28333 _ACEOF
28334 rm -f conftest.$ac_objext
28335 if { (ac_try="$ac_compile"
28336 case "(($ac_try" in
28337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28338 *) ac_try_echo=$ac_try;;
28339 esac
28340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28341 (eval "$ac_compile") 2>conftest.er1
28342 ac_status=$?
28343 grep -v '^ *+' conftest.er1 >conftest.err
28344 rm -f conftest.er1
28345 cat conftest.err >&5
28346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28347 (exit $ac_status); } && {
28348 test -z "$ac_c_werror_flag" ||
28349 test ! -s conftest.err
28350 } && test -s conftest.$ac_objext; then
28351 ac_lo=$ac_mid; break
28352 else
28353 echo "$as_me: failed program was:" >&5
28354 sed 's/^/| /' conftest.$ac_ext >&5
28355
28356 ac_hi=`expr '(' $ac_mid ')' - 1`
28357 if test $ac_mid -le $ac_hi; then
28358 ac_lo= ac_hi=
28359 break
28360 fi
28361 ac_mid=`expr 2 '*' $ac_mid`
28362 fi
28363
28364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28365 done
28366 else
28367 echo "$as_me: failed program was:" >&5
28368 sed 's/^/| /' conftest.$ac_ext >&5
28369
28370 ac_lo= ac_hi=
28371 fi
28372
28373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28374 fi
28375
28376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28377 # Binary search between lo and hi bounds.
28378 while test "x$ac_lo" != "x$ac_hi"; do
28379 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
28380 cat >conftest.$ac_ext <<_ACEOF
28381 /* confdefs.h. */
28382 _ACEOF
28383 cat confdefs.h >>conftest.$ac_ext
28384 cat >>conftest.$ac_ext <<_ACEOF
28385 /* end confdefs.h. */
28386
28387 #undef HAVE_BOOLEAN
28388 #include <stdio.h>
28389 #include <jpeglib.h>
28390
28391
28392 typedef boolean ac__type_sizeof_;
28393 int
28394 main ()
28395 {
28396 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28397 test_array [0] = 0
28398
28399 ;
28400 return 0;
28401 }
28402 _ACEOF
28403 rm -f conftest.$ac_objext
28404 if { (ac_try="$ac_compile"
28405 case "(($ac_try" in
28406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28407 *) ac_try_echo=$ac_try;;
28408 esac
28409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28410 (eval "$ac_compile") 2>conftest.er1
28411 ac_status=$?
28412 grep -v '^ *+' conftest.er1 >conftest.err
28413 rm -f conftest.er1
28414 cat conftest.err >&5
28415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28416 (exit $ac_status); } && {
28417 test -z "$ac_c_werror_flag" ||
28418 test ! -s conftest.err
28419 } && test -s conftest.$ac_objext; then
28420 ac_hi=$ac_mid
28421 else
28422 echo "$as_me: failed program was:" >&5
28423 sed 's/^/| /' conftest.$ac_ext >&5
28424
28425 ac_lo=`expr '(' $ac_mid ')' + 1`
28426 fi
28427
28428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28429 done
28430 case $ac_lo in
28431 ?*) ac_cv_sizeof_boolean=$ac_lo;;
28432 '') if test "$ac_cv_type_boolean" = yes; then
28433 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28434 See \`config.log' for more details." >&5
28435 echo "$as_me: error: cannot compute sizeof (boolean)
28436 See \`config.log' for more details." >&2;}
28437 { (exit 77); exit 77; }; }
28438 else
28439 ac_cv_sizeof_boolean=0
28440 fi ;;
28441 esac
28442 else
28443 cat >conftest.$ac_ext <<_ACEOF
28444 /* confdefs.h. */
28445 _ACEOF
28446 cat confdefs.h >>conftest.$ac_ext
28447 cat >>conftest.$ac_ext <<_ACEOF
28448 /* end confdefs.h. */
28449
28450 #undef HAVE_BOOLEAN
28451 #include <stdio.h>
28452 #include <jpeglib.h>
28453
28454
28455 typedef boolean ac__type_sizeof_;
28456 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
28457 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
28458 #include <stdio.h>
28459 #include <stdlib.h>
28460 int
28461 main ()
28462 {
28463
28464 FILE *f = fopen ("conftest.val", "w");
28465 if (! f)
28466 return 1;
28467 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
28468 {
28469 long int i = longval ();
28470 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28471 return 1;
28472 fprintf (f, "%ld\n", i);
28473 }
28474 else
28475 {
28476 unsigned long int i = ulongval ();
28477 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28478 return 1;
28479 fprintf (f, "%lu\n", i);
28480 }
28481 return ferror (f) || fclose (f) != 0;
28482
28483 ;
28484 return 0;
28485 }
28486 _ACEOF
28487 rm -f conftest$ac_exeext
28488 if { (ac_try="$ac_link"
28489 case "(($ac_try" in
28490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28491 *) ac_try_echo=$ac_try;;
28492 esac
28493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28494 (eval "$ac_link") 2>&5
28495 ac_status=$?
28496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28497 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28498 { (case "(($ac_try" in
28499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28500 *) ac_try_echo=$ac_try;;
28501 esac
28502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28503 (eval "$ac_try") 2>&5
28504 ac_status=$?
28505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28506 (exit $ac_status); }; }; then
28507 ac_cv_sizeof_boolean=`cat conftest.val`
28508 else
28509 echo "$as_me: program exited with status $ac_status" >&5
28510 echo "$as_me: failed program was:" >&5
28511 sed 's/^/| /' conftest.$ac_ext >&5
28512
28513 ( exit $ac_status )
28514 if test "$ac_cv_type_boolean" = yes; then
28515 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28516 See \`config.log' for more details." >&5
28517 echo "$as_me: error: cannot compute sizeof (boolean)
28518 See \`config.log' for more details." >&2;}
28519 { (exit 77); exit 77; }; }
28520 else
28521 ac_cv_sizeof_boolean=0
28522 fi
28523 fi
28524 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28525 fi
28526 rm -f conftest.val
28527 fi
28528 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
28529 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
28530
28531
28532
28533 cat >>confdefs.h <<_ACEOF
28534 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
28535 _ACEOF
28536
28537
28538 cat >>confdefs.h <<_ACEOF
28539 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
28540 _ACEOF
28541
28542
28543 fi
28544
28545 fi
28546 fi
28547 fi
28548 fi
28549 fi
28550
28551
28552 TIFF_LINK=
28553 TIFF_PREREQ_LINKS=-lm
28554 if test "$wxUSE_LIBTIFF" != "no" ; then
28555 cat >>confdefs.h <<\_ACEOF
28556 #define wxUSE_LIBTIFF 1
28557 _ACEOF
28558
28559
28560 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
28561 if test "$wxUSE_LIBJPEG" = "sys"; then
28562 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
28563 fi
28564 if test "$wxUSE_ZLIB" = "sys"; then
28565 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
28566 fi
28567 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
28568 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
28569 if test "${ac_cv_header_tiffio_h+set}" = set; then
28570 echo $ECHO_N "(cached) $ECHO_C" >&6
28571 else
28572 cat >conftest.$ac_ext <<_ACEOF
28573 /* confdefs.h. */
28574 _ACEOF
28575 cat confdefs.h >>conftest.$ac_ext
28576 cat >>conftest.$ac_ext <<_ACEOF
28577 /* end confdefs.h. */
28578
28579
28580
28581 #include <tiffio.h>
28582 _ACEOF
28583 rm -f conftest.$ac_objext
28584 if { (ac_try="$ac_compile"
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_compile") 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_objext; then
28600 ac_cv_header_tiffio_h=yes
28601 else
28602 echo "$as_me: failed program was:" >&5
28603 sed 's/^/| /' conftest.$ac_ext >&5
28604
28605 ac_cv_header_tiffio_h=no
28606 fi
28607
28608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28609 fi
28610 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
28611 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
28612 if test $ac_cv_header_tiffio_h = yes; then
28613
28614 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
28615 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
28616 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
28617 echo $ECHO_N "(cached) $ECHO_C" >&6
28618 else
28619 ac_check_lib_save_LIBS=$LIBS
28620 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
28621 cat >conftest.$ac_ext <<_ACEOF
28622 /* confdefs.h. */
28623 _ACEOF
28624 cat confdefs.h >>conftest.$ac_ext
28625 cat >>conftest.$ac_ext <<_ACEOF
28626 /* end confdefs.h. */
28627
28628 /* Override any GCC internal prototype to avoid an error.
28629 Use char because int might match the return type of a GCC
28630 builtin and then its argument prototype would still apply. */
28631 #ifdef __cplusplus
28632 extern "C"
28633 #endif
28634 char TIFFError ();
28635 int
28636 main ()
28637 {
28638 return TIFFError ();
28639 ;
28640 return 0;
28641 }
28642 _ACEOF
28643 rm -f conftest.$ac_objext conftest$ac_exeext
28644 if { (ac_try="$ac_link"
28645 case "(($ac_try" in
28646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28647 *) ac_try_echo=$ac_try;;
28648 esac
28649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28650 (eval "$ac_link") 2>conftest.er1
28651 ac_status=$?
28652 grep -v '^ *+' conftest.er1 >conftest.err
28653 rm -f conftest.er1
28654 cat conftest.err >&5
28655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28656 (exit $ac_status); } && {
28657 test -z "$ac_c_werror_flag" ||
28658 test ! -s conftest.err
28659 } && test -s conftest$ac_exeext &&
28660 $as_test_x conftest$ac_exeext; then
28661 ac_cv_lib_tiff_TIFFError=yes
28662 else
28663 echo "$as_me: failed program was:" >&5
28664 sed 's/^/| /' conftest.$ac_ext >&5
28665
28666 ac_cv_lib_tiff_TIFFError=no
28667 fi
28668
28669 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28670 conftest$ac_exeext conftest.$ac_ext
28671 LIBS=$ac_check_lib_save_LIBS
28672 fi
28673 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
28674 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
28675 if test $ac_cv_lib_tiff_TIFFError = yes; then
28676 TIFF_LINK=" -ltiff"
28677 fi
28678
28679
28680 fi
28681
28682
28683
28684 if test "x$TIFF_LINK" = "x" ; then
28685 if test "$wxUSE_LIBTIFF" = "sys" ; then
28686 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
28687 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
28688 { (exit 1); exit 1; }; }
28689 else
28690 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
28691 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
28692 wxUSE_LIBTIFF=builtin
28693 fi
28694 else
28695 wxUSE_LIBTIFF=sys
28696 fi
28697 fi
28698 if test "$wxUSE_LIBTIFF" = "builtin" ; then
28699 if test "$wxUSE_LIBJPEG" = "no"; then
28700 ac_configure_args="$ac_configure_args --disable-jpeg"
28701 fi
28702 subdirs="$subdirs src/tiff"
28703
28704 fi
28705 fi
28706
28707
28708 if test "$wxUSE_WCHAR_T" != "yes"; then
28709 if test "$wxUSE_EXPAT" != "no"; then
28710 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
28711 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
28712 wxUSE_EXPAT=no
28713 fi
28714 if test "$wxUSE_XML" != "no"; then
28715 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
28716 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
28717 wxUSE_XML=no
28718 fi
28719 fi
28720
28721 if test "$wxUSE_EXPAT" != "no"; then
28722 wxUSE_XML=yes
28723 cat >>confdefs.h <<\_ACEOF
28724 #define wxUSE_EXPAT 1
28725 _ACEOF
28726
28727 cat >>confdefs.h <<\_ACEOF
28728 #define wxUSE_XML 1
28729 _ACEOF
28730
28731
28732 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
28733 { echo "$as_me:$LINENO: checking for expat.h" >&5
28734 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
28735 if test "${ac_cv_header_expat_h+set}" = set; then
28736 echo $ECHO_N "(cached) $ECHO_C" >&6
28737 else
28738 cat >conftest.$ac_ext <<_ACEOF
28739 /* confdefs.h. */
28740 _ACEOF
28741 cat confdefs.h >>conftest.$ac_ext
28742 cat >>conftest.$ac_ext <<_ACEOF
28743 /* end confdefs.h. */
28744
28745
28746 #include <expat.h>
28747 _ACEOF
28748 rm -f conftest.$ac_objext
28749 if { (ac_try="$ac_compile"
28750 case "(($ac_try" in
28751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28752 *) ac_try_echo=$ac_try;;
28753 esac
28754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28755 (eval "$ac_compile") 2>conftest.er1
28756 ac_status=$?
28757 grep -v '^ *+' conftest.er1 >conftest.err
28758 rm -f conftest.er1
28759 cat conftest.err >&5
28760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28761 (exit $ac_status); } && {
28762 test -z "$ac_c_werror_flag" ||
28763 test ! -s conftest.err
28764 } && test -s conftest.$ac_objext; then
28765 ac_cv_header_expat_h=yes
28766 else
28767 echo "$as_me: failed program was:" >&5
28768 sed 's/^/| /' conftest.$ac_ext >&5
28769
28770 ac_cv_header_expat_h=no
28771 fi
28772
28773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28774 fi
28775 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
28776 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
28777 if test $ac_cv_header_expat_h = yes; then
28778 found_expat_h=1
28779 fi
28780
28781
28782 if test "x$found_expat_h" = "x1"; then
28783 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
28784 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
28785 if test "${wx_cv_expat_is_not_broken+set}" = set; then
28786 echo $ECHO_N "(cached) $ECHO_C" >&6
28787 else
28788
28789 ac_ext=cpp
28790 ac_cpp='$CXXCPP $CPPFLAGS'
28791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28794
28795 cat >conftest.$ac_ext <<_ACEOF
28796 /* confdefs.h. */
28797 _ACEOF
28798 cat confdefs.h >>conftest.$ac_ext
28799 cat >>conftest.$ac_ext <<_ACEOF
28800 /* end confdefs.h. */
28801 #include <expat.h>
28802 int
28803 main ()
28804 {
28805
28806 ;
28807 return 0;
28808 }
28809 _ACEOF
28810 rm -f conftest.$ac_objext
28811 if { (ac_try="$ac_compile"
28812 case "(($ac_try" in
28813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28814 *) ac_try_echo=$ac_try;;
28815 esac
28816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28817 (eval "$ac_compile") 2>conftest.er1
28818 ac_status=$?
28819 grep -v '^ *+' conftest.er1 >conftest.err
28820 rm -f conftest.er1
28821 cat conftest.err >&5
28822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28823 (exit $ac_status); } && {
28824 test -z "$ac_cxx_werror_flag" ||
28825 test ! -s conftest.err
28826 } && test -s conftest.$ac_objext; then
28827 wx_cv_expat_is_not_broken=yes
28828 else
28829 echo "$as_me: failed program was:" >&5
28830 sed 's/^/| /' conftest.$ac_ext >&5
28831
28832 wx_cv_expat_is_not_broken=no
28833
28834 fi
28835
28836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28837 ac_ext=c
28838 ac_cpp='$CPP $CPPFLAGS'
28839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28842
28843
28844
28845 fi
28846 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
28847 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
28848 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
28849 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
28850 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
28851 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
28852 echo $ECHO_N "(cached) $ECHO_C" >&6
28853 else
28854 ac_check_lib_save_LIBS=$LIBS
28855 LIBS="-lexpat $LIBS"
28856 cat >conftest.$ac_ext <<_ACEOF
28857 /* confdefs.h. */
28858 _ACEOF
28859 cat confdefs.h >>conftest.$ac_ext
28860 cat >>conftest.$ac_ext <<_ACEOF
28861 /* end confdefs.h. */
28862
28863 /* Override any GCC internal prototype to avoid an error.
28864 Use char because int might match the return type of a GCC
28865 builtin and then its argument prototype would still apply. */
28866 #ifdef __cplusplus
28867 extern "C"
28868 #endif
28869 char XML_ParserCreate ();
28870 int
28871 main ()
28872 {
28873 return XML_ParserCreate ();
28874 ;
28875 return 0;
28876 }
28877 _ACEOF
28878 rm -f conftest.$ac_objext conftest$ac_exeext
28879 if { (ac_try="$ac_link"
28880 case "(($ac_try" in
28881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28882 *) ac_try_echo=$ac_try;;
28883 esac
28884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28885 (eval "$ac_link") 2>conftest.er1
28886 ac_status=$?
28887 grep -v '^ *+' conftest.er1 >conftest.err
28888 rm -f conftest.er1
28889 cat conftest.err >&5
28890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28891 (exit $ac_status); } && {
28892 test -z "$ac_c_werror_flag" ||
28893 test ! -s conftest.err
28894 } && test -s conftest$ac_exeext &&
28895 $as_test_x conftest$ac_exeext; then
28896 ac_cv_lib_expat_XML_ParserCreate=yes
28897 else
28898 echo "$as_me: failed program was:" >&5
28899 sed 's/^/| /' conftest.$ac_ext >&5
28900
28901 ac_cv_lib_expat_XML_ParserCreate=no
28902 fi
28903
28904 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28905 conftest$ac_exeext conftest.$ac_ext
28906 LIBS=$ac_check_lib_save_LIBS
28907 fi
28908 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
28909 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
28910 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
28911 EXPAT_LINK=" -lexpat"
28912 fi
28913
28914 fi
28915 fi
28916 if test "x$EXPAT_LINK" = "x" ; then
28917 if test "$wxUSE_EXPAT" = "sys" ; then
28918 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
28919 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
28920 { (exit 1); exit 1; }; }
28921 else
28922 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
28923 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
28924 wxUSE_EXPAT=builtin
28925 fi
28926 else
28927 wxUSE_EXPAT=sys
28928 fi
28929 fi
28930 if test "$wxUSE_EXPAT" = "builtin" ; then
28931 subdirs="$subdirs src/expat"
28932
28933 fi
28934 fi
28935
28936
28937
28938 if test "$wxUSE_LIBMSPACK" != "no"; then
28939 { echo "$as_me:$LINENO: checking for mspack.h" >&5
28940 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
28941 if test "${ac_cv_header_mspack_h+set}" = set; then
28942 echo $ECHO_N "(cached) $ECHO_C" >&6
28943 else
28944 cat >conftest.$ac_ext <<_ACEOF
28945 /* confdefs.h. */
28946 _ACEOF
28947 cat confdefs.h >>conftest.$ac_ext
28948 cat >>conftest.$ac_ext <<_ACEOF
28949 /* end confdefs.h. */
28950
28951
28952 #include <mspack.h>
28953 _ACEOF
28954 rm -f conftest.$ac_objext
28955 if { (ac_try="$ac_compile"
28956 case "(($ac_try" in
28957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28958 *) ac_try_echo=$ac_try;;
28959 esac
28960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28961 (eval "$ac_compile") 2>conftest.er1
28962 ac_status=$?
28963 grep -v '^ *+' conftest.er1 >conftest.err
28964 rm -f conftest.er1
28965 cat conftest.err >&5
28966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28967 (exit $ac_status); } && {
28968 test -z "$ac_c_werror_flag" ||
28969 test ! -s conftest.err
28970 } && test -s conftest.$ac_objext; then
28971 ac_cv_header_mspack_h=yes
28972 else
28973 echo "$as_me: failed program was:" >&5
28974 sed 's/^/| /' conftest.$ac_ext >&5
28975
28976 ac_cv_header_mspack_h=no
28977 fi
28978
28979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28980 fi
28981 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
28982 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
28983 if test $ac_cv_header_mspack_h = yes; then
28984 found_mspack_h=1
28985 fi
28986
28987
28988 if test "x$found_mspack_h" = "x1"; then
28989 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
28990 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
28991 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
28992 echo $ECHO_N "(cached) $ECHO_C" >&6
28993 else
28994 ac_check_lib_save_LIBS=$LIBS
28995 LIBS="-lmspack $LIBS"
28996 cat >conftest.$ac_ext <<_ACEOF
28997 /* confdefs.h. */
28998 _ACEOF
28999 cat confdefs.h >>conftest.$ac_ext
29000 cat >>conftest.$ac_ext <<_ACEOF
29001 /* end confdefs.h. */
29002
29003 /* Override any GCC internal prototype to avoid an error.
29004 Use char because int might match the return type of a GCC
29005 builtin and then its argument prototype would still apply. */
29006 #ifdef __cplusplus
29007 extern "C"
29008 #endif
29009 char mspack_create_chm_decompressor ();
29010 int
29011 main ()
29012 {
29013 return mspack_create_chm_decompressor ();
29014 ;
29015 return 0;
29016 }
29017 _ACEOF
29018 rm -f conftest.$ac_objext conftest$ac_exeext
29019 if { (ac_try="$ac_link"
29020 case "(($ac_try" in
29021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29022 *) ac_try_echo=$ac_try;;
29023 esac
29024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29025 (eval "$ac_link") 2>conftest.er1
29026 ac_status=$?
29027 grep -v '^ *+' conftest.er1 >conftest.err
29028 rm -f conftest.er1
29029 cat conftest.err >&5
29030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29031 (exit $ac_status); } && {
29032 test -z "$ac_c_werror_flag" ||
29033 test ! -s conftest.err
29034 } && test -s conftest$ac_exeext &&
29035 $as_test_x conftest$ac_exeext; then
29036 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
29037 else
29038 echo "$as_me: failed program was:" >&5
29039 sed 's/^/| /' conftest.$ac_ext >&5
29040
29041 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
29042 fi
29043
29044 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29045 conftest$ac_exeext conftest.$ac_ext
29046 LIBS=$ac_check_lib_save_LIBS
29047 fi
29048 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
29049 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
29050 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
29051 MSPACK_LINK=" -lmspack"
29052 fi
29053
29054 fi
29055 if test "x$MSPACK_LINK" = "x" ; then
29056 wxUSE_LIBMSPACK=no
29057 fi
29058 fi
29059
29060 if test "$wxUSE_LIBMSPACK" != "no"; then
29061 cat >>confdefs.h <<\_ACEOF
29062 #define wxUSE_LIBMSPACK 1
29063 _ACEOF
29064
29065 fi
29066
29067
29068
29069 AFMINSTALL=
29070 WIN32INSTALL=
29071
29072 TOOLKIT=
29073 TOOLKIT_INCLUDE=
29074 WIDGET_SET=
29075
29076 if test "$USE_WIN32" = 1 ; then
29077
29078 for ac_header in w32api.h
29079 do
29080 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29081 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29082 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29083 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29084 echo $ECHO_N "(cached) $ECHO_C" >&6
29085 else
29086 cat >conftest.$ac_ext <<_ACEOF
29087 /* confdefs.h. */
29088 _ACEOF
29089 cat confdefs.h >>conftest.$ac_ext
29090 cat >>conftest.$ac_ext <<_ACEOF
29091 /* end confdefs.h. */
29092
29093
29094 #include <$ac_header>
29095 _ACEOF
29096 rm -f conftest.$ac_objext
29097 if { (ac_try="$ac_compile"
29098 case "(($ac_try" in
29099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29100 *) ac_try_echo=$ac_try;;
29101 esac
29102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29103 (eval "$ac_compile") 2>conftest.er1
29104 ac_status=$?
29105 grep -v '^ *+' conftest.er1 >conftest.err
29106 rm -f conftest.er1
29107 cat conftest.err >&5
29108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29109 (exit $ac_status); } && {
29110 test -z "$ac_c_werror_flag" ||
29111 test ! -s conftest.err
29112 } && test -s conftest.$ac_objext; then
29113 eval "$as_ac_Header=yes"
29114 else
29115 echo "$as_me: failed program was:" >&5
29116 sed 's/^/| /' conftest.$ac_ext >&5
29117
29118 eval "$as_ac_Header=no"
29119 fi
29120
29121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29122 fi
29123 ac_res=`eval echo '${'$as_ac_Header'}'`
29124 { echo "$as_me:$LINENO: result: $ac_res" >&5
29125 echo "${ECHO_T}$ac_res" >&6; }
29126 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29127 cat >>confdefs.h <<_ACEOF
29128 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29129 _ACEOF
29130
29131 fi
29132
29133 done
29134
29135 { echo "$as_me:$LINENO: checking for windows.h" >&5
29136 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
29137 if test "${ac_cv_header_windows_h+set}" = set; then
29138 echo $ECHO_N "(cached) $ECHO_C" >&6
29139 else
29140 cat >conftest.$ac_ext <<_ACEOF
29141 /* confdefs.h. */
29142 _ACEOF
29143 cat confdefs.h >>conftest.$ac_ext
29144 cat >>conftest.$ac_ext <<_ACEOF
29145 /* end confdefs.h. */
29146
29147
29148 #include <windows.h>
29149 _ACEOF
29150 rm -f conftest.$ac_objext
29151 if { (ac_try="$ac_compile"
29152 case "(($ac_try" in
29153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29154 *) ac_try_echo=$ac_try;;
29155 esac
29156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29157 (eval "$ac_compile") 2>conftest.er1
29158 ac_status=$?
29159 grep -v '^ *+' conftest.er1 >conftest.err
29160 rm -f conftest.er1
29161 cat conftest.err >&5
29162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29163 (exit $ac_status); } && {
29164 test -z "$ac_c_werror_flag" ||
29165 test ! -s conftest.err
29166 } && test -s conftest.$ac_objext; then
29167 ac_cv_header_windows_h=yes
29168 else
29169 echo "$as_me: failed program was:" >&5
29170 sed 's/^/| /' conftest.$ac_ext >&5
29171
29172 ac_cv_header_windows_h=no
29173 fi
29174
29175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29176 fi
29177 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
29178 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
29179 if test $ac_cv_header_windows_h = yes; then
29180 :
29181 else
29182
29183 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
29184 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
29185 { (exit 1); exit 1; }; }
29186
29187 fi
29188
29189
29190
29191 case "${host}" in
29192 x86_64-*-mingw32* )
29193 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
29194
29195 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
29196 ;;
29197 * )
29198 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
29199 ;;
29200 esac
29201 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
29202 LIBS="$LIBS -loleacc"
29203 fi
29204
29205 case "${host}" in
29206 *-*-cygwin* )
29207 LIBS="$LIBS -lkernel32 -luser32"
29208 esac
29209
29210 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
29211 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
29212
29213 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
29214
29215 WIN32INSTALL=win32install
29216
29217 { echo "$as_me:$LINENO: checking for pbt.h" >&5
29218 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
29219 if test "${ac_cv_header_pbt_h+set}" = set; then
29220 echo $ECHO_N "(cached) $ECHO_C" >&6
29221 else
29222 cat >conftest.$ac_ext <<_ACEOF
29223 /* confdefs.h. */
29224 _ACEOF
29225 cat confdefs.h >>conftest.$ac_ext
29226 cat >>conftest.$ac_ext <<_ACEOF
29227 /* end confdefs.h. */
29228
29229
29230 #include <pbt.h>
29231 _ACEOF
29232 rm -f conftest.$ac_objext
29233 if { (ac_try="$ac_compile"
29234 case "(($ac_try" in
29235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29236 *) ac_try_echo=$ac_try;;
29237 esac
29238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29239 (eval "$ac_compile") 2>conftest.er1
29240 ac_status=$?
29241 grep -v '^ *+' conftest.er1 >conftest.err
29242 rm -f conftest.er1
29243 cat conftest.err >&5
29244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29245 (exit $ac_status); } && {
29246 test -z "$ac_c_werror_flag" ||
29247 test ! -s conftest.err
29248 } && test -s conftest.$ac_objext; then
29249 ac_cv_header_pbt_h=yes
29250 else
29251 echo "$as_me: failed program was:" >&5
29252 sed 's/^/| /' conftest.$ac_ext >&5
29253
29254 ac_cv_header_pbt_h=no
29255 fi
29256
29257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29258 fi
29259 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
29260 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
29261 if test $ac_cv_header_pbt_h = yes; then
29262 :
29263 else
29264 cat >>confdefs.h <<\_ACEOF
29265 #define NEED_PBT_H 1
29266 _ACEOF
29267
29268 fi
29269
29270
29271 fi
29272
29273 if test "$wxUSE_GUI" = "yes"; then
29274 USE_GUI=1
29275
29276 GUI_TK_LIBRARY=
29277
29278 WXGTK12=
29279 WXGTK127=
29280 WXGTK2=
29281 WXGPE=
29282
29283 if test "$wxUSE_OLD_COCOA" = 1 ; then
29284 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
29285 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
29286 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
29287 wxUSE_PRINTING_ARCHITECTURE=no
29288 fi
29289 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
29290 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
29291 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
29292 wxUSE_DRAG_AND_DROP=no
29293 fi
29294 if test "$wxUSE_DRAGIMAGE" = "yes"; then
29295 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
29296 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
29297 wxUSE_DRAGIMAGE=no
29298 fi
29299 fi
29300
29301 if test "$wxUSE_MSW" = 1 ; then
29302 TOOLKIT=MSW
29303 GUIDIST=MSW_DIST
29304
29305 case "${host}" in
29306 *-*-mingw32* )
29307 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
29308 esac
29309 fi
29310
29311 if test "$wxUSE_GTK" = 1; then
29312 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
29313 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
29314
29315 gtk_version_cached=1
29316 if test "${wx_cv_lib_gtk+set}" = set; then
29317 echo $ECHO_N "(cached) $ECHO_C" >&6
29318 else
29319
29320 gtk_version_cached=0
29321 { echo "$as_me:$LINENO: result: " >&5
29322 echo "${ECHO_T}" >&6; }
29323
29324 GTK_MODULES=
29325 if test "$wxUSE_THREADS" = "yes"; then
29326 GTK_MODULES=gthread
29327 fi
29328
29329 wx_cv_lib_gtk=
29330 if test "x$wxGTK_VERSION" != "x1"
29331 then
29332 case "${host}" in
29333 *-*-solaris2* )
29334 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
29335 enable_gtktest=no
29336 fi
29337 esac
29338
29339 # Check whether --enable-gtktest was given.
29340 if test "${enable_gtktest+set}" = set; then
29341 enableval=$enable_gtktest;
29342 else
29343 enable_gtktest=yes
29344 fi
29345
29346
29347 pkg_config_args=gtk+-2.0
29348 for module in . $GTK_MODULES
29349 do
29350 case "$module" in
29351 gthread)
29352 pkg_config_args="$pkg_config_args gthread-2.0"
29353 ;;
29354 esac
29355 done
29356
29357 no_gtk=""
29358
29359 # Extract the first word of "pkg-config", so it can be a program name with args.
29360 set dummy pkg-config; ac_word=$2
29361 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29362 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29363 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29364 echo $ECHO_N "(cached) $ECHO_C" >&6
29365 else
29366 case $PKG_CONFIG in
29367 [\\/]* | ?:[\\/]*)
29368 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29369 ;;
29370 *)
29371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29372 for as_dir in $PATH
29373 do
29374 IFS=$as_save_IFS
29375 test -z "$as_dir" && as_dir=.
29376 for ac_exec_ext in '' $ac_executable_extensions; do
29377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29378 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29379 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29380 break 2
29381 fi
29382 done
29383 done
29384 IFS=$as_save_IFS
29385
29386 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
29387 ;;
29388 esac
29389 fi
29390 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29391 if test -n "$PKG_CONFIG"; then
29392 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29393 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29394 else
29395 { echo "$as_me:$LINENO: result: no" >&5
29396 echo "${ECHO_T}no" >&6; }
29397 fi
29398
29399
29400
29401 if test x$PKG_CONFIG != xno ; then
29402 if pkg-config --atleast-pkgconfig-version 0.7 ; then
29403 :
29404 else
29405 echo "*** pkg-config too old; version 0.7 or better required."
29406 no_gtk=yes
29407 PKG_CONFIG=no
29408 fi
29409 else
29410 no_gtk=yes
29411 fi
29412
29413 min_gtk_version=2.4.0
29414 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
29415 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
29416
29417 if test x$PKG_CONFIG != xno ; then
29418 ## don't try to run the test against uninstalled libtool libs
29419 if $PKG_CONFIG --uninstalled $pkg_config_args; then
29420 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
29421 enable_gtktest=no
29422 fi
29423
29424 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
29425 :
29426 else
29427 no_gtk=yes
29428 fi
29429 fi
29430
29431 if test x"$no_gtk" = x ; then
29432 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
29433 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
29434 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29435 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29436 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29437 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29438 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29439 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29440 if test "x$enable_gtktest" = "xyes" ; then
29441 ac_save_CFLAGS="$CFLAGS"
29442 ac_save_LIBS="$LIBS"
29443 CFLAGS="$CFLAGS $GTK_CFLAGS"
29444 LIBS="$GTK_LIBS $LIBS"
29445 rm -f conf.gtktest
29446 if test "$cross_compiling" = yes; then
29447 echo $ac_n "cross compiling; assumed OK... $ac_c"
29448 else
29449 cat >conftest.$ac_ext <<_ACEOF
29450 /* confdefs.h. */
29451 _ACEOF
29452 cat confdefs.h >>conftest.$ac_ext
29453 cat >>conftest.$ac_ext <<_ACEOF
29454 /* end confdefs.h. */
29455
29456 #include <gtk/gtk.h>
29457 #include <stdio.h>
29458 #include <stdlib.h>
29459
29460 int
29461 main ()
29462 {
29463 int major, minor, micro;
29464 char *tmp_version;
29465
29466 system ("touch conf.gtktest");
29467
29468 /* HP/UX 9 (%@#!) writes to sscanf strings */
29469 tmp_version = g_strdup("$min_gtk_version");
29470 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29471 printf("%s, bad version string\n", "$min_gtk_version");
29472 exit(1);
29473 }
29474
29475 if ((gtk_major_version != $gtk_config_major_version) ||
29476 (gtk_minor_version != $gtk_config_minor_version) ||
29477 (gtk_micro_version != $gtk_config_micro_version))
29478 {
29479 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29480 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29481 gtk_major_version, gtk_minor_version, gtk_micro_version);
29482 printf ("*** was found! If pkg-config was correct, then it is best\n");
29483 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29484 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29485 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29486 printf("*** required on your system.\n");
29487 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
29488 printf("*** to point to the correct configuration files\n");
29489 }
29490 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29491 (gtk_minor_version != GTK_MINOR_VERSION) ||
29492 (gtk_micro_version != GTK_MICRO_VERSION))
29493 {
29494 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29495 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29496 printf("*** library (version %d.%d.%d)\n",
29497 gtk_major_version, gtk_minor_version, gtk_micro_version);
29498 }
29499 else
29500 {
29501 if ((gtk_major_version > major) ||
29502 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29503 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29504 {
29505 return 0;
29506 }
29507 else
29508 {
29509 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29510 gtk_major_version, gtk_minor_version, gtk_micro_version);
29511 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29512 major, minor, micro);
29513 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29514 printf("***\n");
29515 printf("*** If you have already installed a sufficiently new version, this error\n");
29516 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
29517 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29518 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
29519 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
29520 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29521 printf("*** so that the correct libraries are found at run-time))\n");
29522 }
29523 }
29524 return 1;
29525 }
29526
29527 _ACEOF
29528 rm -f conftest$ac_exeext
29529 if { (ac_try="$ac_link"
29530 case "(($ac_try" in
29531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29532 *) ac_try_echo=$ac_try;;
29533 esac
29534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29535 (eval "$ac_link") 2>&5
29536 ac_status=$?
29537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29538 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29539 { (case "(($ac_try" in
29540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29541 *) ac_try_echo=$ac_try;;
29542 esac
29543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29544 (eval "$ac_try") 2>&5
29545 ac_status=$?
29546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29547 (exit $ac_status); }; }; then
29548 :
29549 else
29550 echo "$as_me: program exited with status $ac_status" >&5
29551 echo "$as_me: failed program was:" >&5
29552 sed 's/^/| /' conftest.$ac_ext >&5
29553
29554 ( exit $ac_status )
29555 no_gtk=yes
29556 fi
29557 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29558 fi
29559
29560
29561 CFLAGS="$ac_save_CFLAGS"
29562 LIBS="$ac_save_LIBS"
29563 fi
29564 fi
29565 if test "x$no_gtk" = x ; then
29566 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
29567 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
29568 wx_cv_lib_gtk=2.0
29569 else
29570 { echo "$as_me:$LINENO: result: no" >&5
29571 echo "${ECHO_T}no" >&6; }
29572 if test "$PKG_CONFIG" = "no" ; then
29573 echo "*** A new enough version of pkg-config was not found."
29574 echo "*** See http://pkgconfig.sourceforge.net"
29575 else
29576 if test -f conf.gtktest ; then
29577 :
29578 else
29579 echo "*** Could not run GTK+ test program, checking why..."
29580 ac_save_CFLAGS="$CFLAGS"
29581 ac_save_LIBS="$LIBS"
29582 CFLAGS="$CFLAGS $GTK_CFLAGS"
29583 LIBS="$LIBS $GTK_LIBS"
29584 cat >conftest.$ac_ext <<_ACEOF
29585 /* confdefs.h. */
29586 _ACEOF
29587 cat confdefs.h >>conftest.$ac_ext
29588 cat >>conftest.$ac_ext <<_ACEOF
29589 /* end confdefs.h. */
29590
29591 #include <gtk/gtk.h>
29592 #include <stdio.h>
29593
29594 int
29595 main ()
29596 {
29597 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29598 ;
29599 return 0;
29600 }
29601 _ACEOF
29602 rm -f conftest.$ac_objext conftest$ac_exeext
29603 if { (ac_try="$ac_link"
29604 case "(($ac_try" in
29605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29606 *) ac_try_echo=$ac_try;;
29607 esac
29608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29609 (eval "$ac_link") 2>conftest.er1
29610 ac_status=$?
29611 grep -v '^ *+' conftest.er1 >conftest.err
29612 rm -f conftest.er1
29613 cat conftest.err >&5
29614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29615 (exit $ac_status); } && {
29616 test -z "$ac_c_werror_flag" ||
29617 test ! -s conftest.err
29618 } && test -s conftest$ac_exeext &&
29619 $as_test_x conftest$ac_exeext; then
29620 echo "*** The test program compiled, but did not run. This usually means"
29621 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
29622 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
29623 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29624 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29625 echo "*** is required on your system"
29626 echo "***"
29627 echo "*** If you have an old version installed, it is best to remove it, although"
29628 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29629 else
29630 echo "$as_me: failed program was:" >&5
29631 sed 's/^/| /' conftest.$ac_ext >&5
29632
29633 echo "*** The test program failed to compile or link. See the file config.log for the"
29634 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
29635 fi
29636
29637 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29638 conftest$ac_exeext conftest.$ac_ext
29639 CFLAGS="$ac_save_CFLAGS"
29640 LIBS="$ac_save_LIBS"
29641 fi
29642 fi
29643 GTK_CFLAGS=""
29644 GTK_LIBS=""
29645 :
29646 fi
29647
29648
29649 rm -f conf.gtktest
29650
29651
29652 case "${host}" in
29653 *-*-solaris2* )
29654 if test "$wxUSE_SHARED" != "yes"; then
29655 GTK_LIBS="$GTK_LIBS -lX11"
29656 fi
29657 esac
29658 fi
29659
29660 if test -z "$wx_cv_lib_gtk"; then
29661 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
29662
29663 # Check whether --with-gtk-prefix was given.
29664 if test "${with_gtk_prefix+set}" = set; then
29665 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29666 else
29667 gtk_config_prefix=""
29668 fi
29669
29670
29671 # Check whether --with-gtk-exec-prefix was given.
29672 if test "${with_gtk_exec_prefix+set}" = set; then
29673 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29674 else
29675 gtk_config_exec_prefix=""
29676 fi
29677
29678 # Check whether --enable-gtktest was given.
29679 if test "${enable_gtktest+set}" = set; then
29680 enableval=$enable_gtktest;
29681 else
29682 enable_gtktest=yes
29683 fi
29684
29685
29686 for module in . $GTK_MODULES
29687 do
29688 case "$module" in
29689 gthread)
29690 gtk_config_args="$gtk_config_args gthread"
29691 ;;
29692 esac
29693 done
29694
29695 if test x$gtk_config_exec_prefix != x ; then
29696 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29697 if test x${GTK_CONFIG+set} != xset ; then
29698 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29699 fi
29700 fi
29701 if test x$gtk_config_prefix != x ; then
29702 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29703 if test x${GTK_CONFIG+set} != xset ; then
29704 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29705 fi
29706 fi
29707
29708 # Extract the first word of "gtk-config", so it can be a program name with args.
29709 set dummy gtk-config; ac_word=$2
29710 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29711 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29712 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29713 echo $ECHO_N "(cached) $ECHO_C" >&6
29714 else
29715 case $GTK_CONFIG in
29716 [\\/]* | ?:[\\/]*)
29717 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29718 ;;
29719 *)
29720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29721 for as_dir in $PATH
29722 do
29723 IFS=$as_save_IFS
29724 test -z "$as_dir" && as_dir=.
29725 for ac_exec_ext in '' $ac_executable_extensions; do
29726 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29727 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29728 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29729 break 2
29730 fi
29731 done
29732 done
29733 IFS=$as_save_IFS
29734
29735 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29736 ;;
29737 esac
29738 fi
29739 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29740 if test -n "$GTK_CONFIG"; then
29741 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29742 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29743 else
29744 { echo "$as_me:$LINENO: result: no" >&5
29745 echo "${ECHO_T}no" >&6; }
29746 fi
29747
29748
29749 min_gtk_version=1.2.7
29750 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29751 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
29752 no_gtk=""
29753 if test "$GTK_CONFIG" = "no" ; then
29754 no_gtk=yes
29755 else
29756 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29757 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29758 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29759 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29760 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29761 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29762 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29763 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29764 if test "x$enable_gtktest" = "xyes" ; then
29765 ac_save_CFLAGS="$CFLAGS"
29766 ac_save_LIBS="$LIBS"
29767 CFLAGS="$CFLAGS $GTK_CFLAGS"
29768 LIBS="$GTK_LIBS $LIBS"
29769 rm -f conf.gtktest
29770 if test "$cross_compiling" = yes; then
29771 echo $ac_n "cross compiling; assumed OK... $ac_c"
29772 else
29773 cat >conftest.$ac_ext <<_ACEOF
29774 /* confdefs.h. */
29775 _ACEOF
29776 cat confdefs.h >>conftest.$ac_ext
29777 cat >>conftest.$ac_ext <<_ACEOF
29778 /* end confdefs.h. */
29779
29780 #include <gtk/gtk.h>
29781 #include <stdio.h>
29782 #include <stdlib.h>
29783
29784 int
29785 main ()
29786 {
29787 int major, minor, micro;
29788 char *tmp_version;
29789
29790 system ("touch conf.gtktest");
29791
29792 /* HP/UX 9 (%@#!) writes to sscanf strings */
29793 tmp_version = g_strdup("$min_gtk_version");
29794 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29795 printf("%s, bad version string\n", "$min_gtk_version");
29796 exit(1);
29797 }
29798
29799 if ((gtk_major_version != $gtk_config_major_version) ||
29800 (gtk_minor_version != $gtk_config_minor_version) ||
29801 (gtk_micro_version != $gtk_config_micro_version))
29802 {
29803 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29804 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29805 gtk_major_version, gtk_minor_version, gtk_micro_version);
29806 printf ("*** was found! If gtk-config was correct, then it is best\n");
29807 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29808 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29809 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29810 printf("*** required on your system.\n");
29811 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29812 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29813 printf("*** before re-running configure\n");
29814 }
29815 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29816 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29817 (gtk_minor_version != GTK_MINOR_VERSION) ||
29818 (gtk_micro_version != GTK_MICRO_VERSION))
29819 {
29820 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29821 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29822 printf("*** library (version %d.%d.%d)\n",
29823 gtk_major_version, gtk_minor_version, gtk_micro_version);
29824 }
29825 #endif /* defined (GTK_MAJOR_VERSION) ... */
29826 else
29827 {
29828 if ((gtk_major_version > major) ||
29829 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29830 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29831 {
29832 return 0;
29833 }
29834 else
29835 {
29836 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29837 gtk_major_version, gtk_minor_version, gtk_micro_version);
29838 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29839 major, minor, micro);
29840 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29841 printf("***\n");
29842 printf("*** If you have already installed a sufficiently new version, this error\n");
29843 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29844 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29845 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29846 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29847 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29848 printf("*** so that the correct libraries are found at run-time))\n");
29849 }
29850 }
29851 return 1;
29852 }
29853
29854 _ACEOF
29855 rm -f conftest$ac_exeext
29856 if { (ac_try="$ac_link"
29857 case "(($ac_try" in
29858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29859 *) ac_try_echo=$ac_try;;
29860 esac
29861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29862 (eval "$ac_link") 2>&5
29863 ac_status=$?
29864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29865 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29866 { (case "(($ac_try" in
29867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29868 *) ac_try_echo=$ac_try;;
29869 esac
29870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29871 (eval "$ac_try") 2>&5
29872 ac_status=$?
29873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29874 (exit $ac_status); }; }; then
29875 :
29876 else
29877 echo "$as_me: program exited with status $ac_status" >&5
29878 echo "$as_me: failed program was:" >&5
29879 sed 's/^/| /' conftest.$ac_ext >&5
29880
29881 ( exit $ac_status )
29882 no_gtk=yes
29883 fi
29884 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29885 fi
29886
29887
29888 CFLAGS="$ac_save_CFLAGS"
29889 LIBS="$ac_save_LIBS"
29890 fi
29891 fi
29892 if test "x$no_gtk" = x ; then
29893 { echo "$as_me:$LINENO: result: yes" >&5
29894 echo "${ECHO_T}yes" >&6; }
29895 wx_cv_lib_gtk=1.2.7
29896 else
29897 { echo "$as_me:$LINENO: result: no" >&5
29898 echo "${ECHO_T}no" >&6; }
29899 if test "$GTK_CONFIG" = "no" ; then
29900 echo "*** The gtk-config script installed by GTK could not be found"
29901 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29902 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29903 echo "*** full path to gtk-config."
29904 else
29905 if test -f conf.gtktest ; then
29906 :
29907 else
29908 echo "*** Could not run GTK test program, checking why..."
29909 CFLAGS="$CFLAGS $GTK_CFLAGS"
29910 LIBS="$LIBS $GTK_LIBS"
29911 cat >conftest.$ac_ext <<_ACEOF
29912 /* confdefs.h. */
29913 _ACEOF
29914 cat confdefs.h >>conftest.$ac_ext
29915 cat >>conftest.$ac_ext <<_ACEOF
29916 /* end confdefs.h. */
29917
29918 #include <gtk/gtk.h>
29919 #include <stdio.h>
29920
29921 int
29922 main ()
29923 {
29924 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29925 ;
29926 return 0;
29927 }
29928 _ACEOF
29929 rm -f conftest.$ac_objext conftest$ac_exeext
29930 if { (ac_try="$ac_link"
29931 case "(($ac_try" in
29932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29933 *) ac_try_echo=$ac_try;;
29934 esac
29935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29936 (eval "$ac_link") 2>conftest.er1
29937 ac_status=$?
29938 grep -v '^ *+' conftest.er1 >conftest.err
29939 rm -f conftest.er1
29940 cat conftest.err >&5
29941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29942 (exit $ac_status); } && {
29943 test -z "$ac_c_werror_flag" ||
29944 test ! -s conftest.err
29945 } && test -s conftest$ac_exeext &&
29946 $as_test_x conftest$ac_exeext; then
29947 echo "*** The test program compiled, but did not run. This usually means"
29948 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29949 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29950 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29951 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29952 echo "*** is required on your system"
29953 echo "***"
29954 echo "*** If you have an old version installed, it is best to remove it, although"
29955 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29956 echo "***"
29957 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29958 echo "*** came with the system with the command"
29959 echo "***"
29960 echo "*** rpm --erase --nodeps gtk gtk-devel"
29961 else
29962 echo "$as_me: failed program was:" >&5
29963 sed 's/^/| /' conftest.$ac_ext >&5
29964
29965 echo "*** The test program failed to compile or link. See the file config.log for the"
29966 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29967 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29968 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29969 fi
29970
29971 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29972 conftest$ac_exeext conftest.$ac_ext
29973 CFLAGS="$ac_save_CFLAGS"
29974 LIBS="$ac_save_LIBS"
29975 fi
29976 fi
29977 GTK_CFLAGS=""
29978 GTK_LIBS=""
29979 :
29980 fi
29981
29982
29983 rm -f conf.gtktest
29984
29985
29986 if test -z "$wx_cv_lib_gtk"; then
29987
29988 # Check whether --with-gtk-prefix was given.
29989 if test "${with_gtk_prefix+set}" = set; then
29990 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29991 else
29992 gtk_config_prefix=""
29993 fi
29994
29995
29996 # Check whether --with-gtk-exec-prefix was given.
29997 if test "${with_gtk_exec_prefix+set}" = set; then
29998 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29999 else
30000 gtk_config_exec_prefix=""
30001 fi
30002
30003 # Check whether --enable-gtktest was given.
30004 if test "${enable_gtktest+set}" = set; then
30005 enableval=$enable_gtktest;
30006 else
30007 enable_gtktest=yes
30008 fi
30009
30010
30011 for module in . $GTK_MODULES
30012 do
30013 case "$module" in
30014 gthread)
30015 gtk_config_args="$gtk_config_args gthread"
30016 ;;
30017 esac
30018 done
30019
30020 if test x$gtk_config_exec_prefix != x ; then
30021 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30022 if test x${GTK_CONFIG+set} != xset ; then
30023 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30024 fi
30025 fi
30026 if test x$gtk_config_prefix != x ; then
30027 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30028 if test x${GTK_CONFIG+set} != xset ; then
30029 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30030 fi
30031 fi
30032
30033 # Extract the first word of "gtk-config", so it can be a program name with args.
30034 set dummy gtk-config; ac_word=$2
30035 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30036 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30037 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30038 echo $ECHO_N "(cached) $ECHO_C" >&6
30039 else
30040 case $GTK_CONFIG in
30041 [\\/]* | ?:[\\/]*)
30042 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30043 ;;
30044 *)
30045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30046 for as_dir in $PATH
30047 do
30048 IFS=$as_save_IFS
30049 test -z "$as_dir" && as_dir=.
30050 for ac_exec_ext in '' $ac_executable_extensions; do
30051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30052 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30053 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30054 break 2
30055 fi
30056 done
30057 done
30058 IFS=$as_save_IFS
30059
30060 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30061 ;;
30062 esac
30063 fi
30064 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30065 if test -n "$GTK_CONFIG"; then
30066 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30067 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30068 else
30069 { echo "$as_me:$LINENO: result: no" >&5
30070 echo "${ECHO_T}no" >&6; }
30071 fi
30072
30073
30074 min_gtk_version=1.2.3
30075 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30076 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30077 no_gtk=""
30078 if test "$GTK_CONFIG" = "no" ; then
30079 no_gtk=yes
30080 else
30081 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30082 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30083 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30084 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30085 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30086 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30087 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30088 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30089 if test "x$enable_gtktest" = "xyes" ; then
30090 ac_save_CFLAGS="$CFLAGS"
30091 ac_save_LIBS="$LIBS"
30092 CFLAGS="$CFLAGS $GTK_CFLAGS"
30093 LIBS="$GTK_LIBS $LIBS"
30094 rm -f conf.gtktest
30095 if test "$cross_compiling" = yes; then
30096 echo $ac_n "cross compiling; assumed OK... $ac_c"
30097 else
30098 cat >conftest.$ac_ext <<_ACEOF
30099 /* confdefs.h. */
30100 _ACEOF
30101 cat confdefs.h >>conftest.$ac_ext
30102 cat >>conftest.$ac_ext <<_ACEOF
30103 /* end confdefs.h. */
30104
30105 #include <gtk/gtk.h>
30106 #include <stdio.h>
30107 #include <stdlib.h>
30108
30109 int
30110 main ()
30111 {
30112 int major, minor, micro;
30113 char *tmp_version;
30114
30115 system ("touch conf.gtktest");
30116
30117 /* HP/UX 9 (%@#!) writes to sscanf strings */
30118 tmp_version = g_strdup("$min_gtk_version");
30119 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30120 printf("%s, bad version string\n", "$min_gtk_version");
30121 exit(1);
30122 }
30123
30124 if ((gtk_major_version != $gtk_config_major_version) ||
30125 (gtk_minor_version != $gtk_config_minor_version) ||
30126 (gtk_micro_version != $gtk_config_micro_version))
30127 {
30128 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30129 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30130 gtk_major_version, gtk_minor_version, gtk_micro_version);
30131 printf ("*** was found! If gtk-config was correct, then it is best\n");
30132 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30133 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30134 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30135 printf("*** required on your system.\n");
30136 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30137 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30138 printf("*** before re-running configure\n");
30139 }
30140 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30141 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30142 (gtk_minor_version != GTK_MINOR_VERSION) ||
30143 (gtk_micro_version != GTK_MICRO_VERSION))
30144 {
30145 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30146 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30147 printf("*** library (version %d.%d.%d)\n",
30148 gtk_major_version, gtk_minor_version, gtk_micro_version);
30149 }
30150 #endif /* defined (GTK_MAJOR_VERSION) ... */
30151 else
30152 {
30153 if ((gtk_major_version > major) ||
30154 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30155 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30156 {
30157 return 0;
30158 }
30159 else
30160 {
30161 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30162 gtk_major_version, gtk_minor_version, gtk_micro_version);
30163 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30164 major, minor, micro);
30165 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30166 printf("***\n");
30167 printf("*** If you have already installed a sufficiently new version, this error\n");
30168 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30169 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30170 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30171 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30172 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30173 printf("*** so that the correct libraries are found at run-time))\n");
30174 }
30175 }
30176 return 1;
30177 }
30178
30179 _ACEOF
30180 rm -f conftest$ac_exeext
30181 if { (ac_try="$ac_link"
30182 case "(($ac_try" in
30183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30184 *) ac_try_echo=$ac_try;;
30185 esac
30186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30187 (eval "$ac_link") 2>&5
30188 ac_status=$?
30189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30190 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30191 { (case "(($ac_try" in
30192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30193 *) ac_try_echo=$ac_try;;
30194 esac
30195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30196 (eval "$ac_try") 2>&5
30197 ac_status=$?
30198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30199 (exit $ac_status); }; }; then
30200 :
30201 else
30202 echo "$as_me: program exited with status $ac_status" >&5
30203 echo "$as_me: failed program was:" >&5
30204 sed 's/^/| /' conftest.$ac_ext >&5
30205
30206 ( exit $ac_status )
30207 no_gtk=yes
30208 fi
30209 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30210 fi
30211
30212
30213 CFLAGS="$ac_save_CFLAGS"
30214 LIBS="$ac_save_LIBS"
30215 fi
30216 fi
30217 if test "x$no_gtk" = x ; then
30218 { echo "$as_me:$LINENO: result: yes" >&5
30219 echo "${ECHO_T}yes" >&6; }
30220 wx_cv_lib_gtk=1.2.3
30221 else
30222 { echo "$as_me:$LINENO: result: no" >&5
30223 echo "${ECHO_T}no" >&6; }
30224 if test "$GTK_CONFIG" = "no" ; then
30225 echo "*** The gtk-config script installed by GTK could not be found"
30226 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30227 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30228 echo "*** full path to gtk-config."
30229 else
30230 if test -f conf.gtktest ; then
30231 :
30232 else
30233 echo "*** Could not run GTK test program, checking why..."
30234 CFLAGS="$CFLAGS $GTK_CFLAGS"
30235 LIBS="$LIBS $GTK_LIBS"
30236 cat >conftest.$ac_ext <<_ACEOF
30237 /* confdefs.h. */
30238 _ACEOF
30239 cat confdefs.h >>conftest.$ac_ext
30240 cat >>conftest.$ac_ext <<_ACEOF
30241 /* end confdefs.h. */
30242
30243 #include <gtk/gtk.h>
30244 #include <stdio.h>
30245
30246 int
30247 main ()
30248 {
30249 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30250 ;
30251 return 0;
30252 }
30253 _ACEOF
30254 rm -f conftest.$ac_objext conftest$ac_exeext
30255 if { (ac_try="$ac_link"
30256 case "(($ac_try" in
30257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30258 *) ac_try_echo=$ac_try;;
30259 esac
30260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30261 (eval "$ac_link") 2>conftest.er1
30262 ac_status=$?
30263 grep -v '^ *+' conftest.er1 >conftest.err
30264 rm -f conftest.er1
30265 cat conftest.err >&5
30266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30267 (exit $ac_status); } && {
30268 test -z "$ac_c_werror_flag" ||
30269 test ! -s conftest.err
30270 } && test -s conftest$ac_exeext &&
30271 $as_test_x conftest$ac_exeext; then
30272 echo "*** The test program compiled, but did not run. This usually means"
30273 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30274 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30275 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30276 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30277 echo "*** is required on your system"
30278 echo "***"
30279 echo "*** If you have an old version installed, it is best to remove it, although"
30280 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30281 echo "***"
30282 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30283 echo "*** came with the system with the command"
30284 echo "***"
30285 echo "*** rpm --erase --nodeps gtk gtk-devel"
30286 else
30287 echo "$as_me: failed program was:" >&5
30288 sed 's/^/| /' conftest.$ac_ext >&5
30289
30290 echo "*** The test program failed to compile or link. See the file config.log for the"
30291 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30292 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30293 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30294 fi
30295
30296 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30297 conftest$ac_exeext conftest.$ac_ext
30298 CFLAGS="$ac_save_CFLAGS"
30299 LIBS="$ac_save_LIBS"
30300 fi
30301 fi
30302 GTK_CFLAGS=""
30303 GTK_LIBS=""
30304 :
30305 fi
30306
30307
30308 rm -f conf.gtktest
30309
30310 fi
30311 fi
30312 fi
30313
30314 if test -z "$wx_cv_lib_gtk"; then
30315 wx_cv_lib_gtk=none
30316 else
30317 wx_cv_cflags_gtk=$GTK_CFLAGS
30318 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
30319 fi
30320
30321
30322 fi
30323
30324
30325 if test "$gtk_version_cached" = 1; then
30326 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
30327 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
30328 fi
30329
30330 case "$wx_cv_lib_gtk" in
30331 2.0) WXGTK2=1
30332 TOOLKIT_VERSION=2
30333 ;;
30334 1.2.7) WXGTK127=1
30335 WXGTK12=1
30336 ;;
30337 1.2.3) WXGTK12=1
30338 ;;
30339 *) { { echo "$as_me:$LINENO: error:
30340 The development files for GTK+ were not found. For GTK+ 2, please
30341 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30342 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30343 and that the version is 1.2.3 or above. Also check that the
30344 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30345 --libs' are in the LD_LIBRARY_PATH or equivalent.
30346 " >&5
30347 echo "$as_me: error:
30348 The development files for GTK+ were not found. For GTK+ 2, please
30349 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30350 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30351 and that the version is 1.2.3 or above. Also check that the
30352 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30353 --libs' are in the LD_LIBRARY_PATH or equivalent.
30354 " >&2;}
30355 { (exit 1); exit 1; }; }
30356 ;;
30357 esac
30358
30359 if test "$WXGTK2" = 1; then
30360 save_CFLAGS="$CFLAGS"
30361 save_LIBS="$LIBS"
30362 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
30363 LIBS="$LIBS $wx_cv_libs_gtk"
30364
30365 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.18" >&5
30366 echo $ECHO_N "checking if GTK+ is version >= 2.18... $ECHO_C" >&6; }
30367 cat >conftest.$ac_ext <<_ACEOF
30368 /* confdefs.h. */
30369 _ACEOF
30370 cat confdefs.h >>conftest.$ac_ext
30371 cat >>conftest.$ac_ext <<_ACEOF
30372 /* end confdefs.h. */
30373
30374 #include <gtk/gtk.h>
30375
30376 int
30377 main ()
30378 {
30379
30380 #if !GTK_CHECK_VERSION(2,18,0)
30381 Not GTK+ 2.18
30382 #endif
30383
30384 ;
30385 return 0;
30386 }
30387 _ACEOF
30388 rm -f conftest.$ac_objext
30389 if { (ac_try="$ac_compile"
30390 case "(($ac_try" in
30391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30392 *) ac_try_echo=$ac_try;;
30393 esac
30394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30395 (eval "$ac_compile") 2>conftest.er1
30396 ac_status=$?
30397 grep -v '^ *+' conftest.er1 >conftest.err
30398 rm -f conftest.er1
30399 cat conftest.err >&5
30400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30401 (exit $ac_status); } && {
30402 test -z "$ac_c_werror_flag" ||
30403 test ! -s conftest.err
30404 } && test -s conftest.$ac_objext; then
30405
30406 cat >>confdefs.h <<\_ACEOF
30407 #define __WXGTK218__ 1
30408 _ACEOF
30409
30410 cat >>confdefs.h <<\_ACEOF
30411 #define __WXGTK210__ 1
30412 _ACEOF
30413
30414 cat >>confdefs.h <<\_ACEOF
30415 #define __WXGTK26__ 1
30416 _ACEOF
30417
30418 { echo "$as_me:$LINENO: result: yes" >&5
30419 echo "${ECHO_T}yes" >&6; }
30420 ac_wxgtk218=1
30421
30422 else
30423 echo "$as_me: failed program was:" >&5
30424 sed 's/^/| /' conftest.$ac_ext >&5
30425
30426
30427 { echo "$as_me:$LINENO: result: no" >&5
30428 echo "${ECHO_T}no" >&6; }
30429 ac_wxgtk218=0
30430
30431 fi
30432
30433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30434
30435 if test "$ac_wxgtk218" = 0; then
30436 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
30437 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
30438 cat >conftest.$ac_ext <<_ACEOF
30439 /* confdefs.h. */
30440 _ACEOF
30441 cat confdefs.h >>conftest.$ac_ext
30442 cat >>conftest.$ac_ext <<_ACEOF
30443 /* end confdefs.h. */
30444
30445 #include <gtk/gtk.h>
30446
30447 int
30448 main ()
30449 {
30450
30451 #if !GTK_CHECK_VERSION(2,10,0)
30452 Not GTK+ 2.10
30453 #endif
30454
30455 ;
30456 return 0;
30457 }
30458 _ACEOF
30459 rm -f conftest.$ac_objext
30460 if { (ac_try="$ac_compile"
30461 case "(($ac_try" in
30462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30463 *) ac_try_echo=$ac_try;;
30464 esac
30465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30466 (eval "$ac_compile") 2>conftest.er1
30467 ac_status=$?
30468 grep -v '^ *+' conftest.er1 >conftest.err
30469 rm -f conftest.er1
30470 cat conftest.err >&5
30471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30472 (exit $ac_status); } && {
30473 test -z "$ac_c_werror_flag" ||
30474 test ! -s conftest.err
30475 } && test -s conftest.$ac_objext; then
30476
30477 cat >>confdefs.h <<\_ACEOF
30478 #define __WXGTK210__ 1
30479 _ACEOF
30480
30481 cat >>confdefs.h <<\_ACEOF
30482 #define __WXGTK26__ 1
30483 _ACEOF
30484
30485 { echo "$as_me:$LINENO: result: yes" >&5
30486 echo "${ECHO_T}yes" >&6; }
30487 ac_wxgtk210=1
30488
30489 else
30490 echo "$as_me: failed program was:" >&5
30491 sed 's/^/| /' conftest.$ac_ext >&5
30492
30493
30494 { echo "$as_me:$LINENO: result: no" >&5
30495 echo "${ECHO_T}no" >&6; }
30496 ac_wxgtk210=0
30497
30498 fi
30499
30500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30501
30502 if test "$ac_wxgtk210" = 0; then
30503 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
30504 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
30505 cat >conftest.$ac_ext <<_ACEOF
30506 /* confdefs.h. */
30507 _ACEOF
30508 cat confdefs.h >>conftest.$ac_ext
30509 cat >>conftest.$ac_ext <<_ACEOF
30510 /* end confdefs.h. */
30511
30512 #include <gtk/gtk.h>
30513
30514 int
30515 main ()
30516 {
30517
30518 #if !GTK_CHECK_VERSION(2,6,0)
30519 Not GTK+ 2.6
30520 #endif
30521
30522 ;
30523 return 0;
30524 }
30525 _ACEOF
30526 rm -f conftest.$ac_objext
30527 if { (ac_try="$ac_compile"
30528 case "(($ac_try" in
30529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30530 *) ac_try_echo=$ac_try;;
30531 esac
30532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30533 (eval "$ac_compile") 2>conftest.er1
30534 ac_status=$?
30535 grep -v '^ *+' conftest.er1 >conftest.err
30536 rm -f conftest.er1
30537 cat conftest.err >&5
30538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30539 (exit $ac_status); } && {
30540 test -z "$ac_c_werror_flag" ||
30541 test ! -s conftest.err
30542 } && test -s conftest.$ac_objext; then
30543
30544 cat >>confdefs.h <<\_ACEOF
30545 #define __WXGTK26__ 1
30546 _ACEOF
30547
30548 { echo "$as_me:$LINENO: result: yes" >&5
30549 echo "${ECHO_T}yes" >&6; }
30550 ac_wxgtk26=1
30551
30552 else
30553 echo "$as_me: failed program was:" >&5
30554 sed 's/^/| /' conftest.$ac_ext >&5
30555
30556
30557 { echo "$as_me:$LINENO: result: no" >&5
30558 echo "${ECHO_T}no" >&6; }
30559 ac_wxgtk26=0
30560
30561 fi
30562
30563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30564 fi
30565 fi
30566
30567 CFLAGS="$save_CFLAGS"
30568 LIBS="$save_LIBS"
30569 else
30570 if test "$wxUSE_UNICODE" = "yes"; then
30571 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
30572 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
30573 wxUSE_UNICODE=no
30574 fi
30575
30576 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
30577 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
30578 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
30579 echo $ECHO_N "(cached) $ECHO_C" >&6
30580 else
30581 ac_check_lib_save_LIBS=$LIBS
30582 LIBS="-lgdk $LIBS"
30583 cat >conftest.$ac_ext <<_ACEOF
30584 /* confdefs.h. */
30585 _ACEOF
30586 cat confdefs.h >>conftest.$ac_ext
30587 cat >>conftest.$ac_ext <<_ACEOF
30588 /* end confdefs.h. */
30589
30590 /* Override any GCC internal prototype to avoid an error.
30591 Use char because int might match the return type of a GCC
30592 builtin and then its argument prototype would still apply. */
30593 #ifdef __cplusplus
30594 extern "C"
30595 #endif
30596 char gdk_im_open ();
30597 int
30598 main ()
30599 {
30600 return gdk_im_open ();
30601 ;
30602 return 0;
30603 }
30604 _ACEOF
30605 rm -f conftest.$ac_objext conftest$ac_exeext
30606 if { (ac_try="$ac_link"
30607 case "(($ac_try" in
30608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30609 *) ac_try_echo=$ac_try;;
30610 esac
30611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30612 (eval "$ac_link") 2>conftest.er1
30613 ac_status=$?
30614 grep -v '^ *+' conftest.er1 >conftest.err
30615 rm -f conftest.er1
30616 cat conftest.err >&5
30617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30618 (exit $ac_status); } && {
30619 test -z "$ac_c_werror_flag" ||
30620 test ! -s conftest.err
30621 } && test -s conftest$ac_exeext &&
30622 $as_test_x conftest$ac_exeext; then
30623 ac_cv_lib_gdk_gdk_im_open=yes
30624 else
30625 echo "$as_me: failed program was:" >&5
30626 sed 's/^/| /' conftest.$ac_ext >&5
30627
30628 ac_cv_lib_gdk_gdk_im_open=no
30629 fi
30630
30631 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30632 conftest$ac_exeext conftest.$ac_ext
30633 LIBS=$ac_check_lib_save_LIBS
30634 fi
30635 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
30636 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
30637 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
30638 cat >>confdefs.h <<\_ACEOF
30639 #define HAVE_XIM 1
30640 _ACEOF
30641
30642 fi
30643
30644
30645 if test "$USE_DARWIN" != 1; then
30646
30647 for ac_func in poll
30648 do
30649 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30650 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30651 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30652 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30653 echo $ECHO_N "(cached) $ECHO_C" >&6
30654 else
30655 cat >conftest.$ac_ext <<_ACEOF
30656 /* confdefs.h. */
30657 _ACEOF
30658 cat confdefs.h >>conftest.$ac_ext
30659 cat >>conftest.$ac_ext <<_ACEOF
30660 /* end confdefs.h. */
30661 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30662 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30663 #define $ac_func innocuous_$ac_func
30664
30665 /* System header to define __stub macros and hopefully few prototypes,
30666 which can conflict with char $ac_func (); below.
30667 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30668 <limits.h> exists even on freestanding compilers. */
30669
30670 #ifdef __STDC__
30671 # include <limits.h>
30672 #else
30673 # include <assert.h>
30674 #endif
30675
30676 #undef $ac_func
30677
30678 /* Override any GCC internal prototype to avoid an error.
30679 Use char because int might match the return type of a GCC
30680 builtin and then its argument prototype would still apply. */
30681 #ifdef __cplusplus
30682 extern "C"
30683 #endif
30684 char $ac_func ();
30685 /* The GNU C library defines this for functions which it implements
30686 to always fail with ENOSYS. Some functions are actually named
30687 something starting with __ and the normal name is an alias. */
30688 #if defined __stub_$ac_func || defined __stub___$ac_func
30689 choke me
30690 #endif
30691
30692 int
30693 main ()
30694 {
30695 return $ac_func ();
30696 ;
30697 return 0;
30698 }
30699 _ACEOF
30700 rm -f conftest.$ac_objext conftest$ac_exeext
30701 if { (ac_try="$ac_link"
30702 case "(($ac_try" in
30703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30704 *) ac_try_echo=$ac_try;;
30705 esac
30706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30707 (eval "$ac_link") 2>conftest.er1
30708 ac_status=$?
30709 grep -v '^ *+' conftest.er1 >conftest.err
30710 rm -f conftest.er1
30711 cat conftest.err >&5
30712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30713 (exit $ac_status); } && {
30714 test -z "$ac_c_werror_flag" ||
30715 test ! -s conftest.err
30716 } && test -s conftest$ac_exeext &&
30717 $as_test_x conftest$ac_exeext; then
30718 eval "$as_ac_var=yes"
30719 else
30720 echo "$as_me: failed program was:" >&5
30721 sed 's/^/| /' conftest.$ac_ext >&5
30722
30723 eval "$as_ac_var=no"
30724 fi
30725
30726 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30727 conftest$ac_exeext conftest.$ac_ext
30728 fi
30729 ac_res=`eval echo '${'$as_ac_var'}'`
30730 { echo "$as_me:$LINENO: result: $ac_res" >&5
30731 echo "${ECHO_T}$ac_res" >&6; }
30732 if test `eval echo '${'$as_ac_var'}'` = yes; then
30733 cat >>confdefs.h <<_ACEOF
30734 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30735 _ACEOF
30736
30737 fi
30738 done
30739
30740 fi
30741 fi
30742
30743 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
30744 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
30745
30746 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE -DG_DISABLE_CAST_CHECKS"
30747
30748 AFMINSTALL=afminstall
30749 TOOLKIT=GTK
30750 GUIDIST=GTK_DIST
30751
30752 if test "$wxUSE_GPE" = "yes"; then
30753 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
30754 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
30755
30756 ac_find_libraries=
30757 for ac_dir in $SEARCH_LIB;
30758 do
30759 for ac_extension in a so sl dylib dll.a; do
30760 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
30761 ac_find_libraries=$ac_dir
30762 break 2
30763 fi
30764 done
30765 done
30766
30767 if test "$ac_find_libraries" != "" ; then
30768
30769 if test "$ac_find_libraries" = "default location"; then
30770 ac_path_to_link=""
30771 else
30772 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
30773 result=$?
30774 if test $result = 0; then
30775 ac_path_to_link=""
30776 else
30777 ac_path_to_link=" -L$ac_find_libraries"
30778 fi
30779 fi
30780
30781 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
30782 WXGPE=1
30783 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30784 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
30785 else
30786 { echo "$as_me:$LINENO: result: not found" >&5
30787 echo "${ECHO_T}not found" >&6; }
30788 fi
30789
30790 fi
30791 fi
30792
30793 if test "$wxUSE_MGL" = 1; then
30794 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
30795 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
30796 if test "x$MGL_ROOT" = x ; then
30797 { echo "$as_me:$LINENO: result: not found" >&5
30798 echo "${ECHO_T}not found" >&6; }
30799 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
30800 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
30801 { (exit 1); exit 1; }; }
30802 else
30803 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
30804 echo "${ECHO_T}$MGL_ROOT" >&6; }
30805 fi
30806
30807 { echo "$as_me:$LINENO: checking for libmgl location" >&5
30808 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
30809 case "${host}" in
30810 *-*-linux* )
30811 if test "x$wxUSE_SHARED" = xyes ; then
30812 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
30813 else
30814 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
30815 fi
30816 ;;
30817 *-pc-msdosdjgpp )
30818 mgl_os_candidates="dos32/dj2"
30819 ;;
30820 *)
30821 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
30822 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
30823 { (exit 1); exit 1; }; }
30824 esac
30825
30826 mgl_lib_type=""
30827 mgl_os=""
30828
30829 for mgl_os_i in $mgl_os_candidates ; do
30830 if test "x$mgl_os" = x ; then
30831 if test "$wxUSE_DEBUG_FLAG" = yes ; then
30832 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
30833 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
30834 mgl_lib_type=debug
30835 mgl_os=$mgl_os_i
30836 fi
30837 fi
30838 if test "x$mgl_lib_type" = x ; then
30839 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
30840 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
30841 mgl_lib_type=release
30842 mgl_os=$mgl_os_i
30843 fi
30844 fi
30845 fi
30846 done
30847
30848 if test "x$mgl_os" = x ; then
30849 { echo "$as_me:$LINENO: result: not found" >&5
30850 echo "${ECHO_T}not found" >&6; }
30851 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
30852 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
30853 { (exit 1); exit 1; }; }
30854 fi
30855 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
30856 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
30857
30858 wxUSE_UNIVERSAL="yes"
30859
30860 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
30861 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
30862
30863 AFMINSTALL=afminstall
30864 TOOLKIT=MGL
30865 GUIDIST=MGL_DIST
30866 fi
30867
30868 if test "$wxUSE_DFB" = 1; then
30869
30870
30871 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30872 if test -n "$ac_tool_prefix"; then
30873 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30874 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30875 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30876 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30877 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30878 echo $ECHO_N "(cached) $ECHO_C" >&6
30879 else
30880 case $PKG_CONFIG in
30881 [\\/]* | ?:[\\/]*)
30882 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30883 ;;
30884 *)
30885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30886 for as_dir in $PATH
30887 do
30888 IFS=$as_save_IFS
30889 test -z "$as_dir" && as_dir=.
30890 for ac_exec_ext in '' $ac_executable_extensions; do
30891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30892 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30893 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30894 break 2
30895 fi
30896 done
30897 done
30898 IFS=$as_save_IFS
30899
30900 ;;
30901 esac
30902 fi
30903 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30904 if test -n "$PKG_CONFIG"; then
30905 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30906 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30907 else
30908 { echo "$as_me:$LINENO: result: no" >&5
30909 echo "${ECHO_T}no" >&6; }
30910 fi
30911
30912
30913 fi
30914 if test -z "$ac_cv_path_PKG_CONFIG"; then
30915 ac_pt_PKG_CONFIG=$PKG_CONFIG
30916 # Extract the first word of "pkg-config", so it can be a program name with args.
30917 set dummy pkg-config; ac_word=$2
30918 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30919 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30920 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30921 echo $ECHO_N "(cached) $ECHO_C" >&6
30922 else
30923 case $ac_pt_PKG_CONFIG in
30924 [\\/]* | ?:[\\/]*)
30925 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30926 ;;
30927 *)
30928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30929 for as_dir in $PATH
30930 do
30931 IFS=$as_save_IFS
30932 test -z "$as_dir" && as_dir=.
30933 for ac_exec_ext in '' $ac_executable_extensions; do
30934 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30935 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30936 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30937 break 2
30938 fi
30939 done
30940 done
30941 IFS=$as_save_IFS
30942
30943 ;;
30944 esac
30945 fi
30946 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30947 if test -n "$ac_pt_PKG_CONFIG"; then
30948 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30949 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30950 else
30951 { echo "$as_me:$LINENO: result: no" >&5
30952 echo "${ECHO_T}no" >&6; }
30953 fi
30954
30955 if test "x$ac_pt_PKG_CONFIG" = x; then
30956 PKG_CONFIG=""
30957 else
30958 case $cross_compiling:$ac_tool_warned in
30959 yes:)
30960 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30961 whose name does not start with the host triplet. If you think this
30962 configuration is useful to you, please write to autoconf@gnu.org." >&5
30963 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30964 whose name does not start with the host triplet. If you think this
30965 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30966 ac_tool_warned=yes ;;
30967 esac
30968 PKG_CONFIG=$ac_pt_PKG_CONFIG
30969 fi
30970 else
30971 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
30972 fi
30973
30974 fi
30975 if test -n "$PKG_CONFIG"; then
30976 _pkg_min_version=0.9.0
30977 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30978 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
30979 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30980 { echo "$as_me:$LINENO: result: yes" >&5
30981 echo "${ECHO_T}yes" >&6; }
30982 else
30983 { echo "$as_me:$LINENO: result: no" >&5
30984 echo "${ECHO_T}no" >&6; }
30985 PKG_CONFIG=""
30986 fi
30987
30988 fi
30989
30990
30991 pkg_failed=no
30992 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
30993 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
30994
30995 if test -n "$PKG_CONFIG"; then
30996 if test -n "$DIRECTFB_CFLAGS"; then
30997 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
30998 else
30999 if test -n "$PKG_CONFIG" && \
31000 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31001 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31002 ac_status=$?
31003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31004 (exit $ac_status); }; then
31005 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
31006 else
31007 pkg_failed=yes
31008 fi
31009 fi
31010 else
31011 pkg_failed=untried
31012 fi
31013 if test -n "$PKG_CONFIG"; then
31014 if test -n "$DIRECTFB_LIBS"; then
31015 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
31016 else
31017 if test -n "$PKG_CONFIG" && \
31018 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31019 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31020 ac_status=$?
31021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31022 (exit $ac_status); }; then
31023 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
31024 else
31025 pkg_failed=yes
31026 fi
31027 fi
31028 else
31029 pkg_failed=untried
31030 fi
31031
31032
31033
31034 if test $pkg_failed = yes; then
31035
31036 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31037 _pkg_short_errors_supported=yes
31038 else
31039 _pkg_short_errors_supported=no
31040 fi
31041 if test $_pkg_short_errors_supported = yes; then
31042 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31043 else
31044 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31045 fi
31046 # Put the nasty error message in config.log where it belongs
31047 echo "$DIRECTFB_PKG_ERRORS" >&5
31048
31049
31050 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31051 echo "$as_me: error: DirectFB not found." >&2;}
31052 { (exit 1); exit 1; }; }
31053
31054
31055 elif test $pkg_failed = untried; then
31056
31057 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31058 echo "$as_me: error: DirectFB not found." >&2;}
31059 { (exit 1); exit 1; }; }
31060
31061
31062 else
31063 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
31064 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
31065 { echo "$as_me:$LINENO: result: yes" >&5
31066 echo "${ECHO_T}yes" >&6; }
31067
31068 wxUSE_UNIVERSAL="yes"
31069 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
31070 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
31071 TOOLKIT=DFB
31072 GUIDIST=DFB_DIST
31073
31074 fi
31075 fi
31076
31077 if test "$wxUSE_MICROWIN" = 1; then
31078 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
31079 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
31080 if test "x$MICROWINDOWS" = x ; then
31081 { echo "$as_me:$LINENO: result: not found" >&5
31082 echo "${ECHO_T}not found" >&6; }
31083 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
31084 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
31085 { (exit 1); exit 1; }; }
31086 else
31087 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
31088 echo "${ECHO_T}$MICROWINDOWS" >&6; }
31089 fi
31090
31091 if test -f $MICROWINDOWS/lib/libmwin.a; then
31092 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
31093 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
31094 else
31095 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
31096 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
31097 { (exit 1); exit 1; }; }
31098 fi
31099
31100 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
31101 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
31102
31103 wxUSE_UNIVERSAL="yes"
31104
31105 AFMINSTALL=afminstall
31106 TOOLKIT=MICROWIN
31107 GUIDIST=MICROWIN_DIST
31108
31109 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
31110 fi
31111
31112 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31113 { echo "$as_me:$LINENO: checking for X" >&5
31114 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
31115
31116
31117 # Check whether --with-x was given.
31118 if test "${with_x+set}" = set; then
31119 withval=$with_x;
31120 fi
31121
31122 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
31123 if test "x$with_x" = xno; then
31124 # The user explicitly disabled X.
31125 have_x=disabled
31126 else
31127 case $x_includes,$x_libraries in #(
31128 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
31129 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
31130 { (exit 1); exit 1; }; };; #(
31131 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
31132 echo $ECHO_N "(cached) $ECHO_C" >&6
31133 else
31134 # One or both of the vars are not set, and there is no cached value.
31135 ac_x_includes=no ac_x_libraries=no
31136 rm -f -r conftest.dir
31137 if mkdir conftest.dir; then
31138 cd conftest.dir
31139 cat >Imakefile <<'_ACEOF'
31140 incroot:
31141 @echo incroot='${INCROOT}'
31142 usrlibdir:
31143 @echo usrlibdir='${USRLIBDIR}'
31144 libdir:
31145 @echo libdir='${LIBDIR}'
31146 _ACEOF
31147 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
31148 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
31149 for ac_var in incroot usrlibdir libdir; do
31150 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
31151 done
31152 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
31153 for ac_extension in a so sl; do
31154 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
31155 test -f "$ac_im_libdir/libX11.$ac_extension"; then
31156 ac_im_usrlibdir=$ac_im_libdir; break
31157 fi
31158 done
31159 # Screen out bogus values from the imake configuration. They are
31160 # bogus both because they are the default anyway, and because
31161 # using them would break gcc on systems where it needs fixed includes.
31162 case $ac_im_incroot in
31163 /usr/include) ac_x_includes= ;;
31164 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
31165 esac
31166 case $ac_im_usrlibdir in
31167 /usr/lib | /lib) ;;
31168 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
31169 esac
31170 fi
31171 cd ..
31172 rm -f -r conftest.dir
31173 fi
31174
31175 # Standard set of common directories for X headers.
31176 # Check X11 before X11Rn because it is often a symlink to the current release.
31177 ac_x_header_dirs='
31178 /usr/X11/include
31179 /usr/X11R6/include
31180 /usr/X11R5/include
31181 /usr/X11R4/include
31182
31183 /usr/include/X11
31184 /usr/include/X11R6
31185 /usr/include/X11R5
31186 /usr/include/X11R4
31187
31188 /usr/local/X11/include
31189 /usr/local/X11R6/include
31190 /usr/local/X11R5/include
31191 /usr/local/X11R4/include
31192
31193 /usr/local/include/X11
31194 /usr/local/include/X11R6
31195 /usr/local/include/X11R5
31196 /usr/local/include/X11R4
31197
31198 /usr/X386/include
31199 /usr/x386/include
31200 /usr/XFree86/include/X11
31201
31202 /usr/include
31203 /usr/local/include
31204 /usr/unsupported/include
31205 /usr/athena/include
31206 /usr/local/x11r5/include
31207 /usr/lpp/Xamples/include
31208
31209 /usr/openwin/include
31210 /usr/openwin/share/include'
31211
31212 if test "$ac_x_includes" = no; then
31213 # Guess where to find include files, by looking for Xlib.h.
31214 # First, try using that file with no special directory specified.
31215 cat >conftest.$ac_ext <<_ACEOF
31216 /* confdefs.h. */
31217 _ACEOF
31218 cat confdefs.h >>conftest.$ac_ext
31219 cat >>conftest.$ac_ext <<_ACEOF
31220 /* end confdefs.h. */
31221 #include <X11/Xlib.h>
31222 _ACEOF
31223 if { (ac_try="$ac_cpp conftest.$ac_ext"
31224 case "(($ac_try" in
31225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31226 *) ac_try_echo=$ac_try;;
31227 esac
31228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31229 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31230 ac_status=$?
31231 grep -v '^ *+' conftest.er1 >conftest.err
31232 rm -f conftest.er1
31233 cat conftest.err >&5
31234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31235 (exit $ac_status); } >/dev/null && {
31236 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31237 test ! -s conftest.err
31238 }; then
31239 # We can compile using X headers with no special include directory.
31240 ac_x_includes=
31241 else
31242 echo "$as_me: failed program was:" >&5
31243 sed 's/^/| /' conftest.$ac_ext >&5
31244
31245 for ac_dir in $ac_x_header_dirs; do
31246 if test -r "$ac_dir/X11/Xlib.h"; then
31247 ac_x_includes=$ac_dir
31248 break
31249 fi
31250 done
31251 fi
31252
31253 rm -f conftest.err conftest.$ac_ext
31254 fi # $ac_x_includes = no
31255
31256 if test "$ac_x_libraries" = no; then
31257 # Check for the libraries.
31258 # See if we find them without any special options.
31259 # Don't add to $LIBS permanently.
31260 ac_save_LIBS=$LIBS
31261 LIBS="-lX11 $LIBS"
31262 cat >conftest.$ac_ext <<_ACEOF
31263 /* confdefs.h. */
31264 _ACEOF
31265 cat confdefs.h >>conftest.$ac_ext
31266 cat >>conftest.$ac_ext <<_ACEOF
31267 /* end confdefs.h. */
31268 #include <X11/Xlib.h>
31269 int
31270 main ()
31271 {
31272 XrmInitialize ()
31273 ;
31274 return 0;
31275 }
31276 _ACEOF
31277 rm -f conftest.$ac_objext conftest$ac_exeext
31278 if { (ac_try="$ac_link"
31279 case "(($ac_try" in
31280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31281 *) ac_try_echo=$ac_try;;
31282 esac
31283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31284 (eval "$ac_link") 2>conftest.er1
31285 ac_status=$?
31286 grep -v '^ *+' conftest.er1 >conftest.err
31287 rm -f conftest.er1
31288 cat conftest.err >&5
31289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31290 (exit $ac_status); } && {
31291 test -z "$ac_c_werror_flag" ||
31292 test ! -s conftest.err
31293 } && test -s conftest$ac_exeext &&
31294 $as_test_x conftest$ac_exeext; then
31295 LIBS=$ac_save_LIBS
31296 # We can link X programs with no special library path.
31297 ac_x_libraries=
31298 else
31299 echo "$as_me: failed program was:" >&5
31300 sed 's/^/| /' conftest.$ac_ext >&5
31301
31302 LIBS=$ac_save_LIBS
31303 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
31304 do
31305 # Don't even attempt the hair of trying to link an X program!
31306 for ac_extension in a so sl; do
31307 if test -r "$ac_dir/libX11.$ac_extension"; then
31308 ac_x_libraries=$ac_dir
31309 break 2
31310 fi
31311 done
31312 done
31313 fi
31314
31315 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31316 conftest$ac_exeext conftest.$ac_ext
31317 fi # $ac_x_libraries = no
31318
31319 case $ac_x_includes,$ac_x_libraries in #(
31320 no,* | *,no | *\'*)
31321 # Didn't find X, or a directory has "'" in its name.
31322 ac_cv_have_x="have_x=no";; #(
31323 *)
31324 # Record where we found X for the cache.
31325 ac_cv_have_x="have_x=yes\
31326 ac_x_includes='$ac_x_includes'\
31327 ac_x_libraries='$ac_x_libraries'"
31328 esac
31329 fi
31330 ;; #(
31331 *) have_x=yes;;
31332 esac
31333 eval "$ac_cv_have_x"
31334 fi # $with_x != no
31335
31336 if test "$have_x" != yes; then
31337 { echo "$as_me:$LINENO: result: $have_x" >&5
31338 echo "${ECHO_T}$have_x" >&6; }
31339 no_x=yes
31340 else
31341 # If each of the values was on the command line, it overrides each guess.
31342 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
31343 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
31344 # Update the cache value to reflect the command line values.
31345 ac_cv_have_x="have_x=yes\
31346 ac_x_includes='$x_includes'\
31347 ac_x_libraries='$x_libraries'"
31348 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
31349 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
31350 fi
31351
31352 if test "$no_x" = yes; then
31353 # Not all programs may use this symbol, but it does not hurt to define it.
31354
31355 cat >>confdefs.h <<\_ACEOF
31356 #define X_DISPLAY_MISSING 1
31357 _ACEOF
31358
31359 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
31360 else
31361 if test -n "$x_includes"; then
31362 X_CFLAGS="$X_CFLAGS -I$x_includes"
31363 fi
31364
31365 # It would also be nice to do this for all -L options, not just this one.
31366 if test -n "$x_libraries"; then
31367 X_LIBS="$X_LIBS -L$x_libraries"
31368 # For Solaris; some versions of Sun CC require a space after -R and
31369 # others require no space. Words are not sufficient . . . .
31370 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
31371 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
31372 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
31373 ac_xsave_c_werror_flag=$ac_c_werror_flag
31374 ac_c_werror_flag=yes
31375 cat >conftest.$ac_ext <<_ACEOF
31376 /* confdefs.h. */
31377 _ACEOF
31378 cat confdefs.h >>conftest.$ac_ext
31379 cat >>conftest.$ac_ext <<_ACEOF
31380 /* end confdefs.h. */
31381
31382 int
31383 main ()
31384 {
31385
31386 ;
31387 return 0;
31388 }
31389 _ACEOF
31390 rm -f conftest.$ac_objext conftest$ac_exeext
31391 if { (ac_try="$ac_link"
31392 case "(($ac_try" in
31393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31394 *) ac_try_echo=$ac_try;;
31395 esac
31396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31397 (eval "$ac_link") 2>conftest.er1
31398 ac_status=$?
31399 grep -v '^ *+' conftest.er1 >conftest.err
31400 rm -f conftest.er1
31401 cat conftest.err >&5
31402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31403 (exit $ac_status); } && {
31404 test -z "$ac_c_werror_flag" ||
31405 test ! -s conftest.err
31406 } && test -s conftest$ac_exeext &&
31407 $as_test_x conftest$ac_exeext; then
31408 { echo "$as_me:$LINENO: result: no" >&5
31409 echo "${ECHO_T}no" >&6; }
31410 X_LIBS="$X_LIBS -R$x_libraries"
31411 else
31412 echo "$as_me: failed program was:" >&5
31413 sed 's/^/| /' conftest.$ac_ext >&5
31414
31415 LIBS="$ac_xsave_LIBS -R $x_libraries"
31416 cat >conftest.$ac_ext <<_ACEOF
31417 /* confdefs.h. */
31418 _ACEOF
31419 cat confdefs.h >>conftest.$ac_ext
31420 cat >>conftest.$ac_ext <<_ACEOF
31421 /* end confdefs.h. */
31422
31423 int
31424 main ()
31425 {
31426
31427 ;
31428 return 0;
31429 }
31430 _ACEOF
31431 rm -f conftest.$ac_objext conftest$ac_exeext
31432 if { (ac_try="$ac_link"
31433 case "(($ac_try" in
31434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31435 *) ac_try_echo=$ac_try;;
31436 esac
31437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31438 (eval "$ac_link") 2>conftest.er1
31439 ac_status=$?
31440 grep -v '^ *+' conftest.er1 >conftest.err
31441 rm -f conftest.er1
31442 cat conftest.err >&5
31443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31444 (exit $ac_status); } && {
31445 test -z "$ac_c_werror_flag" ||
31446 test ! -s conftest.err
31447 } && test -s conftest$ac_exeext &&
31448 $as_test_x conftest$ac_exeext; then
31449 { echo "$as_me:$LINENO: result: yes" >&5
31450 echo "${ECHO_T}yes" >&6; }
31451 X_LIBS="$X_LIBS -R $x_libraries"
31452 else
31453 echo "$as_me: failed program was:" >&5
31454 sed 's/^/| /' conftest.$ac_ext >&5
31455
31456 { echo "$as_me:$LINENO: result: neither works" >&5
31457 echo "${ECHO_T}neither works" >&6; }
31458 fi
31459
31460 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31461 conftest$ac_exeext conftest.$ac_ext
31462 fi
31463
31464 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31465 conftest$ac_exeext conftest.$ac_ext
31466 ac_c_werror_flag=$ac_xsave_c_werror_flag
31467 LIBS=$ac_xsave_LIBS
31468 fi
31469
31470 # Check for system-dependent libraries X programs must link with.
31471 # Do this before checking for the system-independent R6 libraries
31472 # (-lICE), since we may need -lsocket or whatever for X linking.
31473
31474 if test "$ISC" = yes; then
31475 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
31476 else
31477 # Martyn Johnson says this is needed for Ultrix, if the X
31478 # libraries were built with DECnet support. And Karl Berry says
31479 # the Alpha needs dnet_stub (dnet does not exist).
31480 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
31481 cat >conftest.$ac_ext <<_ACEOF
31482 /* confdefs.h. */
31483 _ACEOF
31484 cat confdefs.h >>conftest.$ac_ext
31485 cat >>conftest.$ac_ext <<_ACEOF
31486 /* end confdefs.h. */
31487
31488 /* Override any GCC internal prototype to avoid an error.
31489 Use char because int might match the return type of a GCC
31490 builtin and then its argument prototype would still apply. */
31491 #ifdef __cplusplus
31492 extern "C"
31493 #endif
31494 char XOpenDisplay ();
31495 int
31496 main ()
31497 {
31498 return XOpenDisplay ();
31499 ;
31500 return 0;
31501 }
31502 _ACEOF
31503 rm -f conftest.$ac_objext conftest$ac_exeext
31504 if { (ac_try="$ac_link"
31505 case "(($ac_try" in
31506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31507 *) ac_try_echo=$ac_try;;
31508 esac
31509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31510 (eval "$ac_link") 2>conftest.er1
31511 ac_status=$?
31512 grep -v '^ *+' conftest.er1 >conftest.err
31513 rm -f conftest.er1
31514 cat conftest.err >&5
31515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31516 (exit $ac_status); } && {
31517 test -z "$ac_c_werror_flag" ||
31518 test ! -s conftest.err
31519 } && test -s conftest$ac_exeext &&
31520 $as_test_x conftest$ac_exeext; then
31521 :
31522 else
31523 echo "$as_me: failed program was:" >&5
31524 sed 's/^/| /' conftest.$ac_ext >&5
31525
31526 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
31527 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
31528 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
31529 echo $ECHO_N "(cached) $ECHO_C" >&6
31530 else
31531 ac_check_lib_save_LIBS=$LIBS
31532 LIBS="-ldnet $LIBS"
31533 cat >conftest.$ac_ext <<_ACEOF
31534 /* confdefs.h. */
31535 _ACEOF
31536 cat confdefs.h >>conftest.$ac_ext
31537 cat >>conftest.$ac_ext <<_ACEOF
31538 /* end confdefs.h. */
31539
31540 /* Override any GCC internal prototype to avoid an error.
31541 Use char because int might match the return type of a GCC
31542 builtin and then its argument prototype would still apply. */
31543 #ifdef __cplusplus
31544 extern "C"
31545 #endif
31546 char dnet_ntoa ();
31547 int
31548 main ()
31549 {
31550 return dnet_ntoa ();
31551 ;
31552 return 0;
31553 }
31554 _ACEOF
31555 rm -f conftest.$ac_objext conftest$ac_exeext
31556 if { (ac_try="$ac_link"
31557 case "(($ac_try" in
31558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31559 *) ac_try_echo=$ac_try;;
31560 esac
31561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31562 (eval "$ac_link") 2>conftest.er1
31563 ac_status=$?
31564 grep -v '^ *+' conftest.er1 >conftest.err
31565 rm -f conftest.er1
31566 cat conftest.err >&5
31567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31568 (exit $ac_status); } && {
31569 test -z "$ac_c_werror_flag" ||
31570 test ! -s conftest.err
31571 } && test -s conftest$ac_exeext &&
31572 $as_test_x conftest$ac_exeext; then
31573 ac_cv_lib_dnet_dnet_ntoa=yes
31574 else
31575 echo "$as_me: failed program was:" >&5
31576 sed 's/^/| /' conftest.$ac_ext >&5
31577
31578 ac_cv_lib_dnet_dnet_ntoa=no
31579 fi
31580
31581 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31582 conftest$ac_exeext conftest.$ac_ext
31583 LIBS=$ac_check_lib_save_LIBS
31584 fi
31585 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
31586 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
31587 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
31588 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
31589 fi
31590
31591 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
31592 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
31593 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
31594 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
31595 echo $ECHO_N "(cached) $ECHO_C" >&6
31596 else
31597 ac_check_lib_save_LIBS=$LIBS
31598 LIBS="-ldnet_stub $LIBS"
31599 cat >conftest.$ac_ext <<_ACEOF
31600 /* confdefs.h. */
31601 _ACEOF
31602 cat confdefs.h >>conftest.$ac_ext
31603 cat >>conftest.$ac_ext <<_ACEOF
31604 /* end confdefs.h. */
31605
31606 /* Override any GCC internal prototype to avoid an error.
31607 Use char because int might match the return type of a GCC
31608 builtin and then its argument prototype would still apply. */
31609 #ifdef __cplusplus
31610 extern "C"
31611 #endif
31612 char dnet_ntoa ();
31613 int
31614 main ()
31615 {
31616 return dnet_ntoa ();
31617 ;
31618 return 0;
31619 }
31620 _ACEOF
31621 rm -f conftest.$ac_objext conftest$ac_exeext
31622 if { (ac_try="$ac_link"
31623 case "(($ac_try" in
31624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31625 *) ac_try_echo=$ac_try;;
31626 esac
31627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31628 (eval "$ac_link") 2>conftest.er1
31629 ac_status=$?
31630 grep -v '^ *+' conftest.er1 >conftest.err
31631 rm -f conftest.er1
31632 cat conftest.err >&5
31633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31634 (exit $ac_status); } && {
31635 test -z "$ac_c_werror_flag" ||
31636 test ! -s conftest.err
31637 } && test -s conftest$ac_exeext &&
31638 $as_test_x conftest$ac_exeext; then
31639 ac_cv_lib_dnet_stub_dnet_ntoa=yes
31640 else
31641 echo "$as_me: failed program was:" >&5
31642 sed 's/^/| /' conftest.$ac_ext >&5
31643
31644 ac_cv_lib_dnet_stub_dnet_ntoa=no
31645 fi
31646
31647 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31648 conftest$ac_exeext conftest.$ac_ext
31649 LIBS=$ac_check_lib_save_LIBS
31650 fi
31651 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
31652 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
31653 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
31654 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
31655 fi
31656
31657 fi
31658 fi
31659
31660 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31661 conftest$ac_exeext conftest.$ac_ext
31662 LIBS="$ac_xsave_LIBS"
31663
31664 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
31665 # to get the SysV transport functions.
31666 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
31667 # needs -lnsl.
31668 # The nsl library prevents programs from opening the X display
31669 # on Irix 5.2, according to T.E. Dickey.
31670 # The functions gethostbyname, getservbyname, and inet_addr are
31671 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
31672 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
31673 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
31674 if test "${ac_cv_func_gethostbyname+set}" = set; then
31675 echo $ECHO_N "(cached) $ECHO_C" >&6
31676 else
31677 cat >conftest.$ac_ext <<_ACEOF
31678 /* confdefs.h. */
31679 _ACEOF
31680 cat confdefs.h >>conftest.$ac_ext
31681 cat >>conftest.$ac_ext <<_ACEOF
31682 /* end confdefs.h. */
31683 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
31684 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31685 #define gethostbyname innocuous_gethostbyname
31686
31687 /* System header to define __stub macros and hopefully few prototypes,
31688 which can conflict with char gethostbyname (); below.
31689 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31690 <limits.h> exists even on freestanding compilers. */
31691
31692 #ifdef __STDC__
31693 # include <limits.h>
31694 #else
31695 # include <assert.h>
31696 #endif
31697
31698 #undef gethostbyname
31699
31700 /* Override any GCC internal prototype to avoid an error.
31701 Use char because int might match the return type of a GCC
31702 builtin and then its argument prototype would still apply. */
31703 #ifdef __cplusplus
31704 extern "C"
31705 #endif
31706 char gethostbyname ();
31707 /* The GNU C library defines this for functions which it implements
31708 to always fail with ENOSYS. Some functions are actually named
31709 something starting with __ and the normal name is an alias. */
31710 #if defined __stub_gethostbyname || defined __stub___gethostbyname
31711 choke me
31712 #endif
31713
31714 int
31715 main ()
31716 {
31717 return gethostbyname ();
31718 ;
31719 return 0;
31720 }
31721 _ACEOF
31722 rm -f conftest.$ac_objext conftest$ac_exeext
31723 if { (ac_try="$ac_link"
31724 case "(($ac_try" in
31725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31726 *) ac_try_echo=$ac_try;;
31727 esac
31728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31729 (eval "$ac_link") 2>conftest.er1
31730 ac_status=$?
31731 grep -v '^ *+' conftest.er1 >conftest.err
31732 rm -f conftest.er1
31733 cat conftest.err >&5
31734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31735 (exit $ac_status); } && {
31736 test -z "$ac_c_werror_flag" ||
31737 test ! -s conftest.err
31738 } && test -s conftest$ac_exeext &&
31739 $as_test_x conftest$ac_exeext; then
31740 ac_cv_func_gethostbyname=yes
31741 else
31742 echo "$as_me: failed program was:" >&5
31743 sed 's/^/| /' conftest.$ac_ext >&5
31744
31745 ac_cv_func_gethostbyname=no
31746 fi
31747
31748 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31749 conftest$ac_exeext conftest.$ac_ext
31750 fi
31751 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
31752 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
31753
31754 if test $ac_cv_func_gethostbyname = no; then
31755 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
31756 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
31757 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
31758 echo $ECHO_N "(cached) $ECHO_C" >&6
31759 else
31760 ac_check_lib_save_LIBS=$LIBS
31761 LIBS="-lnsl $LIBS"
31762 cat >conftest.$ac_ext <<_ACEOF
31763 /* confdefs.h. */
31764 _ACEOF
31765 cat confdefs.h >>conftest.$ac_ext
31766 cat >>conftest.$ac_ext <<_ACEOF
31767 /* end confdefs.h. */
31768
31769 /* Override any GCC internal prototype to avoid an error.
31770 Use char because int might match the return type of a GCC
31771 builtin and then its argument prototype would still apply. */
31772 #ifdef __cplusplus
31773 extern "C"
31774 #endif
31775 char gethostbyname ();
31776 int
31777 main ()
31778 {
31779 return gethostbyname ();
31780 ;
31781 return 0;
31782 }
31783 _ACEOF
31784 rm -f conftest.$ac_objext conftest$ac_exeext
31785 if { (ac_try="$ac_link"
31786 case "(($ac_try" in
31787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31788 *) ac_try_echo=$ac_try;;
31789 esac
31790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31791 (eval "$ac_link") 2>conftest.er1
31792 ac_status=$?
31793 grep -v '^ *+' conftest.er1 >conftest.err
31794 rm -f conftest.er1
31795 cat conftest.err >&5
31796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31797 (exit $ac_status); } && {
31798 test -z "$ac_c_werror_flag" ||
31799 test ! -s conftest.err
31800 } && test -s conftest$ac_exeext &&
31801 $as_test_x conftest$ac_exeext; then
31802 ac_cv_lib_nsl_gethostbyname=yes
31803 else
31804 echo "$as_me: failed program was:" >&5
31805 sed 's/^/| /' conftest.$ac_ext >&5
31806
31807 ac_cv_lib_nsl_gethostbyname=no
31808 fi
31809
31810 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31811 conftest$ac_exeext conftest.$ac_ext
31812 LIBS=$ac_check_lib_save_LIBS
31813 fi
31814 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
31815 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
31816 if test $ac_cv_lib_nsl_gethostbyname = yes; then
31817 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
31818 fi
31819
31820 if test $ac_cv_lib_nsl_gethostbyname = no; then
31821 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
31822 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
31823 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
31824 echo $ECHO_N "(cached) $ECHO_C" >&6
31825 else
31826 ac_check_lib_save_LIBS=$LIBS
31827 LIBS="-lbsd $LIBS"
31828 cat >conftest.$ac_ext <<_ACEOF
31829 /* confdefs.h. */
31830 _ACEOF
31831 cat confdefs.h >>conftest.$ac_ext
31832 cat >>conftest.$ac_ext <<_ACEOF
31833 /* end confdefs.h. */
31834
31835 /* Override any GCC internal prototype to avoid an error.
31836 Use char because int might match the return type of a GCC
31837 builtin and then its argument prototype would still apply. */
31838 #ifdef __cplusplus
31839 extern "C"
31840 #endif
31841 char gethostbyname ();
31842 int
31843 main ()
31844 {
31845 return gethostbyname ();
31846 ;
31847 return 0;
31848 }
31849 _ACEOF
31850 rm -f conftest.$ac_objext conftest$ac_exeext
31851 if { (ac_try="$ac_link"
31852 case "(($ac_try" in
31853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31854 *) ac_try_echo=$ac_try;;
31855 esac
31856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31857 (eval "$ac_link") 2>conftest.er1
31858 ac_status=$?
31859 grep -v '^ *+' conftest.er1 >conftest.err
31860 rm -f conftest.er1
31861 cat conftest.err >&5
31862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31863 (exit $ac_status); } && {
31864 test -z "$ac_c_werror_flag" ||
31865 test ! -s conftest.err
31866 } && test -s conftest$ac_exeext &&
31867 $as_test_x conftest$ac_exeext; then
31868 ac_cv_lib_bsd_gethostbyname=yes
31869 else
31870 echo "$as_me: failed program was:" >&5
31871 sed 's/^/| /' conftest.$ac_ext >&5
31872
31873 ac_cv_lib_bsd_gethostbyname=no
31874 fi
31875
31876 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31877 conftest$ac_exeext conftest.$ac_ext
31878 LIBS=$ac_check_lib_save_LIBS
31879 fi
31880 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
31881 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
31882 if test $ac_cv_lib_bsd_gethostbyname = yes; then
31883 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
31884 fi
31885
31886 fi
31887 fi
31888
31889 # lieder@skyler.mavd.honeywell.com says without -lsocket,
31890 # socket/setsockopt and other routines are undefined under SCO ODT
31891 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
31892 # on later versions), says Simon Leinen: it contains gethostby*
31893 # variants that don't use the name server (or something). -lsocket
31894 # must be given before -lnsl if both are needed. We assume that
31895 # if connect needs -lnsl, so does gethostbyname.
31896 { echo "$as_me:$LINENO: checking for connect" >&5
31897 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
31898 if test "${ac_cv_func_connect+set}" = set; then
31899 echo $ECHO_N "(cached) $ECHO_C" >&6
31900 else
31901 cat >conftest.$ac_ext <<_ACEOF
31902 /* confdefs.h. */
31903 _ACEOF
31904 cat confdefs.h >>conftest.$ac_ext
31905 cat >>conftest.$ac_ext <<_ACEOF
31906 /* end confdefs.h. */
31907 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
31908 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31909 #define connect innocuous_connect
31910
31911 /* System header to define __stub macros and hopefully few prototypes,
31912 which can conflict with char connect (); below.
31913 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31914 <limits.h> exists even on freestanding compilers. */
31915
31916 #ifdef __STDC__
31917 # include <limits.h>
31918 #else
31919 # include <assert.h>
31920 #endif
31921
31922 #undef connect
31923
31924 /* Override any GCC internal prototype to avoid an error.
31925 Use char because int might match the return type of a GCC
31926 builtin and then its argument prototype would still apply. */
31927 #ifdef __cplusplus
31928 extern "C"
31929 #endif
31930 char connect ();
31931 /* The GNU C library defines this for functions which it implements
31932 to always fail with ENOSYS. Some functions are actually named
31933 something starting with __ and the normal name is an alias. */
31934 #if defined __stub_connect || defined __stub___connect
31935 choke me
31936 #endif
31937
31938 int
31939 main ()
31940 {
31941 return connect ();
31942 ;
31943 return 0;
31944 }
31945 _ACEOF
31946 rm -f conftest.$ac_objext conftest$ac_exeext
31947 if { (ac_try="$ac_link"
31948 case "(($ac_try" in
31949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31950 *) ac_try_echo=$ac_try;;
31951 esac
31952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31953 (eval "$ac_link") 2>conftest.er1
31954 ac_status=$?
31955 grep -v '^ *+' conftest.er1 >conftest.err
31956 rm -f conftest.er1
31957 cat conftest.err >&5
31958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31959 (exit $ac_status); } && {
31960 test -z "$ac_c_werror_flag" ||
31961 test ! -s conftest.err
31962 } && test -s conftest$ac_exeext &&
31963 $as_test_x conftest$ac_exeext; then
31964 ac_cv_func_connect=yes
31965 else
31966 echo "$as_me: failed program was:" >&5
31967 sed 's/^/| /' conftest.$ac_ext >&5
31968
31969 ac_cv_func_connect=no
31970 fi
31971
31972 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31973 conftest$ac_exeext conftest.$ac_ext
31974 fi
31975 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
31976 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
31977
31978 if test $ac_cv_func_connect = no; then
31979 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
31980 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
31981 if test "${ac_cv_lib_socket_connect+set}" = set; then
31982 echo $ECHO_N "(cached) $ECHO_C" >&6
31983 else
31984 ac_check_lib_save_LIBS=$LIBS
31985 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
31986 cat >conftest.$ac_ext <<_ACEOF
31987 /* confdefs.h. */
31988 _ACEOF
31989 cat confdefs.h >>conftest.$ac_ext
31990 cat >>conftest.$ac_ext <<_ACEOF
31991 /* end confdefs.h. */
31992
31993 /* Override any GCC internal prototype to avoid an error.
31994 Use char because int might match the return type of a GCC
31995 builtin and then its argument prototype would still apply. */
31996 #ifdef __cplusplus
31997 extern "C"
31998 #endif
31999 char connect ();
32000 int
32001 main ()
32002 {
32003 return connect ();
32004 ;
32005 return 0;
32006 }
32007 _ACEOF
32008 rm -f conftest.$ac_objext conftest$ac_exeext
32009 if { (ac_try="$ac_link"
32010 case "(($ac_try" in
32011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32012 *) ac_try_echo=$ac_try;;
32013 esac
32014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32015 (eval "$ac_link") 2>conftest.er1
32016 ac_status=$?
32017 grep -v '^ *+' conftest.er1 >conftest.err
32018 rm -f conftest.er1
32019 cat conftest.err >&5
32020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32021 (exit $ac_status); } && {
32022 test -z "$ac_c_werror_flag" ||
32023 test ! -s conftest.err
32024 } && test -s conftest$ac_exeext &&
32025 $as_test_x conftest$ac_exeext; then
32026 ac_cv_lib_socket_connect=yes
32027 else
32028 echo "$as_me: failed program was:" >&5
32029 sed 's/^/| /' conftest.$ac_ext >&5
32030
32031 ac_cv_lib_socket_connect=no
32032 fi
32033
32034 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32035 conftest$ac_exeext conftest.$ac_ext
32036 LIBS=$ac_check_lib_save_LIBS
32037 fi
32038 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
32039 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
32040 if test $ac_cv_lib_socket_connect = yes; then
32041 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
32042 fi
32043
32044 fi
32045
32046 # Guillermo Gomez says -lposix is necessary on A/UX.
32047 { echo "$as_me:$LINENO: checking for remove" >&5
32048 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
32049 if test "${ac_cv_func_remove+set}" = set; then
32050 echo $ECHO_N "(cached) $ECHO_C" >&6
32051 else
32052 cat >conftest.$ac_ext <<_ACEOF
32053 /* confdefs.h. */
32054 _ACEOF
32055 cat confdefs.h >>conftest.$ac_ext
32056 cat >>conftest.$ac_ext <<_ACEOF
32057 /* end confdefs.h. */
32058 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
32059 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32060 #define remove innocuous_remove
32061
32062 /* System header to define __stub macros and hopefully few prototypes,
32063 which can conflict with char remove (); below.
32064 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32065 <limits.h> exists even on freestanding compilers. */
32066
32067 #ifdef __STDC__
32068 # include <limits.h>
32069 #else
32070 # include <assert.h>
32071 #endif
32072
32073 #undef remove
32074
32075 /* Override any GCC internal prototype to avoid an error.
32076 Use char because int might match the return type of a GCC
32077 builtin and then its argument prototype would still apply. */
32078 #ifdef __cplusplus
32079 extern "C"
32080 #endif
32081 char remove ();
32082 /* The GNU C library defines this for functions which it implements
32083 to always fail with ENOSYS. Some functions are actually named
32084 something starting with __ and the normal name is an alias. */
32085 #if defined __stub_remove || defined __stub___remove
32086 choke me
32087 #endif
32088
32089 int
32090 main ()
32091 {
32092 return remove ();
32093 ;
32094 return 0;
32095 }
32096 _ACEOF
32097 rm -f conftest.$ac_objext conftest$ac_exeext
32098 if { (ac_try="$ac_link"
32099 case "(($ac_try" in
32100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32101 *) ac_try_echo=$ac_try;;
32102 esac
32103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32104 (eval "$ac_link") 2>conftest.er1
32105 ac_status=$?
32106 grep -v '^ *+' conftest.er1 >conftest.err
32107 rm -f conftest.er1
32108 cat conftest.err >&5
32109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32110 (exit $ac_status); } && {
32111 test -z "$ac_c_werror_flag" ||
32112 test ! -s conftest.err
32113 } && test -s conftest$ac_exeext &&
32114 $as_test_x conftest$ac_exeext; then
32115 ac_cv_func_remove=yes
32116 else
32117 echo "$as_me: failed program was:" >&5
32118 sed 's/^/| /' conftest.$ac_ext >&5
32119
32120 ac_cv_func_remove=no
32121 fi
32122
32123 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32124 conftest$ac_exeext conftest.$ac_ext
32125 fi
32126 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
32127 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
32128
32129 if test $ac_cv_func_remove = no; then
32130 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
32131 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
32132 if test "${ac_cv_lib_posix_remove+set}" = set; then
32133 echo $ECHO_N "(cached) $ECHO_C" >&6
32134 else
32135 ac_check_lib_save_LIBS=$LIBS
32136 LIBS="-lposix $LIBS"
32137 cat >conftest.$ac_ext <<_ACEOF
32138 /* confdefs.h. */
32139 _ACEOF
32140 cat confdefs.h >>conftest.$ac_ext
32141 cat >>conftest.$ac_ext <<_ACEOF
32142 /* end confdefs.h. */
32143
32144 /* Override any GCC internal prototype to avoid an error.
32145 Use char because int might match the return type of a GCC
32146 builtin and then its argument prototype would still apply. */
32147 #ifdef __cplusplus
32148 extern "C"
32149 #endif
32150 char remove ();
32151 int
32152 main ()
32153 {
32154 return remove ();
32155 ;
32156 return 0;
32157 }
32158 _ACEOF
32159 rm -f conftest.$ac_objext conftest$ac_exeext
32160 if { (ac_try="$ac_link"
32161 case "(($ac_try" in
32162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32163 *) ac_try_echo=$ac_try;;
32164 esac
32165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32166 (eval "$ac_link") 2>conftest.er1
32167 ac_status=$?
32168 grep -v '^ *+' conftest.er1 >conftest.err
32169 rm -f conftest.er1
32170 cat conftest.err >&5
32171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32172 (exit $ac_status); } && {
32173 test -z "$ac_c_werror_flag" ||
32174 test ! -s conftest.err
32175 } && test -s conftest$ac_exeext &&
32176 $as_test_x conftest$ac_exeext; then
32177 ac_cv_lib_posix_remove=yes
32178 else
32179 echo "$as_me: failed program was:" >&5
32180 sed 's/^/| /' conftest.$ac_ext >&5
32181
32182 ac_cv_lib_posix_remove=no
32183 fi
32184
32185 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32186 conftest$ac_exeext conftest.$ac_ext
32187 LIBS=$ac_check_lib_save_LIBS
32188 fi
32189 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
32190 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
32191 if test $ac_cv_lib_posix_remove = yes; then
32192 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
32193 fi
32194
32195 fi
32196
32197 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
32198 { echo "$as_me:$LINENO: checking for shmat" >&5
32199 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
32200 if test "${ac_cv_func_shmat+set}" = set; then
32201 echo $ECHO_N "(cached) $ECHO_C" >&6
32202 else
32203 cat >conftest.$ac_ext <<_ACEOF
32204 /* confdefs.h. */
32205 _ACEOF
32206 cat confdefs.h >>conftest.$ac_ext
32207 cat >>conftest.$ac_ext <<_ACEOF
32208 /* end confdefs.h. */
32209 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
32210 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32211 #define shmat innocuous_shmat
32212
32213 /* System header to define __stub macros and hopefully few prototypes,
32214 which can conflict with char shmat (); below.
32215 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32216 <limits.h> exists even on freestanding compilers. */
32217
32218 #ifdef __STDC__
32219 # include <limits.h>
32220 #else
32221 # include <assert.h>
32222 #endif
32223
32224 #undef shmat
32225
32226 /* Override any GCC internal prototype to avoid an error.
32227 Use char because int might match the return type of a GCC
32228 builtin and then its argument prototype would still apply. */
32229 #ifdef __cplusplus
32230 extern "C"
32231 #endif
32232 char shmat ();
32233 /* The GNU C library defines this for functions which it implements
32234 to always fail with ENOSYS. Some functions are actually named
32235 something starting with __ and the normal name is an alias. */
32236 #if defined __stub_shmat || defined __stub___shmat
32237 choke me
32238 #endif
32239
32240 int
32241 main ()
32242 {
32243 return shmat ();
32244 ;
32245 return 0;
32246 }
32247 _ACEOF
32248 rm -f conftest.$ac_objext conftest$ac_exeext
32249 if { (ac_try="$ac_link"
32250 case "(($ac_try" in
32251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32252 *) ac_try_echo=$ac_try;;
32253 esac
32254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32255 (eval "$ac_link") 2>conftest.er1
32256 ac_status=$?
32257 grep -v '^ *+' conftest.er1 >conftest.err
32258 rm -f conftest.er1
32259 cat conftest.err >&5
32260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32261 (exit $ac_status); } && {
32262 test -z "$ac_c_werror_flag" ||
32263 test ! -s conftest.err
32264 } && test -s conftest$ac_exeext &&
32265 $as_test_x conftest$ac_exeext; then
32266 ac_cv_func_shmat=yes
32267 else
32268 echo "$as_me: failed program was:" >&5
32269 sed 's/^/| /' conftest.$ac_ext >&5
32270
32271 ac_cv_func_shmat=no
32272 fi
32273
32274 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32275 conftest$ac_exeext conftest.$ac_ext
32276 fi
32277 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
32278 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
32279
32280 if test $ac_cv_func_shmat = no; then
32281 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
32282 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
32283 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
32284 echo $ECHO_N "(cached) $ECHO_C" >&6
32285 else
32286 ac_check_lib_save_LIBS=$LIBS
32287 LIBS="-lipc $LIBS"
32288 cat >conftest.$ac_ext <<_ACEOF
32289 /* confdefs.h. */
32290 _ACEOF
32291 cat confdefs.h >>conftest.$ac_ext
32292 cat >>conftest.$ac_ext <<_ACEOF
32293 /* end confdefs.h. */
32294
32295 /* Override any GCC internal prototype to avoid an error.
32296 Use char because int might match the return type of a GCC
32297 builtin and then its argument prototype would still apply. */
32298 #ifdef __cplusplus
32299 extern "C"
32300 #endif
32301 char shmat ();
32302 int
32303 main ()
32304 {
32305 return shmat ();
32306 ;
32307 return 0;
32308 }
32309 _ACEOF
32310 rm -f conftest.$ac_objext conftest$ac_exeext
32311 if { (ac_try="$ac_link"
32312 case "(($ac_try" in
32313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32314 *) ac_try_echo=$ac_try;;
32315 esac
32316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32317 (eval "$ac_link") 2>conftest.er1
32318 ac_status=$?
32319 grep -v '^ *+' conftest.er1 >conftest.err
32320 rm -f conftest.er1
32321 cat conftest.err >&5
32322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32323 (exit $ac_status); } && {
32324 test -z "$ac_c_werror_flag" ||
32325 test ! -s conftest.err
32326 } && test -s conftest$ac_exeext &&
32327 $as_test_x conftest$ac_exeext; then
32328 ac_cv_lib_ipc_shmat=yes
32329 else
32330 echo "$as_me: failed program was:" >&5
32331 sed 's/^/| /' conftest.$ac_ext >&5
32332
32333 ac_cv_lib_ipc_shmat=no
32334 fi
32335
32336 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32337 conftest$ac_exeext conftest.$ac_ext
32338 LIBS=$ac_check_lib_save_LIBS
32339 fi
32340 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
32341 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
32342 if test $ac_cv_lib_ipc_shmat = yes; then
32343 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
32344 fi
32345
32346 fi
32347 fi
32348
32349 # Check for libraries that X11R6 Xt/Xaw programs need.
32350 ac_save_LDFLAGS=$LDFLAGS
32351 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
32352 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
32353 # check for ICE first), but we must link in the order -lSM -lICE or
32354 # we get undefined symbols. So assume we have SM if we have ICE.
32355 # These have to be linked with before -lX11, unlike the other
32356 # libraries we check for below, so use a different variable.
32357 # John Interrante, Karl Berry
32358 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
32359 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
32360 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
32361 echo $ECHO_N "(cached) $ECHO_C" >&6
32362 else
32363 ac_check_lib_save_LIBS=$LIBS
32364 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
32365 cat >conftest.$ac_ext <<_ACEOF
32366 /* confdefs.h. */
32367 _ACEOF
32368 cat confdefs.h >>conftest.$ac_ext
32369 cat >>conftest.$ac_ext <<_ACEOF
32370 /* end confdefs.h. */
32371
32372 /* Override any GCC internal prototype to avoid an error.
32373 Use char because int might match the return type of a GCC
32374 builtin and then its argument prototype would still apply. */
32375 #ifdef __cplusplus
32376 extern "C"
32377 #endif
32378 char IceConnectionNumber ();
32379 int
32380 main ()
32381 {
32382 return IceConnectionNumber ();
32383 ;
32384 return 0;
32385 }
32386 _ACEOF
32387 rm -f conftest.$ac_objext conftest$ac_exeext
32388 if { (ac_try="$ac_link"
32389 case "(($ac_try" in
32390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32391 *) ac_try_echo=$ac_try;;
32392 esac
32393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32394 (eval "$ac_link") 2>conftest.er1
32395 ac_status=$?
32396 grep -v '^ *+' conftest.er1 >conftest.err
32397 rm -f conftest.er1
32398 cat conftest.err >&5
32399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32400 (exit $ac_status); } && {
32401 test -z "$ac_c_werror_flag" ||
32402 test ! -s conftest.err
32403 } && test -s conftest$ac_exeext &&
32404 $as_test_x conftest$ac_exeext; then
32405 ac_cv_lib_ICE_IceConnectionNumber=yes
32406 else
32407 echo "$as_me: failed program was:" >&5
32408 sed 's/^/| /' conftest.$ac_ext >&5
32409
32410 ac_cv_lib_ICE_IceConnectionNumber=no
32411 fi
32412
32413 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32414 conftest$ac_exeext conftest.$ac_ext
32415 LIBS=$ac_check_lib_save_LIBS
32416 fi
32417 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
32418 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
32419 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
32420 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
32421 fi
32422
32423 LDFLAGS=$ac_save_LDFLAGS
32424
32425 fi
32426
32427
32428 if test "$no_x" = "yes"; then
32429 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
32430 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
32431 { (exit 1); exit 1; }; }
32432 fi
32433
32434 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
32435 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
32436 AFMINSTALL=afminstall
32437 COMPILED_X_PROGRAM=0
32438
32439 fi
32440
32441 if test "$wxUSE_X11" = 1; then
32442 if test "$wxUSE_NANOX" = "yes"; then
32443 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
32444 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
32445 if test "x$MICROWIN" = x ; then
32446 { echo "$as_me:$LINENO: result: not found" >&5
32447 echo "${ECHO_T}not found" >&6; }
32448 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
32449 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
32450 { (exit 1); exit 1; }; }
32451 else
32452 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
32453 echo "${ECHO_T}$MICROWIN" >&6; }
32454 cat >>confdefs.h <<\_ACEOF
32455 #define wxUSE_NANOX 1
32456 _ACEOF
32457
32458 fi
32459 fi
32460
32461 if test "$wxUSE_UNICODE" = "yes"; then
32462
32463
32464 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32465 if test -n "$ac_tool_prefix"; then
32466 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32467 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32468 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32469 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32470 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32471 echo $ECHO_N "(cached) $ECHO_C" >&6
32472 else
32473 case $PKG_CONFIG in
32474 [\\/]* | ?:[\\/]*)
32475 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
32476 ;;
32477 *)
32478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32479 for as_dir in $PATH
32480 do
32481 IFS=$as_save_IFS
32482 test -z "$as_dir" && as_dir=.
32483 for ac_exec_ext in '' $ac_executable_extensions; do
32484 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32485 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32486 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32487 break 2
32488 fi
32489 done
32490 done
32491 IFS=$as_save_IFS
32492
32493 ;;
32494 esac
32495 fi
32496 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
32497 if test -n "$PKG_CONFIG"; then
32498 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32499 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32500 else
32501 { echo "$as_me:$LINENO: result: no" >&5
32502 echo "${ECHO_T}no" >&6; }
32503 fi
32504
32505
32506 fi
32507 if test -z "$ac_cv_path_PKG_CONFIG"; then
32508 ac_pt_PKG_CONFIG=$PKG_CONFIG
32509 # Extract the first word of "pkg-config", so it can be a program name with args.
32510 set dummy pkg-config; ac_word=$2
32511 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32512 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32513 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32514 echo $ECHO_N "(cached) $ECHO_C" >&6
32515 else
32516 case $ac_pt_PKG_CONFIG in
32517 [\\/]* | ?:[\\/]*)
32518 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32519 ;;
32520 *)
32521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32522 for as_dir in $PATH
32523 do
32524 IFS=$as_save_IFS
32525 test -z "$as_dir" && as_dir=.
32526 for ac_exec_ext in '' $ac_executable_extensions; do
32527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32528 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32529 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32530 break 2
32531 fi
32532 done
32533 done
32534 IFS=$as_save_IFS
32535
32536 ;;
32537 esac
32538 fi
32539 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
32540 if test -n "$ac_pt_PKG_CONFIG"; then
32541 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32542 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32543 else
32544 { echo "$as_me:$LINENO: result: no" >&5
32545 echo "${ECHO_T}no" >&6; }
32546 fi
32547
32548 if test "x$ac_pt_PKG_CONFIG" = x; then
32549 PKG_CONFIG=""
32550 else
32551 case $cross_compiling:$ac_tool_warned in
32552 yes:)
32553 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32554 whose name does not start with the host triplet. If you think this
32555 configuration is useful to you, please write to autoconf@gnu.org." >&5
32556 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32557 whose name does not start with the host triplet. If you think this
32558 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32559 ac_tool_warned=yes ;;
32560 esac
32561 PKG_CONFIG=$ac_pt_PKG_CONFIG
32562 fi
32563 else
32564 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
32565 fi
32566
32567 fi
32568 if test -n "$PKG_CONFIG"; then
32569 _pkg_min_version=0.9.0
32570 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32571 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32572 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32573 { echo "$as_me:$LINENO: result: yes" >&5
32574 echo "${ECHO_T}yes" >&6; }
32575 else
32576 { echo "$as_me:$LINENO: result: no" >&5
32577 echo "${ECHO_T}no" >&6; }
32578 PKG_CONFIG=""
32579 fi
32580
32581 fi
32582
32583
32584 pkg_failed=no
32585 { echo "$as_me:$LINENO: checking for PANGOX" >&5
32586 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
32587
32588 if test -n "$PKG_CONFIG"; then
32589 if test -n "$PANGOX_CFLAGS"; then
32590 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
32591 else
32592 if test -n "$PKG_CONFIG" && \
32593 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32594 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32595 ac_status=$?
32596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32597 (exit $ac_status); }; then
32598 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
32599 else
32600 pkg_failed=yes
32601 fi
32602 fi
32603 else
32604 pkg_failed=untried
32605 fi
32606 if test -n "$PKG_CONFIG"; then
32607 if test -n "$PANGOX_LIBS"; then
32608 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
32609 else
32610 if test -n "$PKG_CONFIG" && \
32611 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32612 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32613 ac_status=$?
32614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32615 (exit $ac_status); }; then
32616 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
32617 else
32618 pkg_failed=yes
32619 fi
32620 fi
32621 else
32622 pkg_failed=untried
32623 fi
32624
32625
32626
32627 if test $pkg_failed = yes; then
32628
32629 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32630 _pkg_short_errors_supported=yes
32631 else
32632 _pkg_short_errors_supported=no
32633 fi
32634 if test $_pkg_short_errors_supported = yes; then
32635 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
32636 else
32637 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
32638 fi
32639 # Put the nasty error message in config.log where it belongs
32640 echo "$PANGOX_PKG_ERRORS" >&5
32641
32642
32643 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32644 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32645 { (exit 1); exit 1; }; }
32646
32647
32648 elif test $pkg_failed = untried; then
32649
32650 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32651 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32652 { (exit 1); exit 1; }; }
32653
32654
32655 else
32656 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
32657 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
32658 { echo "$as_me:$LINENO: result: yes" >&5
32659 echo "${ECHO_T}yes" >&6; }
32660
32661 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
32662 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
32663 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
32664
32665 fi
32666
32667 pkg_failed=no
32668 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
32669 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
32670
32671 if test -n "$PKG_CONFIG"; then
32672 if test -n "$PANGOFT2_CFLAGS"; then
32673 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
32674 else
32675 if test -n "$PKG_CONFIG" && \
32676 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32677 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32678 ac_status=$?
32679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32680 (exit $ac_status); }; then
32681 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
32682 else
32683 pkg_failed=yes
32684 fi
32685 fi
32686 else
32687 pkg_failed=untried
32688 fi
32689 if test -n "$PKG_CONFIG"; then
32690 if test -n "$PANGOFT2_LIBS"; then
32691 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
32692 else
32693 if test -n "$PKG_CONFIG" && \
32694 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32695 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32696 ac_status=$?
32697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32698 (exit $ac_status); }; then
32699 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
32700 else
32701 pkg_failed=yes
32702 fi
32703 fi
32704 else
32705 pkg_failed=untried
32706 fi
32707
32708
32709
32710 if test $pkg_failed = yes; then
32711
32712 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32713 _pkg_short_errors_supported=yes
32714 else
32715 _pkg_short_errors_supported=no
32716 fi
32717 if test $_pkg_short_errors_supported = yes; then
32718 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
32719 else
32720 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
32721 fi
32722 # Put the nasty error message in config.log where it belongs
32723 echo "$PANGOFT2_PKG_ERRORS" >&5
32724
32725
32726 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32727 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32728 wxUSE_PRINTING_ARCHITECTURE="no"
32729
32730
32731 elif test $pkg_failed = untried; then
32732
32733 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32734 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32735 wxUSE_PRINTING_ARCHITECTURE="no"
32736
32737
32738 else
32739 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
32740 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
32741 { echo "$as_me:$LINENO: result: yes" >&5
32742 echo "${ECHO_T}yes" >&6; }
32743
32744 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
32745 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
32746 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
32747
32748 fi
32749
32750 pkg_failed=no
32751 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
32752 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
32753
32754 if test -n "$PKG_CONFIG"; then
32755 if test -n "$PANGOXFT_CFLAGS"; then
32756 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
32757 else
32758 if test -n "$PKG_CONFIG" && \
32759 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32760 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32761 ac_status=$?
32762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32763 (exit $ac_status); }; then
32764 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
32765 else
32766 pkg_failed=yes
32767 fi
32768 fi
32769 else
32770 pkg_failed=untried
32771 fi
32772 if test -n "$PKG_CONFIG"; then
32773 if test -n "$PANGOXFT_LIBS"; then
32774 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
32775 else
32776 if test -n "$PKG_CONFIG" && \
32777 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32778 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32779 ac_status=$?
32780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32781 (exit $ac_status); }; then
32782 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
32783 else
32784 pkg_failed=yes
32785 fi
32786 fi
32787 else
32788 pkg_failed=untried
32789 fi
32790
32791
32792
32793 if test $pkg_failed = yes; then
32794
32795 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32796 _pkg_short_errors_supported=yes
32797 else
32798 _pkg_short_errors_supported=no
32799 fi
32800 if test $_pkg_short_errors_supported = yes; then
32801 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
32802 else
32803 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
32804 fi
32805 # Put the nasty error message in config.log where it belongs
32806 echo "$PANGOXFT_PKG_ERRORS" >&5
32807
32808
32809 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32810 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32811
32812
32813 elif test $pkg_failed = untried; then
32814
32815 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32816 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32817
32818
32819 else
32820 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
32821 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
32822 { echo "$as_me:$LINENO: result: yes" >&5
32823 echo "${ECHO_T}yes" >&6; }
32824
32825 cat >>confdefs.h <<\_ACEOF
32826 #define HAVE_PANGO_XFT 1
32827 _ACEOF
32828
32829 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
32830 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
32831 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
32832
32833 fi
32834 save_LIBS="$LIBS"
32835 LIBS="$LIBS $PANGOX_LIBS"
32836
32837 for ac_func in pango_font_family_is_monospace
32838 do
32839 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32840 { echo "$as_me:$LINENO: checking for $ac_func" >&5
32841 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
32842 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
32843 echo $ECHO_N "(cached) $ECHO_C" >&6
32844 else
32845 cat >conftest.$ac_ext <<_ACEOF
32846 /* confdefs.h. */
32847 _ACEOF
32848 cat confdefs.h >>conftest.$ac_ext
32849 cat >>conftest.$ac_ext <<_ACEOF
32850 /* end confdefs.h. */
32851 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32852 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32853 #define $ac_func innocuous_$ac_func
32854
32855 /* System header to define __stub macros and hopefully few prototypes,
32856 which can conflict with char $ac_func (); below.
32857 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32858 <limits.h> exists even on freestanding compilers. */
32859
32860 #ifdef __STDC__
32861 # include <limits.h>
32862 #else
32863 # include <assert.h>
32864 #endif
32865
32866 #undef $ac_func
32867
32868 /* Override any GCC internal prototype to avoid an error.
32869 Use char because int might match the return type of a GCC
32870 builtin and then its argument prototype would still apply. */
32871 #ifdef __cplusplus
32872 extern "C"
32873 #endif
32874 char $ac_func ();
32875 /* The GNU C library defines this for functions which it implements
32876 to always fail with ENOSYS. Some functions are actually named
32877 something starting with __ and the normal name is an alias. */
32878 #if defined __stub_$ac_func || defined __stub___$ac_func
32879 choke me
32880 #endif
32881
32882 int
32883 main ()
32884 {
32885 return $ac_func ();
32886 ;
32887 return 0;
32888 }
32889 _ACEOF
32890 rm -f conftest.$ac_objext conftest$ac_exeext
32891 if { (ac_try="$ac_link"
32892 case "(($ac_try" in
32893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32894 *) ac_try_echo=$ac_try;;
32895 esac
32896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32897 (eval "$ac_link") 2>conftest.er1
32898 ac_status=$?
32899 grep -v '^ *+' conftest.er1 >conftest.err
32900 rm -f conftest.er1
32901 cat conftest.err >&5
32902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32903 (exit $ac_status); } && {
32904 test -z "$ac_c_werror_flag" ||
32905 test ! -s conftest.err
32906 } && test -s conftest$ac_exeext &&
32907 $as_test_x conftest$ac_exeext; then
32908 eval "$as_ac_var=yes"
32909 else
32910 echo "$as_me: failed program was:" >&5
32911 sed 's/^/| /' conftest.$ac_ext >&5
32912
32913 eval "$as_ac_var=no"
32914 fi
32915
32916 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32917 conftest$ac_exeext conftest.$ac_ext
32918 fi
32919 ac_res=`eval echo '${'$as_ac_var'}'`
32920 { echo "$as_me:$LINENO: result: $ac_res" >&5
32921 echo "${ECHO_T}$ac_res" >&6; }
32922 if test `eval echo '${'$as_ac_var'}'` = yes; then
32923 cat >>confdefs.h <<_ACEOF
32924 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32925 _ACEOF
32926
32927 fi
32928 done
32929
32930 LIBS="$save_LIBS"
32931 fi
32932
32933 wxUSE_UNIVERSAL="yes"
32934
32935 if test "$wxUSE_NANOX" = "yes"; then
32936 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
32937 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"
32938 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
32939 else
32940 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
32941 fi
32942
32943 TOOLKIT=X11
32944 GUIDIST=X11_DIST
32945 fi
32946
32947 if test "$wxUSE_MOTIF" = 1; then
32948 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
32949 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
32950
32951 ac_find_includes=
32952 for ac_dir in $SEARCH_INCLUDE /usr/include;
32953 do
32954 if test -f "$ac_dir/Xm/Xm.h"; then
32955 ac_find_includes=$ac_dir
32956 break
32957 fi
32958 done
32959
32960 if test "$ac_find_includes" != "" ; then
32961 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32962 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32963
32964 if test "x$ac_find_includes" = "x/usr/include"; then
32965 ac_path_to_include=""
32966 else
32967 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
32968 result=$?
32969 if test $result = 0; then
32970 ac_path_to_include=""
32971 else
32972 ac_path_to_include=" -I$ac_find_includes"
32973 fi
32974 fi
32975
32976 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
32977 else
32978 save_CFLAGS=$CFLAGS
32979 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32980
32981 cat >conftest.$ac_ext <<_ACEOF
32982 /* confdefs.h. */
32983 _ACEOF
32984 cat confdefs.h >>conftest.$ac_ext
32985 cat >>conftest.$ac_ext <<_ACEOF
32986 /* end confdefs.h. */
32987
32988 #include <Xm/Xm.h>
32989
32990 int
32991 main ()
32992 {
32993
32994 int version;
32995 version = xmUseVersion;
32996
32997 ;
32998 return 0;
32999 }
33000 _ACEOF
33001 rm -f conftest.$ac_objext
33002 if { (ac_try="$ac_compile"
33003 case "(($ac_try" in
33004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33005 *) ac_try_echo=$ac_try;;
33006 esac
33007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33008 (eval "$ac_compile") 2>conftest.er1
33009 ac_status=$?
33010 grep -v '^ *+' conftest.er1 >conftest.err
33011 rm -f conftest.er1
33012 cat conftest.err >&5
33013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33014 (exit $ac_status); } && {
33015 test -z "$ac_c_werror_flag" ||
33016 test ! -s conftest.err
33017 } && test -s conftest.$ac_objext; then
33018
33019 { echo "$as_me:$LINENO: result: found in default search path" >&5
33020 echo "${ECHO_T}found in default search path" >&6; }
33021 COMPILED_X_PROGRAM=1
33022
33023 else
33024 echo "$as_me: failed program was:" >&5
33025 sed 's/^/| /' conftest.$ac_ext >&5
33026
33027
33028 { echo "$as_me:$LINENO: result: no" >&5
33029 echo "${ECHO_T}no" >&6; }
33030 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
33031 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
33032 { (exit 1); exit 1; }; }
33033
33034
33035 fi
33036
33037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33038
33039 CFLAGS=$save_CFLAGS
33040 fi
33041
33042
33043 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
33044 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
33045
33046 ac_find_libraries=
33047 for ac_dir in $SEARCH_LIB;
33048 do
33049 for ac_extension in a so sl dylib dll.a; do
33050 if test -f "$ac_dir/libXm.$ac_extension"; then
33051 ac_find_libraries=$ac_dir
33052 break 2
33053 fi
33054 done
33055 done
33056
33057
33058 if test "x$ac_find_libraries" != "x" ; then
33059 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33060 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33061
33062
33063 if test "$ac_find_libraries" = "default location"; then
33064 ac_path_to_link=""
33065 else
33066 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33067 result=$?
33068 if test $result = 0; then
33069 ac_path_to_link=""
33070 else
33071 ac_path_to_link=" -L$ac_find_libraries"
33072 fi
33073 fi
33074
33075 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33076 else
33077 save_CFLAGS=$CFLAGS
33078 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33079 save_LIBS="$LIBS"
33080 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
33081
33082 cat >conftest.$ac_ext <<_ACEOF
33083 /* confdefs.h. */
33084 _ACEOF
33085 cat confdefs.h >>conftest.$ac_ext
33086 cat >>conftest.$ac_ext <<_ACEOF
33087 /* end confdefs.h. */
33088
33089 #include <Xm/Xm.h>
33090
33091 int
33092 main ()
33093 {
33094
33095 int version;
33096 version = xmUseVersion;
33097
33098 ;
33099 return 0;
33100 }
33101 _ACEOF
33102 rm -f conftest.$ac_objext conftest$ac_exeext
33103 if { (ac_try="$ac_link"
33104 case "(($ac_try" in
33105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33106 *) ac_try_echo=$ac_try;;
33107 esac
33108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33109 (eval "$ac_link") 2>conftest.er1
33110 ac_status=$?
33111 grep -v '^ *+' conftest.er1 >conftest.err
33112 rm -f conftest.er1
33113 cat conftest.err >&5
33114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33115 (exit $ac_status); } && {
33116 test -z "$ac_c_werror_flag" ||
33117 test ! -s conftest.err
33118 } && test -s conftest$ac_exeext &&
33119 $as_test_x conftest$ac_exeext; then
33120
33121 { echo "$as_me:$LINENO: result: found in default search path" >&5
33122 echo "${ECHO_T}found in default search path" >&6; }
33123 COMPILED_X_PROGRAM=1
33124
33125 else
33126 echo "$as_me: failed program was:" >&5
33127 sed 's/^/| /' conftest.$ac_ext >&5
33128
33129
33130 { echo "$as_me:$LINENO: result: no" >&5
33131 echo "${ECHO_T}no" >&6; }
33132 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
33133 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
33134 { (exit 1); exit 1; }; }
33135
33136
33137 fi
33138
33139 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33140 conftest$ac_exeext conftest.$ac_ext
33141
33142 CFLAGS=$save_CFLAGS
33143 LIBS="$save_LIBS"
33144 fi
33145
33146 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
33147 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
33148 libp_link=""
33149 libsm_ice_link=""
33150 libs_found=0
33151 for libp in "" " -lXp"; do
33152 if test "$libs_found" = 0; then
33153 for libsm_ice in "" " -lSM -lICE"; do
33154 if test "$libs_found" = 0; then
33155 save_LIBS="$LIBS"
33156 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
33157 save_CFLAGS=$CFLAGS
33158 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33159
33160 cat >conftest.$ac_ext <<_ACEOF
33161 /* confdefs.h. */
33162 _ACEOF
33163 cat confdefs.h >>conftest.$ac_ext
33164 cat >>conftest.$ac_ext <<_ACEOF
33165 /* end confdefs.h. */
33166
33167 #include <Xm/Xm.h>
33168 #include <Xm/List.h>
33169
33170 int
33171 main ()
33172 {
33173
33174 XmString string = NULL;
33175 Widget w = NULL;
33176 int position = 0;
33177 XmListAddItem(w, string, position);
33178
33179 ;
33180 return 0;
33181 }
33182 _ACEOF
33183 rm -f conftest.$ac_objext conftest$ac_exeext
33184 if { (ac_try="$ac_link"
33185 case "(($ac_try" in
33186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33187 *) ac_try_echo=$ac_try;;
33188 esac
33189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33190 (eval "$ac_link") 2>conftest.er1
33191 ac_status=$?
33192 grep -v '^ *+' conftest.er1 >conftest.err
33193 rm -f conftest.er1
33194 cat conftest.err >&5
33195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33196 (exit $ac_status); } && {
33197 test -z "$ac_c_werror_flag" ||
33198 test ! -s conftest.err
33199 } && test -s conftest$ac_exeext &&
33200 $as_test_x conftest$ac_exeext; then
33201
33202 libp_link="$libp"
33203 libsm_ice_link="$libsm_ice"
33204 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
33205 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
33206 libs_found=1
33207
33208 else
33209 echo "$as_me: failed program was:" >&5
33210 sed 's/^/| /' conftest.$ac_ext >&5
33211
33212
33213
33214 fi
33215
33216 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33217 conftest$ac_exeext conftest.$ac_ext
33218
33219 LIBS="$save_LIBS"
33220 CFLAGS=$save_CFLAGS
33221 fi
33222 done
33223 fi
33224 done
33225
33226 if test "$libs_found" = 0; then
33227 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
33228 echo "${ECHO_T}can't find the right libraries" >&6; }
33229 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
33230 echo "$as_me: error: can't link a simple motif program" >&2;}
33231 { (exit 1); exit 1; }; }
33232 fi
33233
33234 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
33235 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
33236 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
33237 echo $ECHO_N "(cached) $ECHO_C" >&6
33238 else
33239 ac_check_lib_save_LIBS=$LIBS
33240 LIBS="-lSgm $LIBS"
33241 cat >conftest.$ac_ext <<_ACEOF
33242 /* confdefs.h. */
33243 _ACEOF
33244 cat confdefs.h >>conftest.$ac_ext
33245 cat >>conftest.$ac_ext <<_ACEOF
33246 /* end confdefs.h. */
33247
33248 /* Override any GCC internal prototype to avoid an error.
33249 Use char because int might match the return type of a GCC
33250 builtin and then its argument prototype would still apply. */
33251 #ifdef __cplusplus
33252 extern "C"
33253 #endif
33254 char SgCreateList ();
33255 int
33256 main ()
33257 {
33258 return SgCreateList ();
33259 ;
33260 return 0;
33261 }
33262 _ACEOF
33263 rm -f conftest.$ac_objext conftest$ac_exeext
33264 if { (ac_try="$ac_link"
33265 case "(($ac_try" in
33266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33267 *) ac_try_echo=$ac_try;;
33268 esac
33269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33270 (eval "$ac_link") 2>conftest.er1
33271 ac_status=$?
33272 grep -v '^ *+' conftest.er1 >conftest.err
33273 rm -f conftest.er1
33274 cat conftest.err >&5
33275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33276 (exit $ac_status); } && {
33277 test -z "$ac_c_werror_flag" ||
33278 test ! -s conftest.err
33279 } && test -s conftest$ac_exeext &&
33280 $as_test_x conftest$ac_exeext; then
33281 ac_cv_lib_Sgm_SgCreateList=yes
33282 else
33283 echo "$as_me: failed program was:" >&5
33284 sed 's/^/| /' conftest.$ac_ext >&5
33285
33286 ac_cv_lib_Sgm_SgCreateList=no
33287 fi
33288
33289 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33290 conftest$ac_exeext conftest.$ac_ext
33291 LIBS=$ac_check_lib_save_LIBS
33292 fi
33293 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
33294 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
33295 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
33296 libsgm_link=" -lSgm"
33297 fi
33298
33299
33300 save_CFLAGS=$CFLAGS
33301 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33302
33303 { echo "$as_me:$LINENO: checking for Motif 2" >&5
33304 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
33305 if test "${wx_cv_lib_motif2+set}" = set; then
33306 echo $ECHO_N "(cached) $ECHO_C" >&6
33307 else
33308 cat >conftest.$ac_ext <<_ACEOF
33309 /* confdefs.h. */
33310 _ACEOF
33311 cat confdefs.h >>conftest.$ac_ext
33312 cat >>conftest.$ac_ext <<_ACEOF
33313 /* end confdefs.h. */
33314
33315 #include <Xm/Xm.h>
33316
33317 int
33318 main ()
33319 {
33320
33321 #if XmVersion < 2000
33322 Not Motif 2
33323 #endif
33324
33325 ;
33326 return 0;
33327 }
33328 _ACEOF
33329 rm -f conftest.$ac_objext
33330 if { (ac_try="$ac_compile"
33331 case "(($ac_try" in
33332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33333 *) ac_try_echo=$ac_try;;
33334 esac
33335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33336 (eval "$ac_compile") 2>conftest.er1
33337 ac_status=$?
33338 grep -v '^ *+' conftest.er1 >conftest.err
33339 rm -f conftest.er1
33340 cat conftest.err >&5
33341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33342 (exit $ac_status); } && {
33343 test -z "$ac_c_werror_flag" ||
33344 test ! -s conftest.err
33345 } && test -s conftest.$ac_objext; then
33346 wx_cv_lib_motif2="yes"
33347 else
33348 echo "$as_me: failed program was:" >&5
33349 sed 's/^/| /' conftest.$ac_ext >&5
33350
33351 wx_cv_lib_motif2="no"
33352 fi
33353
33354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33355 fi
33356 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
33357 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
33358 if test "$wx_cv_lib_motif2" = "yes"; then
33359 cat >>confdefs.h <<\_ACEOF
33360 #define __WXMOTIF20__ 1
33361 _ACEOF
33362
33363 else
33364 cat >>confdefs.h <<\_ACEOF
33365 #define __WXMOTIF20__ 0
33366 _ACEOF
33367
33368 fi
33369
33370 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
33371 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
33372 if test "${wx_cv_lib_lesstif+set}" = set; then
33373 echo $ECHO_N "(cached) $ECHO_C" >&6
33374 else
33375 cat >conftest.$ac_ext <<_ACEOF
33376 /* confdefs.h. */
33377 _ACEOF
33378 cat confdefs.h >>conftest.$ac_ext
33379 cat >>conftest.$ac_ext <<_ACEOF
33380 /* end confdefs.h. */
33381
33382 #include <Xm/Xm.h>
33383
33384 int
33385 main ()
33386 {
33387
33388 #if !defined(LesstifVersion) || LesstifVersion <= 0
33389 Not Lesstif
33390 #endif
33391
33392 ;
33393 return 0;
33394 }
33395 _ACEOF
33396 rm -f conftest.$ac_objext
33397 if { (ac_try="$ac_compile"
33398 case "(($ac_try" in
33399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33400 *) ac_try_echo=$ac_try;;
33401 esac
33402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33403 (eval "$ac_compile") 2>conftest.er1
33404 ac_status=$?
33405 grep -v '^ *+' conftest.er1 >conftest.err
33406 rm -f conftest.er1
33407 cat conftest.err >&5
33408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33409 (exit $ac_status); } && {
33410 test -z "$ac_c_werror_flag" ||
33411 test ! -s conftest.err
33412 } && test -s conftest.$ac_objext; then
33413 wx_cv_lib_lesstif="yes"
33414 else
33415 echo "$as_me: failed program was:" >&5
33416 sed 's/^/| /' conftest.$ac_ext >&5
33417
33418 wx_cv_lib_lesstif="no"
33419 fi
33420
33421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33422
33423 fi
33424 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
33425 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
33426 if test "$wx_cv_lib_lesstif" = "yes"; then
33427 cat >>confdefs.h <<\_ACEOF
33428 #define __WXLESSTIF__ 1
33429 _ACEOF
33430
33431 else
33432 cat >>confdefs.h <<\_ACEOF
33433 #define __WXLESSTIF__ 0
33434 _ACEOF
33435
33436 fi
33437
33438 CFLAGS=$save_CFLAGS
33439
33440 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
33441 TOOLKIT=MOTIF
33442 GUIDIST=MOTIF_DIST
33443 fi
33444
33445 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
33446 if test "$wxUSE_LIBXPM" = "sys"; then
33447 { echo "$as_me:$LINENO: checking for Xpm library" >&5
33448 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
33449
33450 ac_find_libraries=
33451 for ac_dir in $SEARCH_LIB;
33452 do
33453 for ac_extension in a so sl dylib dll.a; do
33454 if test -f "$ac_dir/libXpm.$ac_extension"; then
33455 ac_find_libraries=$ac_dir
33456 break 2
33457 fi
33458 done
33459 done
33460
33461 if test "$ac_find_libraries" != "" ; then
33462
33463 if test "$ac_find_libraries" = "default location"; then
33464 ac_path_to_link=""
33465 else
33466 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33467 result=$?
33468 if test $result = 0; then
33469 ac_path_to_link=""
33470 else
33471 ac_path_to_link=" -L$ac_find_libraries"
33472 fi
33473 fi
33474
33475 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33476 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33477 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33478
33479 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
33480 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
33481 if test "${wx_cv_x11_xpm_h+set}" = set; then
33482 echo $ECHO_N "(cached) $ECHO_C" >&6
33483 else
33484
33485 save_CFLAGS=$CFLAGS
33486 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33487
33488 cat >conftest.$ac_ext <<_ACEOF
33489 /* confdefs.h. */
33490 _ACEOF
33491 cat confdefs.h >>conftest.$ac_ext
33492 cat >>conftest.$ac_ext <<_ACEOF
33493 /* end confdefs.h. */
33494
33495 #include <X11/xpm.h>
33496
33497 int
33498 main ()
33499 {
33500
33501 int version;
33502 version = XpmLibraryVersion();
33503
33504 ;
33505 return 0;
33506 }
33507 _ACEOF
33508 rm -f conftest.$ac_objext
33509 if { (ac_try="$ac_compile"
33510 case "(($ac_try" in
33511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33512 *) ac_try_echo=$ac_try;;
33513 esac
33514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33515 (eval "$ac_compile") 2>conftest.er1
33516 ac_status=$?
33517 grep -v '^ *+' conftest.er1 >conftest.err
33518 rm -f conftest.er1
33519 cat conftest.err >&5
33520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33521 (exit $ac_status); } && {
33522 test -z "$ac_c_werror_flag" ||
33523 test ! -s conftest.err
33524 } && test -s conftest.$ac_objext; then
33525 wx_cv_x11_xpm_h=yes
33526 else
33527 echo "$as_me: failed program was:" >&5
33528 sed 's/^/| /' conftest.$ac_ext >&5
33529
33530 wx_cv_x11_xpm_h=no
33531
33532 fi
33533
33534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33535
33536 CFLAGS=$save_CFLAGS
33537
33538
33539 fi
33540 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
33541 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
33542
33543 if test $wx_cv_x11_xpm_h = "yes"; then
33544 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
33545 cat >>confdefs.h <<\_ACEOF
33546 #define wxHAVE_LIB_XPM 1
33547 _ACEOF
33548
33549 else
33550 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
33551 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
33552 fi
33553 fi
33554
33555 fi
33556
33557 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
33558 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
33559 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
33560 echo $ECHO_N "(cached) $ECHO_C" >&6
33561 else
33562 ac_check_lib_save_LIBS=$LIBS
33563 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
33564 cat >conftest.$ac_ext <<_ACEOF
33565 /* confdefs.h. */
33566 _ACEOF
33567 cat confdefs.h >>conftest.$ac_ext
33568 cat >>conftest.$ac_ext <<_ACEOF
33569 /* end confdefs.h. */
33570
33571 /* Override any GCC internal prototype to avoid an error.
33572 Use char because int might match the return type of a GCC
33573 builtin and then its argument prototype would still apply. */
33574 #ifdef __cplusplus
33575 extern "C"
33576 #endif
33577 char XShapeQueryExtension ();
33578 int
33579 main ()
33580 {
33581 return XShapeQueryExtension ();
33582 ;
33583 return 0;
33584 }
33585 _ACEOF
33586 rm -f conftest.$ac_objext conftest$ac_exeext
33587 if { (ac_try="$ac_link"
33588 case "(($ac_try" in
33589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33590 *) ac_try_echo=$ac_try;;
33591 esac
33592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33593 (eval "$ac_link") 2>conftest.er1
33594 ac_status=$?
33595 grep -v '^ *+' conftest.er1 >conftest.err
33596 rm -f conftest.er1
33597 cat conftest.err >&5
33598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33599 (exit $ac_status); } && {
33600 test -z "$ac_c_werror_flag" ||
33601 test ! -s conftest.err
33602 } && test -s conftest$ac_exeext &&
33603 $as_test_x conftest$ac_exeext; then
33604 ac_cv_lib_Xext_XShapeQueryExtension=yes
33605 else
33606 echo "$as_me: failed program was:" >&5
33607 sed 's/^/| /' conftest.$ac_ext >&5
33608
33609 ac_cv_lib_Xext_XShapeQueryExtension=no
33610 fi
33611
33612 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33613 conftest$ac_exeext conftest.$ac_ext
33614 LIBS=$ac_check_lib_save_LIBS
33615 fi
33616 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
33617 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
33618 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
33619
33620 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
33621 wxHAVE_XEXT_LIB=1
33622
33623 fi
33624
33625
33626 if test "$wxHAVE_XEXT_LIB" = 1; then
33627 save_CFLAGS="$CFLAGS"
33628 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33629
33630 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
33631 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
33632 cat >conftest.$ac_ext <<_ACEOF
33633 /* confdefs.h. */
33634 _ACEOF
33635 cat confdefs.h >>conftest.$ac_ext
33636 cat >>conftest.$ac_ext <<_ACEOF
33637 /* end confdefs.h. */
33638
33639 #include <X11/Xlib.h>
33640 #include <X11/extensions/shape.h>
33641
33642 int
33643 main ()
33644 {
33645
33646 int dummy1, dummy2;
33647 XShapeQueryExtension((Display*)NULL,
33648 (int*)NULL, (int*)NULL);
33649
33650 ;
33651 return 0;
33652 }
33653 _ACEOF
33654 rm -f conftest.$ac_objext
33655 if { (ac_try="$ac_compile"
33656 case "(($ac_try" in
33657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33658 *) ac_try_echo=$ac_try;;
33659 esac
33660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33661 (eval "$ac_compile") 2>conftest.er1
33662 ac_status=$?
33663 grep -v '^ *+' conftest.er1 >conftest.err
33664 rm -f conftest.er1
33665 cat conftest.err >&5
33666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33667 (exit $ac_status); } && {
33668 test -z "$ac_c_werror_flag" ||
33669 test ! -s conftest.err
33670 } && test -s conftest.$ac_objext; then
33671
33672 cat >>confdefs.h <<\_ACEOF
33673 #define HAVE_XSHAPE 1
33674 _ACEOF
33675
33676 { echo "$as_me:$LINENO: result: found" >&5
33677 echo "${ECHO_T}found" >&6; }
33678
33679 else
33680 echo "$as_me: failed program was:" >&5
33681 sed 's/^/| /' conftest.$ac_ext >&5
33682
33683
33684 { echo "$as_me:$LINENO: result: not found" >&5
33685 echo "${ECHO_T}not found" >&6; }
33686
33687 fi
33688
33689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33690 CFLAGS="$save_CFLAGS"
33691
33692 fi
33693 fi
33694
33695 if test "$wxUSE_OSX_CARBON" = 1; then
33696 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
33697 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
33698 if test "$GCC" = yes; then
33699 { echo "$as_me:$LINENO: result: gcc" >&5
33700 echo "${ECHO_T}gcc" >&6; }
33701 CPPFLAGS_PASCAL="-fpascal-strings"
33702 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
33703 { echo "$as_me:$LINENO: result: xlc" >&5
33704 echo "${ECHO_T}xlc" >&6; }
33705 CPPFLAGS_PASCAL="-qmacpstr"
33706 else
33707 { echo "$as_me:$LINENO: result: none" >&5
33708 echo "${ECHO_T}none" >&6; }
33709 fi
33710
33711 if test "x$wxUSE_UNIX" = "xyes"; then
33712 CPPFLAGS="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
33713 else
33714 CPPFLAGS="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
33715 fi
33716
33717 TOOLKIT=OSX_CARBON
33718 GUIDIST=OSX_CARBON_DIST
33719 WXBASEPORT="_carbon"
33720
33721 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
33722 fi
33723
33724 if test "$wxUSE_OSX_COCOA" = 1; then
33725 TOOLKIT=OSX_COCOA
33726 GUIDIST=OSX_COCOA_DIST
33727
33728 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
33729 fi
33730
33731 if test "$wxUSE_OSX_IPHONE" = 1; then
33732 TOOLKIT=OSX_IPHONE
33733 fi
33734
33735 if test "$wxUSE_OLD_COCOA" = 1; then
33736 TOOLKIT=COCOA
33737 GUIDIST=COCOA_DIST
33738 fi
33739
33740 if test "$wxUSE_PM" = 1; then
33741 TOOLKIT=PM
33742 GUIDIST=PM_DIST
33743 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
33744 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
33745 if test "${wx_cv_spbcdata+set}" = set; then
33746 echo $ECHO_N "(cached) $ECHO_C" >&6
33747 else
33748
33749 cat >conftest.$ac_ext <<_ACEOF
33750 /* confdefs.h. */
33751 _ACEOF
33752 cat confdefs.h >>conftest.$ac_ext
33753 cat >>conftest.$ac_ext <<_ACEOF
33754 /* end confdefs.h. */
33755
33756 #define INCL_PM
33757 #include <os2.h>
33758
33759 int
33760 main ()
33761 {
33762
33763 SPBCDATA test;
33764
33765 ;
33766 return 0;
33767 }
33768 _ACEOF
33769 rm -f conftest.$ac_objext
33770 if { (ac_try="$ac_compile"
33771 case "(($ac_try" in
33772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33773 *) ac_try_echo=$ac_try;;
33774 esac
33775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33776 (eval "$ac_compile") 2>conftest.er1
33777 ac_status=$?
33778 grep -v '^ *+' conftest.er1 >conftest.err
33779 rm -f conftest.er1
33780 cat conftest.err >&5
33781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33782 (exit $ac_status); } && {
33783 test -z "$ac_c_werror_flag" ||
33784 test ! -s conftest.err
33785 } && test -s conftest.$ac_objext; then
33786 wx_cv_spbcdata=yes
33787 else
33788 echo "$as_me: failed program was:" >&5
33789 sed 's/^/| /' conftest.$ac_ext >&5
33790
33791 wx_cv_spbcdata=no
33792
33793 fi
33794
33795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33796
33797
33798 fi
33799 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
33800 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
33801
33802 if test $wx_cv_spbcdata = "yes"; then
33803 cat >>confdefs.h <<\_ACEOF
33804 #define HAVE_SPBCDATA 1
33805 _ACEOF
33806
33807 fi
33808 fi
33809
33810 if test "$TOOLKIT" = "PM" ; then
33811 TOOLKIT_DIR="os2"
33812 else
33813 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
33814 fi
33815
33816 if test "$wxUSE_UNIVERSAL" = "yes"; then
33817 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
33818 WIDGET_SET=univ
33819 fi
33820
33821 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
33822 DISTDIR="wx\$(TOOLKIT)"
33823 else
33824 USE_GUI=0
33825
33826 TOOLKIT_DIR="base"
33827
33828 if test "$USE_WIN32" = 1 ; then
33829 TOOLKIT="MSW"
33830 fi
33831
33832 GUIDIST="BASE_DIST"
33833 DISTDIR="wxBase"
33834 fi
33835
33836
33837
33838 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
33839 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
33840 wxUSE_UNICODE_UTF8=yes
33841 elif test "$USE_OS2" = 1 ; then
33842 wxUSE_UNICODE_UTF8=yes
33843 else
33844 wxUSE_UNICODE_UTF8=no
33845 fi
33846 fi
33847
33848
33849 if test "$wxUSE_GUI" = "yes"; then
33850 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
33851
33852 for ac_header in X11/Xlib.h
33853 do
33854 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33855 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33856 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33857 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33858 echo $ECHO_N "(cached) $ECHO_C" >&6
33859 else
33860 cat >conftest.$ac_ext <<_ACEOF
33861 /* confdefs.h. */
33862 _ACEOF
33863 cat confdefs.h >>conftest.$ac_ext
33864 cat >>conftest.$ac_ext <<_ACEOF
33865 /* end confdefs.h. */
33866
33867
33868 #include <$ac_header>
33869 _ACEOF
33870 rm -f conftest.$ac_objext
33871 if { (ac_try="$ac_compile"
33872 case "(($ac_try" in
33873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33874 *) ac_try_echo=$ac_try;;
33875 esac
33876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33877 (eval "$ac_compile") 2>conftest.er1
33878 ac_status=$?
33879 grep -v '^ *+' conftest.er1 >conftest.err
33880 rm -f conftest.er1
33881 cat conftest.err >&5
33882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33883 (exit $ac_status); } && {
33884 test -z "$ac_c_werror_flag" ||
33885 test ! -s conftest.err
33886 } && test -s conftest.$ac_objext; then
33887 eval "$as_ac_Header=yes"
33888 else
33889 echo "$as_me: failed program was:" >&5
33890 sed 's/^/| /' conftest.$ac_ext >&5
33891
33892 eval "$as_ac_Header=no"
33893 fi
33894
33895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33896 fi
33897 ac_res=`eval echo '${'$as_ac_Header'}'`
33898 { echo "$as_me:$LINENO: result: $ac_res" >&5
33899 echo "${ECHO_T}$ac_res" >&6; }
33900 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33901 cat >>confdefs.h <<_ACEOF
33902 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33903 _ACEOF
33904
33905 fi
33906
33907 done
33908
33909
33910 for ac_header in X11/XKBlib.h
33911 do
33912 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33913 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33914 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33915 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33916 echo $ECHO_N "(cached) $ECHO_C" >&6
33917 else
33918 cat >conftest.$ac_ext <<_ACEOF
33919 /* confdefs.h. */
33920 _ACEOF
33921 cat confdefs.h >>conftest.$ac_ext
33922 cat >>conftest.$ac_ext <<_ACEOF
33923 /* end confdefs.h. */
33924
33925 #if HAVE_X11_XLIB_H
33926 #include <X11/Xlib.h>
33927 #endif
33928
33929
33930 #include <$ac_header>
33931 _ACEOF
33932 rm -f conftest.$ac_objext
33933 if { (ac_try="$ac_compile"
33934 case "(($ac_try" in
33935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33936 *) ac_try_echo=$ac_try;;
33937 esac
33938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33939 (eval "$ac_compile") 2>conftest.er1
33940 ac_status=$?
33941 grep -v '^ *+' conftest.er1 >conftest.err
33942 rm -f conftest.er1
33943 cat conftest.err >&5
33944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33945 (exit $ac_status); } && {
33946 test -z "$ac_c_werror_flag" ||
33947 test ! -s conftest.err
33948 } && test -s conftest.$ac_objext; then
33949 eval "$as_ac_Header=yes"
33950 else
33951 echo "$as_me: failed program was:" >&5
33952 sed 's/^/| /' conftest.$ac_ext >&5
33953
33954 eval "$as_ac_Header=no"
33955 fi
33956
33957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33958 fi
33959 ac_res=`eval echo '${'$as_ac_Header'}'`
33960 { echo "$as_me:$LINENO: result: $ac_res" >&5
33961 echo "${ECHO_T}$ac_res" >&6; }
33962 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33963 cat >>confdefs.h <<_ACEOF
33964 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33965 _ACEOF
33966
33967 fi
33968
33969 done
33970
33971 fi
33972 fi
33973
33974
33975
33976 USE_XINERAMA=0
33977 if test "$wxUSE_DISPLAY" = "yes"; then
33978 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK1" = 1; then
33979 { echo "$as_me:$LINENO: checking for Xinerama" >&5
33980 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
33981
33982 ac_find_libraries=
33983 for ac_dir in $SEARCH_LIB;
33984 do
33985 for ac_extension in a so sl dylib dll.a; do
33986 if test -f "$ac_dir/libXinerama.$ac_extension"; then
33987 ac_find_libraries=$ac_dir
33988 break 2
33989 fi
33990 done
33991 done
33992
33993 if test "$ac_find_libraries" != "" ; then
33994
33995 if test "$ac_find_libraries" = "default location"; then
33996 ac_path_to_link=""
33997 else
33998 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33999 result=$?
34000 if test $result = 0; then
34001 ac_path_to_link=""
34002 else
34003 ac_path_to_link=" -L$ac_find_libraries"
34004 fi
34005 fi
34006
34007 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34008 LDFLAGS="$LDFLAGS $ac_path_to_link"
34009 fi
34010 USE_XINERAMA=1
34011 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
34012 { echo "$as_me:$LINENO: result: yes" >&5
34013 echo "${ECHO_T}yes" >&6; }
34014 else
34015 { echo "$as_me:$LINENO: result: no" >&5
34016 echo "${ECHO_T}no" >&6; }
34017 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
34018 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
34019 wxUSE_DISPLAY="no"
34020 fi
34021 elif test "$wxUSE_MSW" = 1; then
34022 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
34023 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
34024 if test "${ac_cv_header_ddraw_h+set}" = set; then
34025 echo $ECHO_N "(cached) $ECHO_C" >&6
34026 else
34027 cat >conftest.$ac_ext <<_ACEOF
34028 /* confdefs.h. */
34029 _ACEOF
34030 cat confdefs.h >>conftest.$ac_ext
34031 cat >>conftest.$ac_ext <<_ACEOF
34032 /* end confdefs.h. */
34033 #include <windows.h>
34034
34035 #include <ddraw.h>
34036 _ACEOF
34037 rm -f conftest.$ac_objext
34038 if { (ac_try="$ac_compile"
34039 case "(($ac_try" in
34040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34041 *) ac_try_echo=$ac_try;;
34042 esac
34043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34044 (eval "$ac_compile") 2>conftest.er1
34045 ac_status=$?
34046 grep -v '^ *+' conftest.er1 >conftest.err
34047 rm -f conftest.er1
34048 cat conftest.err >&5
34049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34050 (exit $ac_status); } && {
34051 test -z "$ac_c_werror_flag" ||
34052 test ! -s conftest.err
34053 } && test -s conftest.$ac_objext; then
34054 ac_cv_header_ddraw_h=yes
34055 else
34056 echo "$as_me: failed program was:" >&5
34057 sed 's/^/| /' conftest.$ac_ext >&5
34058
34059 ac_cv_header_ddraw_h=no
34060 fi
34061
34062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34063 fi
34064 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
34065 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
34066
34067
34068 fi
34069 fi
34070
34071 if test "$wxUSE_DISPLAY" = "yes"; then
34072 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
34073 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
34074 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
34075
34076 ac_find_libraries=
34077 for ac_dir in $SEARCH_LIB;
34078 do
34079 for ac_extension in a so sl dylib dll.a; do
34080 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
34081 ac_find_libraries=$ac_dir
34082 break 2
34083 fi
34084 done
34085 done
34086
34087 if test "$ac_find_libraries" != "" ; then
34088 { echo "$as_me:$LINENO: result: yes" >&5
34089 echo "${ECHO_T}yes" >&6; }
34090
34091 for ac_header in X11/extensions/xf86vmode.h
34092 do
34093 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34094 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34095 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34096 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34097 echo $ECHO_N "(cached) $ECHO_C" >&6
34098 else
34099 cat >conftest.$ac_ext <<_ACEOF
34100 /* confdefs.h. */
34101 _ACEOF
34102 cat confdefs.h >>conftest.$ac_ext
34103 cat >>conftest.$ac_ext <<_ACEOF
34104 /* end confdefs.h. */
34105
34106 #if HAVE_X11_XLIB_H
34107 #include <X11/Xlib.h>
34108 #endif
34109
34110
34111 #include <$ac_header>
34112 _ACEOF
34113 rm -f conftest.$ac_objext
34114 if { (ac_try="$ac_compile"
34115 case "(($ac_try" in
34116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34117 *) ac_try_echo=$ac_try;;
34118 esac
34119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34120 (eval "$ac_compile") 2>conftest.er1
34121 ac_status=$?
34122 grep -v '^ *+' conftest.er1 >conftest.err
34123 rm -f conftest.er1
34124 cat conftest.err >&5
34125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34126 (exit $ac_status); } && {
34127 test -z "$ac_c_werror_flag" ||
34128 test ! -s conftest.err
34129 } && test -s conftest.$ac_objext; then
34130 eval "$as_ac_Header=yes"
34131 else
34132 echo "$as_me: failed program was:" >&5
34133 sed 's/^/| /' conftest.$ac_ext >&5
34134
34135 eval "$as_ac_Header=no"
34136 fi
34137
34138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34139 fi
34140 ac_res=`eval echo '${'$as_ac_Header'}'`
34141 { echo "$as_me:$LINENO: result: $ac_res" >&5
34142 echo "${ECHO_T}$ac_res" >&6; }
34143 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34144 cat >>confdefs.h <<_ACEOF
34145 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34146 _ACEOF
34147
34148 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
34149
34150 fi
34151
34152 done
34153
34154 else
34155 { echo "$as_me:$LINENO: result: no" >&5
34156 echo "${ECHO_T}no" >&6; }
34157 fi
34158 fi
34159 fi
34160
34161 if test "$wxUSE_DETECT_SM" = "yes"; then
34162 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
34163 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
34164 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
34165
34166 ac_find_libraries=
34167 for ac_dir in $SEARCH_LIB;
34168 do
34169 for ac_extension in a so sl dylib dll.a; do
34170 if test -f "$ac_dir/libSM.$ac_extension"; then
34171 ac_find_libraries=$ac_dir
34172 break 2
34173 fi
34174 done
34175 done
34176
34177 if test "$ac_find_libraries" != "" ; then
34178
34179 if test "$ac_find_libraries" = "default location"; then
34180 ac_path_to_link=""
34181 else
34182 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34183 result=$?
34184 if test $result = 0; then
34185 ac_path_to_link=""
34186 else
34187 ac_path_to_link=" -L$ac_find_libraries"
34188 fi
34189 fi
34190
34191 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34192 LDFLAGS="$LDFLAGS $ac_path_to_link"
34193 fi
34194 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
34195 { echo "$as_me:$LINENO: result: yes" >&5
34196 echo "${ECHO_T}yes" >&6; }
34197 else
34198 { echo "$as_me:$LINENO: result: no" >&5
34199 echo "${ECHO_T}no" >&6; }
34200 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
34201 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
34202 wxUSE_DETECT_SM="no"
34203 fi
34204 else
34205 wxUSE_DETECT_SM="no"
34206 fi
34207 fi
34208
34209
34210
34211 USE_OPENGL=0
34212 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
34213
34214
34215 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
34216 OPENGL_LIBS="-framework OpenGL -framework AGL"
34217 elif test "$wxUSE_MSW" = 1; then
34218 OPENGL_LIBS="-lopengl32 -lglu32"
34219 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
34220
34221 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
34222 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
34223
34224 ac_find_includes=
34225 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
34226 do
34227 if test -f "$ac_dir/GL/gl.h"; then
34228 ac_find_includes=$ac_dir
34229 break
34230 fi
34231 done
34232
34233 if test "$ac_find_includes" != "" ; then
34234 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34235 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34236
34237 if test "x$ac_find_includes" = "x/usr/include"; then
34238 ac_path_to_include=""
34239 else
34240 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
34241 result=$?
34242 if test $result = 0; then
34243 ac_path_to_include=""
34244 else
34245 ac_path_to_include=" -I$ac_find_includes"
34246 fi
34247 fi
34248
34249 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
34250 else
34251 { echo "$as_me:$LINENO: result: not found" >&5
34252 echo "${ECHO_T}not found" >&6; }
34253 fi
34254
34255 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
34256 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
34257 if test "${ac_cv_header_GL_gl_h+set}" = set; then
34258 echo $ECHO_N "(cached) $ECHO_C" >&6
34259 else
34260 cat >conftest.$ac_ext <<_ACEOF
34261 /* confdefs.h. */
34262 _ACEOF
34263 cat confdefs.h >>conftest.$ac_ext
34264 cat >>conftest.$ac_ext <<_ACEOF
34265 /* end confdefs.h. */
34266
34267
34268 #include <GL/gl.h>
34269 _ACEOF
34270 rm -f conftest.$ac_objext
34271 if { (ac_try="$ac_compile"
34272 case "(($ac_try" in
34273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34274 *) ac_try_echo=$ac_try;;
34275 esac
34276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34277 (eval "$ac_compile") 2>conftest.er1
34278 ac_status=$?
34279 grep -v '^ *+' conftest.er1 >conftest.err
34280 rm -f conftest.er1
34281 cat conftest.err >&5
34282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34283 (exit $ac_status); } && {
34284 test -z "$ac_c_werror_flag" ||
34285 test ! -s conftest.err
34286 } && test -s conftest.$ac_objext; then
34287 ac_cv_header_GL_gl_h=yes
34288 else
34289 echo "$as_me: failed program was:" >&5
34290 sed 's/^/| /' conftest.$ac_ext >&5
34291
34292 ac_cv_header_GL_gl_h=no
34293 fi
34294
34295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34296 fi
34297 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
34298 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
34299 if test $ac_cv_header_GL_gl_h = yes; then
34300
34301 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
34302 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
34303 if test "${ac_cv_header_GL_glu_h+set}" = set; then
34304 echo $ECHO_N "(cached) $ECHO_C" >&6
34305 else
34306 cat >conftest.$ac_ext <<_ACEOF
34307 /* confdefs.h. */
34308 _ACEOF
34309 cat confdefs.h >>conftest.$ac_ext
34310 cat >>conftest.$ac_ext <<_ACEOF
34311 /* end confdefs.h. */
34312
34313
34314 #include <GL/glu.h>
34315 _ACEOF
34316 rm -f conftest.$ac_objext
34317 if { (ac_try="$ac_compile"
34318 case "(($ac_try" in
34319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34320 *) ac_try_echo=$ac_try;;
34321 esac
34322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34323 (eval "$ac_compile") 2>conftest.er1
34324 ac_status=$?
34325 grep -v '^ *+' conftest.er1 >conftest.err
34326 rm -f conftest.er1
34327 cat conftest.err >&5
34328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34329 (exit $ac_status); } && {
34330 test -z "$ac_c_werror_flag" ||
34331 test ! -s conftest.err
34332 } && test -s conftest.$ac_objext; then
34333 ac_cv_header_GL_glu_h=yes
34334 else
34335 echo "$as_me: failed program was:" >&5
34336 sed 's/^/| /' conftest.$ac_ext >&5
34337
34338 ac_cv_header_GL_glu_h=no
34339 fi
34340
34341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34342 fi
34343 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
34344 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
34345 if test $ac_cv_header_GL_glu_h = yes; then
34346
34347 found_gl=0
34348
34349 { echo "$as_me:$LINENO: checking for -lGL" >&5
34350 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
34351
34352 ac_find_libraries=
34353 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
34354 do
34355 for ac_extension in a so sl dylib dll.a; do
34356 if test -f "$ac_dir/libGL.$ac_extension"; then
34357 ac_find_libraries=$ac_dir
34358 break 2
34359 fi
34360 done
34361 done
34362
34363 if test "$ac_find_libraries" != "" ; then
34364 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34365 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34366
34367
34368 if test "$ac_find_libraries" = "default location"; then
34369 ac_path_to_link=""
34370 else
34371 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34372 result=$?
34373 if test $result = 0; then
34374 ac_path_to_link=""
34375 else
34376 ac_path_to_link=" -L$ac_find_libraries"
34377 fi
34378 fi
34379
34380 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34381 LDFLAGS_GL="$ac_path_to_link"
34382 fi
34383
34384 { echo "$as_me:$LINENO: checking for -lGLU" >&5
34385 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
34386
34387 ac_find_libraries=
34388 for ac_dir in $SEARCH_LIB;
34389 do
34390 for ac_extension in a so sl dylib dll.a; do
34391 if test -f "$ac_dir/libGLU.$ac_extension"; then
34392 ac_find_libraries=$ac_dir
34393 break 2
34394 fi
34395 done
34396 done
34397
34398 if test "$ac_find_libraries" != "" ; then
34399
34400 if test "$ac_find_libraries" = "default location"; then
34401 ac_path_to_link=""
34402 else
34403 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34404 result=$?
34405 if test $result = 0; then
34406 ac_path_to_link=""
34407 else
34408 ac_path_to_link=" -L$ac_find_libraries"
34409 fi
34410 fi
34411
34412 if test "$ac_path_to_link" != " -L/usr/lib" -a \
34413 "$ac_path_to_link" != "$LDFLAGS_GL"; then
34414 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
34415 fi
34416
34417 found_gl=1
34418 OPENGL_LIBS="-lGL -lGLU"
34419 { echo "$as_me:$LINENO: result: yes" >&5
34420 echo "${ECHO_T}yes" >&6; }
34421 else
34422 { echo "$as_me:$LINENO: result: no" >&5
34423 echo "${ECHO_T}no" >&6; }
34424 fi
34425 else
34426 { echo "$as_me:$LINENO: result: no" >&5
34427 echo "${ECHO_T}no" >&6; }
34428 fi
34429
34430 if test "$found_gl" != 1; then
34431 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
34432 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
34433
34434 ac_find_libraries=
34435 for ac_dir in $SEARCH_LIB;
34436 do
34437 for ac_extension in a so sl dylib dll.a; do
34438 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
34439 ac_find_libraries=$ac_dir
34440 break 2
34441 fi
34442 done
34443 done
34444
34445 if test "$ac_find_libraries" != "" ; then
34446
34447 if test "$ac_find_libraries" = "default location"; then
34448 ac_path_to_link=""
34449 else
34450 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34451 result=$?
34452 if test $result = 0; then
34453 ac_path_to_link=""
34454 else
34455 ac_path_to_link=" -L$ac_find_libraries"
34456 fi
34457 fi
34458
34459 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
34460 OPENGL_LIBS="-lMesaGL -lMesaGLU"
34461 { echo "$as_me:$LINENO: result: yes" >&5
34462 echo "${ECHO_T}yes" >&6; }
34463 else
34464 { echo "$as_me:$LINENO: result: no" >&5
34465 echo "${ECHO_T}no" >&6; }
34466 fi
34467 fi
34468
34469 fi
34470
34471
34472
34473 fi
34474
34475
34476
34477 if test "x$OPENGL_LIBS" = "x"; then
34478 if test "$wxUSE_OPENGL" = "yes"; then
34479 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
34480 echo "$as_me: error: OpenGL libraries not available" >&2;}
34481 { (exit 1); exit 1; }; }
34482 else
34483 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
34484 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
34485 wxUSE_OPENGL=no
34486 USE_OPENGL=0
34487 fi
34488 fi
34489 else
34490 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
34491 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
34492 wxUSE_OPENGL="no"
34493 fi
34494
34495 if test "$wxUSE_OPENGL" = "auto"; then
34496 wxUSE_OPENGL=yes
34497 fi
34498
34499 if test "$wxUSE_OPENGL" = "yes"; then
34500 USE_OPENGL=1
34501 cat >>confdefs.h <<\_ACEOF
34502 #define wxUSE_OPENGL 1
34503 _ACEOF
34504
34505 cat >>confdefs.h <<\_ACEOF
34506 #define wxUSE_GLCANVAS 1
34507 _ACEOF
34508
34509 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
34510 fi
34511 fi
34512
34513
34514 if test -n "$TOOLKIT" ; then
34515 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
34516 fi
34517
34518
34519
34520 if test "$wxUSE_SHARED" = "yes"; then
34521 case "${host}" in
34522 *-pc-msdosdjgpp )
34523 wxUSE_SHARED=no
34524 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
34525 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
34526 ;;
34527 esac
34528 fi
34529
34530 if test "$wxUSE_SHARED" = "yes"; then
34531
34532
34533 case "${host}" in
34534 *-*-cygwin* | *-*-mingw* )
34535 wx_cv_version_script=no
34536 ;;
34537
34538 *)
34539 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
34540 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
34541 if test "${wx_cv_version_script+set}" = set; then
34542 echo $ECHO_N "(cached) $ECHO_C" >&6
34543 else
34544
34545 echo "VER_1 { *; };" >conftest.sym
34546 echo "int main() { return 0; }" >conftest.cpp
34547
34548 if { ac_try='
34549 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34550 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
34551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34552 (eval $ac_try) 2>&5
34553 ac_status=$?
34554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34555 (exit $ac_status); }; } ; then
34556 if test -s conftest.stderr ; then
34557 wx_cv_version_script=no
34558 else
34559 wx_cv_version_script=yes
34560 fi
34561 else
34562 wx_cv_version_script=no
34563 fi
34564
34565 if test $wx_cv_version_script = yes
34566 then
34567 echo "struct B { virtual ~B() { } }; \
34568 struct D : public B { }; \
34569 void F() { D d; }" > conftest.cpp
34570
34571 if { ac_try='
34572 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34573 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
34574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34575 (eval $ac_try) 2>&5
34576 ac_status=$?
34577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34578 (exit $ac_status); }; } &&
34579 { ac_try='
34580 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34581 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
34582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34583 (eval $ac_try) 2>&5
34584 ac_status=$?
34585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34586 (exit $ac_status); }; }
34587 then
34588 if { ac_try='
34589 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34590 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
34591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34592 (eval $ac_try) 2>&5
34593 ac_status=$?
34594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34595 (exit $ac_status); }; }
34596 then
34597 wx_cv_version_script=yes
34598 else
34599 wx_cv_version_script=no
34600 fi
34601 fi
34602 fi
34603
34604 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
34605 rm -f conftest1.output conftest2.output conftest3.output
34606
34607 fi
34608 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
34609 echo "${ECHO_T}$wx_cv_version_script" >&6; }
34610
34611 if test $wx_cv_version_script = yes ; then
34612 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
34613 fi
34614 ;;
34615 esac
34616
34617
34618 if test "$wxUSE_VISIBILITY" != "no"; then
34619
34620
34621 if test -n "$GCC"; then
34622 CFLAGS_VISIBILITY="-fvisibility=hidden"
34623 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
34624 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
34625 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
34626 if test "${wx_cv_cc_visibility+set}" = set; then
34627 echo $ECHO_N "(cached) $ECHO_C" >&6
34628 else
34629
34630 wx_save_CXXFLAGS="$CXXFLAGS"
34631 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
34632 ac_ext=cpp
34633 ac_cpp='$CXXCPP $CPPFLAGS'
34634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34637
34638 cat >conftest.$ac_ext <<_ACEOF
34639 /* confdefs.h. */
34640 _ACEOF
34641 cat confdefs.h >>conftest.$ac_ext
34642 cat >>conftest.$ac_ext <<_ACEOF
34643 /* end confdefs.h. */
34644
34645 /* we need gcc >= 4.0, older versions with visibility support
34646 didn't have class visibility: */
34647 #if defined(__GNUC__) && __GNUC__ < 4
34648 error this gcc is too old;
34649 #endif
34650
34651 /* visibility only makes sense for ELF shared libs: */
34652 #if !defined(__ELF__) && !defined(__APPLE__)
34653 error this platform has no visibility;
34654 #endif
34655
34656 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
34657 extern __attribute__((__visibility__("default"))) int exportedvar;
34658 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
34659 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
34660 class __attribute__((__visibility__("default"))) Foo {
34661 Foo() {}
34662 };
34663
34664 int
34665 main ()
34666 {
34667
34668 ;
34669 return 0;
34670 }
34671 _ACEOF
34672 rm -f conftest.$ac_objext
34673 if { (ac_try="$ac_compile"
34674 case "(($ac_try" in
34675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34676 *) ac_try_echo=$ac_try;;
34677 esac
34678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34679 (eval "$ac_compile") 2>conftest.er1
34680 ac_status=$?
34681 grep -v '^ *+' conftest.er1 >conftest.err
34682 rm -f conftest.er1
34683 cat conftest.err >&5
34684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34685 (exit $ac_status); } && {
34686 test -z "$ac_cxx_werror_flag" ||
34687 test ! -s conftest.err
34688 } && test -s conftest.$ac_objext; then
34689 wx_cv_cc_visibility=yes
34690 else
34691 echo "$as_me: failed program was:" >&5
34692 sed 's/^/| /' conftest.$ac_ext >&5
34693
34694 wx_cv_cc_visibility=no
34695 fi
34696
34697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34698 ac_ext=c
34699 ac_cpp='$CPP $CPPFLAGS'
34700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34703
34704 CXXFLAGS="$wx_save_CXXFLAGS"
34705 fi
34706
34707 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
34708 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
34709 if test $wx_cv_cc_visibility = yes; then
34710 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
34711 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
34712 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
34713 echo $ECHO_N "(cached) $ECHO_C" >&6
34714 else
34715
34716 wx_save_CXXFLAGS="$CXXFLAGS"
34717 wx_save_LDFLAGS="$LDFLAGS"
34718 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
34719 LDFLAGS="$LDFLAGS -shared -fPIC"
34720 ac_ext=cpp
34721 ac_cpp='$CXXCPP $CPPFLAGS'
34722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34725
34726 cat >conftest.$ac_ext <<_ACEOF
34727 /* confdefs.h. */
34728 _ACEOF
34729 cat confdefs.h >>conftest.$ac_ext
34730 cat >>conftest.$ac_ext <<_ACEOF
34731 /* end confdefs.h. */
34732
34733 #include <string>
34734
34735 int
34736 main ()
34737 {
34738
34739 std::string s("hello");
34740 return s.length();
34741
34742 ;
34743 return 0;
34744 }
34745 _ACEOF
34746 rm -f conftest.$ac_objext conftest$ac_exeext
34747 if { (ac_try="$ac_link"
34748 case "(($ac_try" in
34749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34750 *) ac_try_echo=$ac_try;;
34751 esac
34752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34753 (eval "$ac_link") 2>conftest.er1
34754 ac_status=$?
34755 grep -v '^ *+' conftest.er1 >conftest.err
34756 rm -f conftest.er1
34757 cat conftest.err >&5
34758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34759 (exit $ac_status); } && {
34760 test -z "$ac_cxx_werror_flag" ||
34761 test ! -s conftest.err
34762 } && test -s conftest$ac_exeext &&
34763 $as_test_x conftest$ac_exeext; then
34764 wx_cv_cc_broken_libstdcxx_visibility=no
34765 else
34766 echo "$as_me: failed program was:" >&5
34767 sed 's/^/| /' conftest.$ac_ext >&5
34768
34769 wx_cv_cc_broken_libstdcxx_visibility=yes
34770 fi
34771
34772 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34773 conftest$ac_exeext conftest.$ac_ext
34774 ac_ext=c
34775 ac_cpp='$CPP $CPPFLAGS'
34776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34779
34780 CXXFLAGS="$wx_save_CXXFLAGS"
34781 LDFLAGS="$wx_save_LDFLAGS"
34782 fi
34783
34784 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
34785 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
34786
34787 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
34788 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
34789 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
34790 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
34791 echo $ECHO_N "(cached) $ECHO_C" >&6
34792 else
34793
34794 ac_ext=cpp
34795 ac_cpp='$CXXCPP $CPPFLAGS'
34796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34799
34800 cat >conftest.$ac_ext <<_ACEOF
34801 /* confdefs.h. */
34802 _ACEOF
34803 cat confdefs.h >>conftest.$ac_ext
34804 cat >>conftest.$ac_ext <<_ACEOF
34805 /* end confdefs.h. */
34806
34807 #pragma GCC visibility push(default)
34808 #include <string>
34809 #pragma GCC visibility pop
34810
34811 int
34812 main ()
34813 {
34814
34815 std::string s("hello");
34816 return s.length();
34817
34818 ;
34819 return 0;
34820 }
34821 _ACEOF
34822 rm -f conftest.$ac_objext conftest$ac_exeext
34823 if { (ac_try="$ac_link"
34824 case "(($ac_try" in
34825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34826 *) ac_try_echo=$ac_try;;
34827 esac
34828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34829 (eval "$ac_link") 2>conftest.er1
34830 ac_status=$?
34831 grep -v '^ *+' conftest.er1 >conftest.err
34832 rm -f conftest.er1
34833 cat conftest.err >&5
34834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34835 (exit $ac_status); } && {
34836 test -z "$ac_cxx_werror_flag" ||
34837 test ! -s conftest.err
34838 } && test -s conftest$ac_exeext &&
34839 $as_test_x conftest$ac_exeext; then
34840 wx_cv_cc_visibility_workaround=no
34841 else
34842 echo "$as_me: failed program was:" >&5
34843 sed 's/^/| /' conftest.$ac_ext >&5
34844
34845 wx_cv_cc_visibility_workaround=yes
34846 fi
34847
34848 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34849 conftest$ac_exeext conftest.$ac_ext
34850 ac_ext=c
34851 ac_cpp='$CPP $CPPFLAGS'
34852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34855
34856
34857 fi
34858
34859 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
34860 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
34861
34862 if test $wx_cv_cc_visibility_workaround = no; then
34863 wx_cv_cc_visibility=no
34864 fi
34865 fi
34866 fi
34867
34868 if test $wx_cv_cc_visibility = yes; then
34869 cat >>confdefs.h <<\_ACEOF
34870 #define HAVE_VISIBILITY 1
34871 _ACEOF
34872
34873 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
34874 cat >>confdefs.h <<\_ACEOF
34875 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
34876 _ACEOF
34877
34878 fi
34879 else
34880 CFLAGS_VISIBILITY=""
34881 CXXFLAGS_VISIBILITY=""
34882 fi
34883
34884
34885 fi
34886
34887 fi
34888
34889 if test "x$SUNCXX" = xyes; then
34890 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
34891 WXCONFIG_RPATH="-R\$libdir"
34892 else
34893 case "${host}" in
34894 *-*-linux* | *-*-gnu* )
34895 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
34896 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
34897 ;;
34898
34899 *-*-solaris2* )
34900
34901 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
34902
34903 saveLdflags="$LDFLAGS"
34904 LDFLAGS="$saveLdflags -Wl,-rpath,/"
34905 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
34906 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
34907 cat >conftest.$ac_ext <<_ACEOF
34908 /* confdefs.h. */
34909 _ACEOF
34910 cat confdefs.h >>conftest.$ac_ext
34911 cat >>conftest.$ac_ext <<_ACEOF
34912 /* end confdefs.h. */
34913
34914 int
34915 main ()
34916 {
34917
34918 ;
34919 return 0;
34920 }
34921 _ACEOF
34922 rm -f conftest.$ac_objext conftest$ac_exeext
34923 if { (ac_try="$ac_link"
34924 case "(($ac_try" in
34925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34926 *) ac_try_echo=$ac_try;;
34927 esac
34928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34929 (eval "$ac_link") 2>conftest.er1
34930 ac_status=$?
34931 grep -v '^ *+' conftest.er1 >conftest.err
34932 rm -f conftest.er1
34933 cat conftest.err >&5
34934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34935 (exit $ac_status); } && {
34936 test -z "$ac_c_werror_flag" ||
34937 test ! -s conftest.err
34938 } && test -s conftest$ac_exeext &&
34939 $as_test_x conftest$ac_exeext; then
34940
34941 { echo "$as_me:$LINENO: result: yes" >&5
34942 echo "${ECHO_T}yes" >&6; }
34943 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
34944 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
34945
34946 else
34947 echo "$as_me: failed program was:" >&5
34948 sed 's/^/| /' conftest.$ac_ext >&5
34949
34950
34951 { echo "$as_me:$LINENO: result: no" >&5
34952 echo "${ECHO_T}no" >&6; }
34953 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
34954 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
34955 LDFLAGS="$saveLdflags -Wl,-R,/"
34956 cat >conftest.$ac_ext <<_ACEOF
34957 /* confdefs.h. */
34958 _ACEOF
34959 cat confdefs.h >>conftest.$ac_ext
34960 cat >>conftest.$ac_ext <<_ACEOF
34961 /* end confdefs.h. */
34962
34963 int
34964 main ()
34965 {
34966
34967 ;
34968 return 0;
34969 }
34970 _ACEOF
34971 rm -f conftest.$ac_objext conftest$ac_exeext
34972 if { (ac_try="$ac_link"
34973 case "(($ac_try" in
34974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34975 *) ac_try_echo=$ac_try;;
34976 esac
34977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34978 (eval "$ac_link") 2>conftest.er1
34979 ac_status=$?
34980 grep -v '^ *+' conftest.er1 >conftest.err
34981 rm -f conftest.er1
34982 cat conftest.err >&5
34983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34984 (exit $ac_status); } && {
34985 test -z "$ac_c_werror_flag" ||
34986 test ! -s conftest.err
34987 } && test -s conftest$ac_exeext &&
34988 $as_test_x conftest$ac_exeext; then
34989
34990 { echo "$as_me:$LINENO: result: yes" >&5
34991 echo "${ECHO_T}yes" >&6; }
34992 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
34993 WXCONFIG_RPATH="-Wl,-R,\$libdir"
34994
34995 else
34996 echo "$as_me: failed program was:" >&5
34997 sed 's/^/| /' conftest.$ac_ext >&5
34998
34999
35000 { echo "$as_me:$LINENO: result: no" >&5
35001 echo "${ECHO_T}no" >&6; }
35002
35003 fi
35004
35005 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35006 conftest$ac_exeext conftest.$ac_ext
35007
35008 fi
35009
35010 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35011 conftest$ac_exeext conftest.$ac_ext
35012 LDFLAGS="$saveLdflags"
35013 ;;
35014
35015 *-*-darwin* )
35016 install_name_tool=`which ${HOST_PREFIX}install_name_tool`
35017 if test "$install_name_tool" -a -x "$install_name_tool"; then
35018 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
35019 cat <<EOF >change-install-names
35020 #!/bin/sh
35021 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
35022 for i in \${libnames} ; do
35023 ${HOST_PREFIX}install_name_tool -id \${1}/\${i} \${1}/\${i}
35024 for dep in \${libnames} ; do
35025 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${1}/\${dep} \${1}/\${i}
35026 done
35027 done
35028 EOF
35029 chmod +x change-install-names
35030 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${libdir} \$(wx_top_builddir)/lib"
35031 fi
35032
35033 HEADER_PAD_OPTION="-headerpad_max_install_names"
35034 ;;
35035
35036 *-*-cygwin* | *-*-mingw32* )
35037 ;;
35038
35039 *-*-hpux* )
35040 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
35041 WXCONFIG_RPATH="-Wl,+b,\$libdir"
35042 ;;
35043
35044 esac
35045 fi
35046
35047 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
35048
35049 if test $wxUSE_RPATH = "no"; then
35050 SAMPLES_RPATH_FLAG=''
35051 DYLIB_PATH_POSTLINK=''
35052 WXCONFIG_RPATH=''
35053 fi
35054
35055 SHARED=1
35056
35057 else
35058
35059 config_linkage_component="-static"
35060 SHARED=0
35061
35062 fi
35063
35064
35065 UNICODE=0
35066 lib_unicode_suffix=
35067 WX_CHARTYPE="ansi"
35068 if test "$wxUSE_UNICODE" = "yes"; then
35069 lib_unicode_suffix=u
35070 WX_CHARTYPE="unicode"
35071 UNICODE=1
35072 fi
35073
35074 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
35075 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
35076
35077 DEBUG_INFO=0
35078 if test "$wxUSE_DEBUG_INFO" = "yes"; then
35079 DEBUG_INFO=1
35080 fi
35081
35082 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
35083
35084 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
35085
35086 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
35087
35088
35089 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
35090 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35091 else
35092 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35093 fi
35094 if test "${TOOLKIT_DIR}" = "os2"; then
35095 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35096 else
35097 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35098 fi
35099
35100
35101
35102 if test "$wxUSE_OLD_COCOA" = 1; then
35103
35104 ac_ext=c
35105 ac_cpp='$CPP $CPPFLAGS'
35106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35109
35110 ac_ext=m
35111
35112 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
35113 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
35114 cat >conftest.$ac_ext <<_ACEOF
35115 /* confdefs.h. */
35116 _ACEOF
35117 cat confdefs.h >>conftest.$ac_ext
35118 cat >>conftest.$ac_ext <<_ACEOF
35119 /* end confdefs.h. */
35120 #include <AppKit/NSEvent.h>
35121 #include <CoreFoundation/CoreFoundation.h>
35122
35123 int
35124 main ()
35125 {
35126
35127 ;
35128 return 0;
35129 }
35130 _ACEOF
35131 rm -f conftest.$ac_objext
35132 if { (ac_try="$ac_compile"
35133 case "(($ac_try" in
35134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35135 *) ac_try_echo=$ac_try;;
35136 esac
35137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35138 (eval "$ac_compile") 2>conftest.er1
35139 ac_status=$?
35140 grep -v '^ *+' conftest.er1 >conftest.err
35141 rm -f conftest.er1
35142 cat conftest.err >&5
35143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35144 (exit $ac_status); } && {
35145 test -z "$ac_c_werror_flag" ||
35146 test ! -s conftest.err
35147 } && test -s conftest.$ac_objext; then
35148 { echo "$as_me:$LINENO: result: no" >&5
35149 echo "${ECHO_T}no" >&6; }
35150 else
35151 echo "$as_me: failed program was:" >&5
35152 sed 's/^/| /' conftest.$ac_ext >&5
35153
35154 { echo "$as_me:$LINENO: result: yes" >&5
35155 echo "${ECHO_T}yes" >&6; }
35156 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
35157 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
35158 cat >conftest.$ac_ext <<_ACEOF
35159 /* confdefs.h. */
35160 _ACEOF
35161 cat confdefs.h >>conftest.$ac_ext
35162 cat >>conftest.$ac_ext <<_ACEOF
35163 /* end confdefs.h. */
35164 #define __Point__ 1
35165 #include <AppKit/NSEvent.h>
35166 #include <CoreFoundation/CoreFoundation.h>
35167
35168 int
35169 main ()
35170 {
35171
35172 ;
35173 return 0;
35174 }
35175 _ACEOF
35176 rm -f conftest.$ac_objext
35177 if { (ac_try="$ac_compile"
35178 case "(($ac_try" in
35179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35180 *) ac_try_echo=$ac_try;;
35181 esac
35182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35183 (eval "$ac_compile") 2>conftest.er1
35184 ac_status=$?
35185 grep -v '^ *+' conftest.er1 >conftest.err
35186 rm -f conftest.er1
35187 cat conftest.err >&5
35188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35189 (exit $ac_status); } && {
35190 test -z "$ac_c_werror_flag" ||
35191 test ! -s conftest.err
35192 } && test -s conftest.$ac_objext; then
35193 { echo "$as_me:$LINENO: result: yes" >&5
35194 echo "${ECHO_T}yes" >&6; }
35195 cat >>confdefs.h <<\_ACEOF
35196 #define __Point__ 1
35197 _ACEOF
35198
35199
35200 else
35201 echo "$as_me: failed program was:" >&5
35202 sed 's/^/| /' conftest.$ac_ext >&5
35203
35204 { { echo "$as_me:$LINENO: error: no
35205 See \`config.log' for more details." >&5
35206 echo "$as_me: error: no
35207 See \`config.log' for more details." >&2;}
35208 { (exit 1); exit 1; }; }
35209
35210 fi
35211
35212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35213
35214 fi
35215
35216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35217 ac_ext=c
35218 ac_cpp='$CPP $CPPFLAGS'
35219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35222
35223 fi
35224
35225
35226 { echo "$as_me:$LINENO: checking for mode_t" >&5
35227 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
35228 if test "${ac_cv_type_mode_t+set}" = set; then
35229 echo $ECHO_N "(cached) $ECHO_C" >&6
35230 else
35231 cat >conftest.$ac_ext <<_ACEOF
35232 /* confdefs.h. */
35233 _ACEOF
35234 cat confdefs.h >>conftest.$ac_ext
35235 cat >>conftest.$ac_ext <<_ACEOF
35236 /* end confdefs.h. */
35237 $ac_includes_default
35238 typedef mode_t ac__type_new_;
35239 int
35240 main ()
35241 {
35242 if ((ac__type_new_ *) 0)
35243 return 0;
35244 if (sizeof (ac__type_new_))
35245 return 0;
35246 ;
35247 return 0;
35248 }
35249 _ACEOF
35250 rm -f conftest.$ac_objext
35251 if { (ac_try="$ac_compile"
35252 case "(($ac_try" in
35253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35254 *) ac_try_echo=$ac_try;;
35255 esac
35256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35257 (eval "$ac_compile") 2>conftest.er1
35258 ac_status=$?
35259 grep -v '^ *+' conftest.er1 >conftest.err
35260 rm -f conftest.er1
35261 cat conftest.err >&5
35262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35263 (exit $ac_status); } && {
35264 test -z "$ac_c_werror_flag" ||
35265 test ! -s conftest.err
35266 } && test -s conftest.$ac_objext; then
35267 ac_cv_type_mode_t=yes
35268 else
35269 echo "$as_me: failed program was:" >&5
35270 sed 's/^/| /' conftest.$ac_ext >&5
35271
35272 ac_cv_type_mode_t=no
35273 fi
35274
35275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35276 fi
35277 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
35278 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
35279 if test $ac_cv_type_mode_t = yes; then
35280 :
35281 else
35282
35283 cat >>confdefs.h <<_ACEOF
35284 #define mode_t int
35285 _ACEOF
35286
35287 fi
35288
35289 { echo "$as_me:$LINENO: checking for off_t" >&5
35290 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
35291 if test "${ac_cv_type_off_t+set}" = set; then
35292 echo $ECHO_N "(cached) $ECHO_C" >&6
35293 else
35294 cat >conftest.$ac_ext <<_ACEOF
35295 /* confdefs.h. */
35296 _ACEOF
35297 cat confdefs.h >>conftest.$ac_ext
35298 cat >>conftest.$ac_ext <<_ACEOF
35299 /* end confdefs.h. */
35300 $ac_includes_default
35301 typedef off_t ac__type_new_;
35302 int
35303 main ()
35304 {
35305 if ((ac__type_new_ *) 0)
35306 return 0;
35307 if (sizeof (ac__type_new_))
35308 return 0;
35309 ;
35310 return 0;
35311 }
35312 _ACEOF
35313 rm -f conftest.$ac_objext
35314 if { (ac_try="$ac_compile"
35315 case "(($ac_try" in
35316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35317 *) ac_try_echo=$ac_try;;
35318 esac
35319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35320 (eval "$ac_compile") 2>conftest.er1
35321 ac_status=$?
35322 grep -v '^ *+' conftest.er1 >conftest.err
35323 rm -f conftest.er1
35324 cat conftest.err >&5
35325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35326 (exit $ac_status); } && {
35327 test -z "$ac_c_werror_flag" ||
35328 test ! -s conftest.err
35329 } && test -s conftest.$ac_objext; then
35330 ac_cv_type_off_t=yes
35331 else
35332 echo "$as_me: failed program was:" >&5
35333 sed 's/^/| /' conftest.$ac_ext >&5
35334
35335 ac_cv_type_off_t=no
35336 fi
35337
35338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35339 fi
35340 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
35341 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
35342 if test $ac_cv_type_off_t = yes; then
35343 :
35344 else
35345
35346 cat >>confdefs.h <<_ACEOF
35347 #define off_t long int
35348 _ACEOF
35349
35350 fi
35351
35352 { echo "$as_me:$LINENO: checking for pid_t" >&5
35353 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
35354 if test "${ac_cv_type_pid_t+set}" = set; then
35355 echo $ECHO_N "(cached) $ECHO_C" >&6
35356 else
35357 cat >conftest.$ac_ext <<_ACEOF
35358 /* confdefs.h. */
35359 _ACEOF
35360 cat confdefs.h >>conftest.$ac_ext
35361 cat >>conftest.$ac_ext <<_ACEOF
35362 /* end confdefs.h. */
35363 $ac_includes_default
35364 typedef pid_t ac__type_new_;
35365 int
35366 main ()
35367 {
35368 if ((ac__type_new_ *) 0)
35369 return 0;
35370 if (sizeof (ac__type_new_))
35371 return 0;
35372 ;
35373 return 0;
35374 }
35375 _ACEOF
35376 rm -f conftest.$ac_objext
35377 if { (ac_try="$ac_compile"
35378 case "(($ac_try" in
35379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35380 *) ac_try_echo=$ac_try;;
35381 esac
35382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35383 (eval "$ac_compile") 2>conftest.er1
35384 ac_status=$?
35385 grep -v '^ *+' conftest.er1 >conftest.err
35386 rm -f conftest.er1
35387 cat conftest.err >&5
35388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35389 (exit $ac_status); } && {
35390 test -z "$ac_c_werror_flag" ||
35391 test ! -s conftest.err
35392 } && test -s conftest.$ac_objext; then
35393 ac_cv_type_pid_t=yes
35394 else
35395 echo "$as_me: failed program was:" >&5
35396 sed 's/^/| /' conftest.$ac_ext >&5
35397
35398 ac_cv_type_pid_t=no
35399 fi
35400
35401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35402 fi
35403 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
35404 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
35405 if test $ac_cv_type_pid_t = yes; then
35406 :
35407 else
35408
35409 cat >>confdefs.h <<_ACEOF
35410 #define pid_t int
35411 _ACEOF
35412
35413 fi
35414
35415 { echo "$as_me:$LINENO: checking for size_t" >&5
35416 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
35417 if test "${ac_cv_type_size_t+set}" = set; then
35418 echo $ECHO_N "(cached) $ECHO_C" >&6
35419 else
35420 cat >conftest.$ac_ext <<_ACEOF
35421 /* confdefs.h. */
35422 _ACEOF
35423 cat confdefs.h >>conftest.$ac_ext
35424 cat >>conftest.$ac_ext <<_ACEOF
35425 /* end confdefs.h. */
35426 $ac_includes_default
35427 typedef size_t ac__type_new_;
35428 int
35429 main ()
35430 {
35431 if ((ac__type_new_ *) 0)
35432 return 0;
35433 if (sizeof (ac__type_new_))
35434 return 0;
35435 ;
35436 return 0;
35437 }
35438 _ACEOF
35439 rm -f conftest.$ac_objext
35440 if { (ac_try="$ac_compile"
35441 case "(($ac_try" in
35442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35443 *) ac_try_echo=$ac_try;;
35444 esac
35445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35446 (eval "$ac_compile") 2>conftest.er1
35447 ac_status=$?
35448 grep -v '^ *+' conftest.er1 >conftest.err
35449 rm -f conftest.er1
35450 cat conftest.err >&5
35451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35452 (exit $ac_status); } && {
35453 test -z "$ac_c_werror_flag" ||
35454 test ! -s conftest.err
35455 } && test -s conftest.$ac_objext; then
35456 ac_cv_type_size_t=yes
35457 else
35458 echo "$as_me: failed program was:" >&5
35459 sed 's/^/| /' conftest.$ac_ext >&5
35460
35461 ac_cv_type_size_t=no
35462 fi
35463
35464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35465 fi
35466 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
35467 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
35468 if test $ac_cv_type_size_t = yes; then
35469 :
35470 else
35471
35472 cat >>confdefs.h <<_ACEOF
35473 #define size_t unsigned int
35474 _ACEOF
35475
35476 fi
35477
35478
35479 { echo "$as_me:$LINENO: checking for ssize_t" >&5
35480 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
35481 if test "${ac_cv_type_ssize_t+set}" = set; then
35482 echo $ECHO_N "(cached) $ECHO_C" >&6
35483 else
35484 cat >conftest.$ac_ext <<_ACEOF
35485 /* confdefs.h. */
35486 _ACEOF
35487 cat confdefs.h >>conftest.$ac_ext
35488 cat >>conftest.$ac_ext <<_ACEOF
35489 /* end confdefs.h. */
35490 $ac_includes_default
35491 typedef ssize_t ac__type_new_;
35492 int
35493 main ()
35494 {
35495 if ((ac__type_new_ *) 0)
35496 return 0;
35497 if (sizeof (ac__type_new_))
35498 return 0;
35499 ;
35500 return 0;
35501 }
35502 _ACEOF
35503 rm -f conftest.$ac_objext
35504 if { (ac_try="$ac_compile"
35505 case "(($ac_try" in
35506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35507 *) ac_try_echo=$ac_try;;
35508 esac
35509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35510 (eval "$ac_compile") 2>conftest.er1
35511 ac_status=$?
35512 grep -v '^ *+' conftest.er1 >conftest.err
35513 rm -f conftest.er1
35514 cat conftest.err >&5
35515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35516 (exit $ac_status); } && {
35517 test -z "$ac_c_werror_flag" ||
35518 test ! -s conftest.err
35519 } && test -s conftest.$ac_objext; then
35520 ac_cv_type_ssize_t=yes
35521 else
35522 echo "$as_me: failed program was:" >&5
35523 sed 's/^/| /' conftest.$ac_ext >&5
35524
35525 ac_cv_type_ssize_t=no
35526 fi
35527
35528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35529 fi
35530 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
35531 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
35532 if test $ac_cv_type_ssize_t = yes; then
35533
35534 cat >>confdefs.h <<_ACEOF
35535 #define HAVE_SSIZE_T 1
35536 _ACEOF
35537
35538
35539 fi
35540
35541
35542 ac_ext=cpp
35543 ac_cpp='$CXXCPP $CPPFLAGS'
35544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35547 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
35548 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
35549 if test "${wx_cv_size_t_is_uint+set}" = set; then
35550 echo $ECHO_N "(cached) $ECHO_C" >&6
35551 else
35552
35553 cat >conftest.$ac_ext <<_ACEOF
35554 /* confdefs.h. */
35555 _ACEOF
35556 cat confdefs.h >>conftest.$ac_ext
35557 cat >>conftest.$ac_ext <<_ACEOF
35558 /* end confdefs.h. */
35559 #include <stddef.h>
35560 int
35561 main ()
35562 {
35563
35564 return 0; }
35565
35566 struct Foo { void foo(size_t); void foo(unsigned int); };
35567
35568 int bar() {
35569
35570 ;
35571 return 0;
35572 }
35573 _ACEOF
35574 rm -f conftest.$ac_objext
35575 if { (ac_try="$ac_compile"
35576 case "(($ac_try" in
35577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35578 *) ac_try_echo=$ac_try;;
35579 esac
35580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35581 (eval "$ac_compile") 2>conftest.er1
35582 ac_status=$?
35583 grep -v '^ *+' conftest.er1 >conftest.err
35584 rm -f conftest.er1
35585 cat conftest.err >&5
35586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35587 (exit $ac_status); } && {
35588 test -z "$ac_cxx_werror_flag" ||
35589 test ! -s conftest.err
35590 } && test -s conftest.$ac_objext; then
35591 wx_cv_size_t_is_uint=no
35592 else
35593 echo "$as_me: failed program was:" >&5
35594 sed 's/^/| /' conftest.$ac_ext >&5
35595
35596 wx_cv_size_t_is_uint=yes
35597
35598 fi
35599
35600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35601
35602
35603 fi
35604 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
35605 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
35606
35607 if test "$wx_cv_size_t_is_uint" = "yes"; then
35608 cat >>confdefs.h <<\_ACEOF
35609 #define wxSIZE_T_IS_UINT 1
35610 _ACEOF
35611
35612 else
35613 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
35614 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
35615 if test "${wx_cv_size_t_is_ulong+set}" = set; then
35616 echo $ECHO_N "(cached) $ECHO_C" >&6
35617 else
35618 cat >conftest.$ac_ext <<_ACEOF
35619 /* confdefs.h. */
35620 _ACEOF
35621 cat confdefs.h >>conftest.$ac_ext
35622 cat >>conftest.$ac_ext <<_ACEOF
35623 /* end confdefs.h. */
35624 #include <stddef.h>
35625 int
35626 main ()
35627 {
35628
35629 return 0; }
35630
35631 struct Foo { void foo(size_t); void foo(unsigned long); };
35632
35633 int bar() {
35634
35635 ;
35636 return 0;
35637 }
35638 _ACEOF
35639 rm -f conftest.$ac_objext
35640 if { (ac_try="$ac_compile"
35641 case "(($ac_try" in
35642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35643 *) ac_try_echo=$ac_try;;
35644 esac
35645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35646 (eval "$ac_compile") 2>conftest.er1
35647 ac_status=$?
35648 grep -v '^ *+' conftest.er1 >conftest.err
35649 rm -f conftest.er1
35650 cat conftest.err >&5
35651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35652 (exit $ac_status); } && {
35653 test -z "$ac_cxx_werror_flag" ||
35654 test ! -s conftest.err
35655 } && test -s conftest.$ac_objext; then
35656 wx_cv_size_t_is_ulong=no
35657 else
35658 echo "$as_me: failed program was:" >&5
35659 sed 's/^/| /' conftest.$ac_ext >&5
35660
35661 wx_cv_size_t_is_ulong=yes
35662
35663 fi
35664
35665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35666
35667 fi
35668 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
35669 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
35670
35671 if test "$wx_cv_size_t_is_ulong" = "yes"; then
35672 cat >>confdefs.h <<\_ACEOF
35673 #define wxSIZE_T_IS_ULONG 1
35674 _ACEOF
35675
35676 fi
35677 fi
35678
35679 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
35680 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
35681 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
35682 echo $ECHO_N "(cached) $ECHO_C" >&6
35683 else
35684 cat >conftest.$ac_ext <<_ACEOF
35685 /* confdefs.h. */
35686 _ACEOF
35687 cat confdefs.h >>conftest.$ac_ext
35688 cat >>conftest.$ac_ext <<_ACEOF
35689 /* end confdefs.h. */
35690 #include <wchar.h>
35691 int
35692 main ()
35693 {
35694
35695 return 0; }
35696
35697 struct Foo { void foo(wchar_t);
35698 void foo(unsigned short);
35699 void foo(unsigned int);
35700 void foo(unsigned long); };
35701
35702 int bar() {
35703
35704 ;
35705 return 0;
35706 }
35707 _ACEOF
35708 rm -f conftest.$ac_objext
35709 if { (ac_try="$ac_compile"
35710 case "(($ac_try" in
35711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35712 *) ac_try_echo=$ac_try;;
35713 esac
35714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35715 (eval "$ac_compile") 2>conftest.er1
35716 ac_status=$?
35717 grep -v '^ *+' conftest.er1 >conftest.err
35718 rm -f conftest.er1
35719 cat conftest.err >&5
35720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35721 (exit $ac_status); } && {
35722 test -z "$ac_cxx_werror_flag" ||
35723 test ! -s conftest.err
35724 } && test -s conftest.$ac_objext; then
35725 wx_cv_wchar_t_is_separate_type=yes
35726 else
35727 echo "$as_me: failed program was:" >&5
35728 sed 's/^/| /' conftest.$ac_ext >&5
35729
35730 wx_cv_wchar_t_is_separate_type=no
35731
35732 fi
35733
35734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35735
35736 fi
35737 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
35738 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
35739
35740 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
35741 cat >>confdefs.h <<\_ACEOF
35742 #define wxWCHAR_T_IS_REAL_TYPE 1
35743 _ACEOF
35744
35745 else
35746 cat >>confdefs.h <<\_ACEOF
35747 #define wxWCHAR_T_IS_REAL_TYPE 0
35748 _ACEOF
35749
35750 fi
35751
35752 ac_ext=c
35753 ac_cpp='$CPP $CPPFLAGS'
35754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35757
35758
35759 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
35760 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
35761 if test "${wx_cv_struct_pw_gecos+set}" = set; then
35762 echo $ECHO_N "(cached) $ECHO_C" >&6
35763 else
35764
35765 cat >conftest.$ac_ext <<_ACEOF
35766 /* confdefs.h. */
35767 _ACEOF
35768 cat confdefs.h >>conftest.$ac_ext
35769 cat >>conftest.$ac_ext <<_ACEOF
35770 /* end confdefs.h. */
35771 #include <pwd.h>
35772 int
35773 main ()
35774 {
35775
35776 char *p;
35777 struct passwd *pw;
35778 p = pw->pw_gecos;
35779
35780 ;
35781 return 0;
35782 }
35783 _ACEOF
35784 rm -f conftest.$ac_objext
35785 if { (ac_try="$ac_compile"
35786 case "(($ac_try" in
35787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35788 *) ac_try_echo=$ac_try;;
35789 esac
35790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35791 (eval "$ac_compile") 2>conftest.er1
35792 ac_status=$?
35793 grep -v '^ *+' conftest.er1 >conftest.err
35794 rm -f conftest.er1
35795 cat conftest.err >&5
35796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35797 (exit $ac_status); } && {
35798 test -z "$ac_c_werror_flag" ||
35799 test ! -s conftest.err
35800 } && test -s conftest.$ac_objext; then
35801
35802 wx_cv_struct_pw_gecos=yes
35803
35804 else
35805 echo "$as_me: failed program was:" >&5
35806 sed 's/^/| /' conftest.$ac_ext >&5
35807
35808
35809 wx_cv_struct_pw_gecos=no
35810
35811
35812 fi
35813
35814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35815
35816
35817 fi
35818 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
35819 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
35820
35821 if test "$wx_cv_struct_pw_gecos" = "yes"; then
35822 cat >>confdefs.h <<\_ACEOF
35823 #define HAVE_PW_GECOS 1
35824 _ACEOF
35825
35826 fi
35827
35828
35829 if test "$wxUSE_WCHAR_T" = "yes"; then
35830 cat >>confdefs.h <<\_ACEOF
35831 #define wxUSE_WCHAR_T 1
35832 _ACEOF
35833
35834
35835 WCSLEN_FOUND=0
35836 WCHAR_LINK=
35837
35838 for ac_func in wcslen
35839 do
35840 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35841 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35842 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35843 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35844 echo $ECHO_N "(cached) $ECHO_C" >&6
35845 else
35846 cat >conftest.$ac_ext <<_ACEOF
35847 /* confdefs.h. */
35848 _ACEOF
35849 cat confdefs.h >>conftest.$ac_ext
35850 cat >>conftest.$ac_ext <<_ACEOF
35851 /* end confdefs.h. */
35852 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35853 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35854 #define $ac_func innocuous_$ac_func
35855
35856 /* System header to define __stub macros and hopefully few prototypes,
35857 which can conflict with char $ac_func (); below.
35858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35859 <limits.h> exists even on freestanding compilers. */
35860
35861 #ifdef __STDC__
35862 # include <limits.h>
35863 #else
35864 # include <assert.h>
35865 #endif
35866
35867 #undef $ac_func
35868
35869 /* Override any GCC internal prototype to avoid an error.
35870 Use char because int might match the return type of a GCC
35871 builtin and then its argument prototype would still apply. */
35872 #ifdef __cplusplus
35873 extern "C"
35874 #endif
35875 char $ac_func ();
35876 /* The GNU C library defines this for functions which it implements
35877 to always fail with ENOSYS. Some functions are actually named
35878 something starting with __ and the normal name is an alias. */
35879 #if defined __stub_$ac_func || defined __stub___$ac_func
35880 choke me
35881 #endif
35882
35883 int
35884 main ()
35885 {
35886 return $ac_func ();
35887 ;
35888 return 0;
35889 }
35890 _ACEOF
35891 rm -f conftest.$ac_objext conftest$ac_exeext
35892 if { (ac_try="$ac_link"
35893 case "(($ac_try" in
35894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35895 *) ac_try_echo=$ac_try;;
35896 esac
35897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35898 (eval "$ac_link") 2>conftest.er1
35899 ac_status=$?
35900 grep -v '^ *+' conftest.er1 >conftest.err
35901 rm -f conftest.er1
35902 cat conftest.err >&5
35903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35904 (exit $ac_status); } && {
35905 test -z "$ac_c_werror_flag" ||
35906 test ! -s conftest.err
35907 } && test -s conftest$ac_exeext &&
35908 $as_test_x conftest$ac_exeext; then
35909 eval "$as_ac_var=yes"
35910 else
35911 echo "$as_me: failed program was:" >&5
35912 sed 's/^/| /' conftest.$ac_ext >&5
35913
35914 eval "$as_ac_var=no"
35915 fi
35916
35917 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35918 conftest$ac_exeext conftest.$ac_ext
35919 fi
35920 ac_res=`eval echo '${'$as_ac_var'}'`
35921 { echo "$as_me:$LINENO: result: $ac_res" >&5
35922 echo "${ECHO_T}$ac_res" >&6; }
35923 if test `eval echo '${'$as_ac_var'}'` = yes; then
35924 cat >>confdefs.h <<_ACEOF
35925 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35926 _ACEOF
35927 WCSLEN_FOUND=1
35928 fi
35929 done
35930
35931
35932 if test "$WCSLEN_FOUND" = 0; then
35933 if test "$TOOLKIT" = "MSW"; then
35934 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
35935 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
35936 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
35937 echo $ECHO_N "(cached) $ECHO_C" >&6
35938 else
35939 ac_check_lib_save_LIBS=$LIBS
35940 LIBS="-lmsvcrt $LIBS"
35941 cat >conftest.$ac_ext <<_ACEOF
35942 /* confdefs.h. */
35943 _ACEOF
35944 cat confdefs.h >>conftest.$ac_ext
35945 cat >>conftest.$ac_ext <<_ACEOF
35946 /* end confdefs.h. */
35947
35948 /* Override any GCC internal prototype to avoid an error.
35949 Use char because int might match the return type of a GCC
35950 builtin and then its argument prototype would still apply. */
35951 #ifdef __cplusplus
35952 extern "C"
35953 #endif
35954 char wcslen ();
35955 int
35956 main ()
35957 {
35958 return wcslen ();
35959 ;
35960 return 0;
35961 }
35962 _ACEOF
35963 rm -f conftest.$ac_objext conftest$ac_exeext
35964 if { (ac_try="$ac_link"
35965 case "(($ac_try" in
35966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35967 *) ac_try_echo=$ac_try;;
35968 esac
35969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35970 (eval "$ac_link") 2>conftest.er1
35971 ac_status=$?
35972 grep -v '^ *+' conftest.er1 >conftest.err
35973 rm -f conftest.er1
35974 cat conftest.err >&5
35975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35976 (exit $ac_status); } && {
35977 test -z "$ac_c_werror_flag" ||
35978 test ! -s conftest.err
35979 } && test -s conftest$ac_exeext &&
35980 $as_test_x conftest$ac_exeext; then
35981 ac_cv_lib_msvcrt_wcslen=yes
35982 else
35983 echo "$as_me: failed program was:" >&5
35984 sed 's/^/| /' conftest.$ac_ext >&5
35985
35986 ac_cv_lib_msvcrt_wcslen=no
35987 fi
35988
35989 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35990 conftest$ac_exeext conftest.$ac_ext
35991 LIBS=$ac_check_lib_save_LIBS
35992 fi
35993 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
35994 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
35995 if test $ac_cv_lib_msvcrt_wcslen = yes; then
35996 WCHAR_OK=1
35997 fi
35998
35999 else
36000 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
36001 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
36002 if test "${ac_cv_lib_w_wcslen+set}" = set; then
36003 echo $ECHO_N "(cached) $ECHO_C" >&6
36004 else
36005 ac_check_lib_save_LIBS=$LIBS
36006 LIBS="-lw $LIBS"
36007 cat >conftest.$ac_ext <<_ACEOF
36008 /* confdefs.h. */
36009 _ACEOF
36010 cat confdefs.h >>conftest.$ac_ext
36011 cat >>conftest.$ac_ext <<_ACEOF
36012 /* end confdefs.h. */
36013
36014 /* Override any GCC internal prototype to avoid an error.
36015 Use char because int might match the return type of a GCC
36016 builtin and then its argument prototype would still apply. */
36017 #ifdef __cplusplus
36018 extern "C"
36019 #endif
36020 char wcslen ();
36021 int
36022 main ()
36023 {
36024 return wcslen ();
36025 ;
36026 return 0;
36027 }
36028 _ACEOF
36029 rm -f conftest.$ac_objext conftest$ac_exeext
36030 if { (ac_try="$ac_link"
36031 case "(($ac_try" in
36032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36033 *) ac_try_echo=$ac_try;;
36034 esac
36035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36036 (eval "$ac_link") 2>conftest.er1
36037 ac_status=$?
36038 grep -v '^ *+' conftest.er1 >conftest.err
36039 rm -f conftest.er1
36040 cat conftest.err >&5
36041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36042 (exit $ac_status); } && {
36043 test -z "$ac_c_werror_flag" ||
36044 test ! -s conftest.err
36045 } && test -s conftest$ac_exeext &&
36046 $as_test_x conftest$ac_exeext; then
36047 ac_cv_lib_w_wcslen=yes
36048 else
36049 echo "$as_me: failed program was:" >&5
36050 sed 's/^/| /' conftest.$ac_ext >&5
36051
36052 ac_cv_lib_w_wcslen=no
36053 fi
36054
36055 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36056 conftest$ac_exeext conftest.$ac_ext
36057 LIBS=$ac_check_lib_save_LIBS
36058 fi
36059 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
36060 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
36061 if test $ac_cv_lib_w_wcslen = yes; then
36062
36063 WCHAR_LINK=" -lw"
36064 WCSLEN_FOUND=1
36065
36066 fi
36067
36068 fi
36069 fi
36070
36071 if test "$WCSLEN_FOUND" = 1; then
36072 cat >>confdefs.h <<\_ACEOF
36073 #define HAVE_WCSLEN 1
36074 _ACEOF
36075
36076 fi
36077
36078
36079
36080
36081
36082
36083 for ac_func in wcsdup strnlen wcsnlen wcscasecmp wcsncasecmp
36084 do
36085 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36086 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36087 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36088 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36089 echo $ECHO_N "(cached) $ECHO_C" >&6
36090 else
36091 cat >conftest.$ac_ext <<_ACEOF
36092 /* confdefs.h. */
36093 _ACEOF
36094 cat confdefs.h >>conftest.$ac_ext
36095 cat >>conftest.$ac_ext <<_ACEOF
36096 /* end confdefs.h. */
36097 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36098 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36099 #define $ac_func innocuous_$ac_func
36100
36101 /* System header to define __stub macros and hopefully few prototypes,
36102 which can conflict with char $ac_func (); below.
36103 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36104 <limits.h> exists even on freestanding compilers. */
36105
36106 #ifdef __STDC__
36107 # include <limits.h>
36108 #else
36109 # include <assert.h>
36110 #endif
36111
36112 #undef $ac_func
36113
36114 /* Override any GCC internal prototype to avoid an error.
36115 Use char because int might match the return type of a GCC
36116 builtin and then its argument prototype would still apply. */
36117 #ifdef __cplusplus
36118 extern "C"
36119 #endif
36120 char $ac_func ();
36121 /* The GNU C library defines this for functions which it implements
36122 to always fail with ENOSYS. Some functions are actually named
36123 something starting with __ and the normal name is an alias. */
36124 #if defined __stub_$ac_func || defined __stub___$ac_func
36125 choke me
36126 #endif
36127
36128 int
36129 main ()
36130 {
36131 return $ac_func ();
36132 ;
36133 return 0;
36134 }
36135 _ACEOF
36136 rm -f conftest.$ac_objext conftest$ac_exeext
36137 if { (ac_try="$ac_link"
36138 case "(($ac_try" in
36139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36140 *) ac_try_echo=$ac_try;;
36141 esac
36142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36143 (eval "$ac_link") 2>conftest.er1
36144 ac_status=$?
36145 grep -v '^ *+' conftest.er1 >conftest.err
36146 rm -f conftest.er1
36147 cat conftest.err >&5
36148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36149 (exit $ac_status); } && {
36150 test -z "$ac_c_werror_flag" ||
36151 test ! -s conftest.err
36152 } && test -s conftest$ac_exeext &&
36153 $as_test_x conftest$ac_exeext; then
36154 eval "$as_ac_var=yes"
36155 else
36156 echo "$as_me: failed program was:" >&5
36157 sed 's/^/| /' conftest.$ac_ext >&5
36158
36159 eval "$as_ac_var=no"
36160 fi
36161
36162 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36163 conftest$ac_exeext conftest.$ac_ext
36164 fi
36165 ac_res=`eval echo '${'$as_ac_var'}'`
36166 { echo "$as_me:$LINENO: result: $ac_res" >&5
36167 echo "${ECHO_T}$ac_res" >&6; }
36168 if test `eval echo '${'$as_ac_var'}'` = yes; then
36169 cat >>confdefs.h <<_ACEOF
36170 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36171 _ACEOF
36172
36173 fi
36174 done
36175
36176
36177 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
36178 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
36179 fi
36180
36181 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
36182 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
36183 if test "${ac_cv_type_mbstate_t+set}" = set; then
36184 echo $ECHO_N "(cached) $ECHO_C" >&6
36185 else
36186 cat >conftest.$ac_ext <<_ACEOF
36187 /* confdefs.h. */
36188 _ACEOF
36189 cat confdefs.h >>conftest.$ac_ext
36190 cat >>conftest.$ac_ext <<_ACEOF
36191 /* end confdefs.h. */
36192 #include <wchar.h>
36193
36194 typedef mbstate_t ac__type_new_;
36195 int
36196 main ()
36197 {
36198 if ((ac__type_new_ *) 0)
36199 return 0;
36200 if (sizeof (ac__type_new_))
36201 return 0;
36202 ;
36203 return 0;
36204 }
36205 _ACEOF
36206 rm -f conftest.$ac_objext
36207 if { (ac_try="$ac_compile"
36208 case "(($ac_try" in
36209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36210 *) ac_try_echo=$ac_try;;
36211 esac
36212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36213 (eval "$ac_compile") 2>conftest.er1
36214 ac_status=$?
36215 grep -v '^ *+' conftest.er1 >conftest.err
36216 rm -f conftest.er1
36217 cat conftest.err >&5
36218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36219 (exit $ac_status); } && {
36220 test -z "$ac_c_werror_flag" ||
36221 test ! -s conftest.err
36222 } && test -s conftest.$ac_objext; then
36223 ac_cv_type_mbstate_t=yes
36224 else
36225 echo "$as_me: failed program was:" >&5
36226 sed 's/^/| /' conftest.$ac_ext >&5
36227
36228 ac_cv_type_mbstate_t=no
36229 fi
36230
36231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36232 fi
36233 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
36234 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
36235 if test $ac_cv_type_mbstate_t = yes; then
36236
36237 cat >>confdefs.h <<_ACEOF
36238 #define HAVE_MBSTATE_T 1
36239 _ACEOF
36240
36241
36242 for ac_func in wcsrtombs
36243 do
36244 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36245 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36246 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36247 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36248 echo $ECHO_N "(cached) $ECHO_C" >&6
36249 else
36250 cat >conftest.$ac_ext <<_ACEOF
36251 /* confdefs.h. */
36252 _ACEOF
36253 cat confdefs.h >>conftest.$ac_ext
36254 cat >>conftest.$ac_ext <<_ACEOF
36255 /* end confdefs.h. */
36256 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36257 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36258 #define $ac_func innocuous_$ac_func
36259
36260 /* System header to define __stub macros and hopefully few prototypes,
36261 which can conflict with char $ac_func (); below.
36262 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36263 <limits.h> exists even on freestanding compilers. */
36264
36265 #ifdef __STDC__
36266 # include <limits.h>
36267 #else
36268 # include <assert.h>
36269 #endif
36270
36271 #undef $ac_func
36272
36273 /* Override any GCC internal prototype to avoid an error.
36274 Use char because int might match the return type of a GCC
36275 builtin and then its argument prototype would still apply. */
36276 #ifdef __cplusplus
36277 extern "C"
36278 #endif
36279 char $ac_func ();
36280 /* The GNU C library defines this for functions which it implements
36281 to always fail with ENOSYS. Some functions are actually named
36282 something starting with __ and the normal name is an alias. */
36283 #if defined __stub_$ac_func || defined __stub___$ac_func
36284 choke me
36285 #endif
36286
36287 int
36288 main ()
36289 {
36290 return $ac_func ();
36291 ;
36292 return 0;
36293 }
36294 _ACEOF
36295 rm -f conftest.$ac_objext conftest$ac_exeext
36296 if { (ac_try="$ac_link"
36297 case "(($ac_try" in
36298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36299 *) ac_try_echo=$ac_try;;
36300 esac
36301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36302 (eval "$ac_link") 2>conftest.er1
36303 ac_status=$?
36304 grep -v '^ *+' conftest.er1 >conftest.err
36305 rm -f conftest.er1
36306 cat conftest.err >&5
36307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36308 (exit $ac_status); } && {
36309 test -z "$ac_c_werror_flag" ||
36310 test ! -s conftest.err
36311 } && test -s conftest$ac_exeext &&
36312 $as_test_x conftest$ac_exeext; then
36313 eval "$as_ac_var=yes"
36314 else
36315 echo "$as_me: failed program was:" >&5
36316 sed 's/^/| /' conftest.$ac_ext >&5
36317
36318 eval "$as_ac_var=no"
36319 fi
36320
36321 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36322 conftest$ac_exeext conftest.$ac_ext
36323 fi
36324 ac_res=`eval echo '${'$as_ac_var'}'`
36325 { echo "$as_me:$LINENO: result: $ac_res" >&5
36326 echo "${ECHO_T}$ac_res" >&6; }
36327 if test `eval echo '${'$as_ac_var'}'` = yes; then
36328 cat >>confdefs.h <<_ACEOF
36329 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36330 _ACEOF
36331
36332 fi
36333 done
36334
36335 fi
36336
36337 else
36338 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
36339 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
36340 fi
36341
36342
36343
36344
36345 for ac_func in snprintf vsnprintf vsscanf
36346 do
36347 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36348 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36349 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36350 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36351 echo $ECHO_N "(cached) $ECHO_C" >&6
36352 else
36353 cat >conftest.$ac_ext <<_ACEOF
36354 /* confdefs.h. */
36355 _ACEOF
36356 cat confdefs.h >>conftest.$ac_ext
36357 cat >>conftest.$ac_ext <<_ACEOF
36358 /* end confdefs.h. */
36359 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36360 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36361 #define $ac_func innocuous_$ac_func
36362
36363 /* System header to define __stub macros and hopefully few prototypes,
36364 which can conflict with char $ac_func (); below.
36365 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36366 <limits.h> exists even on freestanding compilers. */
36367
36368 #ifdef __STDC__
36369 # include <limits.h>
36370 #else
36371 # include <assert.h>
36372 #endif
36373
36374 #undef $ac_func
36375
36376 /* Override any GCC internal prototype to avoid an error.
36377 Use char because int might match the return type of a GCC
36378 builtin and then its argument prototype would still apply. */
36379 #ifdef __cplusplus
36380 extern "C"
36381 #endif
36382 char $ac_func ();
36383 /* The GNU C library defines this for functions which it implements
36384 to always fail with ENOSYS. Some functions are actually named
36385 something starting with __ and the normal name is an alias. */
36386 #if defined __stub_$ac_func || defined __stub___$ac_func
36387 choke me
36388 #endif
36389
36390 int
36391 main ()
36392 {
36393 return $ac_func ();
36394 ;
36395 return 0;
36396 }
36397 _ACEOF
36398 rm -f conftest.$ac_objext conftest$ac_exeext
36399 if { (ac_try="$ac_link"
36400 case "(($ac_try" in
36401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36402 *) ac_try_echo=$ac_try;;
36403 esac
36404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36405 (eval "$ac_link") 2>conftest.er1
36406 ac_status=$?
36407 grep -v '^ *+' conftest.er1 >conftest.err
36408 rm -f conftest.er1
36409 cat conftest.err >&5
36410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36411 (exit $ac_status); } && {
36412 test -z "$ac_c_werror_flag" ||
36413 test ! -s conftest.err
36414 } && test -s conftest$ac_exeext &&
36415 $as_test_x conftest$ac_exeext; then
36416 eval "$as_ac_var=yes"
36417 else
36418 echo "$as_me: failed program was:" >&5
36419 sed 's/^/| /' conftest.$ac_ext >&5
36420
36421 eval "$as_ac_var=no"
36422 fi
36423
36424 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36425 conftest$ac_exeext conftest.$ac_ext
36426 fi
36427 ac_res=`eval echo '${'$as_ac_var'}'`
36428 { echo "$as_me:$LINENO: result: $ac_res" >&5
36429 echo "${ECHO_T}$ac_res" >&6; }
36430 if test `eval echo '${'$as_ac_var'}'` = yes; then
36431 cat >>confdefs.h <<_ACEOF
36432 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36433 _ACEOF
36434
36435 fi
36436 done
36437
36438
36439 ac_ext=cpp
36440 ac_cpp='$CXXCPP $CPPFLAGS'
36441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36444
36445 if test "$ac_cv_func_vsnprintf" = "yes"; then
36446 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
36447 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
36448 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
36449 echo $ECHO_N "(cached) $ECHO_C" >&6
36450 else
36451
36452 cat >conftest.$ac_ext <<_ACEOF
36453 /* confdefs.h. */
36454 _ACEOF
36455 cat confdefs.h >>conftest.$ac_ext
36456 cat >>conftest.$ac_ext <<_ACEOF
36457 /* end confdefs.h. */
36458
36459 #include <stdio.h>
36460 #include <stdarg.h>
36461 #ifdef __MSL__
36462 #if __MSL__ >= 0x6000
36463 namespace std {}
36464 using namespace std;
36465 #endif
36466 #endif
36467
36468 int
36469 main ()
36470 {
36471
36472 char *buf;
36473 va_list ap;
36474 vsnprintf(buf, 10u, "%s", ap);
36475
36476 ;
36477 return 0;
36478 }
36479 _ACEOF
36480 rm -f conftest.$ac_objext
36481 if { (ac_try="$ac_compile"
36482 case "(($ac_try" in
36483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36484 *) ac_try_echo=$ac_try;;
36485 esac
36486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36487 (eval "$ac_compile") 2>conftest.er1
36488 ac_status=$?
36489 grep -v '^ *+' conftest.er1 >conftest.err
36490 rm -f conftest.er1
36491 cat conftest.err >&5
36492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36493 (exit $ac_status); } && {
36494 test -z "$ac_cxx_werror_flag" ||
36495 test ! -s conftest.err
36496 } && test -s conftest.$ac_objext; then
36497 wx_cv_func_vsnprintf_decl=yes
36498 else
36499 echo "$as_me: failed program was:" >&5
36500 sed 's/^/| /' conftest.$ac_ext >&5
36501
36502 wx_cv_func_vsnprintf_decl=no
36503
36504 fi
36505
36506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36507
36508
36509 fi
36510 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
36511 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
36512
36513 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
36514 cat >>confdefs.h <<\_ACEOF
36515 #define HAVE_VSNPRINTF_DECL 1
36516 _ACEOF
36517
36518
36519 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
36520 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
36521 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
36522 echo $ECHO_N "(cached) $ECHO_C" >&6
36523 else
36524
36525 cat >conftest.$ac_ext <<_ACEOF
36526 /* confdefs.h. */
36527 _ACEOF
36528 cat confdefs.h >>conftest.$ac_ext
36529 cat >>conftest.$ac_ext <<_ACEOF
36530 /* end confdefs.h. */
36531
36532 #include <stdio.h>
36533 #include <stdarg.h>
36534 #ifdef __MSL__
36535 #if __MSL__ >= 0x6000
36536 namespace std {}
36537 using namespace std;
36538 #endif
36539 #endif
36540
36541 int
36542 main ()
36543 {
36544
36545 char *buf;
36546 va_list ap;
36547 const char *fmt = "%s";
36548 vsnprintf(buf, 10u, fmt, ap);
36549
36550 ;
36551 return 0;
36552 }
36553 _ACEOF
36554 rm -f conftest.$ac_objext
36555 if { (ac_try="$ac_compile"
36556 case "(($ac_try" in
36557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36558 *) ac_try_echo=$ac_try;;
36559 esac
36560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36561 (eval "$ac_compile") 2>conftest.er1
36562 ac_status=$?
36563 grep -v '^ *+' conftest.er1 >conftest.err
36564 rm -f conftest.er1
36565 cat conftest.err >&5
36566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36567 (exit $ac_status); } && {
36568 test -z "$ac_cxx_werror_flag" ||
36569 test ! -s conftest.err
36570 } && test -s conftest.$ac_objext; then
36571 wx_cv_func_broken_vsnprintf_decl=no
36572 else
36573 echo "$as_me: failed program was:" >&5
36574 sed 's/^/| /' conftest.$ac_ext >&5
36575
36576 wx_cv_func_broken_vsnprintf_decl=yes
36577
36578 fi
36579
36580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36581
36582
36583 fi
36584 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
36585 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
36586
36587 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
36588 cat >>confdefs.h <<\_ACEOF
36589 #define HAVE_BROKEN_VSNPRINTF_DECL 1
36590 _ACEOF
36591
36592 fi
36593 fi
36594 fi
36595
36596 if test "$ac_cv_func_snprintf" = "yes"; then
36597 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
36598 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
36599 if test "${wx_cv_func_snprintf_decl+set}" = set; then
36600 echo $ECHO_N "(cached) $ECHO_C" >&6
36601 else
36602
36603 cat >conftest.$ac_ext <<_ACEOF
36604 /* confdefs.h. */
36605 _ACEOF
36606 cat confdefs.h >>conftest.$ac_ext
36607 cat >>conftest.$ac_ext <<_ACEOF
36608 /* end confdefs.h. */
36609
36610 #include <stdio.h>
36611 #include <stdarg.h>
36612 #ifdef __MSL__
36613 #if __MSL__ >= 0x6000
36614 namespace std {}
36615 using namespace std;
36616 #endif
36617 #endif
36618
36619 int
36620 main ()
36621 {
36622
36623 char *buf;
36624 snprintf(buf, 10u, "%s", "wx");
36625
36626 ;
36627 return 0;
36628 }
36629 _ACEOF
36630 rm -f conftest.$ac_objext
36631 if { (ac_try="$ac_compile"
36632 case "(($ac_try" in
36633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36634 *) ac_try_echo=$ac_try;;
36635 esac
36636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36637 (eval "$ac_compile") 2>conftest.er1
36638 ac_status=$?
36639 grep -v '^ *+' conftest.er1 >conftest.err
36640 rm -f conftest.er1
36641 cat conftest.err >&5
36642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36643 (exit $ac_status); } && {
36644 test -z "$ac_cxx_werror_flag" ||
36645 test ! -s conftest.err
36646 } && test -s conftest.$ac_objext; then
36647 wx_cv_func_snprintf_decl=yes
36648 else
36649 echo "$as_me: failed program was:" >&5
36650 sed 's/^/| /' conftest.$ac_ext >&5
36651
36652 wx_cv_func_snprintf_decl=no
36653
36654 fi
36655
36656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36657
36658
36659 fi
36660 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
36661 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
36662
36663 if test "$wx_cv_func_snprintf_decl" = "yes"; then
36664 cat >>confdefs.h <<\_ACEOF
36665 #define HAVE_SNPRINTF_DECL 1
36666 _ACEOF
36667
36668 fi
36669
36670 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
36671
36672 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
36673 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
36674 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
36675 echo $ECHO_N "(cached) $ECHO_C" >&6
36676 else
36677
36678 if test "$cross_compiling" = yes; then
36679
36680 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
36681 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
36682 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
36683 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
36684 wx_cv_func_snprintf_pos_params=no
36685
36686
36687 else
36688 cat >conftest.$ac_ext <<_ACEOF
36689 /* confdefs.h. */
36690 _ACEOF
36691 cat confdefs.h >>conftest.$ac_ext
36692 cat >>conftest.$ac_ext <<_ACEOF
36693 /* end confdefs.h. */
36694
36695 #include <stdio.h>
36696
36697 int main (void)
36698 {
36699 char buffer[128];
36700 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
36701 if (strcmp ("2 3 1", buffer) == 0)
36702 exit (0);
36703 exit (1);
36704 }
36705
36706 _ACEOF
36707 rm -f conftest$ac_exeext
36708 if { (ac_try="$ac_link"
36709 case "(($ac_try" in
36710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36711 *) ac_try_echo=$ac_try;;
36712 esac
36713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36714 (eval "$ac_link") 2>&5
36715 ac_status=$?
36716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36717 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
36718 { (case "(($ac_try" in
36719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36720 *) ac_try_echo=$ac_try;;
36721 esac
36722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36723 (eval "$ac_try") 2>&5
36724 ac_status=$?
36725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36726 (exit $ac_status); }; }; then
36727 wx_cv_func_snprintf_pos_params=no
36728 else
36729 echo "$as_me: program exited with status $ac_status" >&5
36730 echo "$as_me: failed program was:" >&5
36731 sed 's/^/| /' conftest.$ac_ext >&5
36732
36733 ( exit $ac_status )
36734 wx_cv_func_snprintf_pos_params=yes
36735 fi
36736 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
36737 fi
36738
36739
36740
36741
36742 fi
36743 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
36744 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
36745
36746 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
36747 cat >>confdefs.h <<\_ACEOF
36748 #define HAVE_UNIX98_PRINTF 1
36749 _ACEOF
36750
36751 fi
36752 fi
36753 fi
36754
36755 if test "$ac_cv_func_vsscanf" = "yes"; then
36756 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
36757 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
36758 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
36759 echo $ECHO_N "(cached) $ECHO_C" >&6
36760 else
36761
36762 cat >conftest.$ac_ext <<_ACEOF
36763 /* confdefs.h. */
36764 _ACEOF
36765 cat confdefs.h >>conftest.$ac_ext
36766 cat >>conftest.$ac_ext <<_ACEOF
36767 /* end confdefs.h. */
36768
36769 #include <stdio.h>
36770 #include <stdarg.h>
36771 #ifdef __MSL__
36772 #if __MSL__ >= 0x6000
36773 namespace std {}
36774 using namespace std;
36775 #endif
36776 #endif
36777
36778 int
36779 main ()
36780 {
36781
36782 char *buf;
36783 va_list args;
36784 vsscanf(buf, "%s", args);
36785
36786 ;
36787 return 0;
36788 }
36789 _ACEOF
36790 rm -f conftest.$ac_objext
36791 if { (ac_try="$ac_compile"
36792 case "(($ac_try" in
36793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36794 *) ac_try_echo=$ac_try;;
36795 esac
36796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36797 (eval "$ac_compile") 2>conftest.er1
36798 ac_status=$?
36799 grep -v '^ *+' conftest.er1 >conftest.err
36800 rm -f conftest.er1
36801 cat conftest.err >&5
36802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36803 (exit $ac_status); } && {
36804 test -z "$ac_cxx_werror_flag" ||
36805 test ! -s conftest.err
36806 } && test -s conftest.$ac_objext; then
36807 wx_cv_func_vsscanf_decl=yes
36808 else
36809 echo "$as_me: failed program was:" >&5
36810 sed 's/^/| /' conftest.$ac_ext >&5
36811
36812 wx_cv_func_vsscanf_decl=no
36813
36814 fi
36815
36816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36817
36818
36819 fi
36820 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
36821 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
36822
36823 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
36824 cat >>confdefs.h <<\_ACEOF
36825 #define HAVE_VSSCANF_DECL 1
36826 _ACEOF
36827
36828 fi
36829 fi
36830 ac_ext=c
36831 ac_cpp='$CPP $CPPFLAGS'
36832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36835
36836
36837 if test "$wxUSE_UNICODE" = yes; then
36838
36839 wchar_headers="#include <stdio.h>
36840 #include <wchar.h>"
36841 case "${host}" in
36842 *-*-solaris2* )
36843
36844 for ac_header in widec.h
36845 do
36846 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36847 { echo "$as_me:$LINENO: checking for $ac_header" >&5
36848 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
36849 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
36850 echo $ECHO_N "(cached) $ECHO_C" >&6
36851 else
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 $ac_includes_default
36859
36860 #include <$ac_header>
36861 _ACEOF
36862 rm -f conftest.$ac_objext
36863 if { (ac_try="$ac_compile"
36864 case "(($ac_try" in
36865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36866 *) ac_try_echo=$ac_try;;
36867 esac
36868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36869 (eval "$ac_compile") 2>conftest.er1
36870 ac_status=$?
36871 grep -v '^ *+' conftest.er1 >conftest.err
36872 rm -f conftest.er1
36873 cat conftest.err >&5
36874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36875 (exit $ac_status); } && {
36876 test -z "$ac_c_werror_flag" ||
36877 test ! -s conftest.err
36878 } && test -s conftest.$ac_objext; then
36879 eval "$as_ac_Header=yes"
36880 else
36881 echo "$as_me: failed program was:" >&5
36882 sed 's/^/| /' conftest.$ac_ext >&5
36883
36884 eval "$as_ac_Header=no"
36885 fi
36886
36887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36888 fi
36889 ac_res=`eval echo '${'$as_ac_Header'}'`
36890 { echo "$as_me:$LINENO: result: $ac_res" >&5
36891 echo "${ECHO_T}$ac_res" >&6; }
36892 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36893 cat >>confdefs.h <<_ACEOF
36894 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36895 _ACEOF
36896
36897 fi
36898
36899 done
36900
36901 if test "$ac_cv_header_widec_h" = "yes"; then
36902 wchar_headers="$wchar_headers
36903 #include <widec.h>"
36904 fi
36905 esac
36906
36907
36908 for wx_func in putws fputws wprintf vswprintf vswscanf
36909 do
36910 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36911 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36912 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36913 echo $ECHO_N "(cached) $ECHO_C" >&6
36914 else
36915
36916 cat >conftest.$ac_ext <<_ACEOF
36917
36918 /* confdefs.h. */
36919 _ACEOF
36920 cat confdefs.h >>conftest.$ac_ext
36921 cat >>conftest.$ac_ext <<_ACEOF
36922 /* end confdefs.h. */
36923
36924 $wchar_headers
36925 $ac_includes_default
36926
36927 int
36928 main ()
36929 {
36930
36931 #ifndef $wx_func
36932 &$wx_func;
36933 #endif
36934
36935
36936 ;
36937 return 0;
36938 }
36939
36940 _ACEOF
36941 rm -f conftest.$ac_objext conftest$ac_exeext
36942 if { (ac_try="$ac_link"
36943 case "(($ac_try" in
36944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36945 *) ac_try_echo=$ac_try;;
36946 esac
36947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36948 (eval "$ac_link") 2>conftest.er1
36949 ac_status=$?
36950 grep -v '^ *+' conftest.er1 >conftest.err
36951 rm -f conftest.er1
36952 cat conftest.err >&5
36953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36954 (exit $ac_status); } && {
36955 test -z "$ac_c_werror_flag" ||
36956 test ! -s conftest.err
36957 } && test -s conftest$ac_exeext &&
36958 $as_test_x conftest$ac_exeext; then
36959 eval wx_cv_func_$wx_func=yes
36960 else
36961 echo "$as_me: failed program was:" >&5
36962 sed 's/^/| /' conftest.$ac_ext >&5
36963
36964 eval wx_cv_func_$wx_func=no
36965 fi
36966
36967 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36968 conftest$ac_exeext conftest.$ac_ext
36969
36970 fi
36971 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36972 { echo "$as_me:$LINENO: result: $ac_res" >&5
36973 echo "${ECHO_T}$ac_res" >&6; }
36974
36975 if eval test \$wx_cv_func_$wx_func = yes
36976 then
36977 cat >>confdefs.h <<_ACEOF
36978 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36979 _ACEOF
36980
36981
36982 else
36983 :
36984
36985 fi
36986 done
36987
36988
36989 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
36990 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
36991 cat >conftest.$ac_ext <<_ACEOF
36992 /* confdefs.h. */
36993 _ACEOF
36994 cat confdefs.h >>conftest.$ac_ext
36995 cat >>conftest.$ac_ext <<_ACEOF
36996 /* end confdefs.h. */
36997 #include <wchar.h>
36998 int
36999 main ()
37000 {
37001 &_vsnwprintf;
37002 ;
37003 return 0;
37004 }
37005 _ACEOF
37006 rm -f conftest.$ac_objext
37007 if { (ac_try="$ac_compile"
37008 case "(($ac_try" in
37009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37010 *) ac_try_echo=$ac_try;;
37011 esac
37012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37013 (eval "$ac_compile") 2>conftest.er1
37014 ac_status=$?
37015 grep -v '^ *+' conftest.er1 >conftest.err
37016 rm -f conftest.er1
37017 cat conftest.err >&5
37018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37019 (exit $ac_status); } && {
37020 test -z "$ac_c_werror_flag" ||
37021 test ! -s conftest.err
37022 } && test -s conftest.$ac_objext; then
37023 { echo "$as_me:$LINENO: result: yes" >&5
37024 echo "${ECHO_T}yes" >&6; }
37025 cat >>confdefs.h <<\_ACEOF
37026 #define HAVE__VSNWPRINTF 1
37027 _ACEOF
37028
37029 else
37030 echo "$as_me: failed program was:" >&5
37031 sed 's/^/| /' conftest.$ac_ext >&5
37032
37033 { echo "$as_me:$LINENO: result: no" >&5
37034 echo "${ECHO_T}no" >&6; }
37035 fi
37036
37037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
37038 fi
37039
37040 if test "$wxUSE_FILE" = "yes"; then
37041
37042 for wx_func in fsync
37043 do
37044 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37045 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37046 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37047 echo $ECHO_N "(cached) $ECHO_C" >&6
37048 else
37049
37050 cat >conftest.$ac_ext <<_ACEOF
37051
37052 /* confdefs.h. */
37053 _ACEOF
37054 cat confdefs.h >>conftest.$ac_ext
37055 cat >>conftest.$ac_ext <<_ACEOF
37056 /* end confdefs.h. */
37057
37058
37059 $ac_includes_default
37060
37061 int
37062 main ()
37063 {
37064
37065 #ifndef $wx_func
37066 &$wx_func;
37067 #endif
37068
37069
37070 ;
37071 return 0;
37072 }
37073
37074 _ACEOF
37075 rm -f conftest.$ac_objext conftest$ac_exeext
37076 if { (ac_try="$ac_link"
37077 case "(($ac_try" in
37078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37079 *) ac_try_echo=$ac_try;;
37080 esac
37081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37082 (eval "$ac_link") 2>conftest.er1
37083 ac_status=$?
37084 grep -v '^ *+' conftest.er1 >conftest.err
37085 rm -f conftest.er1
37086 cat conftest.err >&5
37087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37088 (exit $ac_status); } && {
37089 test -z "$ac_c_werror_flag" ||
37090 test ! -s conftest.err
37091 } && test -s conftest$ac_exeext &&
37092 $as_test_x conftest$ac_exeext; then
37093 eval wx_cv_func_$wx_func=yes
37094 else
37095 echo "$as_me: failed program was:" >&5
37096 sed 's/^/| /' conftest.$ac_ext >&5
37097
37098 eval wx_cv_func_$wx_func=no
37099 fi
37100
37101 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37102 conftest$ac_exeext conftest.$ac_ext
37103
37104 fi
37105 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37106 { echo "$as_me:$LINENO: result: $ac_res" >&5
37107 echo "${ECHO_T}$ac_res" >&6; }
37108
37109 if eval test \$wx_cv_func_$wx_func = yes
37110 then
37111 cat >>confdefs.h <<_ACEOF
37112 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37113 _ACEOF
37114
37115
37116 else
37117 :
37118
37119 fi
37120 done
37121
37122 fi
37123
37124 ac_ext=cpp
37125 ac_cpp='$CXXCPP $CPPFLAGS'
37126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37129
37130
37131 for wx_func in round
37132 do
37133 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37134 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37135 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37136 echo $ECHO_N "(cached) $ECHO_C" >&6
37137 else
37138
37139 cat >conftest.$ac_ext <<_ACEOF
37140
37141 /* confdefs.h. */
37142 _ACEOF
37143 cat confdefs.h >>conftest.$ac_ext
37144 cat >>conftest.$ac_ext <<_ACEOF
37145 /* end confdefs.h. */
37146
37147 #include <math.h>
37148 $ac_includes_default
37149
37150 int
37151 main ()
37152 {
37153
37154 #ifndef $wx_func
37155 &$wx_func;
37156 #endif
37157
37158
37159 ;
37160 return 0;
37161 }
37162
37163 _ACEOF
37164 rm -f conftest.$ac_objext conftest$ac_exeext
37165 if { (ac_try="$ac_link"
37166 case "(($ac_try" in
37167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37168 *) ac_try_echo=$ac_try;;
37169 esac
37170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37171 (eval "$ac_link") 2>conftest.er1
37172 ac_status=$?
37173 grep -v '^ *+' conftest.er1 >conftest.err
37174 rm -f conftest.er1
37175 cat conftest.err >&5
37176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37177 (exit $ac_status); } && {
37178 test -z "$ac_cxx_werror_flag" ||
37179 test ! -s conftest.err
37180 } && test -s conftest$ac_exeext &&
37181 $as_test_x conftest$ac_exeext; then
37182 eval wx_cv_func_$wx_func=yes
37183 else
37184 echo "$as_me: failed program was:" >&5
37185 sed 's/^/| /' conftest.$ac_ext >&5
37186
37187 eval wx_cv_func_$wx_func=no
37188 fi
37189
37190 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37191 conftest$ac_exeext conftest.$ac_ext
37192
37193 fi
37194 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37195 { echo "$as_me:$LINENO: result: $ac_res" >&5
37196 echo "${ECHO_T}$ac_res" >&6; }
37197
37198 if eval test \$wx_cv_func_$wx_func = yes
37199 then
37200 cat >>confdefs.h <<_ACEOF
37201 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37202 _ACEOF
37203
37204
37205 else
37206 :
37207
37208 fi
37209 done
37210
37211 ac_ext=c
37212 ac_cpp='$CPP $CPPFLAGS'
37213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37216
37217
37218 if test "$TOOLKIT" != "MSW"; then
37219
37220 if test "$wxUSE_LIBICONV" != "no" ; then
37221
37222
37223
37224 # Check whether --with-libiconv-prefix was given.
37225 if test "${with_libiconv_prefix+set}" = set; then
37226 withval=$with_libiconv_prefix;
37227 for dir in `echo "$withval" | tr : ' '`; do
37228 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
37229 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
37230 done
37231
37232 fi
37233
37234
37235 { echo "$as_me:$LINENO: checking for iconv" >&5
37236 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
37237 if test "${am_cv_func_iconv+set}" = set; then
37238 echo $ECHO_N "(cached) $ECHO_C" >&6
37239 else
37240
37241 am_cv_func_iconv="no, consider installing GNU libiconv"
37242 am_cv_lib_iconv=no
37243 cat >conftest.$ac_ext <<_ACEOF
37244 /* confdefs.h. */
37245 _ACEOF
37246 cat confdefs.h >>conftest.$ac_ext
37247 cat >>conftest.$ac_ext <<_ACEOF
37248 /* end confdefs.h. */
37249 #include <stdlib.h>
37250 #include <iconv.h>
37251 int
37252 main ()
37253 {
37254 iconv_t cd = iconv_open("","");
37255 iconv(cd,NULL,NULL,NULL,NULL);
37256 iconv_close(cd);
37257 ;
37258 return 0;
37259 }
37260 _ACEOF
37261 rm -f conftest.$ac_objext conftest$ac_exeext
37262 if { (ac_try="$ac_link"
37263 case "(($ac_try" in
37264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37265 *) ac_try_echo=$ac_try;;
37266 esac
37267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37268 (eval "$ac_link") 2>conftest.er1
37269 ac_status=$?
37270 grep -v '^ *+' conftest.er1 >conftest.err
37271 rm -f conftest.er1
37272 cat conftest.err >&5
37273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37274 (exit $ac_status); } && {
37275 test -z "$ac_c_werror_flag" ||
37276 test ! -s conftest.err
37277 } && test -s conftest$ac_exeext &&
37278 $as_test_x conftest$ac_exeext; then
37279 am_cv_func_iconv=yes
37280 else
37281 echo "$as_me: failed program was:" >&5
37282 sed 's/^/| /' conftest.$ac_ext >&5
37283
37284
37285 fi
37286
37287 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37288 conftest$ac_exeext conftest.$ac_ext
37289 if test "$am_cv_func_iconv" != yes; then
37290 am_save_LIBS="$LIBS"
37291 LIBS="$LIBS -liconv"
37292 cat >conftest.$ac_ext <<_ACEOF
37293 /* confdefs.h. */
37294 _ACEOF
37295 cat confdefs.h >>conftest.$ac_ext
37296 cat >>conftest.$ac_ext <<_ACEOF
37297 /* end confdefs.h. */
37298 #include <stdlib.h>
37299 #include <iconv.h>
37300 int
37301 main ()
37302 {
37303 iconv_t cd = iconv_open("","");
37304 iconv(cd,NULL,NULL,NULL,NULL);
37305 iconv_close(cd);
37306 ;
37307 return 0;
37308 }
37309 _ACEOF
37310 rm -f conftest.$ac_objext conftest$ac_exeext
37311 if { (ac_try="$ac_link"
37312 case "(($ac_try" in
37313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37314 *) ac_try_echo=$ac_try;;
37315 esac
37316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37317 (eval "$ac_link") 2>conftest.er1
37318 ac_status=$?
37319 grep -v '^ *+' conftest.er1 >conftest.err
37320 rm -f conftest.er1
37321 cat conftest.err >&5
37322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37323 (exit $ac_status); } && {
37324 test -z "$ac_c_werror_flag" ||
37325 test ! -s conftest.err
37326 } && test -s conftest$ac_exeext &&
37327 $as_test_x conftest$ac_exeext; then
37328 am_cv_lib_iconv=yes
37329 am_cv_func_iconv=yes
37330 else
37331 echo "$as_me: failed program was:" >&5
37332 sed 's/^/| /' conftest.$ac_ext >&5
37333
37334
37335 fi
37336
37337 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37338 conftest$ac_exeext conftest.$ac_ext
37339 LIBS="$am_save_LIBS"
37340 fi
37341
37342 fi
37343 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
37344 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
37345 if test "$am_cv_func_iconv" = yes; then
37346
37347 cat >>confdefs.h <<\_ACEOF
37348 #define HAVE_ICONV 1
37349 _ACEOF
37350
37351 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
37352 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
37353 if test "${wx_cv_func_iconv_const+set}" = set; then
37354 echo $ECHO_N "(cached) $ECHO_C" >&6
37355 else
37356 cat >conftest.$ac_ext <<_ACEOF
37357 /* confdefs.h. */
37358 _ACEOF
37359 cat confdefs.h >>conftest.$ac_ext
37360 cat >>conftest.$ac_ext <<_ACEOF
37361 /* end confdefs.h. */
37362
37363 #include <stdlib.h>
37364 #include <iconv.h>
37365 extern
37366 #ifdef __cplusplus
37367 "C"
37368 #endif
37369 #if defined(__STDC__) || defined(__cplusplus)
37370 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
37371 #else
37372 size_t iconv();
37373 #endif
37374
37375 int
37376 main ()
37377 {
37378
37379 ;
37380 return 0;
37381 }
37382 _ACEOF
37383 rm -f conftest.$ac_objext
37384 if { (ac_try="$ac_compile"
37385 case "(($ac_try" in
37386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37387 *) ac_try_echo=$ac_try;;
37388 esac
37389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37390 (eval "$ac_compile") 2>conftest.er1
37391 ac_status=$?
37392 grep -v '^ *+' conftest.er1 >conftest.err
37393 rm -f conftest.er1
37394 cat conftest.err >&5
37395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37396 (exit $ac_status); } && {
37397 test -z "$ac_c_werror_flag" ||
37398 test ! -s conftest.err
37399 } && test -s conftest.$ac_objext; then
37400 wx_cv_func_iconv_const="no"
37401 else
37402 echo "$as_me: failed program was:" >&5
37403 sed 's/^/| /' conftest.$ac_ext >&5
37404
37405 wx_cv_func_iconv_const="yes"
37406
37407 fi
37408
37409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37410
37411 fi
37412 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
37413 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
37414
37415 iconv_const=
37416 if test "x$wx_cv_func_iconv_const" = "xyes"; then
37417 iconv_const="const"
37418 fi
37419
37420
37421 cat >>confdefs.h <<_ACEOF
37422 #define ICONV_CONST $iconv_const
37423 _ACEOF
37424
37425 fi
37426 LIBICONV=
37427 if test "$am_cv_lib_iconv" = yes; then
37428 LIBICONV="-liconv"
37429 fi
37430
37431
37432 LIBS="$LIBICONV $LIBS"
37433 fi
37434
37435 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37436
37437 for ac_func in sigaction
37438 do
37439 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37440 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37441 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37442 if { as_var=$as_ac_var; eval "test \"\${$as_var+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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37452 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37453 #define $ac_func innocuous_$ac_func
37454
37455 /* System header to define __stub macros and hopefully few prototypes,
37456 which can conflict with char $ac_func (); below.
37457 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37458 <limits.h> exists even on freestanding compilers. */
37459
37460 #ifdef __STDC__
37461 # include <limits.h>
37462 #else
37463 # include <assert.h>
37464 #endif
37465
37466 #undef $ac_func
37467
37468 /* Override any GCC internal prototype to avoid an error.
37469 Use char because int might match the return type of a GCC
37470 builtin and then its argument prototype would still apply. */
37471 #ifdef __cplusplus
37472 extern "C"
37473 #endif
37474 char $ac_func ();
37475 /* The GNU C library defines this for functions which it implements
37476 to always fail with ENOSYS. Some functions are actually named
37477 something starting with __ and the normal name is an alias. */
37478 #if defined __stub_$ac_func || defined __stub___$ac_func
37479 choke me
37480 #endif
37481
37482 int
37483 main ()
37484 {
37485 return $ac_func ();
37486 ;
37487 return 0;
37488 }
37489 _ACEOF
37490 rm -f conftest.$ac_objext conftest$ac_exeext
37491 if { (ac_try="$ac_link"
37492 case "(($ac_try" in
37493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37494 *) ac_try_echo=$ac_try;;
37495 esac
37496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37497 (eval "$ac_link") 2>conftest.er1
37498 ac_status=$?
37499 grep -v '^ *+' conftest.er1 >conftest.err
37500 rm -f conftest.er1
37501 cat conftest.err >&5
37502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37503 (exit $ac_status); } && {
37504 test -z "$ac_c_werror_flag" ||
37505 test ! -s conftest.err
37506 } && test -s conftest$ac_exeext &&
37507 $as_test_x conftest$ac_exeext; then
37508 eval "$as_ac_var=yes"
37509 else
37510 echo "$as_me: failed program was:" >&5
37511 sed 's/^/| /' conftest.$ac_ext >&5
37512
37513 eval "$as_ac_var=no"
37514 fi
37515
37516 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37517 conftest$ac_exeext conftest.$ac_ext
37518 fi
37519 ac_res=`eval echo '${'$as_ac_var'}'`
37520 { echo "$as_me:$LINENO: result: $ac_res" >&5
37521 echo "${ECHO_T}$ac_res" >&6; }
37522 if test `eval echo '${'$as_ac_var'}'` = yes; then
37523 cat >>confdefs.h <<_ACEOF
37524 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37525 _ACEOF
37526
37527 fi
37528 done
37529
37530
37531 if test "$ac_cv_func_sigaction" = "no"; then
37532 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
37533 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
37534 wxUSE_ON_FATAL_EXCEPTION=no
37535 fi
37536
37537 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37538 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
37539 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
37540 if test "${wx_cv_type_sa_handler+set}" = set; then
37541 echo $ECHO_N "(cached) $ECHO_C" >&6
37542 else
37543
37544 ac_ext=cpp
37545 ac_cpp='$CXXCPP $CPPFLAGS'
37546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37549
37550 cat >conftest.$ac_ext <<_ACEOF
37551 /* confdefs.h. */
37552 _ACEOF
37553 cat confdefs.h >>conftest.$ac_ext
37554 cat >>conftest.$ac_ext <<_ACEOF
37555 /* end confdefs.h. */
37556 #include <signal.h>
37557 int
37558 main ()
37559 {
37560
37561 extern void testSigHandler(int);
37562
37563 struct sigaction sa;
37564 sa.sa_handler = testSigHandler;
37565
37566 ;
37567 return 0;
37568 }
37569 _ACEOF
37570 rm -f conftest.$ac_objext
37571 if { (ac_try="$ac_compile"
37572 case "(($ac_try" in
37573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37574 *) ac_try_echo=$ac_try;;
37575 esac
37576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37577 (eval "$ac_compile") 2>conftest.er1
37578 ac_status=$?
37579 grep -v '^ *+' conftest.er1 >conftest.err
37580 rm -f conftest.er1
37581 cat conftest.err >&5
37582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37583 (exit $ac_status); } && {
37584 test -z "$ac_cxx_werror_flag" ||
37585 test ! -s conftest.err
37586 } && test -s conftest.$ac_objext; then
37587
37588 wx_cv_type_sa_handler=int
37589
37590 else
37591 echo "$as_me: failed program was:" >&5
37592 sed 's/^/| /' conftest.$ac_ext >&5
37593
37594
37595 wx_cv_type_sa_handler=void
37596
37597 fi
37598
37599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37600 ac_ext=c
37601 ac_cpp='$CPP $CPPFLAGS'
37602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37605
37606
37607 fi
37608 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
37609 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
37610
37611 cat >>confdefs.h <<_ACEOF
37612 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
37613 _ACEOF
37614
37615 fi
37616 fi
37617
37618 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37619 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
37620 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
37621 if test "${wx_cv_func_backtrace+set}" = set; then
37622 echo $ECHO_N "(cached) $ECHO_C" >&6
37623 else
37624
37625 ac_ext=cpp
37626 ac_cpp='$CXXCPP $CPPFLAGS'
37627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37630
37631 cat >conftest.$ac_ext <<_ACEOF
37632 /* confdefs.h. */
37633 _ACEOF
37634 cat confdefs.h >>conftest.$ac_ext
37635 cat >>conftest.$ac_ext <<_ACEOF
37636 /* end confdefs.h. */
37637 #include <execinfo.h>
37638 int
37639 main ()
37640 {
37641
37642 void *trace[1];
37643 char **messages;
37644
37645 backtrace(trace, 1);
37646 messages = backtrace_symbols(trace, 1);
37647
37648 ;
37649 return 0;
37650 }
37651 _ACEOF
37652 rm -f conftest.$ac_objext
37653 if { (ac_try="$ac_compile"
37654 case "(($ac_try" in
37655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37656 *) ac_try_echo=$ac_try;;
37657 esac
37658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37659 (eval "$ac_compile") 2>conftest.er1
37660 ac_status=$?
37661 grep -v '^ *+' conftest.er1 >conftest.err
37662 rm -f conftest.er1
37663 cat conftest.err >&5
37664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37665 (exit $ac_status); } && {
37666 test -z "$ac_cxx_werror_flag" ||
37667 test ! -s conftest.err
37668 } && test -s conftest.$ac_objext; then
37669 wx_cv_func_backtrace=yes
37670 else
37671 echo "$as_me: failed program was:" >&5
37672 sed 's/^/| /' conftest.$ac_ext >&5
37673
37674 wx_cv_func_backtrace=no
37675
37676 fi
37677
37678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37679 ac_ext=c
37680 ac_cpp='$CPP $CPPFLAGS'
37681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37684
37685
37686
37687 fi
37688 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
37689 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
37690
37691
37692 if test "$wx_cv_func_backtrace" = "no"; then
37693 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
37694 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
37695 wxUSE_STACKWALKER=no
37696 else
37697 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
37698 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
37699 if test "${wx_cv_func_cxa_demangle+set}" = set; then
37700 echo $ECHO_N "(cached) $ECHO_C" >&6
37701 else
37702
37703 ac_ext=cpp
37704 ac_cpp='$CXXCPP $CPPFLAGS'
37705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37708
37709 cat >conftest.$ac_ext <<_ACEOF
37710 /* confdefs.h. */
37711 _ACEOF
37712 cat confdefs.h >>conftest.$ac_ext
37713 cat >>conftest.$ac_ext <<_ACEOF
37714 /* end confdefs.h. */
37715 #include <cxxabi.h>
37716 int
37717 main ()
37718 {
37719
37720 int rc;
37721 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
37722
37723 ;
37724 return 0;
37725 }
37726 _ACEOF
37727 rm -f conftest.$ac_objext conftest$ac_exeext
37728 if { (ac_try="$ac_link"
37729 case "(($ac_try" in
37730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37731 *) ac_try_echo=$ac_try;;
37732 esac
37733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37734 (eval "$ac_link") 2>conftest.er1
37735 ac_status=$?
37736 grep -v '^ *+' conftest.er1 >conftest.err
37737 rm -f conftest.er1
37738 cat conftest.err >&5
37739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37740 (exit $ac_status); } && {
37741 test -z "$ac_cxx_werror_flag" ||
37742 test ! -s conftest.err
37743 } && test -s conftest$ac_exeext &&
37744 $as_test_x conftest$ac_exeext; then
37745 wx_cv_func_cxa_demangle=yes
37746 else
37747 echo "$as_me: failed program was:" >&5
37748 sed 's/^/| /' conftest.$ac_ext >&5
37749
37750 wx_cv_func_cxa_demangle=no
37751
37752 fi
37753
37754 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37755 conftest$ac_exeext conftest.$ac_ext
37756 ac_ext=c
37757 ac_cpp='$CPP $CPPFLAGS'
37758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37761
37762
37763
37764 fi
37765 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
37766 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
37767
37768 if test "$wx_cv_func_cxa_demangle" = "yes"; then
37769 cat >>confdefs.h <<\_ACEOF
37770 #define HAVE_CXA_DEMANGLE 1
37771 _ACEOF
37772
37773 fi
37774 fi
37775 fi
37776
37777 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
37778 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
37779 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
37780 wxUSE_STACKWALKER=no
37781 fi
37782
37783
37784
37785
37786 for ac_func in mkstemp mktemp
37787 do
37788 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37789 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37790 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37791 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37792 echo $ECHO_N "(cached) $ECHO_C" >&6
37793 else
37794 cat >conftest.$ac_ext <<_ACEOF
37795 /* confdefs.h. */
37796 _ACEOF
37797 cat confdefs.h >>conftest.$ac_ext
37798 cat >>conftest.$ac_ext <<_ACEOF
37799 /* end confdefs.h. */
37800 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37801 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37802 #define $ac_func innocuous_$ac_func
37803
37804 /* System header to define __stub macros and hopefully few prototypes,
37805 which can conflict with char $ac_func (); below.
37806 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37807 <limits.h> exists even on freestanding compilers. */
37808
37809 #ifdef __STDC__
37810 # include <limits.h>
37811 #else
37812 # include <assert.h>
37813 #endif
37814
37815 #undef $ac_func
37816
37817 /* Override any GCC internal prototype to avoid an error.
37818 Use char because int might match the return type of a GCC
37819 builtin and then its argument prototype would still apply. */
37820 #ifdef __cplusplus
37821 extern "C"
37822 #endif
37823 char $ac_func ();
37824 /* The GNU C library defines this for functions which it implements
37825 to always fail with ENOSYS. Some functions are actually named
37826 something starting with __ and the normal name is an alias. */
37827 #if defined __stub_$ac_func || defined __stub___$ac_func
37828 choke me
37829 #endif
37830
37831 int
37832 main ()
37833 {
37834 return $ac_func ();
37835 ;
37836 return 0;
37837 }
37838 _ACEOF
37839 rm -f conftest.$ac_objext conftest$ac_exeext
37840 if { (ac_try="$ac_link"
37841 case "(($ac_try" in
37842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37843 *) ac_try_echo=$ac_try;;
37844 esac
37845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37846 (eval "$ac_link") 2>conftest.er1
37847 ac_status=$?
37848 grep -v '^ *+' conftest.er1 >conftest.err
37849 rm -f conftest.er1
37850 cat conftest.err >&5
37851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37852 (exit $ac_status); } && {
37853 test -z "$ac_c_werror_flag" ||
37854 test ! -s conftest.err
37855 } && test -s conftest$ac_exeext &&
37856 $as_test_x conftest$ac_exeext; then
37857 eval "$as_ac_var=yes"
37858 else
37859 echo "$as_me: failed program was:" >&5
37860 sed 's/^/| /' conftest.$ac_ext >&5
37861
37862 eval "$as_ac_var=no"
37863 fi
37864
37865 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37866 conftest$ac_exeext conftest.$ac_ext
37867 fi
37868 ac_res=`eval echo '${'$as_ac_var'}'`
37869 { echo "$as_me:$LINENO: result: $ac_res" >&5
37870 echo "${ECHO_T}$ac_res" >&6; }
37871 if test `eval echo '${'$as_ac_var'}'` = yes; then
37872 cat >>confdefs.h <<_ACEOF
37873 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37874 _ACEOF
37875 break
37876 fi
37877 done
37878
37879
37880 { echo "$as_me:$LINENO: checking for statfs" >&5
37881 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
37882 if test "${wx_cv_func_statfs+set}" = set; then
37883 echo $ECHO_N "(cached) $ECHO_C" >&6
37884 else
37885 cat >conftest.$ac_ext <<_ACEOF
37886 /* confdefs.h. */
37887 _ACEOF
37888 cat confdefs.h >>conftest.$ac_ext
37889 cat >>conftest.$ac_ext <<_ACEOF
37890 /* end confdefs.h. */
37891
37892 #if defined(__BSD__)
37893 #include <sys/param.h>
37894 #include <sys/mount.h>
37895 #else
37896 #include <sys/vfs.h>
37897 #endif
37898
37899 int
37900 main ()
37901 {
37902
37903 long l;
37904 struct statfs fs;
37905 statfs("/", &fs);
37906 l = fs.f_bsize;
37907 l += fs.f_blocks;
37908 l += fs.f_bavail;
37909
37910 ;
37911 return 0;
37912 }
37913 _ACEOF
37914 rm -f conftest.$ac_objext
37915 if { (ac_try="$ac_compile"
37916 case "(($ac_try" in
37917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37918 *) ac_try_echo=$ac_try;;
37919 esac
37920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37921 (eval "$ac_compile") 2>conftest.er1
37922 ac_status=$?
37923 grep -v '^ *+' conftest.er1 >conftest.err
37924 rm -f conftest.er1
37925 cat conftest.err >&5
37926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37927 (exit $ac_status); } && {
37928 test -z "$ac_c_werror_flag" ||
37929 test ! -s conftest.err
37930 } && test -s conftest.$ac_objext; then
37931 wx_cv_func_statfs=yes
37932 else
37933 echo "$as_me: failed program was:" >&5
37934 sed 's/^/| /' conftest.$ac_ext >&5
37935
37936 wx_cv_func_statfs=no
37937
37938 fi
37939
37940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37941
37942 fi
37943 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
37944 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
37945
37946 if test "$wx_cv_func_statfs" = "yes"; then
37947 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
37948 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
37949 if test "${wx_cv_func_statfs_decl+set}" = set; then
37950 echo $ECHO_N "(cached) $ECHO_C" >&6
37951 else
37952 ac_ext=cpp
37953 ac_cpp='$CXXCPP $CPPFLAGS'
37954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37957
37958 cat >conftest.$ac_ext <<_ACEOF
37959 /* confdefs.h. */
37960 _ACEOF
37961 cat confdefs.h >>conftest.$ac_ext
37962 cat >>conftest.$ac_ext <<_ACEOF
37963 /* end confdefs.h. */
37964
37965 #if defined(__BSD__)
37966 #include <sys/param.h>
37967 #include <sys/mount.h>
37968 #else
37969 #include <sys/vfs.h>
37970 #endif
37971
37972 int
37973 main ()
37974 {
37975
37976 struct statfs fs;
37977 statfs("", &fs);
37978
37979 ;
37980 return 0;
37981 }
37982 _ACEOF
37983 rm -f conftest.$ac_objext
37984 if { (ac_try="$ac_compile"
37985 case "(($ac_try" in
37986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37987 *) ac_try_echo=$ac_try;;
37988 esac
37989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37990 (eval "$ac_compile") 2>conftest.er1
37991 ac_status=$?
37992 grep -v '^ *+' conftest.er1 >conftest.err
37993 rm -f conftest.er1
37994 cat conftest.err >&5
37995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37996 (exit $ac_status); } && {
37997 test -z "$ac_cxx_werror_flag" ||
37998 test ! -s conftest.err
37999 } && test -s conftest.$ac_objext; then
38000 wx_cv_func_statfs_decl=yes
38001 else
38002 echo "$as_me: failed program was:" >&5
38003 sed 's/^/| /' conftest.$ac_ext >&5
38004
38005 wx_cv_func_statfs_decl=no
38006
38007 fi
38008
38009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38010 ac_ext=c
38011 ac_cpp='$CPP $CPPFLAGS'
38012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38015
38016
38017 fi
38018 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
38019 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
38020
38021 if test "$wx_cv_func_statfs_decl" = "yes"; then
38022 cat >>confdefs.h <<\_ACEOF
38023 #define HAVE_STATFS_DECL 1
38024 _ACEOF
38025
38026 fi
38027
38028 wx_cv_type_statvfs_t="struct statfs"
38029 cat >>confdefs.h <<\_ACEOF
38030 #define HAVE_STATFS 1
38031 _ACEOF
38032
38033 else
38034 { echo "$as_me:$LINENO: checking for statvfs" >&5
38035 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
38036 if test "${wx_cv_func_statvfs+set}" = set; then
38037 echo $ECHO_N "(cached) $ECHO_C" >&6
38038 else
38039 cat >conftest.$ac_ext <<_ACEOF
38040 /* confdefs.h. */
38041 _ACEOF
38042 cat confdefs.h >>conftest.$ac_ext
38043 cat >>conftest.$ac_ext <<_ACEOF
38044 /* end confdefs.h. */
38045
38046 #include <stddef.h>
38047 #include <sys/statvfs.h>
38048
38049 int
38050 main ()
38051 {
38052
38053 statvfs("/", NULL);
38054
38055 ;
38056 return 0;
38057 }
38058 _ACEOF
38059 rm -f conftest.$ac_objext
38060 if { (ac_try="$ac_compile"
38061 case "(($ac_try" in
38062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38063 *) ac_try_echo=$ac_try;;
38064 esac
38065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38066 (eval "$ac_compile") 2>conftest.er1
38067 ac_status=$?
38068 grep -v '^ *+' conftest.er1 >conftest.err
38069 rm -f conftest.er1
38070 cat conftest.err >&5
38071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38072 (exit $ac_status); } && {
38073 test -z "$ac_c_werror_flag" ||
38074 test ! -s conftest.err
38075 } && test -s conftest.$ac_objext; then
38076 wx_cv_func_statvfs=yes
38077 else
38078 echo "$as_me: failed program was:" >&5
38079 sed 's/^/| /' conftest.$ac_ext >&5
38080
38081 wx_cv_func_statvfs=no
38082
38083 fi
38084
38085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38086
38087 fi
38088 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
38089 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
38090
38091 if test "$wx_cv_func_statvfs" = "yes"; then
38092 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
38093 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
38094 if test "${wx_cv_type_statvfs_t+set}" = set; then
38095 echo $ECHO_N "(cached) $ECHO_C" >&6
38096 else
38097 ac_ext=cpp
38098 ac_cpp='$CXXCPP $CPPFLAGS'
38099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38102
38103 cat >conftest.$ac_ext <<_ACEOF
38104 /* confdefs.h. */
38105 _ACEOF
38106 cat confdefs.h >>conftest.$ac_ext
38107 cat >>conftest.$ac_ext <<_ACEOF
38108 /* end confdefs.h. */
38109
38110 #include <sys/statvfs.h>
38111
38112 int
38113 main ()
38114 {
38115
38116 long l;
38117 statvfs_t fs;
38118 statvfs("/", &fs);
38119 l = fs.f_bsize;
38120 l += fs.f_blocks;
38121 l += fs.f_bavail;
38122
38123 ;
38124 return 0;
38125 }
38126 _ACEOF
38127 rm -f conftest.$ac_objext
38128 if { (ac_try="$ac_compile"
38129 case "(($ac_try" in
38130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38131 *) ac_try_echo=$ac_try;;
38132 esac
38133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38134 (eval "$ac_compile") 2>conftest.er1
38135 ac_status=$?
38136 grep -v '^ *+' conftest.er1 >conftest.err
38137 rm -f conftest.er1
38138 cat conftest.err >&5
38139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38140 (exit $ac_status); } && {
38141 test -z "$ac_cxx_werror_flag" ||
38142 test ! -s conftest.err
38143 } && test -s conftest.$ac_objext; then
38144 wx_cv_type_statvfs_t=statvfs_t
38145 else
38146 echo "$as_me: failed program was:" >&5
38147 sed 's/^/| /' conftest.$ac_ext >&5
38148
38149
38150 cat >conftest.$ac_ext <<_ACEOF
38151 /* confdefs.h. */
38152 _ACEOF
38153 cat confdefs.h >>conftest.$ac_ext
38154 cat >>conftest.$ac_ext <<_ACEOF
38155 /* end confdefs.h. */
38156
38157 #include <sys/statvfs.h>
38158
38159 int
38160 main ()
38161 {
38162
38163 long l;
38164 struct statvfs fs;
38165 statvfs("/", &fs);
38166 l = fs.f_bsize;
38167 l += fs.f_blocks;
38168 l += fs.f_bavail;
38169
38170 ;
38171 return 0;
38172 }
38173 _ACEOF
38174 rm -f conftest.$ac_objext
38175 if { (ac_try="$ac_compile"
38176 case "(($ac_try" in
38177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38178 *) ac_try_echo=$ac_try;;
38179 esac
38180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38181 (eval "$ac_compile") 2>conftest.er1
38182 ac_status=$?
38183 grep -v '^ *+' conftest.er1 >conftest.err
38184 rm -f conftest.er1
38185 cat conftest.err >&5
38186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38187 (exit $ac_status); } && {
38188 test -z "$ac_cxx_werror_flag" ||
38189 test ! -s conftest.err
38190 } && test -s conftest.$ac_objext; then
38191 wx_cv_type_statvfs_t="struct statvfs"
38192 else
38193 echo "$as_me: failed program was:" >&5
38194 sed 's/^/| /' conftest.$ac_ext >&5
38195
38196 wx_cv_type_statvfs_t="unknown"
38197
38198 fi
38199
38200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38201
38202
38203 fi
38204
38205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38206 ac_ext=c
38207 ac_cpp='$CPP $CPPFLAGS'
38208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38211
38212
38213 fi
38214 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
38215 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
38216
38217 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38218 cat >>confdefs.h <<\_ACEOF
38219 #define HAVE_STATVFS 1
38220 _ACEOF
38221
38222 fi
38223 else
38224 wx_cv_type_statvfs_t="unknown"
38225 fi
38226 fi
38227
38228 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38229 cat >>confdefs.h <<_ACEOF
38230 #define WX_STATFS_T $wx_cv_type_statvfs_t
38231 _ACEOF
38232
38233 else
38234 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
38235 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
38236 fi
38237
38238 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
38239
38240
38241 for ac_func in fcntl flock
38242 do
38243 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38244 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38245 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38246 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38247 echo $ECHO_N "(cached) $ECHO_C" >&6
38248 else
38249 cat >conftest.$ac_ext <<_ACEOF
38250 /* confdefs.h. */
38251 _ACEOF
38252 cat confdefs.h >>conftest.$ac_ext
38253 cat >>conftest.$ac_ext <<_ACEOF
38254 /* end confdefs.h. */
38255 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38256 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38257 #define $ac_func innocuous_$ac_func
38258
38259 /* System header to define __stub macros and hopefully few prototypes,
38260 which can conflict with char $ac_func (); below.
38261 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38262 <limits.h> exists even on freestanding compilers. */
38263
38264 #ifdef __STDC__
38265 # include <limits.h>
38266 #else
38267 # include <assert.h>
38268 #endif
38269
38270 #undef $ac_func
38271
38272 /* Override any GCC internal prototype to avoid an error.
38273 Use char because int might match the return type of a GCC
38274 builtin and then its argument prototype would still apply. */
38275 #ifdef __cplusplus
38276 extern "C"
38277 #endif
38278 char $ac_func ();
38279 /* The GNU C library defines this for functions which it implements
38280 to always fail with ENOSYS. Some functions are actually named
38281 something starting with __ and the normal name is an alias. */
38282 #if defined __stub_$ac_func || defined __stub___$ac_func
38283 choke me
38284 #endif
38285
38286 int
38287 main ()
38288 {
38289 return $ac_func ();
38290 ;
38291 return 0;
38292 }
38293 _ACEOF
38294 rm -f conftest.$ac_objext conftest$ac_exeext
38295 if { (ac_try="$ac_link"
38296 case "(($ac_try" in
38297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38298 *) ac_try_echo=$ac_try;;
38299 esac
38300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38301 (eval "$ac_link") 2>conftest.er1
38302 ac_status=$?
38303 grep -v '^ *+' conftest.er1 >conftest.err
38304 rm -f conftest.er1
38305 cat conftest.err >&5
38306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38307 (exit $ac_status); } && {
38308 test -z "$ac_c_werror_flag" ||
38309 test ! -s conftest.err
38310 } && test -s conftest$ac_exeext &&
38311 $as_test_x conftest$ac_exeext; then
38312 eval "$as_ac_var=yes"
38313 else
38314 echo "$as_me: failed program was:" >&5
38315 sed 's/^/| /' conftest.$ac_ext >&5
38316
38317 eval "$as_ac_var=no"
38318 fi
38319
38320 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38321 conftest$ac_exeext conftest.$ac_ext
38322 fi
38323 ac_res=`eval echo '${'$as_ac_var'}'`
38324 { echo "$as_me:$LINENO: result: $ac_res" >&5
38325 echo "${ECHO_T}$ac_res" >&6; }
38326 if test `eval echo '${'$as_ac_var'}'` = yes; then
38327 cat >>confdefs.h <<_ACEOF
38328 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38329 _ACEOF
38330 break
38331 fi
38332 done
38333
38334
38335 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
38336 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
38337 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
38338 wxUSE_SNGLINST_CHECKER=no
38339 fi
38340 fi
38341
38342
38343
38344 for ac_func in setenv putenv
38345 do
38346 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38347 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38348 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38349 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38350 echo $ECHO_N "(cached) $ECHO_C" >&6
38351 else
38352 cat >conftest.$ac_ext <<_ACEOF
38353 /* confdefs.h. */
38354 _ACEOF
38355 cat confdefs.h >>conftest.$ac_ext
38356 cat >>conftest.$ac_ext <<_ACEOF
38357 /* end confdefs.h. */
38358 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38359 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38360 #define $ac_func innocuous_$ac_func
38361
38362 /* System header to define __stub macros and hopefully few prototypes,
38363 which can conflict with char $ac_func (); below.
38364 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38365 <limits.h> exists even on freestanding compilers. */
38366
38367 #ifdef __STDC__
38368 # include <limits.h>
38369 #else
38370 # include <assert.h>
38371 #endif
38372
38373 #undef $ac_func
38374
38375 /* Override any GCC internal prototype to avoid an error.
38376 Use char because int might match the return type of a GCC
38377 builtin and then its argument prototype would still apply. */
38378 #ifdef __cplusplus
38379 extern "C"
38380 #endif
38381 char $ac_func ();
38382 /* The GNU C library defines this for functions which it implements
38383 to always fail with ENOSYS. Some functions are actually named
38384 something starting with __ and the normal name is an alias. */
38385 #if defined __stub_$ac_func || defined __stub___$ac_func
38386 choke me
38387 #endif
38388
38389 int
38390 main ()
38391 {
38392 return $ac_func ();
38393 ;
38394 return 0;
38395 }
38396 _ACEOF
38397 rm -f conftest.$ac_objext conftest$ac_exeext
38398 if { (ac_try="$ac_link"
38399 case "(($ac_try" in
38400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38401 *) ac_try_echo=$ac_try;;
38402 esac
38403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38404 (eval "$ac_link") 2>conftest.er1
38405 ac_status=$?
38406 grep -v '^ *+' conftest.er1 >conftest.err
38407 rm -f conftest.er1
38408 cat conftest.err >&5
38409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38410 (exit $ac_status); } && {
38411 test -z "$ac_c_werror_flag" ||
38412 test ! -s conftest.err
38413 } && test -s conftest$ac_exeext &&
38414 $as_test_x conftest$ac_exeext; then
38415 eval "$as_ac_var=yes"
38416 else
38417 echo "$as_me: failed program was:" >&5
38418 sed 's/^/| /' conftest.$ac_ext >&5
38419
38420 eval "$as_ac_var=no"
38421 fi
38422
38423 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38424 conftest$ac_exeext conftest.$ac_ext
38425 fi
38426 ac_res=`eval echo '${'$as_ac_var'}'`
38427 { echo "$as_me:$LINENO: result: $ac_res" >&5
38428 echo "${ECHO_T}$ac_res" >&6; }
38429 if test `eval echo '${'$as_ac_var'}'` = yes; then
38430 cat >>confdefs.h <<_ACEOF
38431 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38432 _ACEOF
38433 break
38434 fi
38435 done
38436
38437 if test "$ac_cv_func_setenv" = "yes"; then
38438
38439 for ac_func in unsetenv
38440 do
38441 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38442 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38443 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38444 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38445 echo $ECHO_N "(cached) $ECHO_C" >&6
38446 else
38447 cat >conftest.$ac_ext <<_ACEOF
38448 /* confdefs.h. */
38449 _ACEOF
38450 cat confdefs.h >>conftest.$ac_ext
38451 cat >>conftest.$ac_ext <<_ACEOF
38452 /* end confdefs.h. */
38453 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38454 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38455 #define $ac_func innocuous_$ac_func
38456
38457 /* System header to define __stub macros and hopefully few prototypes,
38458 which can conflict with char $ac_func (); below.
38459 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38460 <limits.h> exists even on freestanding compilers. */
38461
38462 #ifdef __STDC__
38463 # include <limits.h>
38464 #else
38465 # include <assert.h>
38466 #endif
38467
38468 #undef $ac_func
38469
38470 /* Override any GCC internal prototype to avoid an error.
38471 Use char because int might match the return type of a GCC
38472 builtin and then its argument prototype would still apply. */
38473 #ifdef __cplusplus
38474 extern "C"
38475 #endif
38476 char $ac_func ();
38477 /* The GNU C library defines this for functions which it implements
38478 to always fail with ENOSYS. Some functions are actually named
38479 something starting with __ and the normal name is an alias. */
38480 #if defined __stub_$ac_func || defined __stub___$ac_func
38481 choke me
38482 #endif
38483
38484 int
38485 main ()
38486 {
38487 return $ac_func ();
38488 ;
38489 return 0;
38490 }
38491 _ACEOF
38492 rm -f conftest.$ac_objext conftest$ac_exeext
38493 if { (ac_try="$ac_link"
38494 case "(($ac_try" in
38495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38496 *) ac_try_echo=$ac_try;;
38497 esac
38498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38499 (eval "$ac_link") 2>conftest.er1
38500 ac_status=$?
38501 grep -v '^ *+' conftest.er1 >conftest.err
38502 rm -f conftest.er1
38503 cat conftest.err >&5
38504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38505 (exit $ac_status); } && {
38506 test -z "$ac_c_werror_flag" ||
38507 test ! -s conftest.err
38508 } && test -s conftest$ac_exeext &&
38509 $as_test_x conftest$ac_exeext; then
38510 eval "$as_ac_var=yes"
38511 else
38512 echo "$as_me: failed program was:" >&5
38513 sed 's/^/| /' conftest.$ac_ext >&5
38514
38515 eval "$as_ac_var=no"
38516 fi
38517
38518 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38519 conftest$ac_exeext conftest.$ac_ext
38520 fi
38521 ac_res=`eval echo '${'$as_ac_var'}'`
38522 { echo "$as_me:$LINENO: result: $ac_res" >&5
38523 echo "${ECHO_T}$ac_res" >&6; }
38524 if test `eval echo '${'$as_ac_var'}'` = yes; then
38525 cat >>confdefs.h <<_ACEOF
38526 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38527 _ACEOF
38528
38529 fi
38530 done
38531
38532 fi
38533
38534 HAVE_SOME_SLEEP_FUNC=0
38535 if test "$USE_BEOS" = 1; then
38536 cat >>confdefs.h <<\_ACEOF
38537 #define HAVE_SLEEP 1
38538 _ACEOF
38539
38540 HAVE_SOME_SLEEP_FUNC=1
38541 fi
38542
38543 if test "$USE_DARWIN" = 1; then
38544 cat >>confdefs.h <<\_ACEOF
38545 #define HAVE_USLEEP 1
38546 _ACEOF
38547
38548 HAVE_SOME_SLEEP_FUNC=1
38549 fi
38550
38551 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
38552 POSIX4_LINK=
38553
38554 for ac_func in nanosleep
38555 do
38556 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38557 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38558 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38559 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38560 echo $ECHO_N "(cached) $ECHO_C" >&6
38561 else
38562 cat >conftest.$ac_ext <<_ACEOF
38563 /* confdefs.h. */
38564 _ACEOF
38565 cat confdefs.h >>conftest.$ac_ext
38566 cat >>conftest.$ac_ext <<_ACEOF
38567 /* end confdefs.h. */
38568 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38569 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38570 #define $ac_func innocuous_$ac_func
38571
38572 /* System header to define __stub macros and hopefully few prototypes,
38573 which can conflict with char $ac_func (); below.
38574 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38575 <limits.h> exists even on freestanding compilers. */
38576
38577 #ifdef __STDC__
38578 # include <limits.h>
38579 #else
38580 # include <assert.h>
38581 #endif
38582
38583 #undef $ac_func
38584
38585 /* Override any GCC internal prototype to avoid an error.
38586 Use char because int might match the return type of a GCC
38587 builtin and then its argument prototype would still apply. */
38588 #ifdef __cplusplus
38589 extern "C"
38590 #endif
38591 char $ac_func ();
38592 /* The GNU C library defines this for functions which it implements
38593 to always fail with ENOSYS. Some functions are actually named
38594 something starting with __ and the normal name is an alias. */
38595 #if defined __stub_$ac_func || defined __stub___$ac_func
38596 choke me
38597 #endif
38598
38599 int
38600 main ()
38601 {
38602 return $ac_func ();
38603 ;
38604 return 0;
38605 }
38606 _ACEOF
38607 rm -f conftest.$ac_objext conftest$ac_exeext
38608 if { (ac_try="$ac_link"
38609 case "(($ac_try" in
38610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38611 *) ac_try_echo=$ac_try;;
38612 esac
38613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38614 (eval "$ac_link") 2>conftest.er1
38615 ac_status=$?
38616 grep -v '^ *+' conftest.er1 >conftest.err
38617 rm -f conftest.er1
38618 cat conftest.err >&5
38619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38620 (exit $ac_status); } && {
38621 test -z "$ac_c_werror_flag" ||
38622 test ! -s conftest.err
38623 } && test -s conftest$ac_exeext &&
38624 $as_test_x conftest$ac_exeext; then
38625 eval "$as_ac_var=yes"
38626 else
38627 echo "$as_me: failed program was:" >&5
38628 sed 's/^/| /' conftest.$ac_ext >&5
38629
38630 eval "$as_ac_var=no"
38631 fi
38632
38633 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38634 conftest$ac_exeext conftest.$ac_ext
38635 fi
38636 ac_res=`eval echo '${'$as_ac_var'}'`
38637 { echo "$as_me:$LINENO: result: $ac_res" >&5
38638 echo "${ECHO_T}$ac_res" >&6; }
38639 if test `eval echo '${'$as_ac_var'}'` = yes; then
38640 cat >>confdefs.h <<_ACEOF
38641 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38642 _ACEOF
38643 cat >>confdefs.h <<\_ACEOF
38644 #define HAVE_NANOSLEEP 1
38645 _ACEOF
38646
38647 else
38648
38649 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
38650 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
38651 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
38652 echo $ECHO_N "(cached) $ECHO_C" >&6
38653 else
38654 ac_check_lib_save_LIBS=$LIBS
38655 LIBS="-lposix4 $LIBS"
38656 cat >conftest.$ac_ext <<_ACEOF
38657 /* confdefs.h. */
38658 _ACEOF
38659 cat confdefs.h >>conftest.$ac_ext
38660 cat >>conftest.$ac_ext <<_ACEOF
38661 /* end confdefs.h. */
38662
38663 /* Override any GCC internal prototype to avoid an error.
38664 Use char because int might match the return type of a GCC
38665 builtin and then its argument prototype would still apply. */
38666 #ifdef __cplusplus
38667 extern "C"
38668 #endif
38669 char nanosleep ();
38670 int
38671 main ()
38672 {
38673 return nanosleep ();
38674 ;
38675 return 0;
38676 }
38677 _ACEOF
38678 rm -f conftest.$ac_objext conftest$ac_exeext
38679 if { (ac_try="$ac_link"
38680 case "(($ac_try" in
38681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38682 *) ac_try_echo=$ac_try;;
38683 esac
38684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38685 (eval "$ac_link") 2>conftest.er1
38686 ac_status=$?
38687 grep -v '^ *+' conftest.er1 >conftest.err
38688 rm -f conftest.er1
38689 cat conftest.err >&5
38690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38691 (exit $ac_status); } && {
38692 test -z "$ac_c_werror_flag" ||
38693 test ! -s conftest.err
38694 } && test -s conftest$ac_exeext &&
38695 $as_test_x conftest$ac_exeext; then
38696 ac_cv_lib_posix4_nanosleep=yes
38697 else
38698 echo "$as_me: failed program was:" >&5
38699 sed 's/^/| /' conftest.$ac_ext >&5
38700
38701 ac_cv_lib_posix4_nanosleep=no
38702 fi
38703
38704 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38705 conftest$ac_exeext conftest.$ac_ext
38706 LIBS=$ac_check_lib_save_LIBS
38707 fi
38708 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
38709 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
38710 if test $ac_cv_lib_posix4_nanosleep = yes; then
38711
38712 cat >>confdefs.h <<\_ACEOF
38713 #define HAVE_NANOSLEEP 1
38714 _ACEOF
38715
38716 POSIX4_LINK=" -lposix4"
38717
38718 else
38719
38720
38721 for wx_func in usleep
38722 do
38723 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38724 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38725 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38726 echo $ECHO_N "(cached) $ECHO_C" >&6
38727 else
38728
38729 cat >conftest.$ac_ext <<_ACEOF
38730
38731 /* confdefs.h. */
38732 _ACEOF
38733 cat confdefs.h >>conftest.$ac_ext
38734 cat >>conftest.$ac_ext <<_ACEOF
38735 /* end confdefs.h. */
38736
38737
38738 $ac_includes_default
38739
38740 int
38741 main ()
38742 {
38743
38744 #ifndef $wx_func
38745 &$wx_func;
38746 #endif
38747
38748
38749 ;
38750 return 0;
38751 }
38752
38753 _ACEOF
38754 rm -f conftest.$ac_objext conftest$ac_exeext
38755 if { (ac_try="$ac_link"
38756 case "(($ac_try" in
38757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38758 *) ac_try_echo=$ac_try;;
38759 esac
38760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38761 (eval "$ac_link") 2>conftest.er1
38762 ac_status=$?
38763 grep -v '^ *+' conftest.er1 >conftest.err
38764 rm -f conftest.er1
38765 cat conftest.err >&5
38766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38767 (exit $ac_status); } && {
38768 test -z "$ac_c_werror_flag" ||
38769 test ! -s conftest.err
38770 } && test -s conftest$ac_exeext &&
38771 $as_test_x conftest$ac_exeext; then
38772 eval wx_cv_func_$wx_func=yes
38773 else
38774 echo "$as_me: failed program was:" >&5
38775 sed 's/^/| /' conftest.$ac_ext >&5
38776
38777 eval wx_cv_func_$wx_func=no
38778 fi
38779
38780 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38781 conftest$ac_exeext conftest.$ac_ext
38782
38783 fi
38784 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38785 { echo "$as_me:$LINENO: result: $ac_res" >&5
38786 echo "${ECHO_T}$ac_res" >&6; }
38787
38788 if eval test \$wx_cv_func_$wx_func = yes
38789 then
38790 cat >>confdefs.h <<_ACEOF
38791 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38792 _ACEOF
38793
38794
38795 else
38796 :
38797 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
38798 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
38799
38800 fi
38801 done
38802
38803
38804
38805 fi
38806
38807
38808
38809 fi
38810 done
38811
38812 fi
38813
38814
38815 for wx_func in uname
38816 do
38817 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38818 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38819 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38820 echo $ECHO_N "(cached) $ECHO_C" >&6
38821 else
38822
38823 cat >conftest.$ac_ext <<_ACEOF
38824
38825 /* confdefs.h. */
38826 _ACEOF
38827 cat confdefs.h >>conftest.$ac_ext
38828 cat >>conftest.$ac_ext <<_ACEOF
38829 /* end confdefs.h. */
38830
38831 #include <sys/utsname.h>
38832 $ac_includes_default
38833
38834 int
38835 main ()
38836 {
38837
38838 #ifndef $wx_func
38839 &$wx_func;
38840 #endif
38841
38842
38843 ;
38844 return 0;
38845 }
38846
38847 _ACEOF
38848 rm -f conftest.$ac_objext conftest$ac_exeext
38849 if { (ac_try="$ac_link"
38850 case "(($ac_try" in
38851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38852 *) ac_try_echo=$ac_try;;
38853 esac
38854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38855 (eval "$ac_link") 2>conftest.er1
38856 ac_status=$?
38857 grep -v '^ *+' conftest.er1 >conftest.err
38858 rm -f conftest.er1
38859 cat conftest.err >&5
38860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38861 (exit $ac_status); } && {
38862 test -z "$ac_c_werror_flag" ||
38863 test ! -s conftest.err
38864 } && test -s conftest$ac_exeext &&
38865 $as_test_x conftest$ac_exeext; then
38866 eval wx_cv_func_$wx_func=yes
38867 else
38868 echo "$as_me: failed program was:" >&5
38869 sed 's/^/| /' conftest.$ac_ext >&5
38870
38871 eval wx_cv_func_$wx_func=no
38872 fi
38873
38874 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38875 conftest$ac_exeext conftest.$ac_ext
38876
38877 fi
38878 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38879 { echo "$as_me:$LINENO: result: $ac_res" >&5
38880 echo "${ECHO_T}$ac_res" >&6; }
38881
38882 if eval test \$wx_cv_func_$wx_func = yes
38883 then
38884 cat >>confdefs.h <<_ACEOF
38885 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38886 _ACEOF
38887
38888
38889 else
38890 :
38891
38892 fi
38893 done
38894
38895 if test "$wx_cv_func_uname" != yes; then
38896
38897 for wx_func in gethostname
38898 do
38899 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38900 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38901 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38902 echo $ECHO_N "(cached) $ECHO_C" >&6
38903 else
38904
38905 cat >conftest.$ac_ext <<_ACEOF
38906
38907 /* confdefs.h. */
38908 _ACEOF
38909 cat confdefs.h >>conftest.$ac_ext
38910 cat >>conftest.$ac_ext <<_ACEOF
38911 /* end confdefs.h. */
38912
38913
38914 $ac_includes_default
38915
38916 int
38917 main ()
38918 {
38919
38920 #ifndef $wx_func
38921 &$wx_func;
38922 #endif
38923
38924
38925 ;
38926 return 0;
38927 }
38928
38929 _ACEOF
38930 rm -f conftest.$ac_objext conftest$ac_exeext
38931 if { (ac_try="$ac_link"
38932 case "(($ac_try" in
38933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38934 *) ac_try_echo=$ac_try;;
38935 esac
38936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38937 (eval "$ac_link") 2>conftest.er1
38938 ac_status=$?
38939 grep -v '^ *+' conftest.er1 >conftest.err
38940 rm -f conftest.er1
38941 cat conftest.err >&5
38942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38943 (exit $ac_status); } && {
38944 test -z "$ac_c_werror_flag" ||
38945 test ! -s conftest.err
38946 } && test -s conftest$ac_exeext &&
38947 $as_test_x conftest$ac_exeext; then
38948 eval wx_cv_func_$wx_func=yes
38949 else
38950 echo "$as_me: failed program was:" >&5
38951 sed 's/^/| /' conftest.$ac_ext >&5
38952
38953 eval wx_cv_func_$wx_func=no
38954 fi
38955
38956 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38957 conftest$ac_exeext conftest.$ac_ext
38958
38959 fi
38960 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38961 { echo "$as_me:$LINENO: result: $ac_res" >&5
38962 echo "${ECHO_T}$ac_res" >&6; }
38963
38964 if eval test \$wx_cv_func_$wx_func = yes
38965 then
38966 cat >>confdefs.h <<_ACEOF
38967 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38968 _ACEOF
38969
38970
38971 else
38972 :
38973
38974 fi
38975 done
38976
38977 fi
38978
38979
38980 for wx_func in strtok_r
38981 do
38982 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38983 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38984 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38985 echo $ECHO_N "(cached) $ECHO_C" >&6
38986 else
38987
38988 cat >conftest.$ac_ext <<_ACEOF
38989
38990 /* confdefs.h. */
38991 _ACEOF
38992 cat confdefs.h >>conftest.$ac_ext
38993 cat >>conftest.$ac_ext <<_ACEOF
38994 /* end confdefs.h. */
38995
38996 #define _REENTRANT
38997 $ac_includes_default
38998
38999 int
39000 main ()
39001 {
39002
39003 #ifndef $wx_func
39004 &$wx_func;
39005 #endif
39006
39007
39008 ;
39009 return 0;
39010 }
39011
39012 _ACEOF
39013 rm -f conftest.$ac_objext conftest$ac_exeext
39014 if { (ac_try="$ac_link"
39015 case "(($ac_try" in
39016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39017 *) ac_try_echo=$ac_try;;
39018 esac
39019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39020 (eval "$ac_link") 2>conftest.er1
39021 ac_status=$?
39022 grep -v '^ *+' conftest.er1 >conftest.err
39023 rm -f conftest.er1
39024 cat conftest.err >&5
39025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39026 (exit $ac_status); } && {
39027 test -z "$ac_c_werror_flag" ||
39028 test ! -s conftest.err
39029 } && test -s conftest$ac_exeext &&
39030 $as_test_x conftest$ac_exeext; then
39031 eval wx_cv_func_$wx_func=yes
39032 else
39033 echo "$as_me: failed program was:" >&5
39034 sed 's/^/| /' conftest.$ac_ext >&5
39035
39036 eval wx_cv_func_$wx_func=no
39037 fi
39038
39039 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39040 conftest$ac_exeext conftest.$ac_ext
39041
39042 fi
39043 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39044 { echo "$as_me:$LINENO: result: $ac_res" >&5
39045 echo "${ECHO_T}$ac_res" >&6; }
39046
39047 if eval test \$wx_cv_func_$wx_func = yes
39048 then
39049 cat >>confdefs.h <<_ACEOF
39050 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39051 _ACEOF
39052
39053
39054 else
39055 :
39056
39057 fi
39058 done
39059
39060
39061 INET_LINK=
39062
39063 for ac_func in inet_addr
39064 do
39065 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39066 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39067 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39068 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39069 echo $ECHO_N "(cached) $ECHO_C" >&6
39070 else
39071 cat >conftest.$ac_ext <<_ACEOF
39072 /* confdefs.h. */
39073 _ACEOF
39074 cat confdefs.h >>conftest.$ac_ext
39075 cat >>conftest.$ac_ext <<_ACEOF
39076 /* end confdefs.h. */
39077 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39078 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39079 #define $ac_func innocuous_$ac_func
39080
39081 /* System header to define __stub macros and hopefully few prototypes,
39082 which can conflict with char $ac_func (); below.
39083 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39084 <limits.h> exists even on freestanding compilers. */
39085
39086 #ifdef __STDC__
39087 # include <limits.h>
39088 #else
39089 # include <assert.h>
39090 #endif
39091
39092 #undef $ac_func
39093
39094 /* Override any GCC internal prototype to avoid an error.
39095 Use char because int might match the return type of a GCC
39096 builtin and then its argument prototype would still apply. */
39097 #ifdef __cplusplus
39098 extern "C"
39099 #endif
39100 char $ac_func ();
39101 /* The GNU C library defines this for functions which it implements
39102 to always fail with ENOSYS. Some functions are actually named
39103 something starting with __ and the normal name is an alias. */
39104 #if defined __stub_$ac_func || defined __stub___$ac_func
39105 choke me
39106 #endif
39107
39108 int
39109 main ()
39110 {
39111 return $ac_func ();
39112 ;
39113 return 0;
39114 }
39115 _ACEOF
39116 rm -f conftest.$ac_objext conftest$ac_exeext
39117 if { (ac_try="$ac_link"
39118 case "(($ac_try" in
39119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39120 *) ac_try_echo=$ac_try;;
39121 esac
39122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39123 (eval "$ac_link") 2>conftest.er1
39124 ac_status=$?
39125 grep -v '^ *+' conftest.er1 >conftest.err
39126 rm -f conftest.er1
39127 cat conftest.err >&5
39128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39129 (exit $ac_status); } && {
39130 test -z "$ac_c_werror_flag" ||
39131 test ! -s conftest.err
39132 } && test -s conftest$ac_exeext &&
39133 $as_test_x conftest$ac_exeext; then
39134 eval "$as_ac_var=yes"
39135 else
39136 echo "$as_me: failed program was:" >&5
39137 sed 's/^/| /' conftest.$ac_ext >&5
39138
39139 eval "$as_ac_var=no"
39140 fi
39141
39142 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39143 conftest$ac_exeext conftest.$ac_ext
39144 fi
39145 ac_res=`eval echo '${'$as_ac_var'}'`
39146 { echo "$as_me:$LINENO: result: $ac_res" >&5
39147 echo "${ECHO_T}$ac_res" >&6; }
39148 if test `eval echo '${'$as_ac_var'}'` = yes; then
39149 cat >>confdefs.h <<_ACEOF
39150 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39151 _ACEOF
39152 cat >>confdefs.h <<\_ACEOF
39153 #define HAVE_INET_ADDR 1
39154 _ACEOF
39155
39156 else
39157
39158 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
39159 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
39160 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
39161 echo $ECHO_N "(cached) $ECHO_C" >&6
39162 else
39163 ac_check_lib_save_LIBS=$LIBS
39164 LIBS="-lnsl $LIBS"
39165 cat >conftest.$ac_ext <<_ACEOF
39166 /* confdefs.h. */
39167 _ACEOF
39168 cat confdefs.h >>conftest.$ac_ext
39169 cat >>conftest.$ac_ext <<_ACEOF
39170 /* end confdefs.h. */
39171
39172 /* Override any GCC internal prototype to avoid an error.
39173 Use char because int might match the return type of a GCC
39174 builtin and then its argument prototype would still apply. */
39175 #ifdef __cplusplus
39176 extern "C"
39177 #endif
39178 char inet_addr ();
39179 int
39180 main ()
39181 {
39182 return inet_addr ();
39183 ;
39184 return 0;
39185 }
39186 _ACEOF
39187 rm -f conftest.$ac_objext conftest$ac_exeext
39188 if { (ac_try="$ac_link"
39189 case "(($ac_try" in
39190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39191 *) ac_try_echo=$ac_try;;
39192 esac
39193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39194 (eval "$ac_link") 2>conftest.er1
39195 ac_status=$?
39196 grep -v '^ *+' conftest.er1 >conftest.err
39197 rm -f conftest.er1
39198 cat conftest.err >&5
39199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39200 (exit $ac_status); } && {
39201 test -z "$ac_c_werror_flag" ||
39202 test ! -s conftest.err
39203 } && test -s conftest$ac_exeext &&
39204 $as_test_x conftest$ac_exeext; then
39205 ac_cv_lib_nsl_inet_addr=yes
39206 else
39207 echo "$as_me: failed program was:" >&5
39208 sed 's/^/| /' conftest.$ac_ext >&5
39209
39210 ac_cv_lib_nsl_inet_addr=no
39211 fi
39212
39213 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39214 conftest$ac_exeext conftest.$ac_ext
39215 LIBS=$ac_check_lib_save_LIBS
39216 fi
39217 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
39218 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
39219 if test $ac_cv_lib_nsl_inet_addr = yes; then
39220 INET_LINK="nsl"
39221 else
39222
39223 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
39224 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
39225 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
39226 echo $ECHO_N "(cached) $ECHO_C" >&6
39227 else
39228 ac_check_lib_save_LIBS=$LIBS
39229 LIBS="-lresolv $LIBS"
39230 cat >conftest.$ac_ext <<_ACEOF
39231 /* confdefs.h. */
39232 _ACEOF
39233 cat confdefs.h >>conftest.$ac_ext
39234 cat >>conftest.$ac_ext <<_ACEOF
39235 /* end confdefs.h. */
39236
39237 /* Override any GCC internal prototype to avoid an error.
39238 Use char because int might match the return type of a GCC
39239 builtin and then its argument prototype would still apply. */
39240 #ifdef __cplusplus
39241 extern "C"
39242 #endif
39243 char inet_addr ();
39244 int
39245 main ()
39246 {
39247 return inet_addr ();
39248 ;
39249 return 0;
39250 }
39251 _ACEOF
39252 rm -f conftest.$ac_objext conftest$ac_exeext
39253 if { (ac_try="$ac_link"
39254 case "(($ac_try" in
39255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39256 *) ac_try_echo=$ac_try;;
39257 esac
39258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39259 (eval "$ac_link") 2>conftest.er1
39260 ac_status=$?
39261 grep -v '^ *+' conftest.er1 >conftest.err
39262 rm -f conftest.er1
39263 cat conftest.err >&5
39264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39265 (exit $ac_status); } && {
39266 test -z "$ac_c_werror_flag" ||
39267 test ! -s conftest.err
39268 } && test -s conftest$ac_exeext &&
39269 $as_test_x conftest$ac_exeext; then
39270 ac_cv_lib_resolv_inet_addr=yes
39271 else
39272 echo "$as_me: failed program was:" >&5
39273 sed 's/^/| /' conftest.$ac_ext >&5
39274
39275 ac_cv_lib_resolv_inet_addr=no
39276 fi
39277
39278 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39279 conftest$ac_exeext conftest.$ac_ext
39280 LIBS=$ac_check_lib_save_LIBS
39281 fi
39282 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
39283 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
39284 if test $ac_cv_lib_resolv_inet_addr = yes; then
39285 INET_LINK="resolv"
39286 else
39287
39288 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
39289 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
39290 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
39291 echo $ECHO_N "(cached) $ECHO_C" >&6
39292 else
39293 ac_check_lib_save_LIBS=$LIBS
39294 LIBS="-lsocket $LIBS"
39295 cat >conftest.$ac_ext <<_ACEOF
39296 /* confdefs.h. */
39297 _ACEOF
39298 cat confdefs.h >>conftest.$ac_ext
39299 cat >>conftest.$ac_ext <<_ACEOF
39300 /* end confdefs.h. */
39301
39302 /* Override any GCC internal prototype to avoid an error.
39303 Use char because int might match the return type of a GCC
39304 builtin and then its argument prototype would still apply. */
39305 #ifdef __cplusplus
39306 extern "C"
39307 #endif
39308 char inet_addr ();
39309 int
39310 main ()
39311 {
39312 return inet_addr ();
39313 ;
39314 return 0;
39315 }
39316 _ACEOF
39317 rm -f conftest.$ac_objext conftest$ac_exeext
39318 if { (ac_try="$ac_link"
39319 case "(($ac_try" in
39320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39321 *) ac_try_echo=$ac_try;;
39322 esac
39323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39324 (eval "$ac_link") 2>conftest.er1
39325 ac_status=$?
39326 grep -v '^ *+' conftest.er1 >conftest.err
39327 rm -f conftest.er1
39328 cat conftest.err >&5
39329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39330 (exit $ac_status); } && {
39331 test -z "$ac_c_werror_flag" ||
39332 test ! -s conftest.err
39333 } && test -s conftest$ac_exeext &&
39334 $as_test_x conftest$ac_exeext; then
39335 ac_cv_lib_socket_inet_addr=yes
39336 else
39337 echo "$as_me: failed program was:" >&5
39338 sed 's/^/| /' conftest.$ac_ext >&5
39339
39340 ac_cv_lib_socket_inet_addr=no
39341 fi
39342
39343 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39344 conftest$ac_exeext conftest.$ac_ext
39345 LIBS=$ac_check_lib_save_LIBS
39346 fi
39347 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
39348 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
39349 if test $ac_cv_lib_socket_inet_addr = yes; then
39350 INET_LINK="socket"
39351
39352 fi
39353
39354
39355
39356 fi
39357
39358
39359
39360 fi
39361
39362
39363
39364 fi
39365 done
39366
39367
39368
39369 for ac_func in inet_aton
39370 do
39371 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39372 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39373 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39374 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39375 echo $ECHO_N "(cached) $ECHO_C" >&6
39376 else
39377 cat >conftest.$ac_ext <<_ACEOF
39378 /* confdefs.h. */
39379 _ACEOF
39380 cat confdefs.h >>conftest.$ac_ext
39381 cat >>conftest.$ac_ext <<_ACEOF
39382 /* end confdefs.h. */
39383 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39384 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39385 #define $ac_func innocuous_$ac_func
39386
39387 /* System header to define __stub macros and hopefully few prototypes,
39388 which can conflict with char $ac_func (); below.
39389 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39390 <limits.h> exists even on freestanding compilers. */
39391
39392 #ifdef __STDC__
39393 # include <limits.h>
39394 #else
39395 # include <assert.h>
39396 #endif
39397
39398 #undef $ac_func
39399
39400 /* Override any GCC internal prototype to avoid an error.
39401 Use char because int might match the return type of a GCC
39402 builtin and then its argument prototype would still apply. */
39403 #ifdef __cplusplus
39404 extern "C"
39405 #endif
39406 char $ac_func ();
39407 /* The GNU C library defines this for functions which it implements
39408 to always fail with ENOSYS. Some functions are actually named
39409 something starting with __ and the normal name is an alias. */
39410 #if defined __stub_$ac_func || defined __stub___$ac_func
39411 choke me
39412 #endif
39413
39414 int
39415 main ()
39416 {
39417 return $ac_func ();
39418 ;
39419 return 0;
39420 }
39421 _ACEOF
39422 rm -f conftest.$ac_objext conftest$ac_exeext
39423 if { (ac_try="$ac_link"
39424 case "(($ac_try" in
39425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39426 *) ac_try_echo=$ac_try;;
39427 esac
39428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39429 (eval "$ac_link") 2>conftest.er1
39430 ac_status=$?
39431 grep -v '^ *+' conftest.er1 >conftest.err
39432 rm -f conftest.er1
39433 cat conftest.err >&5
39434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39435 (exit $ac_status); } && {
39436 test -z "$ac_c_werror_flag" ||
39437 test ! -s conftest.err
39438 } && test -s conftest$ac_exeext &&
39439 $as_test_x conftest$ac_exeext; then
39440 eval "$as_ac_var=yes"
39441 else
39442 echo "$as_me: failed program was:" >&5
39443 sed 's/^/| /' conftest.$ac_ext >&5
39444
39445 eval "$as_ac_var=no"
39446 fi
39447
39448 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39449 conftest$ac_exeext conftest.$ac_ext
39450 fi
39451 ac_res=`eval echo '${'$as_ac_var'}'`
39452 { echo "$as_me:$LINENO: result: $ac_res" >&5
39453 echo "${ECHO_T}$ac_res" >&6; }
39454 if test `eval echo '${'$as_ac_var'}'` = yes; then
39455 cat >>confdefs.h <<_ACEOF
39456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39457 _ACEOF
39458 cat >>confdefs.h <<\_ACEOF
39459 #define HAVE_INET_ATON 1
39460 _ACEOF
39461
39462 else
39463
39464 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
39465 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
39466 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
39467 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
39468 echo $ECHO_N "(cached) $ECHO_C" >&6
39469 else
39470 ac_check_lib_save_LIBS=$LIBS
39471 LIBS="-l$INET_LINK $LIBS"
39472 cat >conftest.$ac_ext <<_ACEOF
39473 /* confdefs.h. */
39474 _ACEOF
39475 cat confdefs.h >>conftest.$ac_ext
39476 cat >>conftest.$ac_ext <<_ACEOF
39477 /* end confdefs.h. */
39478
39479 /* Override any GCC internal prototype to avoid an error.
39480 Use char because int might match the return type of a GCC
39481 builtin and then its argument prototype would still apply. */
39482 #ifdef __cplusplus
39483 extern "C"
39484 #endif
39485 char inet_aton ();
39486 int
39487 main ()
39488 {
39489 return inet_aton ();
39490 ;
39491 return 0;
39492 }
39493 _ACEOF
39494 rm -f conftest.$ac_objext conftest$ac_exeext
39495 if { (ac_try="$ac_link"
39496 case "(($ac_try" in
39497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39498 *) ac_try_echo=$ac_try;;
39499 esac
39500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39501 (eval "$ac_link") 2>conftest.er1
39502 ac_status=$?
39503 grep -v '^ *+' conftest.er1 >conftest.err
39504 rm -f conftest.er1
39505 cat conftest.err >&5
39506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39507 (exit $ac_status); } && {
39508 test -z "$ac_c_werror_flag" ||
39509 test ! -s conftest.err
39510 } && test -s conftest$ac_exeext &&
39511 $as_test_x conftest$ac_exeext; then
39512 eval "$as_ac_Lib=yes"
39513 else
39514 echo "$as_me: failed program was:" >&5
39515 sed 's/^/| /' conftest.$ac_ext >&5
39516
39517 eval "$as_ac_Lib=no"
39518 fi
39519
39520 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39521 conftest$ac_exeext conftest.$ac_ext
39522 LIBS=$ac_check_lib_save_LIBS
39523 fi
39524 ac_res=`eval echo '${'$as_ac_Lib'}'`
39525 { echo "$as_me:$LINENO: result: $ac_res" >&5
39526 echo "${ECHO_T}$ac_res" >&6; }
39527 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
39528 cat >>confdefs.h <<\_ACEOF
39529 #define HAVE_INET_ATON 1
39530 _ACEOF
39531
39532 fi
39533
39534
39535 fi
39536 done
39537
39538
39539 if test "x$INET_LINK" != "x"; then
39540 cat >>confdefs.h <<\_ACEOF
39541 #define HAVE_INET_ADDR 1
39542 _ACEOF
39543
39544 INET_LINK=" -l$INET_LINK"
39545 fi
39546
39547
39548 for wx_func in fdopen
39549 do
39550 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39551 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39552 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39553 echo $ECHO_N "(cached) $ECHO_C" >&6
39554 else
39555
39556 cat >conftest.$ac_ext <<_ACEOF
39557
39558 /* confdefs.h. */
39559 _ACEOF
39560 cat confdefs.h >>conftest.$ac_ext
39561 cat >>conftest.$ac_ext <<_ACEOF
39562 /* end confdefs.h. */
39563
39564
39565 $ac_includes_default
39566
39567 int
39568 main ()
39569 {
39570
39571 #ifndef $wx_func
39572 &$wx_func;
39573 #endif
39574
39575
39576 ;
39577 return 0;
39578 }
39579
39580 _ACEOF
39581 rm -f conftest.$ac_objext conftest$ac_exeext
39582 if { (ac_try="$ac_link"
39583 case "(($ac_try" in
39584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39585 *) ac_try_echo=$ac_try;;
39586 esac
39587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39588 (eval "$ac_link") 2>conftest.er1
39589 ac_status=$?
39590 grep -v '^ *+' conftest.er1 >conftest.err
39591 rm -f conftest.er1
39592 cat conftest.err >&5
39593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39594 (exit $ac_status); } && {
39595 test -z "$ac_c_werror_flag" ||
39596 test ! -s conftest.err
39597 } && test -s conftest$ac_exeext &&
39598 $as_test_x conftest$ac_exeext; then
39599 eval wx_cv_func_$wx_func=yes
39600 else
39601 echo "$as_me: failed program was:" >&5
39602 sed 's/^/| /' conftest.$ac_ext >&5
39603
39604 eval wx_cv_func_$wx_func=no
39605 fi
39606
39607 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39608 conftest$ac_exeext conftest.$ac_ext
39609
39610 fi
39611 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39612 { echo "$as_me:$LINENO: result: $ac_res" >&5
39613 echo "${ECHO_T}$ac_res" >&6; }
39614
39615 if eval test \$wx_cv_func_$wx_func = yes
39616 then
39617 cat >>confdefs.h <<_ACEOF
39618 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39619 _ACEOF
39620
39621
39622 else
39623 :
39624
39625 fi
39626 done
39627
39628
39629 if test "$wxUSE_TARSTREAM" = "yes"; then
39630
39631 for wx_func in sysconf
39632 do
39633 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39634 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39635 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39636 echo $ECHO_N "(cached) $ECHO_C" >&6
39637 else
39638
39639 cat >conftest.$ac_ext <<_ACEOF
39640
39641 /* confdefs.h. */
39642 _ACEOF
39643 cat confdefs.h >>conftest.$ac_ext
39644 cat >>conftest.$ac_ext <<_ACEOF
39645 /* end confdefs.h. */
39646
39647
39648 $ac_includes_default
39649
39650 int
39651 main ()
39652 {
39653
39654 #ifndef $wx_func
39655 &$wx_func;
39656 #endif
39657
39658
39659 ;
39660 return 0;
39661 }
39662
39663 _ACEOF
39664 rm -f conftest.$ac_objext conftest$ac_exeext
39665 if { (ac_try="$ac_link"
39666 case "(($ac_try" in
39667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39668 *) ac_try_echo=$ac_try;;
39669 esac
39670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39671 (eval "$ac_link") 2>conftest.er1
39672 ac_status=$?
39673 grep -v '^ *+' conftest.er1 >conftest.err
39674 rm -f conftest.er1
39675 cat conftest.err >&5
39676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39677 (exit $ac_status); } && {
39678 test -z "$ac_c_werror_flag" ||
39679 test ! -s conftest.err
39680 } && test -s conftest$ac_exeext &&
39681 $as_test_x conftest$ac_exeext; then
39682 eval wx_cv_func_$wx_func=yes
39683 else
39684 echo "$as_me: failed program was:" >&5
39685 sed 's/^/| /' conftest.$ac_ext >&5
39686
39687 eval wx_cv_func_$wx_func=no
39688 fi
39689
39690 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39691 conftest$ac_exeext conftest.$ac_ext
39692
39693 fi
39694 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39695 { echo "$as_me:$LINENO: result: $ac_res" >&5
39696 echo "${ECHO_T}$ac_res" >&6; }
39697
39698 if eval test \$wx_cv_func_$wx_func = yes
39699 then
39700 cat >>confdefs.h <<_ACEOF
39701 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39702 _ACEOF
39703
39704
39705 else
39706 :
39707
39708 fi
39709 done
39710
39711
39712
39713 for wx_func in getpwuid_r
39714 do
39715 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39716 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39717 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39718 echo $ECHO_N "(cached) $ECHO_C" >&6
39719 else
39720
39721 cat >conftest.$ac_ext <<_ACEOF
39722
39723 /* confdefs.h. */
39724 _ACEOF
39725 cat confdefs.h >>conftest.$ac_ext
39726 cat >>conftest.$ac_ext <<_ACEOF
39727 /* end confdefs.h. */
39728
39729
39730 #define _REENTRANT
39731 #include <pwd.h>
39732
39733 $ac_includes_default
39734
39735 int
39736 main ()
39737 {
39738
39739 #ifndef $wx_func
39740 &$wx_func;
39741 #endif
39742
39743 struct passwd pw, *ppw;
39744 char buf[1024];
39745 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
39746
39747
39748 ;
39749 return 0;
39750 }
39751
39752 _ACEOF
39753 rm -f conftest.$ac_objext conftest$ac_exeext
39754 if { (ac_try="$ac_link"
39755 case "(($ac_try" in
39756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39757 *) ac_try_echo=$ac_try;;
39758 esac
39759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39760 (eval "$ac_link") 2>conftest.er1
39761 ac_status=$?
39762 grep -v '^ *+' conftest.er1 >conftest.err
39763 rm -f conftest.er1
39764 cat conftest.err >&5
39765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39766 (exit $ac_status); } && {
39767 test -z "$ac_c_werror_flag" ||
39768 test ! -s conftest.err
39769 } && test -s conftest$ac_exeext &&
39770 $as_test_x conftest$ac_exeext; then
39771 eval wx_cv_func_$wx_func=yes
39772 else
39773 echo "$as_me: failed program was:" >&5
39774 sed 's/^/| /' conftest.$ac_ext >&5
39775
39776 eval wx_cv_func_$wx_func=no
39777 fi
39778
39779 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39780 conftest$ac_exeext conftest.$ac_ext
39781
39782 fi
39783 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39784 { echo "$as_me:$LINENO: result: $ac_res" >&5
39785 echo "${ECHO_T}$ac_res" >&6; }
39786
39787 if eval test \$wx_cv_func_$wx_func = yes
39788 then
39789 cat >>confdefs.h <<_ACEOF
39790 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39791 _ACEOF
39792
39793
39794 else
39795 :
39796
39797 fi
39798 done
39799
39800
39801
39802 for wx_func in getgrgid_r
39803 do
39804 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39805 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39806 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39807 echo $ECHO_N "(cached) $ECHO_C" >&6
39808 else
39809
39810 cat >conftest.$ac_ext <<_ACEOF
39811
39812 /* confdefs.h. */
39813 _ACEOF
39814 cat confdefs.h >>conftest.$ac_ext
39815 cat >>conftest.$ac_ext <<_ACEOF
39816 /* end confdefs.h. */
39817
39818
39819 #define _REENTRANT
39820 #include <grp.h>
39821
39822 $ac_includes_default
39823
39824 int
39825 main ()
39826 {
39827
39828 #ifndef $wx_func
39829 &$wx_func;
39830 #endif
39831
39832 struct group grp, *pgrp;
39833 char buf[1024];
39834 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
39835
39836
39837 ;
39838 return 0;
39839 }
39840
39841 _ACEOF
39842 rm -f conftest.$ac_objext conftest$ac_exeext
39843 if { (ac_try="$ac_link"
39844 case "(($ac_try" in
39845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39846 *) ac_try_echo=$ac_try;;
39847 esac
39848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39849 (eval "$ac_link") 2>conftest.er1
39850 ac_status=$?
39851 grep -v '^ *+' conftest.er1 >conftest.err
39852 rm -f conftest.er1
39853 cat conftest.err >&5
39854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39855 (exit $ac_status); } && {
39856 test -z "$ac_c_werror_flag" ||
39857 test ! -s conftest.err
39858 } && test -s conftest$ac_exeext &&
39859 $as_test_x conftest$ac_exeext; then
39860 eval wx_cv_func_$wx_func=yes
39861 else
39862 echo "$as_me: failed program was:" >&5
39863 sed 's/^/| /' conftest.$ac_ext >&5
39864
39865 eval wx_cv_func_$wx_func=no
39866 fi
39867
39868 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39869 conftest$ac_exeext conftest.$ac_ext
39870
39871 fi
39872 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39873 { echo "$as_me:$LINENO: result: $ac_res" >&5
39874 echo "${ECHO_T}$ac_res" >&6; }
39875
39876 if eval test \$wx_cv_func_$wx_func = yes
39877 then
39878 cat >>confdefs.h <<_ACEOF
39879 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39880 _ACEOF
39881
39882
39883 else
39884 :
39885
39886 fi
39887 done
39888
39889 fi
39890
39891 fi
39892
39893
39894
39895 cat >confcache <<\_ACEOF
39896 # This file is a shell script that caches the results of configure
39897 # tests run on this system so they can be shared between configure
39898 # scripts and configure runs, see configure's option --config-cache.
39899 # It is not useful on other systems. If it contains results you don't
39900 # want to keep, you may remove or edit it.
39901 #
39902 # config.status only pays attention to the cache file if you give it
39903 # the --recheck option to rerun configure.
39904 #
39905 # `ac_cv_env_foo' variables (set or unset) will be overridden when
39906 # loading this file, other *unset* `ac_cv_foo' will be assigned the
39907 # following values.
39908
39909 _ACEOF
39910
39911 # The following way of writing the cache mishandles newlines in values,
39912 # but we know of no workaround that is simple, portable, and efficient.
39913 # So, we kill variables containing newlines.
39914 # Ultrix sh set writes to stderr and can't be redirected directly,
39915 # and sets the high bit in the cache file unless we assign to the vars.
39916 (
39917 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
39918 eval ac_val=\$$ac_var
39919 case $ac_val in #(
39920 *${as_nl}*)
39921 case $ac_var in #(
39922 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
39923 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
39924 esac
39925 case $ac_var in #(
39926 _ | IFS | as_nl) ;; #(
39927 *) $as_unset $ac_var ;;
39928 esac ;;
39929 esac
39930 done
39931
39932 (set) 2>&1 |
39933 case $as_nl`(ac_space=' '; set) 2>&1` in #(
39934 *${as_nl}ac_space=\ *)
39935 # `set' does not quote correctly, so add quotes (double-quote
39936 # substitution turns \\\\ into \\, and sed turns \\ into \).
39937 sed -n \
39938 "s/'/'\\\\''/g;
39939 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
39940 ;; #(
39941 *)
39942 # `set' quotes correctly as required by POSIX, so do not add quotes.
39943 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
39944 ;;
39945 esac |
39946 sort
39947 ) |
39948 sed '
39949 /^ac_cv_env_/b end
39950 t clear
39951 :clear
39952 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
39953 t end
39954 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
39955 :end' >>confcache
39956 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
39957 if test -w "$cache_file"; then
39958 test "x$cache_file" != "x/dev/null" &&
39959 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
39960 echo "$as_me: updating cache $cache_file" >&6;}
39961 cat confcache >$cache_file
39962 else
39963 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
39964 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
39965 fi
39966 fi
39967 rm -f confcache
39968
39969
39970 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
39971
39972
39973 THREADS_LINK=
39974 THREADS_CFLAGS=
39975
39976 if test "$wxUSE_THREADS" = "yes" ; then
39977 if test "$USE_BEOS" = 1; then
39978 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
39979 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
39980 wxUSE_THREADS="no"
39981 fi
39982 fi
39983
39984 if test "$wxUSE_THREADS" = "yes" ; then
39985
39986
39987 THREAD_OPTS="-pthread"
39988 if test "x$SUNCXX" = xyes; then
39989 THREAD_OPTS="-mt lthread $THREAD_OPTS"
39990 fi
39991
39992 case "${host}" in
39993 *-*-solaris2* | *-*-sunos4* )
39994 if test "x$GCC" = "xyes"; then
39995 THREAD_OPTS="-pthreads $THREAD_OPTS"
39996 fi
39997 ;;
39998 *-*-freebsd*)
39999 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
40000 ;;
40001 *-*-darwin* | *-*-cygwin* )
40002 THREAD_OPTS=""
40003 ;;
40004 *-*-aix*)
40005 THREAD_OPTS="pthreads"
40006 ;;
40007 *-hp-hpux* )
40008 if test "x$GCC" = "xyes"; then
40009 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
40010 THREAD_OPTS=""
40011 else
40012 THREAD_OPTS="-mt"
40013 fi
40014 ;;
40015
40016 *-*-irix* )
40017 if test "x$GCC" = "xyes"; then
40018 THREAD_OPTS=""
40019 fi
40020 ;;
40021
40022 *-*-qnx*)
40023 THREAD_OPTS=""
40024 ;;
40025
40026 *-*-*UnixWare*)
40027 if test "x$GCC" != "xyes"; then
40028 THREAD_OPTS="-Ethread"
40029 fi
40030 ;;
40031 esac
40032
40033 case "${host}" in
40034 *-*-qnx*)
40035 THREAD_OPTS="none pthread"
40036 ;;
40037
40038 *)
40039 THREAD_OPTS="$THREAD_OPTS pthread none"
40040 ;;
40041 esac
40042
40043 THREADS_OK=no
40044 for flag in $THREAD_OPTS; do
40045 case $flag in
40046 none)
40047 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
40048 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
40049 ;;
40050
40051 -*)
40052 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
40053 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
40054 THREADS_CFLAGS="$flag"
40055 ;;
40056
40057 *)
40058 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
40059 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
40060 THREADS_LINK="-l$flag"
40061 ;;
40062 esac
40063
40064 save_LIBS="$LIBS"
40065 save_CFLAGS="$CFLAGS"
40066 LIBS="$THREADS_LINK $LIBS"
40067 CFLAGS="$THREADS_CFLAGS $CFLAGS"
40068
40069 cat >conftest.$ac_ext <<_ACEOF
40070 /* confdefs.h. */
40071 _ACEOF
40072 cat confdefs.h >>conftest.$ac_ext
40073 cat >>conftest.$ac_ext <<_ACEOF
40074 /* end confdefs.h. */
40075 #include <pthread.h>
40076 int
40077 main ()
40078 {
40079 pthread_create(0,0,0,0);
40080 ;
40081 return 0;
40082 }
40083 _ACEOF
40084 rm -f conftest.$ac_objext conftest$ac_exeext
40085 if { (ac_try="$ac_link"
40086 case "(($ac_try" in
40087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40088 *) ac_try_echo=$ac_try;;
40089 esac
40090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40091 (eval "$ac_link") 2>conftest.er1
40092 ac_status=$?
40093 grep -v '^ *+' conftest.er1 >conftest.err
40094 rm -f conftest.er1
40095 cat conftest.err >&5
40096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40097 (exit $ac_status); } && {
40098 test -z "$ac_c_werror_flag" ||
40099 test ! -s conftest.err
40100 } && test -s conftest$ac_exeext &&
40101 $as_test_x conftest$ac_exeext; then
40102 THREADS_OK=yes
40103 else
40104 echo "$as_me: failed program was:" >&5
40105 sed 's/^/| /' conftest.$ac_ext >&5
40106
40107
40108 fi
40109
40110 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40111 conftest$ac_exeext conftest.$ac_ext
40112
40113 LIBS="$save_LIBS"
40114 CFLAGS="$save_CFLAGS"
40115
40116 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
40117 echo "${ECHO_T}$THREADS_OK" >&6; }
40118 if test "x$THREADS_OK" = "xyes"; then
40119 break;
40120 fi
40121
40122 THREADS_LINK=""
40123 THREADS_CFLAGS=""
40124 done
40125
40126 if test "x$THREADS_OK" != "xyes"; then
40127 wxUSE_THREADS=no
40128 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
40129 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
40130 else
40131 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
40132 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
40133 LIBS="$THREADS_LINK $LIBS"
40134
40135 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
40136 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
40137 flag=no
40138 case "${host}" in
40139 *-aix*)
40140 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
40141 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
40142 flag="-D_THREAD_SAFE"
40143 ;;
40144 *-freebsd*)
40145 flag="-D_THREAD_SAFE"
40146 ;;
40147 *-hp-hpux* )
40148 flag="-D_REENTRANT"
40149 if test "x$GCC" != "xyes"; then
40150 flag="$flag -D_RWSTD_MULTI_THREAD"
40151 fi
40152 ;;
40153 *solaris* | alpha*-osf*)
40154 flag="-D_REENTRANT"
40155 ;;
40156 esac
40157 { echo "$as_me:$LINENO: result: ${flag}" >&5
40158 echo "${ECHO_T}${flag}" >&6; }
40159 if test "x$flag" != xno; then
40160 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
40161 fi
40162
40163 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
40164 fi
40165 fi
40166
40167 if test "$wxUSE_THREADS" = "yes" ; then
40168
40169 for ac_func in thr_setconcurrency
40170 do
40171 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40172 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40174 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40175 echo $ECHO_N "(cached) $ECHO_C" >&6
40176 else
40177 cat >conftest.$ac_ext <<_ACEOF
40178 /* confdefs.h. */
40179 _ACEOF
40180 cat confdefs.h >>conftest.$ac_ext
40181 cat >>conftest.$ac_ext <<_ACEOF
40182 /* end confdefs.h. */
40183 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40184 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40185 #define $ac_func innocuous_$ac_func
40186
40187 /* System header to define __stub macros and hopefully few prototypes,
40188 which can conflict with char $ac_func (); below.
40189 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40190 <limits.h> exists even on freestanding compilers. */
40191
40192 #ifdef __STDC__
40193 # include <limits.h>
40194 #else
40195 # include <assert.h>
40196 #endif
40197
40198 #undef $ac_func
40199
40200 /* Override any GCC internal prototype to avoid an error.
40201 Use char because int might match the return type of a GCC
40202 builtin and then its argument prototype would still apply. */
40203 #ifdef __cplusplus
40204 extern "C"
40205 #endif
40206 char $ac_func ();
40207 /* The GNU C library defines this for functions which it implements
40208 to always fail with ENOSYS. Some functions are actually named
40209 something starting with __ and the normal name is an alias. */
40210 #if defined __stub_$ac_func || defined __stub___$ac_func
40211 choke me
40212 #endif
40213
40214 int
40215 main ()
40216 {
40217 return $ac_func ();
40218 ;
40219 return 0;
40220 }
40221 _ACEOF
40222 rm -f conftest.$ac_objext conftest$ac_exeext
40223 if { (ac_try="$ac_link"
40224 case "(($ac_try" in
40225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40226 *) ac_try_echo=$ac_try;;
40227 esac
40228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40229 (eval "$ac_link") 2>conftest.er1
40230 ac_status=$?
40231 grep -v '^ *+' conftest.er1 >conftest.err
40232 rm -f conftest.er1
40233 cat conftest.err >&5
40234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40235 (exit $ac_status); } && {
40236 test -z "$ac_c_werror_flag" ||
40237 test ! -s conftest.err
40238 } && test -s conftest$ac_exeext &&
40239 $as_test_x conftest$ac_exeext; then
40240 eval "$as_ac_var=yes"
40241 else
40242 echo "$as_me: failed program was:" >&5
40243 sed 's/^/| /' conftest.$ac_ext >&5
40244
40245 eval "$as_ac_var=no"
40246 fi
40247
40248 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40249 conftest$ac_exeext conftest.$ac_ext
40250 fi
40251 ac_res=`eval echo '${'$as_ac_var'}'`
40252 { echo "$as_me:$LINENO: result: $ac_res" >&5
40253 echo "${ECHO_T}$ac_res" >&6; }
40254 if test `eval echo '${'$as_ac_var'}'` = yes; then
40255 cat >>confdefs.h <<_ACEOF
40256 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40257 _ACEOF
40258
40259 fi
40260 done
40261
40262
40263 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
40264 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
40265 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
40266 echo $ECHO_N "(cached) $ECHO_C" >&6
40267 else
40268
40269 ac_ext=cpp
40270 ac_cpp='$CXXCPP $CPPFLAGS'
40271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40274
40275 cat >conftest.$ac_ext <<_ACEOF
40276 /* confdefs.h. */
40277 _ACEOF
40278 cat confdefs.h >>conftest.$ac_ext
40279 cat >>conftest.$ac_ext <<_ACEOF
40280 /* end confdefs.h. */
40281 #include <pthread.h>
40282 void ThreadCleanupFunc(void *p);
40283
40284 int
40285 main ()
40286 {
40287
40288 void *p;
40289 pthread_cleanup_push(ThreadCleanupFunc, p);
40290 pthread_cleanup_pop(0);
40291
40292 ;
40293 return 0;
40294 }
40295 _ACEOF
40296 rm -f conftest.$ac_objext
40297 if { (ac_try="$ac_compile"
40298 case "(($ac_try" in
40299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40300 *) ac_try_echo=$ac_try;;
40301 esac
40302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40303 (eval "$ac_compile") 2>conftest.er1
40304 ac_status=$?
40305 grep -v '^ *+' conftest.er1 >conftest.err
40306 rm -f conftest.er1
40307 cat conftest.err >&5
40308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40309 (exit $ac_status); } && {
40310 test -z "$ac_cxx_werror_flag" ||
40311 test ! -s conftest.err
40312 } && test -s conftest.$ac_objext; then
40313
40314 wx_cv_func_pthread_cleanup=yes
40315
40316 else
40317 echo "$as_me: failed program was:" >&5
40318 sed 's/^/| /' conftest.$ac_ext >&5
40319
40320
40321 wx_cv_func_pthread_cleanup=no
40322
40323
40324 fi
40325
40326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40327 ac_ext=c
40328 ac_cpp='$CPP $CPPFLAGS'
40329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40332
40333
40334 fi
40335 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
40336 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
40337 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
40338 cat >>confdefs.h <<\_ACEOF
40339 #define wxHAVE_PTHREAD_CLEANUP 1
40340 _ACEOF
40341
40342 fi
40343
40344
40345 for ac_header in sched.h
40346 do
40347 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40348 { echo "$as_me:$LINENO: checking for $ac_header" >&5
40349 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
40350 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
40351 echo $ECHO_N "(cached) $ECHO_C" >&6
40352 else
40353 cat >conftest.$ac_ext <<_ACEOF
40354 /* confdefs.h. */
40355 _ACEOF
40356 cat confdefs.h >>conftest.$ac_ext
40357 cat >>conftest.$ac_ext <<_ACEOF
40358 /* end confdefs.h. */
40359 $ac_includes_default
40360
40361 #include <$ac_header>
40362 _ACEOF
40363 rm -f conftest.$ac_objext
40364 if { (ac_try="$ac_compile"
40365 case "(($ac_try" in
40366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40367 *) ac_try_echo=$ac_try;;
40368 esac
40369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40370 (eval "$ac_compile") 2>conftest.er1
40371 ac_status=$?
40372 grep -v '^ *+' conftest.er1 >conftest.err
40373 rm -f conftest.er1
40374 cat conftest.err >&5
40375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40376 (exit $ac_status); } && {
40377 test -z "$ac_c_werror_flag" ||
40378 test ! -s conftest.err
40379 } && test -s conftest.$ac_objext; then
40380 eval "$as_ac_Header=yes"
40381 else
40382 echo "$as_me: failed program was:" >&5
40383 sed 's/^/| /' conftest.$ac_ext >&5
40384
40385 eval "$as_ac_Header=no"
40386 fi
40387
40388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40389 fi
40390 ac_res=`eval echo '${'$as_ac_Header'}'`
40391 { echo "$as_me:$LINENO: result: $ac_res" >&5
40392 echo "${ECHO_T}$ac_res" >&6; }
40393 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40394 cat >>confdefs.h <<_ACEOF
40395 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40396 _ACEOF
40397
40398 fi
40399
40400 done
40401
40402 if test "$ac_cv_header_sched_h" = "yes"; then
40403 { echo "$as_me:$LINENO: checking for sched_yield" >&5
40404 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
40405 if test "${ac_cv_func_sched_yield+set}" = set; then
40406 echo $ECHO_N "(cached) $ECHO_C" >&6
40407 else
40408 cat >conftest.$ac_ext <<_ACEOF
40409 /* confdefs.h. */
40410 _ACEOF
40411 cat confdefs.h >>conftest.$ac_ext
40412 cat >>conftest.$ac_ext <<_ACEOF
40413 /* end confdefs.h. */
40414 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
40415 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40416 #define sched_yield innocuous_sched_yield
40417
40418 /* System header to define __stub macros and hopefully few prototypes,
40419 which can conflict with char sched_yield (); below.
40420 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40421 <limits.h> exists even on freestanding compilers. */
40422
40423 #ifdef __STDC__
40424 # include <limits.h>
40425 #else
40426 # include <assert.h>
40427 #endif
40428
40429 #undef sched_yield
40430
40431 /* Override any GCC internal prototype to avoid an error.
40432 Use char because int might match the return type of a GCC
40433 builtin and then its argument prototype would still apply. */
40434 #ifdef __cplusplus
40435 extern "C"
40436 #endif
40437 char sched_yield ();
40438 /* The GNU C library defines this for functions which it implements
40439 to always fail with ENOSYS. Some functions are actually named
40440 something starting with __ and the normal name is an alias. */
40441 #if defined __stub_sched_yield || defined __stub___sched_yield
40442 choke me
40443 #endif
40444
40445 int
40446 main ()
40447 {
40448 return sched_yield ();
40449 ;
40450 return 0;
40451 }
40452 _ACEOF
40453 rm -f conftest.$ac_objext conftest$ac_exeext
40454 if { (ac_try="$ac_link"
40455 case "(($ac_try" in
40456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40457 *) ac_try_echo=$ac_try;;
40458 esac
40459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40460 (eval "$ac_link") 2>conftest.er1
40461 ac_status=$?
40462 grep -v '^ *+' conftest.er1 >conftest.err
40463 rm -f conftest.er1
40464 cat conftest.err >&5
40465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40466 (exit $ac_status); } && {
40467 test -z "$ac_c_werror_flag" ||
40468 test ! -s conftest.err
40469 } && test -s conftest$ac_exeext &&
40470 $as_test_x conftest$ac_exeext; then
40471 ac_cv_func_sched_yield=yes
40472 else
40473 echo "$as_me: failed program was:" >&5
40474 sed 's/^/| /' conftest.$ac_ext >&5
40475
40476 ac_cv_func_sched_yield=no
40477 fi
40478
40479 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40480 conftest$ac_exeext conftest.$ac_ext
40481 fi
40482 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
40483 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
40484 if test $ac_cv_func_sched_yield = yes; then
40485 cat >>confdefs.h <<\_ACEOF
40486 #define HAVE_SCHED_YIELD 1
40487 _ACEOF
40488
40489 else
40490
40491 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
40492 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
40493 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
40494 echo $ECHO_N "(cached) $ECHO_C" >&6
40495 else
40496 ac_check_lib_save_LIBS=$LIBS
40497 LIBS="-lposix4 $LIBS"
40498 cat >conftest.$ac_ext <<_ACEOF
40499 /* confdefs.h. */
40500 _ACEOF
40501 cat confdefs.h >>conftest.$ac_ext
40502 cat >>conftest.$ac_ext <<_ACEOF
40503 /* end confdefs.h. */
40504
40505 /* Override any GCC internal prototype to avoid an error.
40506 Use char because int might match the return type of a GCC
40507 builtin and then its argument prototype would still apply. */
40508 #ifdef __cplusplus
40509 extern "C"
40510 #endif
40511 char sched_yield ();
40512 int
40513 main ()
40514 {
40515 return sched_yield ();
40516 ;
40517 return 0;
40518 }
40519 _ACEOF
40520 rm -f conftest.$ac_objext conftest$ac_exeext
40521 if { (ac_try="$ac_link"
40522 case "(($ac_try" in
40523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40524 *) ac_try_echo=$ac_try;;
40525 esac
40526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40527 (eval "$ac_link") 2>conftest.er1
40528 ac_status=$?
40529 grep -v '^ *+' conftest.er1 >conftest.err
40530 rm -f conftest.er1
40531 cat conftest.err >&5
40532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40533 (exit $ac_status); } && {
40534 test -z "$ac_c_werror_flag" ||
40535 test ! -s conftest.err
40536 } && test -s conftest$ac_exeext &&
40537 $as_test_x conftest$ac_exeext; then
40538 ac_cv_lib_posix4_sched_yield=yes
40539 else
40540 echo "$as_me: failed program was:" >&5
40541 sed 's/^/| /' conftest.$ac_ext >&5
40542
40543 ac_cv_lib_posix4_sched_yield=no
40544 fi
40545
40546 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40547 conftest$ac_exeext conftest.$ac_ext
40548 LIBS=$ac_check_lib_save_LIBS
40549 fi
40550 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
40551 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
40552 if test $ac_cv_lib_posix4_sched_yield = yes; then
40553 cat >>confdefs.h <<\_ACEOF
40554 #define HAVE_SCHED_YIELD 1
40555 _ACEOF
40556 POSIX4_LINK=" -lposix4"
40557 else
40558 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
40559 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
40560
40561 fi
40562
40563
40564
40565 fi
40566
40567 fi
40568
40569 HAVE_PRIOR_FUNCS=0
40570 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
40571 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
40572 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
40573 echo $ECHO_N "(cached) $ECHO_C" >&6
40574 else
40575 cat >conftest.$ac_ext <<_ACEOF
40576 /* confdefs.h. */
40577 _ACEOF
40578 cat confdefs.h >>conftest.$ac_ext
40579 cat >>conftest.$ac_ext <<_ACEOF
40580 /* end confdefs.h. */
40581 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
40582 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40583 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
40584
40585 /* System header to define __stub macros and hopefully few prototypes,
40586 which can conflict with char pthread_attr_getschedpolicy (); below.
40587 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40588 <limits.h> exists even on freestanding compilers. */
40589
40590 #ifdef __STDC__
40591 # include <limits.h>
40592 #else
40593 # include <assert.h>
40594 #endif
40595
40596 #undef pthread_attr_getschedpolicy
40597
40598 /* Override any GCC internal prototype to avoid an error.
40599 Use char because int might match the return type of a GCC
40600 builtin and then its argument prototype would still apply. */
40601 #ifdef __cplusplus
40602 extern "C"
40603 #endif
40604 char pthread_attr_getschedpolicy ();
40605 /* The GNU C library defines this for functions which it implements
40606 to always fail with ENOSYS. Some functions are actually named
40607 something starting with __ and the normal name is an alias. */
40608 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
40609 choke me
40610 #endif
40611
40612 int
40613 main ()
40614 {
40615 return pthread_attr_getschedpolicy ();
40616 ;
40617 return 0;
40618 }
40619 _ACEOF
40620 rm -f conftest.$ac_objext conftest$ac_exeext
40621 if { (ac_try="$ac_link"
40622 case "(($ac_try" in
40623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40624 *) ac_try_echo=$ac_try;;
40625 esac
40626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40627 (eval "$ac_link") 2>conftest.er1
40628 ac_status=$?
40629 grep -v '^ *+' conftest.er1 >conftest.err
40630 rm -f conftest.er1
40631 cat conftest.err >&5
40632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40633 (exit $ac_status); } && {
40634 test -z "$ac_c_werror_flag" ||
40635 test ! -s conftest.err
40636 } && test -s conftest$ac_exeext &&
40637 $as_test_x conftest$ac_exeext; then
40638 ac_cv_func_pthread_attr_getschedpolicy=yes
40639 else
40640 echo "$as_me: failed program was:" >&5
40641 sed 's/^/| /' conftest.$ac_ext >&5
40642
40643 ac_cv_func_pthread_attr_getschedpolicy=no
40644 fi
40645
40646 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40647 conftest$ac_exeext conftest.$ac_ext
40648 fi
40649 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
40650 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
40651 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
40652 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
40653 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
40654 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
40655 echo $ECHO_N "(cached) $ECHO_C" >&6
40656 else
40657 cat >conftest.$ac_ext <<_ACEOF
40658 /* confdefs.h. */
40659 _ACEOF
40660 cat confdefs.h >>conftest.$ac_ext
40661 cat >>conftest.$ac_ext <<_ACEOF
40662 /* end confdefs.h. */
40663 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
40664 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40665 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
40666
40667 /* System header to define __stub macros and hopefully few prototypes,
40668 which can conflict with char pthread_attr_setschedparam (); below.
40669 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40670 <limits.h> exists even on freestanding compilers. */
40671
40672 #ifdef __STDC__
40673 # include <limits.h>
40674 #else
40675 # include <assert.h>
40676 #endif
40677
40678 #undef pthread_attr_setschedparam
40679
40680 /* Override any GCC internal prototype to avoid an error.
40681 Use char because int might match the return type of a GCC
40682 builtin and then its argument prototype would still apply. */
40683 #ifdef __cplusplus
40684 extern "C"
40685 #endif
40686 char pthread_attr_setschedparam ();
40687 /* The GNU C library defines this for functions which it implements
40688 to always fail with ENOSYS. Some functions are actually named
40689 something starting with __ and the normal name is an alias. */
40690 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
40691 choke me
40692 #endif
40693
40694 int
40695 main ()
40696 {
40697 return pthread_attr_setschedparam ();
40698 ;
40699 return 0;
40700 }
40701 _ACEOF
40702 rm -f conftest.$ac_objext conftest$ac_exeext
40703 if { (ac_try="$ac_link"
40704 case "(($ac_try" in
40705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40706 *) ac_try_echo=$ac_try;;
40707 esac
40708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40709 (eval "$ac_link") 2>conftest.er1
40710 ac_status=$?
40711 grep -v '^ *+' conftest.er1 >conftest.err
40712 rm -f conftest.er1
40713 cat conftest.err >&5
40714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40715 (exit $ac_status); } && {
40716 test -z "$ac_c_werror_flag" ||
40717 test ! -s conftest.err
40718 } && test -s conftest$ac_exeext &&
40719 $as_test_x conftest$ac_exeext; then
40720 ac_cv_func_pthread_attr_setschedparam=yes
40721 else
40722 echo "$as_me: failed program was:" >&5
40723 sed 's/^/| /' conftest.$ac_ext >&5
40724
40725 ac_cv_func_pthread_attr_setschedparam=no
40726 fi
40727
40728 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40729 conftest$ac_exeext conftest.$ac_ext
40730 fi
40731 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
40732 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
40733 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
40734 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
40735 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
40736 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
40737 echo $ECHO_N "(cached) $ECHO_C" >&6
40738 else
40739 cat >conftest.$ac_ext <<_ACEOF
40740 /* confdefs.h. */
40741 _ACEOF
40742 cat confdefs.h >>conftest.$ac_ext
40743 cat >>conftest.$ac_ext <<_ACEOF
40744 /* end confdefs.h. */
40745 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
40746 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40747 #define sched_get_priority_max innocuous_sched_get_priority_max
40748
40749 /* System header to define __stub macros and hopefully few prototypes,
40750 which can conflict with char sched_get_priority_max (); below.
40751 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40752 <limits.h> exists even on freestanding compilers. */
40753
40754 #ifdef __STDC__
40755 # include <limits.h>
40756 #else
40757 # include <assert.h>
40758 #endif
40759
40760 #undef sched_get_priority_max
40761
40762 /* Override any GCC internal prototype to avoid an error.
40763 Use char because int might match the return type of a GCC
40764 builtin and then its argument prototype would still apply. */
40765 #ifdef __cplusplus
40766 extern "C"
40767 #endif
40768 char sched_get_priority_max ();
40769 /* The GNU C library defines this for functions which it implements
40770 to always fail with ENOSYS. Some functions are actually named
40771 something starting with __ and the normal name is an alias. */
40772 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
40773 choke me
40774 #endif
40775
40776 int
40777 main ()
40778 {
40779 return sched_get_priority_max ();
40780 ;
40781 return 0;
40782 }
40783 _ACEOF
40784 rm -f conftest.$ac_objext conftest$ac_exeext
40785 if { (ac_try="$ac_link"
40786 case "(($ac_try" in
40787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40788 *) ac_try_echo=$ac_try;;
40789 esac
40790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40791 (eval "$ac_link") 2>conftest.er1
40792 ac_status=$?
40793 grep -v '^ *+' conftest.er1 >conftest.err
40794 rm -f conftest.er1
40795 cat conftest.err >&5
40796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40797 (exit $ac_status); } && {
40798 test -z "$ac_c_werror_flag" ||
40799 test ! -s conftest.err
40800 } && test -s conftest$ac_exeext &&
40801 $as_test_x conftest$ac_exeext; then
40802 ac_cv_func_sched_get_priority_max=yes
40803 else
40804 echo "$as_me: failed program was:" >&5
40805 sed 's/^/| /' conftest.$ac_ext >&5
40806
40807 ac_cv_func_sched_get_priority_max=no
40808 fi
40809
40810 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40811 conftest$ac_exeext conftest.$ac_ext
40812 fi
40813 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
40814 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
40815 if test $ac_cv_func_sched_get_priority_max = yes; then
40816 HAVE_PRIOR_FUNCS=1
40817 else
40818 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
40819 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
40820 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
40821 echo $ECHO_N "(cached) $ECHO_C" >&6
40822 else
40823 ac_check_lib_save_LIBS=$LIBS
40824 LIBS="-lposix4 $LIBS"
40825 cat >conftest.$ac_ext <<_ACEOF
40826 /* confdefs.h. */
40827 _ACEOF
40828 cat confdefs.h >>conftest.$ac_ext
40829 cat >>conftest.$ac_ext <<_ACEOF
40830 /* end confdefs.h. */
40831
40832 /* Override any GCC internal prototype to avoid an error.
40833 Use char because int might match the return type of a GCC
40834 builtin and then its argument prototype would still apply. */
40835 #ifdef __cplusplus
40836 extern "C"
40837 #endif
40838 char sched_get_priority_max ();
40839 int
40840 main ()
40841 {
40842 return sched_get_priority_max ();
40843 ;
40844 return 0;
40845 }
40846 _ACEOF
40847 rm -f conftest.$ac_objext conftest$ac_exeext
40848 if { (ac_try="$ac_link"
40849 case "(($ac_try" in
40850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40851 *) ac_try_echo=$ac_try;;
40852 esac
40853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40854 (eval "$ac_link") 2>conftest.er1
40855 ac_status=$?
40856 grep -v '^ *+' conftest.er1 >conftest.err
40857 rm -f conftest.er1
40858 cat conftest.err >&5
40859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40860 (exit $ac_status); } && {
40861 test -z "$ac_c_werror_flag" ||
40862 test ! -s conftest.err
40863 } && test -s conftest$ac_exeext &&
40864 $as_test_x conftest$ac_exeext; then
40865 ac_cv_lib_posix4_sched_get_priority_max=yes
40866 else
40867 echo "$as_me: failed program was:" >&5
40868 sed 's/^/| /' conftest.$ac_ext >&5
40869
40870 ac_cv_lib_posix4_sched_get_priority_max=no
40871 fi
40872
40873 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40874 conftest$ac_exeext conftest.$ac_ext
40875 LIBS=$ac_check_lib_save_LIBS
40876 fi
40877 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
40878 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
40879 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
40880
40881 HAVE_PRIOR_FUNCS=1
40882 POSIX4_LINK=" -lposix4"
40883
40884 fi
40885
40886
40887 fi
40888
40889
40890 fi
40891
40892
40893 fi
40894
40895
40896 if test "$HAVE_PRIOR_FUNCS" = 1; then
40897 cat >>confdefs.h <<\_ACEOF
40898 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
40899 _ACEOF
40900
40901 else
40902 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
40903 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
40904 fi
40905
40906 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
40907 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
40908 if test "${ac_cv_func_pthread_cancel+set}" = set; then
40909 echo $ECHO_N "(cached) $ECHO_C" >&6
40910 else
40911 cat >conftest.$ac_ext <<_ACEOF
40912 /* confdefs.h. */
40913 _ACEOF
40914 cat confdefs.h >>conftest.$ac_ext
40915 cat >>conftest.$ac_ext <<_ACEOF
40916 /* end confdefs.h. */
40917 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
40918 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40919 #define pthread_cancel innocuous_pthread_cancel
40920
40921 /* System header to define __stub macros and hopefully few prototypes,
40922 which can conflict with char pthread_cancel (); below.
40923 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40924 <limits.h> exists even on freestanding compilers. */
40925
40926 #ifdef __STDC__
40927 # include <limits.h>
40928 #else
40929 # include <assert.h>
40930 #endif
40931
40932 #undef pthread_cancel
40933
40934 /* Override any GCC internal prototype to avoid an error.
40935 Use char because int might match the return type of a GCC
40936 builtin and then its argument prototype would still apply. */
40937 #ifdef __cplusplus
40938 extern "C"
40939 #endif
40940 char pthread_cancel ();
40941 /* The GNU C library defines this for functions which it implements
40942 to always fail with ENOSYS. Some functions are actually named
40943 something starting with __ and the normal name is an alias. */
40944 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
40945 choke me
40946 #endif
40947
40948 int
40949 main ()
40950 {
40951 return pthread_cancel ();
40952 ;
40953 return 0;
40954 }
40955 _ACEOF
40956 rm -f conftest.$ac_objext conftest$ac_exeext
40957 if { (ac_try="$ac_link"
40958 case "(($ac_try" in
40959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40960 *) ac_try_echo=$ac_try;;
40961 esac
40962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40963 (eval "$ac_link") 2>conftest.er1
40964 ac_status=$?
40965 grep -v '^ *+' conftest.er1 >conftest.err
40966 rm -f conftest.er1
40967 cat conftest.err >&5
40968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40969 (exit $ac_status); } && {
40970 test -z "$ac_c_werror_flag" ||
40971 test ! -s conftest.err
40972 } && test -s conftest$ac_exeext &&
40973 $as_test_x conftest$ac_exeext; then
40974 ac_cv_func_pthread_cancel=yes
40975 else
40976 echo "$as_me: failed program was:" >&5
40977 sed 's/^/| /' conftest.$ac_ext >&5
40978
40979 ac_cv_func_pthread_cancel=no
40980 fi
40981
40982 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40983 conftest$ac_exeext conftest.$ac_ext
40984 fi
40985 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
40986 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
40987 if test $ac_cv_func_pthread_cancel = yes; then
40988 cat >>confdefs.h <<\_ACEOF
40989 #define HAVE_PTHREAD_CANCEL 1
40990 _ACEOF
40991
40992 else
40993 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
40994 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
40995 fi
40996
40997
40998 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
40999 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
41000 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
41001 echo $ECHO_N "(cached) $ECHO_C" >&6
41002 else
41003 cat >conftest.$ac_ext <<_ACEOF
41004 /* confdefs.h. */
41005 _ACEOF
41006 cat confdefs.h >>conftest.$ac_ext
41007 cat >>conftest.$ac_ext <<_ACEOF
41008 /* end confdefs.h. */
41009 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
41010 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41011 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
41012
41013 /* System header to define __stub macros and hopefully few prototypes,
41014 which can conflict with char pthread_mutex_timedlock (); below.
41015 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41016 <limits.h> exists even on freestanding compilers. */
41017
41018 #ifdef __STDC__
41019 # include <limits.h>
41020 #else
41021 # include <assert.h>
41022 #endif
41023
41024 #undef pthread_mutex_timedlock
41025
41026 /* Override any GCC internal prototype to avoid an error.
41027 Use char because int might match the return type of a GCC
41028 builtin and then its argument prototype would still apply. */
41029 #ifdef __cplusplus
41030 extern "C"
41031 #endif
41032 char pthread_mutex_timedlock ();
41033 /* The GNU C library defines this for functions which it implements
41034 to always fail with ENOSYS. Some functions are actually named
41035 something starting with __ and the normal name is an alias. */
41036 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
41037 choke me
41038 #endif
41039
41040 int
41041 main ()
41042 {
41043 return pthread_mutex_timedlock ();
41044 ;
41045 return 0;
41046 }
41047 _ACEOF
41048 rm -f conftest.$ac_objext conftest$ac_exeext
41049 if { (ac_try="$ac_link"
41050 case "(($ac_try" in
41051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41052 *) ac_try_echo=$ac_try;;
41053 esac
41054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41055 (eval "$ac_link") 2>conftest.er1
41056 ac_status=$?
41057 grep -v '^ *+' conftest.er1 >conftest.err
41058 rm -f conftest.er1
41059 cat conftest.err >&5
41060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41061 (exit $ac_status); } && {
41062 test -z "$ac_c_werror_flag" ||
41063 test ! -s conftest.err
41064 } && test -s conftest$ac_exeext &&
41065 $as_test_x conftest$ac_exeext; then
41066 ac_cv_func_pthread_mutex_timedlock=yes
41067 else
41068 echo "$as_me: failed program was:" >&5
41069 sed 's/^/| /' conftest.$ac_ext >&5
41070
41071 ac_cv_func_pthread_mutex_timedlock=no
41072 fi
41073
41074 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41075 conftest$ac_exeext conftest.$ac_ext
41076 fi
41077 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
41078 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
41079 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
41080 cat >>confdefs.h <<\_ACEOF
41081 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
41082 _ACEOF
41083
41084 else
41085 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
41086 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
41087 fi
41088
41089
41090 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
41091 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
41092 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
41093 echo $ECHO_N "(cached) $ECHO_C" >&6
41094 else
41095 cat >conftest.$ac_ext <<_ACEOF
41096 /* confdefs.h. */
41097 _ACEOF
41098 cat confdefs.h >>conftest.$ac_ext
41099 cat >>conftest.$ac_ext <<_ACEOF
41100 /* end confdefs.h. */
41101 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
41102 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41103 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
41104
41105 /* System header to define __stub macros and hopefully few prototypes,
41106 which can conflict with char pthread_attr_setstacksize (); below.
41107 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41108 <limits.h> exists even on freestanding compilers. */
41109
41110 #ifdef __STDC__
41111 # include <limits.h>
41112 #else
41113 # include <assert.h>
41114 #endif
41115
41116 #undef pthread_attr_setstacksize
41117
41118 /* Override any GCC internal prototype to avoid an error.
41119 Use char because int might match the return type of a GCC
41120 builtin and then its argument prototype would still apply. */
41121 #ifdef __cplusplus
41122 extern "C"
41123 #endif
41124 char pthread_attr_setstacksize ();
41125 /* The GNU C library defines this for functions which it implements
41126 to always fail with ENOSYS. Some functions are actually named
41127 something starting with __ and the normal name is an alias. */
41128 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
41129 choke me
41130 #endif
41131
41132 int
41133 main ()
41134 {
41135 return pthread_attr_setstacksize ();
41136 ;
41137 return 0;
41138 }
41139 _ACEOF
41140 rm -f conftest.$ac_objext conftest$ac_exeext
41141 if { (ac_try="$ac_link"
41142 case "(($ac_try" in
41143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41144 *) ac_try_echo=$ac_try;;
41145 esac
41146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41147 (eval "$ac_link") 2>conftest.er1
41148 ac_status=$?
41149 grep -v '^ *+' conftest.er1 >conftest.err
41150 rm -f conftest.er1
41151 cat conftest.err >&5
41152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41153 (exit $ac_status); } && {
41154 test -z "$ac_c_werror_flag" ||
41155 test ! -s conftest.err
41156 } && test -s conftest$ac_exeext &&
41157 $as_test_x conftest$ac_exeext; then
41158 ac_cv_func_pthread_attr_setstacksize=yes
41159 else
41160 echo "$as_me: failed program was:" >&5
41161 sed 's/^/| /' conftest.$ac_ext >&5
41162
41163 ac_cv_func_pthread_attr_setstacksize=no
41164 fi
41165
41166 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41167 conftest$ac_exeext conftest.$ac_ext
41168 fi
41169 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
41170 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
41171 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
41172 cat >>confdefs.h <<\_ACEOF
41173 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
41174 _ACEOF
41175
41176 fi
41177
41178
41179
41180 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
41181 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
41182 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
41183 echo $ECHO_N "(cached) $ECHO_C" >&6
41184 else
41185
41186 cat >conftest.$ac_ext <<_ACEOF
41187 /* confdefs.h. */
41188 _ACEOF
41189 cat confdefs.h >>conftest.$ac_ext
41190 cat >>conftest.$ac_ext <<_ACEOF
41191 /* end confdefs.h. */
41192 #include <pthread.h>
41193 int
41194 main ()
41195 {
41196
41197 pthread_mutexattr_t attr;
41198 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41199
41200 ;
41201 return 0;
41202 }
41203 _ACEOF
41204 rm -f conftest.$ac_objext
41205 if { (ac_try="$ac_compile"
41206 case "(($ac_try" in
41207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41208 *) ac_try_echo=$ac_try;;
41209 esac
41210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41211 (eval "$ac_compile") 2>conftest.er1
41212 ac_status=$?
41213 grep -v '^ *+' conftest.er1 >conftest.err
41214 rm -f conftest.er1
41215 cat conftest.err >&5
41216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41217 (exit $ac_status); } && {
41218 test -z "$ac_c_werror_flag" ||
41219 test ! -s conftest.err
41220 } && test -s conftest.$ac_objext; then
41221 wx_cv_type_pthread_mutexattr_t=yes
41222 else
41223 echo "$as_me: failed program was:" >&5
41224 sed 's/^/| /' conftest.$ac_ext >&5
41225
41226 wx_cv_type_pthread_mutexattr_t=no
41227
41228 fi
41229
41230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41231
41232 fi
41233 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
41234 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
41235
41236 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
41237 cat >>confdefs.h <<\_ACEOF
41238 #define HAVE_PTHREAD_MUTEXATTR_T 1
41239 _ACEOF
41240
41241
41242 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
41243 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
41244 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
41245 echo $ECHO_N "(cached) $ECHO_C" >&6
41246 else
41247
41248 cat >conftest.$ac_ext <<_ACEOF
41249 /* confdefs.h. */
41250 _ACEOF
41251 cat confdefs.h >>conftest.$ac_ext
41252 cat >>conftest.$ac_ext <<_ACEOF
41253 /* end confdefs.h. */
41254 #include <pthread.h>
41255 int
41256 main ()
41257 {
41258
41259 pthread_mutexattr_t attr;
41260 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41261
41262 ;
41263 return 0;
41264 }
41265 _ACEOF
41266 rm -f conftest.$ac_objext
41267 if { (ac_try="$ac_compile"
41268 case "(($ac_try" in
41269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41270 *) ac_try_echo=$ac_try;;
41271 esac
41272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41273 (eval "$ac_compile") 2>conftest.er1
41274 ac_status=$?
41275 grep -v '^ *+' conftest.er1 >conftest.err
41276 rm -f conftest.er1
41277 cat conftest.err >&5
41278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41279 (exit $ac_status); } && {
41280 test -z "$ac_c_werror_flag" ||
41281 test ! -s conftest.err
41282 } && test -s conftest.$ac_objext; then
41283 wx_cv_func_pthread_mutexattr_settype_decl=yes
41284 else
41285 echo "$as_me: failed program was:" >&5
41286 sed 's/^/| /' conftest.$ac_ext >&5
41287
41288 wx_cv_func_pthread_mutexattr_settype_decl=no
41289
41290 fi
41291
41292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41293
41294 fi
41295 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
41296 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
41297 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
41298 cat >>confdefs.h <<\_ACEOF
41299 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
41300 _ACEOF
41301
41302 fi
41303 else
41304 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
41305 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
41306 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
41307 echo $ECHO_N "(cached) $ECHO_C" >&6
41308 else
41309
41310 cat >conftest.$ac_ext <<_ACEOF
41311 /* confdefs.h. */
41312 _ACEOF
41313 cat confdefs.h >>conftest.$ac_ext
41314 cat >>conftest.$ac_ext <<_ACEOF
41315 /* end confdefs.h. */
41316 #include <pthread.h>
41317 int
41318 main ()
41319 {
41320
41321 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
41322
41323 ;
41324 return 0;
41325 }
41326 _ACEOF
41327 rm -f conftest.$ac_objext
41328 if { (ac_try="$ac_compile"
41329 case "(($ac_try" in
41330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41331 *) ac_try_echo=$ac_try;;
41332 esac
41333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41334 (eval "$ac_compile") 2>conftest.er1
41335 ac_status=$?
41336 grep -v '^ *+' conftest.er1 >conftest.err
41337 rm -f conftest.er1
41338 cat conftest.err >&5
41339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41340 (exit $ac_status); } && {
41341 test -z "$ac_c_werror_flag" ||
41342 test ! -s conftest.err
41343 } && test -s conftest.$ac_objext; then
41344
41345 wx_cv_type_pthread_rec_mutex_init=yes
41346
41347 else
41348 echo "$as_me: failed program was:" >&5
41349 sed 's/^/| /' conftest.$ac_ext >&5
41350
41351
41352 wx_cv_type_pthread_rec_mutex_init=no
41353
41354
41355 fi
41356
41357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41358
41359 fi
41360 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
41361 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
41362 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
41363 cat >>confdefs.h <<\_ACEOF
41364 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
41365 _ACEOF
41366
41367 else
41368 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
41369 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
41370 fi
41371 fi
41372
41373 if test "$wxUSE_COMPILER_TLS" = "auto"; then
41374 if test "$USE_NETBSD" = 1; then
41375 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
41376 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
41377 wxUSE_COMPILER_TLS=no
41378 else
41379 wxUSE_COMPILER_TLS=yes
41380 fi
41381 fi
41382
41383 if test "$wxUSE_COMPILER_TLS" = "yes"; then
41384 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
41385 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
41386 if test "${wx_cv_cc___thread+set}" = set; then
41387 echo $ECHO_N "(cached) $ECHO_C" >&6
41388 else
41389
41390 cat >conftest.$ac_ext <<_ACEOF
41391 /* confdefs.h. */
41392 _ACEOF
41393 cat confdefs.h >>conftest.$ac_ext
41394 cat >>conftest.$ac_ext <<_ACEOF
41395 /* end confdefs.h. */
41396 #include <pthread.h>
41397 int
41398 main ()
41399 {
41400
41401 static __thread int n = 0;
41402 static __thread int *p = 0;
41403
41404 ;
41405 return 0;
41406 }
41407 _ACEOF
41408 rm -f conftest.$ac_objext
41409 if { (ac_try="$ac_compile"
41410 case "(($ac_try" in
41411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41412 *) ac_try_echo=$ac_try;;
41413 esac
41414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41415 (eval "$ac_compile") 2>conftest.er1
41416 ac_status=$?
41417 grep -v '^ *+' conftest.er1 >conftest.err
41418 rm -f conftest.er1
41419 cat conftest.err >&5
41420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41421 (exit $ac_status); } && {
41422 test -z "$ac_c_werror_flag" ||
41423 test ! -s conftest.err
41424 } && test -s conftest.$ac_objext; then
41425 wx_cv_cc___thread=yes
41426 else
41427 echo "$as_me: failed program was:" >&5
41428 sed 's/^/| /' conftest.$ac_ext >&5
41429
41430 wx_cv_cc___thread=no
41431
41432 fi
41433
41434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41435
41436
41437 fi
41438 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
41439 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
41440
41441 if test "$wx_cv_cc___thread" = "yes"; then
41442
41443 GXX_VERSION=""
41444
41445
41446
41447 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
41448 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
41449
41450 if test "x$GCC" = "xyes" ; then
41451
41452 if test -z "" ; then
41453
41454 ax_gcc_option_test="int main()
41455 {
41456 return 0;
41457 }"
41458
41459 else
41460
41461 ax_gcc_option_test=""
41462
41463 fi
41464
41465
41466 # Dump the test program to file
41467 cat <<EOF > conftest.c
41468 $ax_gcc_option_test
41469 EOF
41470
41471 # Dump back the file to the log, useful for debugging purposes
41472 { ac_try='cat conftest.c 1>&5'
41473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41474 (eval $ac_try) 2>&5
41475 ac_status=$?
41476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41477 (exit $ac_status); }; }
41478
41479 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
41480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41481 (eval $ac_try) 2>&5
41482 ac_status=$?
41483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41484 (exit $ac_status); }; } ; then
41485
41486 { echo "$as_me:$LINENO: result: yes" >&5
41487 echo "${ECHO_T}yes" >&6; }
41488
41489 ax_gcc_version_option=yes
41490
41491
41492 else
41493
41494 { echo "$as_me:$LINENO: result: no" >&5
41495 echo "${ECHO_T}no" >&6; }
41496
41497 ax_gcc_version_option=no
41498
41499
41500 fi
41501
41502
41503 else
41504
41505 { echo "$as_me:$LINENO: result: no gcc available" >&5
41506 echo "${ECHO_T}no gcc available" >&6; }
41507
41508 fi
41509
41510
41511 if test "x$GXX" = "xyes"; then
41512
41513 if test "x$ax_gxx_version_option" != "no"; then
41514
41515 { echo "$as_me:$LINENO: checking gxx version" >&5
41516 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
41517 if test "${ax_cv_gxx_version+set}" = set; then
41518 echo $ECHO_N "(cached) $ECHO_C" >&6
41519 else
41520
41521 ax_cv_gxx_version="`$CXX -dumpversion`"
41522 if test "x$ax_cv_gxx_version" = "x"; then
41523
41524 ax_cv_gxx_version=""
41525
41526 fi
41527
41528
41529 fi
41530 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
41531 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
41532 GXX_VERSION=$ax_cv_gxx_version
41533
41534 fi
41535
41536
41537 fi
41538
41539
41540
41541 if test -n "$ax_cv_gxx_version"; then
41542 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
41543 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
41544 case "$ax_cv_gxx_version" in
41545 1.* | 2.* | 3.* )
41546 { echo "$as_me:$LINENO: result: no, it's broken" >&5
41547 echo "${ECHO_T}no, it's broken" >&6; }
41548 wx_cv_cc___thread=no
41549 ;;
41550 *)
41551 { echo "$as_me:$LINENO: result: yes, it works" >&5
41552 echo "${ECHO_T}yes, it works" >&6; }
41553 ;;
41554 esac
41555 fi
41556 fi
41557
41558 if test "$wx_cv_cc___thread" = "yes"; then
41559 cat >>confdefs.h <<\_ACEOF
41560 #define HAVE___THREAD_KEYWORD 1
41561 _ACEOF
41562
41563 fi
41564 fi
41565 fi
41566
41567 else
41568 if test "$wxUSE_THREADS" = "yes" ; then
41569 case "${host}" in
41570 x86_64-*-mingw32* )
41571 ;;
41572 *-*-mingw32* )
41573 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
41574 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
41575 if test "${wx_cv_cflags_mthread+set}" = set; then
41576 echo $ECHO_N "(cached) $ECHO_C" >&6
41577 else
41578
41579 CFLAGS_OLD="$CFLAGS"
41580 CFLAGS="-mthreads $CFLAGS"
41581 cat >conftest.$ac_ext <<_ACEOF
41582 /* confdefs.h. */
41583 _ACEOF
41584 cat confdefs.h >>conftest.$ac_ext
41585 cat >>conftest.$ac_ext <<_ACEOF
41586 /* end confdefs.h. */
41587
41588 int
41589 main ()
41590 {
41591
41592 ;
41593 return 0;
41594 }
41595 _ACEOF
41596 rm -f conftest.$ac_objext
41597 if { (ac_try="$ac_compile"
41598 case "(($ac_try" in
41599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41600 *) ac_try_echo=$ac_try;;
41601 esac
41602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41603 (eval "$ac_compile") 2>conftest.er1
41604 ac_status=$?
41605 grep -v '^ *+' conftest.er1 >conftest.err
41606 rm -f conftest.er1
41607 cat conftest.err >&5
41608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41609 (exit $ac_status); } && {
41610 test -z "$ac_c_werror_flag" ||
41611 test ! -s conftest.err
41612 } && test -s conftest.$ac_objext; then
41613 wx_cv_cflags_mthread=yes
41614 else
41615 echo "$as_me: failed program was:" >&5
41616 sed 's/^/| /' conftest.$ac_ext >&5
41617
41618 wx_cv_cflags_mthread=no
41619
41620 fi
41621
41622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41623
41624
41625 fi
41626 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
41627 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
41628
41629 if test "$wx_cv_cflags_mthread" = "yes"; then
41630 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
41631 LDFLAGS="$LDFLAGS -mthreads"
41632 else
41633 CFLAGS="$CFLAGS_OLD"
41634 fi
41635 ;;
41636 *-pc-os2*emx )
41637 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
41638 LDFLAGS="$LDFLAGS -Zmt"
41639 ;;
41640 esac
41641 fi
41642 fi
41643
41644 { echo "$as_me:$LINENO: checking for localtime_r" >&5
41645 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
41646 if test "${ac_cv_func_localtime_r+set}" = set; then
41647 echo $ECHO_N "(cached) $ECHO_C" >&6
41648 else
41649 cat >conftest.$ac_ext <<_ACEOF
41650 /* confdefs.h. */
41651 _ACEOF
41652 cat confdefs.h >>conftest.$ac_ext
41653 cat >>conftest.$ac_ext <<_ACEOF
41654 /* end confdefs.h. */
41655 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
41656 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41657 #define localtime_r innocuous_localtime_r
41658
41659 /* System header to define __stub macros and hopefully few prototypes,
41660 which can conflict with char localtime_r (); below.
41661 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41662 <limits.h> exists even on freestanding compilers. */
41663
41664 #ifdef __STDC__
41665 # include <limits.h>
41666 #else
41667 # include <assert.h>
41668 #endif
41669
41670 #undef localtime_r
41671
41672 /* Override any GCC internal prototype to avoid an error.
41673 Use char because int might match the return type of a GCC
41674 builtin and then its argument prototype would still apply. */
41675 #ifdef __cplusplus
41676 extern "C"
41677 #endif
41678 char localtime_r ();
41679 /* The GNU C library defines this for functions which it implements
41680 to always fail with ENOSYS. Some functions are actually named
41681 something starting with __ and the normal name is an alias. */
41682 #if defined __stub_localtime_r || defined __stub___localtime_r
41683 choke me
41684 #endif
41685
41686 int
41687 main ()
41688 {
41689 return localtime_r ();
41690 ;
41691 return 0;
41692 }
41693 _ACEOF
41694 rm -f conftest.$ac_objext conftest$ac_exeext
41695 if { (ac_try="$ac_link"
41696 case "(($ac_try" in
41697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41698 *) ac_try_echo=$ac_try;;
41699 esac
41700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41701 (eval "$ac_link") 2>conftest.er1
41702 ac_status=$?
41703 grep -v '^ *+' conftest.er1 >conftest.err
41704 rm -f conftest.er1
41705 cat conftest.err >&5
41706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41707 (exit $ac_status); } && {
41708 test -z "$ac_c_werror_flag" ||
41709 test ! -s conftest.err
41710 } && test -s conftest$ac_exeext &&
41711 $as_test_x conftest$ac_exeext; then
41712 ac_cv_func_localtime_r=yes
41713 else
41714 echo "$as_me: failed program was:" >&5
41715 sed 's/^/| /' conftest.$ac_ext >&5
41716
41717 ac_cv_func_localtime_r=no
41718 fi
41719
41720 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41721 conftest$ac_exeext conftest.$ac_ext
41722 fi
41723 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
41724 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
41725 if test $ac_cv_func_localtime_r = yes; then
41726 cat >>confdefs.h <<\_ACEOF
41727 #define HAVE_LOCALTIME_R 1
41728 _ACEOF
41729
41730 fi
41731
41732 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
41733 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
41734 if test "${ac_cv_func_gmtime_r+set}" = set; then
41735 echo $ECHO_N "(cached) $ECHO_C" >&6
41736 else
41737 cat >conftest.$ac_ext <<_ACEOF
41738 /* confdefs.h. */
41739 _ACEOF
41740 cat confdefs.h >>conftest.$ac_ext
41741 cat >>conftest.$ac_ext <<_ACEOF
41742 /* end confdefs.h. */
41743 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
41744 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41745 #define gmtime_r innocuous_gmtime_r
41746
41747 /* System header to define __stub macros and hopefully few prototypes,
41748 which can conflict with char gmtime_r (); below.
41749 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41750 <limits.h> exists even on freestanding compilers. */
41751
41752 #ifdef __STDC__
41753 # include <limits.h>
41754 #else
41755 # include <assert.h>
41756 #endif
41757
41758 #undef gmtime_r
41759
41760 /* Override any GCC internal prototype to avoid an error.
41761 Use char because int might match the return type of a GCC
41762 builtin and then its argument prototype would still apply. */
41763 #ifdef __cplusplus
41764 extern "C"
41765 #endif
41766 char gmtime_r ();
41767 /* The GNU C library defines this for functions which it implements
41768 to always fail with ENOSYS. Some functions are actually named
41769 something starting with __ and the normal name is an alias. */
41770 #if defined __stub_gmtime_r || defined __stub___gmtime_r
41771 choke me
41772 #endif
41773
41774 int
41775 main ()
41776 {
41777 return gmtime_r ();
41778 ;
41779 return 0;
41780 }
41781 _ACEOF
41782 rm -f conftest.$ac_objext conftest$ac_exeext
41783 if { (ac_try="$ac_link"
41784 case "(($ac_try" in
41785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41786 *) ac_try_echo=$ac_try;;
41787 esac
41788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41789 (eval "$ac_link") 2>conftest.er1
41790 ac_status=$?
41791 grep -v '^ *+' conftest.er1 >conftest.err
41792 rm -f conftest.er1
41793 cat conftest.err >&5
41794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41795 (exit $ac_status); } && {
41796 test -z "$ac_c_werror_flag" ||
41797 test ! -s conftest.err
41798 } && test -s conftest$ac_exeext &&
41799 $as_test_x conftest$ac_exeext; then
41800 ac_cv_func_gmtime_r=yes
41801 else
41802 echo "$as_me: failed program was:" >&5
41803 sed 's/^/| /' conftest.$ac_ext >&5
41804
41805 ac_cv_func_gmtime_r=no
41806 fi
41807
41808 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41809 conftest$ac_exeext conftest.$ac_ext
41810 fi
41811 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
41812 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
41813 if test $ac_cv_func_gmtime_r = yes; then
41814 cat >>confdefs.h <<\_ACEOF
41815 #define HAVE_GMTIME_R 1
41816 _ACEOF
41817
41818 fi
41819
41820
41821
41822
41823 ac_ext=c
41824 ac_cpp='$CPP $CPPFLAGS'
41825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41828
41829 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
41830 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
41831
41832 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
41833 echo $ECHO_N "(cached) $ECHO_C" >&6
41834 else
41835
41836
41837 ################################################################
41838
41839 ac_cv_func_which_gethostbyname_r=unknown
41840
41841 #
41842 # ONE ARGUMENT (sanity check)
41843 #
41844
41845 # This should fail, as there is no variant of gethostbyname_r() that takes
41846 # a single argument. If it actually compiles, then we can assume that
41847 # netdb.h is not declaring the function, and the compiler is thereby
41848 # assuming an implicit prototype. In which case, we're out of luck.
41849 #
41850 cat >conftest.$ac_ext <<_ACEOF
41851 /* confdefs.h. */
41852 _ACEOF
41853 cat confdefs.h >>conftest.$ac_ext
41854 cat >>conftest.$ac_ext <<_ACEOF
41855 /* end confdefs.h. */
41856 #include <netdb.h>
41857 int
41858 main ()
41859 {
41860
41861 char *name = "www.gnu.org";
41862 (void)gethostbyname_r(name) /* ; */
41863
41864 ;
41865 return 0;
41866 }
41867 _ACEOF
41868 rm -f conftest.$ac_objext
41869 if { (ac_try="$ac_compile"
41870 case "(($ac_try" in
41871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41872 *) ac_try_echo=$ac_try;;
41873 esac
41874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41875 (eval "$ac_compile") 2>conftest.er1
41876 ac_status=$?
41877 grep -v '^ *+' conftest.er1 >conftest.err
41878 rm -f conftest.er1
41879 cat conftest.err >&5
41880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41881 (exit $ac_status); } && {
41882 test -z "$ac_c_werror_flag" ||
41883 test ! -s conftest.err
41884 } && test -s conftest.$ac_objext; then
41885 ac_cv_func_which_gethostbyname_r=no
41886 else
41887 echo "$as_me: failed program was:" >&5
41888 sed 's/^/| /' conftest.$ac_ext >&5
41889
41890
41891 fi
41892
41893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41894
41895 #
41896 # SIX ARGUMENTS
41897 # (e.g. Linux)
41898 #
41899
41900 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41901
41902 cat >conftest.$ac_ext <<_ACEOF
41903 /* confdefs.h. */
41904 _ACEOF
41905 cat confdefs.h >>conftest.$ac_ext
41906 cat >>conftest.$ac_ext <<_ACEOF
41907 /* end confdefs.h. */
41908 #include <netdb.h>
41909 int
41910 main ()
41911 {
41912
41913 char *name = "www.gnu.org";
41914 struct hostent ret, *retp;
41915 char buf[1024];
41916 int buflen = 1024;
41917 int my_h_errno;
41918 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
41919
41920 ;
41921 return 0;
41922 }
41923 _ACEOF
41924 rm -f conftest.$ac_objext
41925 if { (ac_try="$ac_compile"
41926 case "(($ac_try" in
41927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41928 *) ac_try_echo=$ac_try;;
41929 esac
41930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41931 (eval "$ac_compile") 2>conftest.er1
41932 ac_status=$?
41933 grep -v '^ *+' conftest.er1 >conftest.err
41934 rm -f conftest.er1
41935 cat conftest.err >&5
41936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41937 (exit $ac_status); } && {
41938 test -z "$ac_c_werror_flag" ||
41939 test ! -s conftest.err
41940 } && test -s conftest.$ac_objext; then
41941 ac_cv_func_which_gethostbyname_r=six
41942 else
41943 echo "$as_me: failed program was:" >&5
41944 sed 's/^/| /' conftest.$ac_ext >&5
41945
41946
41947 fi
41948
41949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41950
41951 fi
41952
41953 #
41954 # FIVE ARGUMENTS
41955 # (e.g. Solaris)
41956 #
41957
41958 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41959
41960 cat >conftest.$ac_ext <<_ACEOF
41961 /* confdefs.h. */
41962 _ACEOF
41963 cat confdefs.h >>conftest.$ac_ext
41964 cat >>conftest.$ac_ext <<_ACEOF
41965 /* end confdefs.h. */
41966 #include <netdb.h>
41967 int
41968 main ()
41969 {
41970
41971 char *name = "www.gnu.org";
41972 struct hostent ret;
41973 char buf[1024];
41974 int buflen = 1024;
41975 int my_h_errno;
41976 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
41977
41978 ;
41979 return 0;
41980 }
41981 _ACEOF
41982 rm -f conftest.$ac_objext
41983 if { (ac_try="$ac_compile"
41984 case "(($ac_try" in
41985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41986 *) ac_try_echo=$ac_try;;
41987 esac
41988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41989 (eval "$ac_compile") 2>conftest.er1
41990 ac_status=$?
41991 grep -v '^ *+' conftest.er1 >conftest.err
41992 rm -f conftest.er1
41993 cat conftest.err >&5
41994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41995 (exit $ac_status); } && {
41996 test -z "$ac_c_werror_flag" ||
41997 test ! -s conftest.err
41998 } && test -s conftest.$ac_objext; then
41999 ac_cv_func_which_gethostbyname_r=five
42000 else
42001 echo "$as_me: failed program was:" >&5
42002 sed 's/^/| /' conftest.$ac_ext >&5
42003
42004
42005 fi
42006
42007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42008
42009 fi
42010
42011 #
42012 # THREE ARGUMENTS
42013 # (e.g. AIX, HP-UX, Tru64)
42014 #
42015
42016 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42017
42018 cat >conftest.$ac_ext <<_ACEOF
42019 /* confdefs.h. */
42020 _ACEOF
42021 cat confdefs.h >>conftest.$ac_ext
42022 cat >>conftest.$ac_ext <<_ACEOF
42023 /* end confdefs.h. */
42024 #include <netdb.h>
42025 int
42026 main ()
42027 {
42028
42029 char *name = "www.gnu.org";
42030 struct hostent ret;
42031 struct hostent_data data;
42032 (void)gethostbyname_r(name, &ret, &data) /* ; */
42033
42034 ;
42035 return 0;
42036 }
42037 _ACEOF
42038 rm -f conftest.$ac_objext
42039 if { (ac_try="$ac_compile"
42040 case "(($ac_try" in
42041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42042 *) ac_try_echo=$ac_try;;
42043 esac
42044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42045 (eval "$ac_compile") 2>conftest.er1
42046 ac_status=$?
42047 grep -v '^ *+' conftest.er1 >conftest.err
42048 rm -f conftest.er1
42049 cat conftest.err >&5
42050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42051 (exit $ac_status); } && {
42052 test -z "$ac_c_werror_flag" ||
42053 test ! -s conftest.err
42054 } && test -s conftest.$ac_objext; then
42055 ac_cv_func_which_gethostbyname_r=three
42056 else
42057 echo "$as_me: failed program was:" >&5
42058 sed 's/^/| /' conftest.$ac_ext >&5
42059
42060
42061 fi
42062
42063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42064
42065 fi
42066
42067 ################################################################
42068
42069
42070 fi
42071
42072 case "$ac_cv_func_which_gethostbyname_r" in
42073 three)
42074 { echo "$as_me:$LINENO: result: three" >&5
42075 echo "${ECHO_T}three" >&6; }
42076 cat >>confdefs.h <<\_ACEOF
42077 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
42078 _ACEOF
42079
42080 ;;
42081
42082 five)
42083 { echo "$as_me:$LINENO: result: five" >&5
42084 echo "${ECHO_T}five" >&6; }
42085 cat >>confdefs.h <<\_ACEOF
42086 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
42087 _ACEOF
42088
42089 ;;
42090
42091 six)
42092 { echo "$as_me:$LINENO: result: six" >&5
42093 echo "${ECHO_T}six" >&6; }
42094 cat >>confdefs.h <<\_ACEOF
42095 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
42096 _ACEOF
42097
42098 ;;
42099
42100 no)
42101 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
42102 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
42103 ;;
42104
42105 unknown)
42106 { echo "$as_me:$LINENO: result: can't tell" >&5
42107 echo "${ECHO_T}can't tell" >&6; }
42108 ;;
42109
42110 *)
42111 { { echo "$as_me:$LINENO: error: internal error" >&5
42112 echo "$as_me: error: internal error" >&2;}
42113 { (exit 1); exit 1; }; }
42114 ;;
42115 esac
42116
42117 ac_ext=c
42118 ac_cpp='$CPP $CPPFLAGS'
42119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42122
42123
42124
42125 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
42126 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
42127 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
42128 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
42129 if test "${ac_cv_func_gethostbyname+set}" = set; then
42130 echo $ECHO_N "(cached) $ECHO_C" >&6
42131 else
42132 cat >conftest.$ac_ext <<_ACEOF
42133 /* confdefs.h. */
42134 _ACEOF
42135 cat confdefs.h >>conftest.$ac_ext
42136 cat >>conftest.$ac_ext <<_ACEOF
42137 /* end confdefs.h. */
42138 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
42139 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42140 #define gethostbyname innocuous_gethostbyname
42141
42142 /* System header to define __stub macros and hopefully few prototypes,
42143 which can conflict with char gethostbyname (); below.
42144 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42145 <limits.h> exists even on freestanding compilers. */
42146
42147 #ifdef __STDC__
42148 # include <limits.h>
42149 #else
42150 # include <assert.h>
42151 #endif
42152
42153 #undef gethostbyname
42154
42155 /* Override any GCC internal prototype to avoid an error.
42156 Use char because int might match the return type of a GCC
42157 builtin and then its argument prototype would still apply. */
42158 #ifdef __cplusplus
42159 extern "C"
42160 #endif
42161 char gethostbyname ();
42162 /* The GNU C library defines this for functions which it implements
42163 to always fail with ENOSYS. Some functions are actually named
42164 something starting with __ and the normal name is an alias. */
42165 #if defined __stub_gethostbyname || defined __stub___gethostbyname
42166 choke me
42167 #endif
42168
42169 int
42170 main ()
42171 {
42172 return gethostbyname ();
42173 ;
42174 return 0;
42175 }
42176 _ACEOF
42177 rm -f conftest.$ac_objext conftest$ac_exeext
42178 if { (ac_try="$ac_link"
42179 case "(($ac_try" in
42180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42181 *) ac_try_echo=$ac_try;;
42182 esac
42183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42184 (eval "$ac_link") 2>conftest.er1
42185 ac_status=$?
42186 grep -v '^ *+' conftest.er1 >conftest.err
42187 rm -f conftest.er1
42188 cat conftest.err >&5
42189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42190 (exit $ac_status); } && {
42191 test -z "$ac_c_werror_flag" ||
42192 test ! -s conftest.err
42193 } && test -s conftest$ac_exeext &&
42194 $as_test_x conftest$ac_exeext; then
42195 ac_cv_func_gethostbyname=yes
42196 else
42197 echo "$as_me: failed program was:" >&5
42198 sed 's/^/| /' conftest.$ac_ext >&5
42199
42200 ac_cv_func_gethostbyname=no
42201 fi
42202
42203 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42204 conftest$ac_exeext conftest.$ac_ext
42205 fi
42206 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
42207 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
42208 if test $ac_cv_func_gethostbyname = yes; then
42209 cat >>confdefs.h <<\_ACEOF
42210 #define HAVE_GETHOSTBYNAME 1
42211 _ACEOF
42212
42213 fi
42214
42215 fi
42216
42217 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
42218 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
42219 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
42220 echo $ECHO_N "(cached) $ECHO_C" >&6
42221 else
42222
42223 ac_ext=cpp
42224 ac_cpp='$CXXCPP $CPPFLAGS'
42225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42228
42229
42230 cat >conftest.$ac_ext <<_ACEOF
42231 /* confdefs.h. */
42232 _ACEOF
42233 cat confdefs.h >>conftest.$ac_ext
42234 cat >>conftest.$ac_ext <<_ACEOF
42235 /* end confdefs.h. */
42236 #include <netdb.h>
42237 int
42238 main ()
42239 {
42240
42241 char *name;
42242 char *proto;
42243 struct servent *se, *res;
42244 char buffer[2048];
42245 int buflen = 2048;
42246 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
42247
42248 ;
42249 return 0;
42250 }
42251 _ACEOF
42252 rm -f conftest.$ac_objext
42253 if { (ac_try="$ac_compile"
42254 case "(($ac_try" in
42255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42256 *) ac_try_echo=$ac_try;;
42257 esac
42258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42259 (eval "$ac_compile") 2>conftest.er1
42260 ac_status=$?
42261 grep -v '^ *+' conftest.er1 >conftest.err
42262 rm -f conftest.er1
42263 cat conftest.err >&5
42264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42265 (exit $ac_status); } && {
42266 test -z "$ac_cxx_werror_flag" ||
42267 test ! -s conftest.err
42268 } && test -s conftest.$ac_objext; then
42269 ac_cv_func_which_getservbyname_r=six
42270 else
42271 echo "$as_me: failed program was:" >&5
42272 sed 's/^/| /' conftest.$ac_ext >&5
42273
42274
42275 cat >conftest.$ac_ext <<_ACEOF
42276 /* confdefs.h. */
42277 _ACEOF
42278 cat confdefs.h >>conftest.$ac_ext
42279 cat >>conftest.$ac_ext <<_ACEOF
42280 /* end confdefs.h. */
42281 #include <netdb.h>
42282 int
42283 main ()
42284 {
42285
42286 char *name;
42287 char *proto;
42288 struct servent *se;
42289 char buffer[2048];
42290 int buflen = 2048;
42291 (void) getservbyname_r(name, proto, se, buffer, buflen)
42292
42293 ;
42294 return 0;
42295 }
42296 _ACEOF
42297 rm -f conftest.$ac_objext
42298 if { (ac_try="$ac_compile"
42299 case "(($ac_try" in
42300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42301 *) ac_try_echo=$ac_try;;
42302 esac
42303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42304 (eval "$ac_compile") 2>conftest.er1
42305 ac_status=$?
42306 grep -v '^ *+' conftest.er1 >conftest.err
42307 rm -f conftest.er1
42308 cat conftest.err >&5
42309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42310 (exit $ac_status); } && {
42311 test -z "$ac_cxx_werror_flag" ||
42312 test ! -s conftest.err
42313 } && test -s conftest.$ac_objext; then
42314 ac_cv_func_which_getservbyname_r=five
42315 else
42316 echo "$as_me: failed program was:" >&5
42317 sed 's/^/| /' conftest.$ac_ext >&5
42318
42319
42320 cat >conftest.$ac_ext <<_ACEOF
42321 /* confdefs.h. */
42322 _ACEOF
42323 cat confdefs.h >>conftest.$ac_ext
42324 cat >>conftest.$ac_ext <<_ACEOF
42325 /* end confdefs.h. */
42326 #include <netdb.h>
42327 int
42328 main ()
42329 {
42330
42331 char *name;
42332 char *proto;
42333 struct servent *se;
42334 struct servent_data data;
42335 (void) getservbyname_r(name, proto, se, &data);
42336
42337 ;
42338 return 0;
42339 }
42340 _ACEOF
42341 rm -f conftest.$ac_objext
42342 if { (ac_try="$ac_compile"
42343 case "(($ac_try" in
42344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42345 *) ac_try_echo=$ac_try;;
42346 esac
42347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42348 (eval "$ac_compile") 2>conftest.er1
42349 ac_status=$?
42350 grep -v '^ *+' conftest.er1 >conftest.err
42351 rm -f conftest.er1
42352 cat conftest.err >&5
42353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42354 (exit $ac_status); } && {
42355 test -z "$ac_cxx_werror_flag" ||
42356 test ! -s conftest.err
42357 } && test -s conftest.$ac_objext; then
42358 ac_cv_func_which_getservbyname_r=four
42359 else
42360 echo "$as_me: failed program was:" >&5
42361 sed 's/^/| /' conftest.$ac_ext >&5
42362
42363 ac_cv_func_which_getservbyname_r=no
42364
42365 fi
42366
42367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42368
42369
42370 fi
42371
42372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42373
42374
42375 fi
42376
42377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42378 ac_ext=c
42379 ac_cpp='$CPP $CPPFLAGS'
42380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42383
42384
42385
42386 fi
42387 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
42388 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
42389
42390 if test $ac_cv_func_which_getservbyname_r = six; then
42391 cat >>confdefs.h <<\_ACEOF
42392 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
42393 _ACEOF
42394
42395 elif test $ac_cv_func_which_getservbyname_r = five; then
42396 cat >>confdefs.h <<\_ACEOF
42397 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
42398 _ACEOF
42399
42400 elif test $ac_cv_func_which_getservbyname_r = four; then
42401 cat >>confdefs.h <<\_ACEOF
42402 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
42403 _ACEOF
42404
42405 fi
42406
42407
42408 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
42409 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
42410
42411 for ac_func in getservbyname
42412 do
42413 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42414 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42415 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42416 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42417 echo $ECHO_N "(cached) $ECHO_C" >&6
42418 else
42419 cat >conftest.$ac_ext <<_ACEOF
42420 /* confdefs.h. */
42421 _ACEOF
42422 cat confdefs.h >>conftest.$ac_ext
42423 cat >>conftest.$ac_ext <<_ACEOF
42424 /* end confdefs.h. */
42425 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42426 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42427 #define $ac_func innocuous_$ac_func
42428
42429 /* System header to define __stub macros and hopefully few prototypes,
42430 which can conflict with char $ac_func (); below.
42431 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42432 <limits.h> exists even on freestanding compilers. */
42433
42434 #ifdef __STDC__
42435 # include <limits.h>
42436 #else
42437 # include <assert.h>
42438 #endif
42439
42440 #undef $ac_func
42441
42442 /* Override any GCC internal prototype to avoid an error.
42443 Use char because int might match the return type of a GCC
42444 builtin and then its argument prototype would still apply. */
42445 #ifdef __cplusplus
42446 extern "C"
42447 #endif
42448 char $ac_func ();
42449 /* The GNU C library defines this for functions which it implements
42450 to always fail with ENOSYS. Some functions are actually named
42451 something starting with __ and the normal name is an alias. */
42452 #if defined __stub_$ac_func || defined __stub___$ac_func
42453 choke me
42454 #endif
42455
42456 int
42457 main ()
42458 {
42459 return $ac_func ();
42460 ;
42461 return 0;
42462 }
42463 _ACEOF
42464 rm -f conftest.$ac_objext conftest$ac_exeext
42465 if { (ac_try="$ac_link"
42466 case "(($ac_try" in
42467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42468 *) ac_try_echo=$ac_try;;
42469 esac
42470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42471 (eval "$ac_link") 2>conftest.er1
42472 ac_status=$?
42473 grep -v '^ *+' conftest.er1 >conftest.err
42474 rm -f conftest.er1
42475 cat conftest.err >&5
42476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42477 (exit $ac_status); } && {
42478 test -z "$ac_c_werror_flag" ||
42479 test ! -s conftest.err
42480 } && test -s conftest$ac_exeext &&
42481 $as_test_x conftest$ac_exeext; then
42482 eval "$as_ac_var=yes"
42483 else
42484 echo "$as_me: failed program was:" >&5
42485 sed 's/^/| /' conftest.$ac_ext >&5
42486
42487 eval "$as_ac_var=no"
42488 fi
42489
42490 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42491 conftest$ac_exeext conftest.$ac_ext
42492 fi
42493 ac_res=`eval echo '${'$as_ac_var'}'`
42494 { echo "$as_me:$LINENO: result: $ac_res" >&5
42495 echo "${ECHO_T}$ac_res" >&6; }
42496 if test `eval echo '${'$as_ac_var'}'` = yes; then
42497 cat >>confdefs.h <<_ACEOF
42498 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42499 _ACEOF
42500 cat >>confdefs.h <<\_ACEOF
42501 #define HAVE_GETSERVBYNAME 1
42502 _ACEOF
42503
42504 fi
42505 done
42506
42507 fi
42508
42509 if test "$wxUSE_THREADS" = "yes"; then
42510 cat >>confdefs.h <<\_ACEOF
42511 #define wxUSE_THREADS 1
42512 _ACEOF
42513
42514
42515 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
42516 else
42517 if test "$wx_cv_func_strtok_r" = "yes"; then
42518 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
42519 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
42520 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
42521 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
42522 { echo "$as_me:$LINENO: result: yes" >&5
42523 echo "${ECHO_T}yes" >&6; }
42524 else
42525 { echo "$as_me:$LINENO: result: no" >&5
42526 echo "${ECHO_T}no" >&6; }
42527 fi
42528 fi
42529 fi
42530
42531 if test "$WXGTK2" = 1 ; then
42532 cat >>confdefs.h <<_ACEOF
42533 #define __WXGTK20__ $WXGTK2
42534 _ACEOF
42535
42536 WXGTK12=1
42537 fi
42538
42539 if test "$WXGTK12" = 1 ; then
42540 cat >>confdefs.h <<_ACEOF
42541 #define __WXGTK12__ $WXGTK12
42542 _ACEOF
42543
42544 fi
42545
42546 if test "$WXGTK127" = 1 ; then
42547 cat >>confdefs.h <<_ACEOF
42548 #define __WXGTK127__ $WXGTK127
42549 _ACEOF
42550
42551 fi
42552
42553 if test "$WXGPE" = 1 ; then
42554 cat >>confdefs.h <<_ACEOF
42555 #define __WXGPE__ $WXGPE
42556 _ACEOF
42557
42558 fi
42559
42560 DEBUG_CFLAGS=
42561 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
42562 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
42563 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
42564 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
42565 DEBUG_CFLAGS="-g"
42566 fi
42567
42568 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
42569 wxUSE_DEBUG_INFO=yes
42570 if test "$GCC" = yes; then
42571 DEBUG_CFLAGS="-ggdb"
42572 fi
42573 fi
42574
42575 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
42576 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
42577
42578 if test "$wxUSE_GTK" = 1 ; then
42579 if test "x$wxGTK_VERSION" = "x1" ; then
42580 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
42581 fi
42582 fi
42583 fi
42584
42585 if test "$wxUSE_MEM_TRACING" = "yes" ; then
42586 cat >>confdefs.h <<\_ACEOF
42587 #define wxUSE_MEMORY_TRACING 1
42588 _ACEOF
42589
42590 cat >>confdefs.h <<\_ACEOF
42591 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
42592 _ACEOF
42593
42594 cat >>confdefs.h <<\_ACEOF
42595 #define wxUSE_DEBUG_NEW_ALWAYS 1
42596 _ACEOF
42597
42598 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
42599 fi
42600
42601 if test "$wxUSE_DMALLOC" = "yes" ; then
42602 DMALLOC_LIBS="-ldmallocthcxx"
42603 fi
42604
42605 PROFILE_FLAGS=
42606 if test "$wxUSE_PROFILE" = "yes" ; then
42607 PROFILE_FLAGS=" -pg"
42608 fi
42609
42610 if test "$GCC" = "yes" ; then
42611 if test "$wxUSE_NO_RTTI" = "yes" ; then
42612 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
42613 fi
42614 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
42615 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
42616 fi
42617 if test "$wxUSE_PERMISSIVE" = "yes" ; then
42618 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
42619 fi
42620
42621 case "${host}" in
42622 powerpc*-*-aix* )
42623 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
42624 ;;
42625 *-hppa* )
42626 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
42627 ;;
42628 esac
42629 fi
42630
42631 OPTIMISE_CFLAGS=
42632 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
42633 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
42634 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
42635 else
42636 if test "$wxUSE_OPTIMISE" = "no" ; then
42637 if test "$GCC" = yes ; then
42638 OPTIMISE_CFLAGS="-O0"
42639 fi
42640 else
42641 if test "$GCC" = yes ; then
42642 case "${host}" in
42643 *-pc-os2_emx | *-pc-os2-emx )
42644 OPTIMISE_CFLAGS="-O2"
42645 ;;
42646 *)
42647 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
42648 ;;
42649 esac
42650 else
42651 OPTIMISE_CFLAGS="-O"
42652 fi
42653 fi
42654 fi
42655
42656
42657 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
42658 cat >>confdefs.h <<\_ACEOF
42659 #define WXWIN_COMPATIBILITY_2_6 1
42660 _ACEOF
42661
42662
42663 WXWIN_COMPATIBILITY_2_8="yes"
42664 fi
42665
42666 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
42667 cat >>confdefs.h <<\_ACEOF
42668 #define WXWIN_COMPATIBILITY_2_8 1
42669 _ACEOF
42670
42671 fi
42672
42673
42674 if test "$wxUSE_GUI" = "yes"; then
42675 cat >>confdefs.h <<\_ACEOF
42676 #define wxUSE_GUI 1
42677 _ACEOF
42678
42679
42680 fi
42681
42682
42683 if test "$wxUSE_UNIX" = "yes"; then
42684 cat >>confdefs.h <<\_ACEOF
42685 #define wxUSE_UNIX 1
42686 _ACEOF
42687
42688 fi
42689
42690
42691 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
42692
42693 HAVE_DL_FUNCS=0
42694 HAVE_SHL_FUNCS=0
42695 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42696 if test "$USE_DOS" = 1; then
42697 HAVE_DL_FUNCS=0
42698 else
42699
42700 for ac_func in dlopen
42701 do
42702 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42703 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42704 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42705 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42706 echo $ECHO_N "(cached) $ECHO_C" >&6
42707 else
42708 cat >conftest.$ac_ext <<_ACEOF
42709 /* confdefs.h. */
42710 _ACEOF
42711 cat confdefs.h >>conftest.$ac_ext
42712 cat >>conftest.$ac_ext <<_ACEOF
42713 /* end confdefs.h. */
42714 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42715 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42716 #define $ac_func innocuous_$ac_func
42717
42718 /* System header to define __stub macros and hopefully few prototypes,
42719 which can conflict with char $ac_func (); below.
42720 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42721 <limits.h> exists even on freestanding compilers. */
42722
42723 #ifdef __STDC__
42724 # include <limits.h>
42725 #else
42726 # include <assert.h>
42727 #endif
42728
42729 #undef $ac_func
42730
42731 /* Override any GCC internal prototype to avoid an error.
42732 Use char because int might match the return type of a GCC
42733 builtin and then its argument prototype would still apply. */
42734 #ifdef __cplusplus
42735 extern "C"
42736 #endif
42737 char $ac_func ();
42738 /* The GNU C library defines this for functions which it implements
42739 to always fail with ENOSYS. Some functions are actually named
42740 something starting with __ and the normal name is an alias. */
42741 #if defined __stub_$ac_func || defined __stub___$ac_func
42742 choke me
42743 #endif
42744
42745 int
42746 main ()
42747 {
42748 return $ac_func ();
42749 ;
42750 return 0;
42751 }
42752 _ACEOF
42753 rm -f conftest.$ac_objext conftest$ac_exeext
42754 if { (ac_try="$ac_link"
42755 case "(($ac_try" in
42756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42757 *) ac_try_echo=$ac_try;;
42758 esac
42759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42760 (eval "$ac_link") 2>conftest.er1
42761 ac_status=$?
42762 grep -v '^ *+' conftest.er1 >conftest.err
42763 rm -f conftest.er1
42764 cat conftest.err >&5
42765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42766 (exit $ac_status); } && {
42767 test -z "$ac_c_werror_flag" ||
42768 test ! -s conftest.err
42769 } && test -s conftest$ac_exeext &&
42770 $as_test_x conftest$ac_exeext; then
42771 eval "$as_ac_var=yes"
42772 else
42773 echo "$as_me: failed program was:" >&5
42774 sed 's/^/| /' conftest.$ac_ext >&5
42775
42776 eval "$as_ac_var=no"
42777 fi
42778
42779 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42780 conftest$ac_exeext conftest.$ac_ext
42781 fi
42782 ac_res=`eval echo '${'$as_ac_var'}'`
42783 { echo "$as_me:$LINENO: result: $ac_res" >&5
42784 echo "${ECHO_T}$ac_res" >&6; }
42785 if test `eval echo '${'$as_ac_var'}'` = yes; then
42786 cat >>confdefs.h <<_ACEOF
42787 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42788 _ACEOF
42789
42790 cat >>confdefs.h <<\_ACEOF
42791 #define HAVE_DLOPEN 1
42792 _ACEOF
42793
42794 HAVE_DL_FUNCS=1
42795
42796 else
42797
42798 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
42799 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
42800 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
42801 echo $ECHO_N "(cached) $ECHO_C" >&6
42802 else
42803 ac_check_lib_save_LIBS=$LIBS
42804 LIBS="-ldl $LIBS"
42805 cat >conftest.$ac_ext <<_ACEOF
42806 /* confdefs.h. */
42807 _ACEOF
42808 cat confdefs.h >>conftest.$ac_ext
42809 cat >>conftest.$ac_ext <<_ACEOF
42810 /* end confdefs.h. */
42811
42812 /* Override any GCC internal prototype to avoid an error.
42813 Use char because int might match the return type of a GCC
42814 builtin and then its argument prototype would still apply. */
42815 #ifdef __cplusplus
42816 extern "C"
42817 #endif
42818 char dlopen ();
42819 int
42820 main ()
42821 {
42822 return dlopen ();
42823 ;
42824 return 0;
42825 }
42826 _ACEOF
42827 rm -f conftest.$ac_objext conftest$ac_exeext
42828 if { (ac_try="$ac_link"
42829 case "(($ac_try" in
42830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42831 *) ac_try_echo=$ac_try;;
42832 esac
42833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42834 (eval "$ac_link") 2>conftest.er1
42835 ac_status=$?
42836 grep -v '^ *+' conftest.er1 >conftest.err
42837 rm -f conftest.er1
42838 cat conftest.err >&5
42839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42840 (exit $ac_status); } && {
42841 test -z "$ac_c_werror_flag" ||
42842 test ! -s conftest.err
42843 } && test -s conftest$ac_exeext &&
42844 $as_test_x conftest$ac_exeext; then
42845 ac_cv_lib_dl_dlopen=yes
42846 else
42847 echo "$as_me: failed program was:" >&5
42848 sed 's/^/| /' conftest.$ac_ext >&5
42849
42850 ac_cv_lib_dl_dlopen=no
42851 fi
42852
42853 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42854 conftest$ac_exeext conftest.$ac_ext
42855 LIBS=$ac_check_lib_save_LIBS
42856 fi
42857 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
42858 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
42859 if test $ac_cv_lib_dl_dlopen = yes; then
42860
42861 cat >>confdefs.h <<\_ACEOF
42862 #define HAVE_DLOPEN 1
42863 _ACEOF
42864
42865 HAVE_DL_FUNCS=1
42866 DL_LINK=" -ldl$DL_LINK"
42867
42868 else
42869
42870
42871 for ac_func in shl_load
42872 do
42873 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42874 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42875 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42876 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42877 echo $ECHO_N "(cached) $ECHO_C" >&6
42878 else
42879 cat >conftest.$ac_ext <<_ACEOF
42880 /* confdefs.h. */
42881 _ACEOF
42882 cat confdefs.h >>conftest.$ac_ext
42883 cat >>conftest.$ac_ext <<_ACEOF
42884 /* end confdefs.h. */
42885 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42886 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42887 #define $ac_func innocuous_$ac_func
42888
42889 /* System header to define __stub macros and hopefully few prototypes,
42890 which can conflict with char $ac_func (); below.
42891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42892 <limits.h> exists even on freestanding compilers. */
42893
42894 #ifdef __STDC__
42895 # include <limits.h>
42896 #else
42897 # include <assert.h>
42898 #endif
42899
42900 #undef $ac_func
42901
42902 /* Override any GCC internal prototype to avoid an error.
42903 Use char because int might match the return type of a GCC
42904 builtin and then its argument prototype would still apply. */
42905 #ifdef __cplusplus
42906 extern "C"
42907 #endif
42908 char $ac_func ();
42909 /* The GNU C library defines this for functions which it implements
42910 to always fail with ENOSYS. Some functions are actually named
42911 something starting with __ and the normal name is an alias. */
42912 #if defined __stub_$ac_func || defined __stub___$ac_func
42913 choke me
42914 #endif
42915
42916 int
42917 main ()
42918 {
42919 return $ac_func ();
42920 ;
42921 return 0;
42922 }
42923 _ACEOF
42924 rm -f conftest.$ac_objext conftest$ac_exeext
42925 if { (ac_try="$ac_link"
42926 case "(($ac_try" in
42927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42928 *) ac_try_echo=$ac_try;;
42929 esac
42930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42931 (eval "$ac_link") 2>conftest.er1
42932 ac_status=$?
42933 grep -v '^ *+' conftest.er1 >conftest.err
42934 rm -f conftest.er1
42935 cat conftest.err >&5
42936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42937 (exit $ac_status); } && {
42938 test -z "$ac_c_werror_flag" ||
42939 test ! -s conftest.err
42940 } && test -s conftest$ac_exeext &&
42941 $as_test_x conftest$ac_exeext; then
42942 eval "$as_ac_var=yes"
42943 else
42944 echo "$as_me: failed program was:" >&5
42945 sed 's/^/| /' conftest.$ac_ext >&5
42946
42947 eval "$as_ac_var=no"
42948 fi
42949
42950 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42951 conftest$ac_exeext conftest.$ac_ext
42952 fi
42953 ac_res=`eval echo '${'$as_ac_var'}'`
42954 { echo "$as_me:$LINENO: result: $ac_res" >&5
42955 echo "${ECHO_T}$ac_res" >&6; }
42956 if test `eval echo '${'$as_ac_var'}'` = yes; then
42957 cat >>confdefs.h <<_ACEOF
42958 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42959 _ACEOF
42960
42961 cat >>confdefs.h <<\_ACEOF
42962 #define HAVE_SHL_LOAD 1
42963 _ACEOF
42964
42965 HAVE_SHL_FUNCS=1
42966
42967 else
42968
42969 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
42970 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
42971 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
42972 echo $ECHO_N "(cached) $ECHO_C" >&6
42973 else
42974 ac_check_lib_save_LIBS=$LIBS
42975 LIBS="-lshl_load $LIBS"
42976 cat >conftest.$ac_ext <<_ACEOF
42977 /* confdefs.h. */
42978 _ACEOF
42979 cat confdefs.h >>conftest.$ac_ext
42980 cat >>conftest.$ac_ext <<_ACEOF
42981 /* end confdefs.h. */
42982
42983 /* Override any GCC internal prototype to avoid an error.
42984 Use char because int might match the return type of a GCC
42985 builtin and then its argument prototype would still apply. */
42986 #ifdef __cplusplus
42987 extern "C"
42988 #endif
42989 char dld ();
42990 int
42991 main ()
42992 {
42993 return dld ();
42994 ;
42995 return 0;
42996 }
42997 _ACEOF
42998 rm -f conftest.$ac_objext conftest$ac_exeext
42999 if { (ac_try="$ac_link"
43000 case "(($ac_try" in
43001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43002 *) ac_try_echo=$ac_try;;
43003 esac
43004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43005 (eval "$ac_link") 2>conftest.er1
43006 ac_status=$?
43007 grep -v '^ *+' conftest.er1 >conftest.err
43008 rm -f conftest.er1
43009 cat conftest.err >&5
43010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43011 (exit $ac_status); } && {
43012 test -z "$ac_c_werror_flag" ||
43013 test ! -s conftest.err
43014 } && test -s conftest$ac_exeext &&
43015 $as_test_x conftest$ac_exeext; then
43016 ac_cv_lib_shl_load_dld=yes
43017 else
43018 echo "$as_me: failed program was:" >&5
43019 sed 's/^/| /' conftest.$ac_ext >&5
43020
43021 ac_cv_lib_shl_load_dld=no
43022 fi
43023
43024 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43025 conftest$ac_exeext conftest.$ac_ext
43026 LIBS=$ac_check_lib_save_LIBS
43027 fi
43028 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
43029 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
43030 if test $ac_cv_lib_shl_load_dld = yes; then
43031
43032 HAVE_SHL_FUNCS=1
43033 DL_LINK=" -ldld$DL_LINK"
43034
43035 fi
43036
43037
43038 fi
43039 done
43040
43041
43042 fi
43043
43044
43045 fi
43046 done
43047
43048
43049 if test "$HAVE_DL_FUNCS" = 1; then
43050
43051 for ac_func in dlerror
43052 do
43053 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43054 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43055 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43056 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43057 echo $ECHO_N "(cached) $ECHO_C" >&6
43058 else
43059 cat >conftest.$ac_ext <<_ACEOF
43060 /* confdefs.h. */
43061 _ACEOF
43062 cat confdefs.h >>conftest.$ac_ext
43063 cat >>conftest.$ac_ext <<_ACEOF
43064 /* end confdefs.h. */
43065 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43066 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43067 #define $ac_func innocuous_$ac_func
43068
43069 /* System header to define __stub macros and hopefully few prototypes,
43070 which can conflict with char $ac_func (); below.
43071 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43072 <limits.h> exists even on freestanding compilers. */
43073
43074 #ifdef __STDC__
43075 # include <limits.h>
43076 #else
43077 # include <assert.h>
43078 #endif
43079
43080 #undef $ac_func
43081
43082 /* Override any GCC internal prototype to avoid an error.
43083 Use char because int might match the return type of a GCC
43084 builtin and then its argument prototype would still apply. */
43085 #ifdef __cplusplus
43086 extern "C"
43087 #endif
43088 char $ac_func ();
43089 /* The GNU C library defines this for functions which it implements
43090 to always fail with ENOSYS. Some functions are actually named
43091 something starting with __ and the normal name is an alias. */
43092 #if defined __stub_$ac_func || defined __stub___$ac_func
43093 choke me
43094 #endif
43095
43096 int
43097 main ()
43098 {
43099 return $ac_func ();
43100 ;
43101 return 0;
43102 }
43103 _ACEOF
43104 rm -f conftest.$ac_objext conftest$ac_exeext
43105 if { (ac_try="$ac_link"
43106 case "(($ac_try" in
43107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43108 *) ac_try_echo=$ac_try;;
43109 esac
43110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43111 (eval "$ac_link") 2>conftest.er1
43112 ac_status=$?
43113 grep -v '^ *+' conftest.er1 >conftest.err
43114 rm -f conftest.er1
43115 cat conftest.err >&5
43116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43117 (exit $ac_status); } && {
43118 test -z "$ac_c_werror_flag" ||
43119 test ! -s conftest.err
43120 } && test -s conftest$ac_exeext &&
43121 $as_test_x conftest$ac_exeext; then
43122 eval "$as_ac_var=yes"
43123 else
43124 echo "$as_me: failed program was:" >&5
43125 sed 's/^/| /' conftest.$ac_ext >&5
43126
43127 eval "$as_ac_var=no"
43128 fi
43129
43130 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43131 conftest$ac_exeext conftest.$ac_ext
43132 fi
43133 ac_res=`eval echo '${'$as_ac_var'}'`
43134 { echo "$as_me:$LINENO: result: $ac_res" >&5
43135 echo "${ECHO_T}$ac_res" >&6; }
43136 if test `eval echo '${'$as_ac_var'}'` = yes; then
43137 cat >>confdefs.h <<_ACEOF
43138 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43139 _ACEOF
43140 cat >>confdefs.h <<\_ACEOF
43141 #define HAVE_DLERROR 1
43142 _ACEOF
43143
43144 else
43145
43146 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
43147 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
43148 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
43149 echo $ECHO_N "(cached) $ECHO_C" >&6
43150 else
43151 ac_check_lib_save_LIBS=$LIBS
43152 LIBS="-ldl $LIBS"
43153 cat >conftest.$ac_ext <<_ACEOF
43154 /* confdefs.h. */
43155 _ACEOF
43156 cat confdefs.h >>conftest.$ac_ext
43157 cat >>conftest.$ac_ext <<_ACEOF
43158 /* end confdefs.h. */
43159
43160 /* Override any GCC internal prototype to avoid an error.
43161 Use char because int might match the return type of a GCC
43162 builtin and then its argument prototype would still apply. */
43163 #ifdef __cplusplus
43164 extern "C"
43165 #endif
43166 char dlerror ();
43167 int
43168 main ()
43169 {
43170 return dlerror ();
43171 ;
43172 return 0;
43173 }
43174 _ACEOF
43175 rm -f conftest.$ac_objext conftest$ac_exeext
43176 if { (ac_try="$ac_link"
43177 case "(($ac_try" in
43178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43179 *) ac_try_echo=$ac_try;;
43180 esac
43181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43182 (eval "$ac_link") 2>conftest.er1
43183 ac_status=$?
43184 grep -v '^ *+' conftest.er1 >conftest.err
43185 rm -f conftest.er1
43186 cat conftest.err >&5
43187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43188 (exit $ac_status); } && {
43189 test -z "$ac_c_werror_flag" ||
43190 test ! -s conftest.err
43191 } && test -s conftest$ac_exeext &&
43192 $as_test_x conftest$ac_exeext; then
43193 ac_cv_lib_dl_dlerror=yes
43194 else
43195 echo "$as_me: failed program was:" >&5
43196 sed 's/^/| /' conftest.$ac_ext >&5
43197
43198 ac_cv_lib_dl_dlerror=no
43199 fi
43200
43201 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43202 conftest$ac_exeext conftest.$ac_ext
43203 LIBS=$ac_check_lib_save_LIBS
43204 fi
43205 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
43206 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
43207 if test $ac_cv_lib_dl_dlerror = yes; then
43208 cat >>confdefs.h <<\_ACEOF
43209 #define HAVE_DLERROR 1
43210 _ACEOF
43211
43212 fi
43213
43214
43215
43216 fi
43217 done
43218
43219 fi
43220 fi
43221
43222 if test "$USE_DARWIN" = 1; then
43223 HAVE_DL_FUNCS=1
43224 fi
43225
43226 if test "$HAVE_DL_FUNCS" = 0; then
43227 if test "$HAVE_SHL_FUNCS" = 0; then
43228 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
43229 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
43230 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
43231 wxUSE_DYNAMIC_LOADER=no
43232 wxUSE_DYNLIB_CLASS=no
43233 else
43234 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
43235 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
43236 fi
43237 fi
43238 fi
43239 fi
43240 fi
43241
43242 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
43243 cat >>confdefs.h <<\_ACEOF
43244 #define wxUSE_DYNAMIC_LOADER 1
43245 _ACEOF
43246
43247 fi
43248 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43249 cat >>confdefs.h <<\_ACEOF
43250 #define wxUSE_DYNLIB_CLASS 1
43251 _ACEOF
43252
43253 fi
43254
43255
43256
43257 if test "$wxUSE_PLUGINS" = "yes" ; then
43258 if test "$wxUSE_SHARED" = "no" ; then
43259 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
43260 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
43261 wxUSE_PLUGINS=no
43262 fi
43263 if test "$wxUSE_MONOLITHIC" = "yes" ; then
43264 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
43265 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
43266 wxUSE_PLUGINS=no
43267 fi
43268 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
43269 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
43270 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
43271 wxUSE_PLUGINS=no
43272 fi
43273 if test "$wxUSE_PLUGINS" = "yes" ; then
43274 cat >>confdefs.h <<\_ACEOF
43275 #define wxUSE_PLUGINS 1
43276 _ACEOF
43277
43278 fi
43279 fi
43280
43281
43282 if test "$wxUSE_FSWATCHER" = "yes"; then
43283 if test "$wxUSE_MSW" != "1"; then
43284 if test "$wxUSE_UNIX" = "yes"; then
43285
43286 for ac_header in sys/inotify.h
43287 do
43288 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43289 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43290 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43291 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43292 echo $ECHO_N "(cached) $ECHO_C" >&6
43293 else
43294 cat >conftest.$ac_ext <<_ACEOF
43295 /* confdefs.h. */
43296 _ACEOF
43297 cat confdefs.h >>conftest.$ac_ext
43298 cat >>conftest.$ac_ext <<_ACEOF
43299 /* end confdefs.h. */
43300 $ac_includes_default
43301
43302 #include <$ac_header>
43303 _ACEOF
43304 rm -f conftest.$ac_objext
43305 if { (ac_try="$ac_compile"
43306 case "(($ac_try" in
43307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43308 *) ac_try_echo=$ac_try;;
43309 esac
43310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43311 (eval "$ac_compile") 2>conftest.er1
43312 ac_status=$?
43313 grep -v '^ *+' conftest.er1 >conftest.err
43314 rm -f conftest.er1
43315 cat conftest.err >&5
43316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43317 (exit $ac_status); } && {
43318 test -z "$ac_c_werror_flag" ||
43319 test ! -s conftest.err
43320 } && test -s conftest.$ac_objext; then
43321 eval "$as_ac_Header=yes"
43322 else
43323 echo "$as_me: failed program was:" >&5
43324 sed 's/^/| /' conftest.$ac_ext >&5
43325
43326 eval "$as_ac_Header=no"
43327 fi
43328
43329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43330 fi
43331 ac_res=`eval echo '${'$as_ac_Header'}'`
43332 { echo "$as_me:$LINENO: result: $ac_res" >&5
43333 echo "${ECHO_T}$ac_res" >&6; }
43334 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43335 cat >>confdefs.h <<_ACEOF
43336 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43337 _ACEOF
43338
43339 fi
43340
43341 done
43342
43343 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
43344 cat >>confdefs.h <<\_ACEOF
43345 #define wxHAS_INOTIFY 1
43346 _ACEOF
43347
43348 else
43349
43350 for ac_header in sys/event.h
43351 do
43352 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43353 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43354 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43355 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43356 echo $ECHO_N "(cached) $ECHO_C" >&6
43357 else
43358 cat >conftest.$ac_ext <<_ACEOF
43359 /* confdefs.h. */
43360 _ACEOF
43361 cat confdefs.h >>conftest.$ac_ext
43362 cat >>conftest.$ac_ext <<_ACEOF
43363 /* end confdefs.h. */
43364 $ac_includes_default
43365
43366 #include <$ac_header>
43367 _ACEOF
43368 rm -f conftest.$ac_objext
43369 if { (ac_try="$ac_compile"
43370 case "(($ac_try" in
43371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43372 *) ac_try_echo=$ac_try;;
43373 esac
43374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43375 (eval "$ac_compile") 2>conftest.er1
43376 ac_status=$?
43377 grep -v '^ *+' conftest.er1 >conftest.err
43378 rm -f conftest.er1
43379 cat conftest.err >&5
43380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43381 (exit $ac_status); } && {
43382 test -z "$ac_c_werror_flag" ||
43383 test ! -s conftest.err
43384 } && test -s conftest.$ac_objext; then
43385 eval "$as_ac_Header=yes"
43386 else
43387 echo "$as_me: failed program was:" >&5
43388 sed 's/^/| /' conftest.$ac_ext >&5
43389
43390 eval "$as_ac_Header=no"
43391 fi
43392
43393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43394 fi
43395 ac_res=`eval echo '${'$as_ac_Header'}'`
43396 { echo "$as_me:$LINENO: result: $ac_res" >&5
43397 echo "${ECHO_T}$ac_res" >&6; }
43398 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43399 cat >>confdefs.h <<_ACEOF
43400 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43401 _ACEOF
43402
43403 fi
43404
43405 done
43406
43407 if test "$ac_cv_header_sys_event_h" = "yes"; then
43408 cat >>confdefs.h <<\_ACEOF
43409 #define wxHAS_KQUEUE 1
43410 _ACEOF
43411
43412 else
43413 wxUSE_FSWATCHER=no
43414 fi
43415 fi
43416 else
43417 wxUSE_FSWATCHER=no
43418 fi
43419 fi
43420
43421 if test "$wxUSE_FSWATCHER" = "yes"; then
43422 cat >>confdefs.h <<\_ACEOF
43423 #define wxUSE_FSWATCHER 1
43424 _ACEOF
43425
43426 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
43427 else
43428 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
43429 echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
43430 fi
43431 fi
43432
43433
43434 if test "$wxUSE_STL" = "yes"; then
43435 cat >>confdefs.h <<\_ACEOF
43436 #define wxUSE_STL 1
43437 _ACEOF
43438
43439 fi
43440
43441 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
43442 cat >>confdefs.h <<\_ACEOF
43443 #define wxUSE_EXTENDED_RTTI 1
43444 _ACEOF
43445
43446 fi
43447
43448 if test "$wxUSE_ANY" = "yes"; then
43449 cat >>confdefs.h <<\_ACEOF
43450 #define wxUSE_ANY 1
43451 _ACEOF
43452
43453 fi
43454
43455 if test "$wxUSE_APPLE_IEEE" = "yes"; then
43456 cat >>confdefs.h <<\_ACEOF
43457 #define wxUSE_APPLE_IEEE 1
43458 _ACEOF
43459
43460 fi
43461
43462 if test "$wxUSE_TIMER" = "yes"; then
43463 cat >>confdefs.h <<\_ACEOF
43464 #define wxUSE_TIMER 1
43465 _ACEOF
43466
43467 fi
43468
43469 if test "$USE_UNIX" = 1 ; then
43470 if test "$wxUSE_MGL" != 1; then
43471 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
43472 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
43473 if test "${ac_cv_header_sys_soundcard+set}" = set; then
43474 echo $ECHO_N "(cached) $ECHO_C" >&6
43475 else
43476
43477 cat >conftest.$ac_ext <<_ACEOF
43478 /* confdefs.h. */
43479 _ACEOF
43480 cat confdefs.h >>conftest.$ac_ext
43481 cat >>conftest.$ac_ext <<_ACEOF
43482 /* end confdefs.h. */
43483
43484 #include <sys/ioctl.h>
43485 #include <sys/soundcard.h>
43486
43487 int
43488 main ()
43489 {
43490
43491 ioctl(0, SNDCTL_DSP_SPEED, 0);
43492
43493 ;
43494 return 0;
43495 }
43496 _ACEOF
43497 rm -f conftest.$ac_objext conftest$ac_exeext
43498 if { (ac_try="$ac_link"
43499 case "(($ac_try" in
43500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43501 *) ac_try_echo=$ac_try;;
43502 esac
43503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43504 (eval "$ac_link") 2>conftest.er1
43505 ac_status=$?
43506 grep -v '^ *+' conftest.er1 >conftest.err
43507 rm -f conftest.er1
43508 cat conftest.err >&5
43509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43510 (exit $ac_status); } && {
43511 test -z "$ac_c_werror_flag" ||
43512 test ! -s conftest.err
43513 } && test -s conftest$ac_exeext &&
43514 $as_test_x conftest$ac_exeext; then
43515 ac_cv_header_sys_soundcard=yes
43516 else
43517 echo "$as_me: failed program was:" >&5
43518 sed 's/^/| /' conftest.$ac_ext >&5
43519
43520
43521 saveLibs="$LIBS"
43522 LIBS="$saveLibs -lossaudio"
43523 cat >conftest.$ac_ext <<_ACEOF
43524 /* confdefs.h. */
43525 _ACEOF
43526 cat confdefs.h >>conftest.$ac_ext
43527 cat >>conftest.$ac_ext <<_ACEOF
43528 /* end confdefs.h. */
43529
43530 #include <sys/ioctl.h>
43531 #include <sys/soundcard.h>
43532
43533 int
43534 main ()
43535 {
43536
43537 ioctl(0, SNDCTL_DSP_SPEED, 0);
43538
43539 ;
43540 return 0;
43541 }
43542 _ACEOF
43543 rm -f conftest.$ac_objext conftest$ac_exeext
43544 if { (ac_try="$ac_link"
43545 case "(($ac_try" in
43546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43547 *) ac_try_echo=$ac_try;;
43548 esac
43549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43550 (eval "$ac_link") 2>conftest.er1
43551 ac_status=$?
43552 grep -v '^ *+' conftest.er1 >conftest.err
43553 rm -f conftest.er1
43554 cat conftest.err >&5
43555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43556 (exit $ac_status); } && {
43557 test -z "$ac_c_werror_flag" ||
43558 test ! -s conftest.err
43559 } && test -s conftest$ac_exeext &&
43560 $as_test_x conftest$ac_exeext; then
43561 ac_cv_header_sys_soundcard=yes
43562 else
43563 echo "$as_me: failed program was:" >&5
43564 sed 's/^/| /' conftest.$ac_ext >&5
43565
43566
43567 LIBS="$saveLibs"
43568 ac_cv_header_sys_soundcard=no
43569
43570
43571 fi
43572
43573 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43574 conftest$ac_exeext conftest.$ac_ext
43575
43576
43577 fi
43578
43579 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43580 conftest$ac_exeext conftest.$ac_ext
43581
43582 fi
43583 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
43584 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
43585 fi
43586
43587 if test "$ac_cv_header_sys_soundcard" = "yes"; then
43588 cat >>confdefs.h <<\_ACEOF
43589 #define HAVE_SYS_SOUNDCARD_H 1
43590 _ACEOF
43591
43592 fi
43593 fi
43594
43595 WITH_PLUGIN_SDL=0
43596 if test "$wxUSE_SOUND" = "yes"; then
43597 if test "$USE_UNIX" = 1 ; then
43598 if test "$wxUSE_LIBSDL" != "no"; then
43599
43600 # Check whether --with-sdl-prefix was given.
43601 if test "${with_sdl_prefix+set}" = set; then
43602 withval=$with_sdl_prefix; sdl_prefix="$withval"
43603 else
43604 sdl_prefix=""
43605 fi
43606
43607
43608 # Check whether --with-sdl-exec-prefix was given.
43609 if test "${with_sdl_exec_prefix+set}" = set; then
43610 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
43611 else
43612 sdl_exec_prefix=""
43613 fi
43614
43615 # Check whether --enable-sdltest was given.
43616 if test "${enable_sdltest+set}" = set; then
43617 enableval=$enable_sdltest;
43618 else
43619 enable_sdltest=yes
43620 fi
43621
43622
43623 if test x$sdl_exec_prefix != x ; then
43624 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
43625 if test x${SDL_CONFIG+set} != xset ; then
43626 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
43627 fi
43628 fi
43629 if test x$sdl_prefix != x ; then
43630 sdl_args="$sdl_args --prefix=$sdl_prefix"
43631 if test x${SDL_CONFIG+set} != xset ; then
43632 SDL_CONFIG=$sdl_prefix/bin/sdl-config
43633 fi
43634 fi
43635
43636 if test "x$prefix" != xNONE; then
43637 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
43638 fi
43639 # Extract the first word of "sdl-config", so it can be a program name with args.
43640 set dummy sdl-config; ac_word=$2
43641 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43642 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43643 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
43644 echo $ECHO_N "(cached) $ECHO_C" >&6
43645 else
43646 case $SDL_CONFIG in
43647 [\\/]* | ?:[\\/]*)
43648 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
43649 ;;
43650 *)
43651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43652 for as_dir in $PATH
43653 do
43654 IFS=$as_save_IFS
43655 test -z "$as_dir" && as_dir=.
43656 for ac_exec_ext in '' $ac_executable_extensions; do
43657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43658 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43659 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43660 break 2
43661 fi
43662 done
43663 done
43664 IFS=$as_save_IFS
43665
43666 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
43667 ;;
43668 esac
43669 fi
43670 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
43671 if test -n "$SDL_CONFIG"; then
43672 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
43673 echo "${ECHO_T}$SDL_CONFIG" >&6; }
43674 else
43675 { echo "$as_me:$LINENO: result: no" >&5
43676 echo "${ECHO_T}no" >&6; }
43677 fi
43678
43679
43680 min_sdl_version=1.2.0
43681 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
43682 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
43683 no_sdl=""
43684 if test "$SDL_CONFIG" = "no" ; then
43685 no_sdl=yes
43686 else
43687 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
43688 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
43689
43690 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
43691 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43692 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
43693 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43694 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
43695 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43696 if test "x$enable_sdltest" = "xyes" ; then
43697 ac_save_CFLAGS="$CFLAGS"
43698 ac_save_CXXFLAGS="$CXXFLAGS"
43699 ac_save_LIBS="$LIBS"
43700 CFLAGS="$CFLAGS $SDL_CFLAGS"
43701 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43702 LIBS="$LIBS $SDL_LIBS"
43703 rm -f conf.sdltest
43704 if test "$cross_compiling" = yes; then
43705 echo $ac_n "cross compiling; assumed OK... $ac_c"
43706 else
43707 cat >conftest.$ac_ext <<_ACEOF
43708 /* confdefs.h. */
43709 _ACEOF
43710 cat confdefs.h >>conftest.$ac_ext
43711 cat >>conftest.$ac_ext <<_ACEOF
43712 /* end confdefs.h. */
43713
43714 #include <stdio.h>
43715 #include <stdlib.h>
43716 #include <string.h>
43717 #include "SDL.h"
43718
43719 char*
43720 my_strdup (char *str)
43721 {
43722 char *new_str;
43723
43724 if (str)
43725 {
43726 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
43727 strcpy (new_str, str);
43728 }
43729 else
43730 new_str = NULL;
43731
43732 return new_str;
43733 }
43734
43735 int main (int argc, char *argv[])
43736 {
43737 int major, minor, micro;
43738 char *tmp_version;
43739
43740 /* This hangs on some systems (?)
43741 system ("touch conf.sdltest");
43742 */
43743 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
43744
43745 /* HP/UX 9 (%@#!) writes to sscanf strings */
43746 tmp_version = my_strdup("$min_sdl_version");
43747 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
43748 printf("%s, bad version string\n", "$min_sdl_version");
43749 exit(1);
43750 }
43751
43752 if (($sdl_major_version > major) ||
43753 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
43754 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
43755 {
43756 return 0;
43757 }
43758 else
43759 {
43760 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
43761 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
43762 printf("*** best to upgrade to the required version.\n");
43763 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
43764 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
43765 printf("*** config.cache before re-running configure\n");
43766 return 1;
43767 }
43768 }
43769
43770
43771 _ACEOF
43772 rm -f conftest$ac_exeext
43773 if { (ac_try="$ac_link"
43774 case "(($ac_try" in
43775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43776 *) ac_try_echo=$ac_try;;
43777 esac
43778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43779 (eval "$ac_link") 2>&5
43780 ac_status=$?
43781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43782 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
43783 { (case "(($ac_try" in
43784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43785 *) ac_try_echo=$ac_try;;
43786 esac
43787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43788 (eval "$ac_try") 2>&5
43789 ac_status=$?
43790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43791 (exit $ac_status); }; }; then
43792 :
43793 else
43794 echo "$as_me: program exited with status $ac_status" >&5
43795 echo "$as_me: failed program was:" >&5
43796 sed 's/^/| /' conftest.$ac_ext >&5
43797
43798 ( exit $ac_status )
43799 no_sdl=yes
43800 fi
43801 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43802 fi
43803
43804
43805 CFLAGS="$ac_save_CFLAGS"
43806 CXXFLAGS="$ac_save_CXXFLAGS"
43807 LIBS="$ac_save_LIBS"
43808 fi
43809 fi
43810 if test "x$no_sdl" = x ; then
43811 { echo "$as_me:$LINENO: result: yes" >&5
43812 echo "${ECHO_T}yes" >&6; }
43813
43814 EXTRALIBS_SDL="$SDL_LIBS"
43815 CFLAGS="$SDL_CFLAGS $CFLAGS"
43816 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
43817 cat >>confdefs.h <<\_ACEOF
43818 #define wxUSE_LIBSDL 1
43819 _ACEOF
43820
43821
43822 else
43823 { echo "$as_me:$LINENO: result: no" >&5
43824 echo "${ECHO_T}no" >&6; }
43825 if test "$SDL_CONFIG" = "no" ; then
43826 echo "*** The sdl-config script installed by SDL could not be found"
43827 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
43828 echo "*** your path, or set the SDL_CONFIG environment variable to the"
43829 echo "*** full path to sdl-config."
43830 else
43831 if test -f conf.sdltest ; then
43832 :
43833 else
43834 echo "*** Could not run SDL test program, checking why..."
43835 CFLAGS="$CFLAGS $SDL_CFLAGS"
43836 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43837 LIBS="$LIBS $SDL_LIBS"
43838 cat >conftest.$ac_ext <<_ACEOF
43839 /* confdefs.h. */
43840 _ACEOF
43841 cat confdefs.h >>conftest.$ac_ext
43842 cat >>conftest.$ac_ext <<_ACEOF
43843 /* end confdefs.h. */
43844
43845 #include <stdio.h>
43846 #include "SDL.h"
43847
43848 int main(int argc, char *argv[])
43849 { return 0; }
43850 #undef main
43851 #define main K_and_R_C_main
43852
43853 int
43854 main ()
43855 {
43856 return 0;
43857 ;
43858 return 0;
43859 }
43860 _ACEOF
43861 rm -f conftest.$ac_objext conftest$ac_exeext
43862 if { (ac_try="$ac_link"
43863 case "(($ac_try" in
43864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43865 *) ac_try_echo=$ac_try;;
43866 esac
43867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43868 (eval "$ac_link") 2>conftest.er1
43869 ac_status=$?
43870 grep -v '^ *+' conftest.er1 >conftest.err
43871 rm -f conftest.er1
43872 cat conftest.err >&5
43873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43874 (exit $ac_status); } && {
43875 test -z "$ac_c_werror_flag" ||
43876 test ! -s conftest.err
43877 } && test -s conftest$ac_exeext &&
43878 $as_test_x conftest$ac_exeext; then
43879 echo "*** The test program compiled, but did not run. This usually means"
43880 echo "*** that the run-time linker is not finding SDL or finding the wrong"
43881 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
43882 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
43883 echo "*** to the installed location Also, make sure you have run ldconfig if that"
43884 echo "*** is required on your system"
43885 echo "***"
43886 echo "*** If you have an old version installed, it is best to remove it, although"
43887 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
43888 else
43889 echo "$as_me: failed program was:" >&5
43890 sed 's/^/| /' conftest.$ac_ext >&5
43891
43892 echo "*** The test program failed to compile or link. See the file config.log for the"
43893 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
43894 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
43895 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
43896 fi
43897
43898 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43899 conftest$ac_exeext conftest.$ac_ext
43900 CFLAGS="$ac_save_CFLAGS"
43901 CXXFLAGS="$ac_save_CXXFLAGS"
43902 LIBS="$ac_save_LIBS"
43903 fi
43904 fi
43905 SDL_CFLAGS=""
43906 SDL_LIBS=""
43907 wxUSE_LIBSDL="no"
43908 fi
43909
43910
43911 rm -f conf.sdltest
43912
43913 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
43914 WITH_PLUGIN_SDL=1
43915 fi
43916 fi
43917 else
43918 if test "$wxUSE_MGL" = 1; then
43919 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
43920 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
43921 wxUSE_SOUND="no"
43922 fi
43923 fi
43924 fi
43925
43926 if test "$wxUSE_SOUND" = "yes"; then
43927 cat >>confdefs.h <<\_ACEOF
43928 #define wxUSE_SOUND 1
43929 _ACEOF
43930
43931 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
43932 fi
43933
43934 if test "$WXGTK2" = 1; then
43935
43936
43937 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
43938 if test -n "$ac_tool_prefix"; then
43939 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
43940 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
43941 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43942 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43943 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
43944 echo $ECHO_N "(cached) $ECHO_C" >&6
43945 else
43946 case $PKG_CONFIG in
43947 [\\/]* | ?:[\\/]*)
43948 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
43949 ;;
43950 *)
43951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43952 for as_dir in $PATH
43953 do
43954 IFS=$as_save_IFS
43955 test -z "$as_dir" && as_dir=.
43956 for ac_exec_ext in '' $ac_executable_extensions; do
43957 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43958 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43959 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43960 break 2
43961 fi
43962 done
43963 done
43964 IFS=$as_save_IFS
43965
43966 ;;
43967 esac
43968 fi
43969 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
43970 if test -n "$PKG_CONFIG"; then
43971 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
43972 echo "${ECHO_T}$PKG_CONFIG" >&6; }
43973 else
43974 { echo "$as_me:$LINENO: result: no" >&5
43975 echo "${ECHO_T}no" >&6; }
43976 fi
43977
43978
43979 fi
43980 if test -z "$ac_cv_path_PKG_CONFIG"; then
43981 ac_pt_PKG_CONFIG=$PKG_CONFIG
43982 # Extract the first word of "pkg-config", so it can be a program name with args.
43983 set dummy pkg-config; ac_word=$2
43984 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43986 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
43987 echo $ECHO_N "(cached) $ECHO_C" >&6
43988 else
43989 case $ac_pt_PKG_CONFIG in
43990 [\\/]* | ?:[\\/]*)
43991 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
43992 ;;
43993 *)
43994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43995 for as_dir in $PATH
43996 do
43997 IFS=$as_save_IFS
43998 test -z "$as_dir" && as_dir=.
43999 for ac_exec_ext in '' $ac_executable_extensions; do
44000 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44001 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44002 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44003 break 2
44004 fi
44005 done
44006 done
44007 IFS=$as_save_IFS
44008
44009 ;;
44010 esac
44011 fi
44012 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
44013 if test -n "$ac_pt_PKG_CONFIG"; then
44014 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44015 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
44016 else
44017 { echo "$as_me:$LINENO: result: no" >&5
44018 echo "${ECHO_T}no" >&6; }
44019 fi
44020
44021 if test "x$ac_pt_PKG_CONFIG" = x; then
44022 PKG_CONFIG=""
44023 else
44024 case $cross_compiling:$ac_tool_warned in
44025 yes:)
44026 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
44027 whose name does not start with the host triplet. If you think this
44028 configuration is useful to you, please write to autoconf@gnu.org." >&5
44029 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
44030 whose name does not start with the host triplet. If you think this
44031 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44032 ac_tool_warned=yes ;;
44033 esac
44034 PKG_CONFIG=$ac_pt_PKG_CONFIG
44035 fi
44036 else
44037 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
44038 fi
44039
44040 fi
44041 if test -n "$PKG_CONFIG"; then
44042 _pkg_min_version=0.9.0
44043 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44044 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
44045 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44046 { echo "$as_me:$LINENO: result: yes" >&5
44047 echo "${ECHO_T}yes" >&6; }
44048 else
44049 { echo "$as_me:$LINENO: result: no" >&5
44050 echo "${ECHO_T}no" >&6; }
44051 PKG_CONFIG=""
44052 fi
44053
44054 fi
44055
44056 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44057
44058 if test "$wxUSE_GTKPRINT" = "yes" ; then
44059
44060
44061 pkg_failed=no
44062 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
44063 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
44064
44065 if test -n "$PKG_CONFIG"; then
44066 if test -n "$GTKPRINT_CFLAGS"; then
44067 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
44068 else
44069 if test -n "$PKG_CONFIG" && \
44070 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44071 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44072 ac_status=$?
44073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44074 (exit $ac_status); }; then
44075 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44076 else
44077 pkg_failed=yes
44078 fi
44079 fi
44080 else
44081 pkg_failed=untried
44082 fi
44083 if test -n "$PKG_CONFIG"; then
44084 if test -n "$GTKPRINT_LIBS"; then
44085 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
44086 else
44087 if test -n "$PKG_CONFIG" && \
44088 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44089 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44090 ac_status=$?
44091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44092 (exit $ac_status); }; then
44093 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44094 else
44095 pkg_failed=yes
44096 fi
44097 fi
44098 else
44099 pkg_failed=untried
44100 fi
44101
44102
44103
44104 if test $pkg_failed = yes; then
44105
44106 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44107 _pkg_short_errors_supported=yes
44108 else
44109 _pkg_short_errors_supported=no
44110 fi
44111 if test $_pkg_short_errors_supported = yes; then
44112 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44113 else
44114 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44115 fi
44116 # Put the nasty error message in config.log where it belongs
44117 echo "$GTKPRINT_PKG_ERRORS" >&5
44118
44119
44120 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44121 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44122 wxUSE_GTKPRINT="no"
44123
44124
44125 elif test $pkg_failed = untried; then
44126
44127 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44128 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44129 wxUSE_GTKPRINT="no"
44130
44131
44132 else
44133 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
44134 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
44135 { echo "$as_me:$LINENO: result: yes" >&5
44136 echo "${ECHO_T}yes" >&6; }
44137
44138 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
44139 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
44140 cat >>confdefs.h <<\_ACEOF
44141 #define wxUSE_GTKPRINT 1
44142 _ACEOF
44143
44144
44145 fi
44146 fi
44147
44148 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
44149
44150
44151 pkg_failed=no
44152 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
44153 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
44154
44155 if test -n "$PKG_CONFIG"; then
44156 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
44157 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
44158 else
44159 if test -n "$PKG_CONFIG" && \
44160 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44161 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44162 ac_status=$?
44163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44164 (exit $ac_status); }; then
44165 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44166 else
44167 pkg_failed=yes
44168 fi
44169 fi
44170 else
44171 pkg_failed=untried
44172 fi
44173 if test -n "$PKG_CONFIG"; then
44174 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
44175 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
44176 else
44177 if test -n "$PKG_CONFIG" && \
44178 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44179 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44180 ac_status=$?
44181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44182 (exit $ac_status); }; then
44183 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44184 else
44185 pkg_failed=yes
44186 fi
44187 fi
44188 else
44189 pkg_failed=untried
44190 fi
44191
44192
44193
44194 if test $pkg_failed = yes; then
44195
44196 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44197 _pkg_short_errors_supported=yes
44198 else
44199 _pkg_short_errors_supported=no
44200 fi
44201 if test $_pkg_short_errors_supported = yes; then
44202 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44203 else
44204 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44205 fi
44206 # Put the nasty error message in config.log where it belongs
44207 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
44208
44209
44210 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44211 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44212 wxUSE_LIBGNOMEPRINT="no"
44213
44214
44215 elif test $pkg_failed = untried; then
44216
44217 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44218 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44219 wxUSE_LIBGNOMEPRINT="no"
44220
44221
44222 else
44223 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
44224 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
44225 { echo "$as_me:$LINENO: result: yes" >&5
44226 echo "${ECHO_T}yes" >&6; }
44227
44228 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
44229 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
44230 cat >>confdefs.h <<\_ACEOF
44231 #define wxUSE_LIBGNOMEPRINT 1
44232 _ACEOF
44233
44234
44235 fi
44236 fi
44237 fi
44238
44239 if test "$wxUSE_MIMETYPE" = "yes" ; then
44240 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
44241
44242
44243 pkg_failed=no
44244 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
44245 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
44246
44247 if test -n "$PKG_CONFIG"; then
44248 if test -n "$GNOMEVFS_CFLAGS"; then
44249 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
44250 else
44251 if test -n "$PKG_CONFIG" && \
44252 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44253 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44254 ac_status=$?
44255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44256 (exit $ac_status); }; then
44257 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44258 else
44259 pkg_failed=yes
44260 fi
44261 fi
44262 else
44263 pkg_failed=untried
44264 fi
44265 if test -n "$PKG_CONFIG"; then
44266 if test -n "$GNOMEVFS_LIBS"; then
44267 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
44268 else
44269 if test -n "$PKG_CONFIG" && \
44270 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44271 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44272 ac_status=$?
44273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44274 (exit $ac_status); }; then
44275 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44276 else
44277 pkg_failed=yes
44278 fi
44279 fi
44280 else
44281 pkg_failed=untried
44282 fi
44283
44284
44285
44286 if test $pkg_failed = yes; then
44287
44288 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44289 _pkg_short_errors_supported=yes
44290 else
44291 _pkg_short_errors_supported=no
44292 fi
44293 if test $_pkg_short_errors_supported = yes; then
44294 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44295 else
44296 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44297 fi
44298 # Put the nasty error message in config.log where it belongs
44299 echo "$GNOMEVFS_PKG_ERRORS" >&5
44300
44301
44302 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44303 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44304 wxUSE_LIBGNOMEVFS="no"
44305
44306
44307 elif test $pkg_failed = untried; then
44308
44309 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44310 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44311 wxUSE_LIBGNOMEVFS="no"
44312
44313
44314 else
44315 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
44316 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
44317 { echo "$as_me:$LINENO: result: yes" >&5
44318 echo "${ECHO_T}yes" >&6; }
44319
44320 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
44321 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
44322 cat >>confdefs.h <<\_ACEOF
44323 #define wxUSE_LIBGNOMEVFS 1
44324 _ACEOF
44325
44326
44327 fi
44328 fi
44329 fi
44330
44331 if test "$wxUSE_LIBHILDON" = "yes" ; then
44332
44333 pkg_failed=no
44334 { echo "$as_me:$LINENO: checking for HILDON" >&5
44335 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
44336
44337 if test -n "$PKG_CONFIG"; then
44338 if test -n "$HILDON_CFLAGS"; then
44339 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
44340 else
44341 if test -n "$PKG_CONFIG" && \
44342 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44343 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44344 ac_status=$?
44345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44346 (exit $ac_status); }; then
44347 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
44348 else
44349 pkg_failed=yes
44350 fi
44351 fi
44352 else
44353 pkg_failed=untried
44354 fi
44355 if test -n "$PKG_CONFIG"; then
44356 if test -n "$HILDON_LIBS"; then
44357 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
44358 else
44359 if test -n "$PKG_CONFIG" && \
44360 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44361 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44362 ac_status=$?
44363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44364 (exit $ac_status); }; then
44365 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
44366 else
44367 pkg_failed=yes
44368 fi
44369 fi
44370 else
44371 pkg_failed=untried
44372 fi
44373
44374
44375
44376 if test $pkg_failed = yes; then
44377
44378 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44379 _pkg_short_errors_supported=yes
44380 else
44381 _pkg_short_errors_supported=no
44382 fi
44383 if test $_pkg_short_errors_supported = yes; then
44384 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44385 else
44386 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44387 fi
44388 # Put the nasty error message in config.log where it belongs
44389 echo "$HILDON_PKG_ERRORS" >&5
44390
44391
44392 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44393 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44394 wxUSE_LIBHILDON="no"
44395 ac_hildon_lgpl=0
44396
44397
44398 elif test $pkg_failed = untried; then
44399
44400 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44401 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44402 wxUSE_LIBHILDON="no"
44403 ac_hildon_lgpl=0
44404
44405
44406 else
44407 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
44408 HILDON_LIBS=$pkg_cv_HILDON_LIBS
44409 { echo "$as_me:$LINENO: result: yes" >&5
44410 echo "${ECHO_T}yes" >&6; }
44411
44412 EXTRALIBS_HILDON="$HILDON_LIBS"
44413 CFLAGS="$CFLAGS $HILDON_CFLAGS"
44414 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
44415 cat >>confdefs.h <<\_ACEOF
44416 #define wxUSE_LIBHILDON 1
44417 _ACEOF
44418
44419 ac_hildon_lgpl=1
44420
44421 fi
44422
44423 if test "$ac_hildon_lgpl" = 0 ; then
44424
44425 pkg_failed=no
44426 { echo "$as_me:$LINENO: checking for HILDON2" >&5
44427 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
44428
44429 if test -n "$PKG_CONFIG"; then
44430 if test -n "$HILDON2_CFLAGS"; then
44431 pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
44432 else
44433 if test -n "$PKG_CONFIG" && \
44434 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44435 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44436 ac_status=$?
44437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44438 (exit $ac_status); }; then
44439 pkg_cv_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
44440 else
44441 pkg_failed=yes
44442 fi
44443 fi
44444 else
44445 pkg_failed=untried
44446 fi
44447 if test -n "$PKG_CONFIG"; then
44448 if test -n "$HILDON2_LIBS"; then
44449 pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
44450 else
44451 if test -n "$PKG_CONFIG" && \
44452 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44453 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44454 ac_status=$?
44455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44456 (exit $ac_status); }; then
44457 pkg_cv_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
44458 else
44459 pkg_failed=yes
44460 fi
44461 fi
44462 else
44463 pkg_failed=untried
44464 fi
44465
44466
44467
44468 if test $pkg_failed = yes; then
44469
44470 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44471 _pkg_short_errors_supported=yes
44472 else
44473 _pkg_short_errors_supported=no
44474 fi
44475 if test $_pkg_short_errors_supported = yes; then
44476 HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44477 else
44478 HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44479 fi
44480 # Put the nasty error message in config.log where it belongs
44481 echo "$HILDON2_PKG_ERRORS" >&5
44482
44483
44484 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44485 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44486 wxUSE_LIBHILDON2="no"
44487
44488
44489 elif test $pkg_failed = untried; then
44490
44491 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44492 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44493 wxUSE_LIBHILDON2="no"
44494
44495
44496 else
44497 HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
44498 HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
44499 { echo "$as_me:$LINENO: result: yes" >&5
44500 echo "${ECHO_T}yes" >&6; }
44501
44502 EXTRALIBS_HILDON="$HILDON2_LIBS"
44503 CFLAGS="$CFLAGS $HILDON2_CFLAGS"
44504 CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
44505 cat >>confdefs.h <<\_ACEOF
44506 #define wxUSE_LIBHILDON2 1
44507 _ACEOF
44508
44509
44510 fi
44511 fi
44512 fi
44513 fi
44514
44515 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
44516 cat >>confdefs.h <<\_ACEOF
44517 #define wxUSE_CMDLINE_PARSER 1
44518 _ACEOF
44519
44520 fi
44521
44522 if test "$wxUSE_STOPWATCH" = "yes"; then
44523 cat >>confdefs.h <<\_ACEOF
44524 #define wxUSE_STOPWATCH 1
44525 _ACEOF
44526
44527 fi
44528
44529 if test "$wxUSE_DATETIME" = "yes"; then
44530 cat >>confdefs.h <<\_ACEOF
44531 #define wxUSE_DATETIME 1
44532 _ACEOF
44533
44534 fi
44535
44536 if test "$wxUSE_FILE" = "yes"; then
44537 cat >>confdefs.h <<\_ACEOF
44538 #define wxUSE_FILE 1
44539 _ACEOF
44540
44541 fi
44542
44543 if test "$wxUSE_FFILE" = "yes"; then
44544 cat >>confdefs.h <<\_ACEOF
44545 #define wxUSE_FFILE 1
44546 _ACEOF
44547
44548 fi
44549
44550 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
44551 if test "$wxUSE_STREAMS" != yes; then
44552 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
44553 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
44554 wxUSE_ARCHIVE_STREAMS=no
44555 else
44556 cat >>confdefs.h <<\_ACEOF
44557 #define wxUSE_ARCHIVE_STREAMS 1
44558 _ACEOF
44559
44560 fi
44561 fi
44562
44563 if test "$wxUSE_ZIPSTREAM" = "yes"; then
44564 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44565 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
44566 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
44567 elif test "$wxUSE_ZLIB" = "no"; then
44568 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
44569 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
44570 else
44571 cat >>confdefs.h <<\_ACEOF
44572 #define wxUSE_ZIPSTREAM 1
44573 _ACEOF
44574
44575 fi
44576 fi
44577
44578 if test "$wxUSE_TARSTREAM" = "yes"; then
44579 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44580 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
44581 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
44582 else
44583 cat >>confdefs.h <<\_ACEOF
44584 #define wxUSE_TARSTREAM 1
44585 _ACEOF
44586
44587 fi
44588 fi
44589
44590 if test "$wxUSE_FILE_HISTORY" = "yes"; then
44591 cat >>confdefs.h <<\_ACEOF
44592 #define wxUSE_FILE_HISTORY 1
44593 _ACEOF
44594
44595 fi
44596
44597 if test "$wxUSE_FILESYSTEM" = "yes"; then
44598 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
44599 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
44600 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
44601 wxUSE_FILESYSTEM=no
44602 else
44603 cat >>confdefs.h <<\_ACEOF
44604 #define wxUSE_FILESYSTEM 1
44605 _ACEOF
44606
44607 fi
44608 fi
44609
44610 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
44611 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
44612 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
44613 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
44614 else
44615 cat >>confdefs.h <<\_ACEOF
44616 #define wxUSE_FS_ARCHIVE 1
44617 _ACEOF
44618
44619 fi
44620 fi
44621
44622 if test "$wxUSE_FS_ZIP" = "yes"; then
44623 if test "$wxUSE_FS_ARCHIVE" != yes; then
44624 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
44625 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
44626 else
44627 cat >>confdefs.h <<\_ACEOF
44628 #define wxUSE_FS_ZIP 1
44629 _ACEOF
44630
44631 fi
44632 fi
44633
44634 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44635 if test "$USE_UNIX" != 1; then
44636 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
44637 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
44638 wxUSE_ON_FATAL_EXCEPTION=no
44639 else
44640 cat >>confdefs.h <<\_ACEOF
44641 #define wxUSE_ON_FATAL_EXCEPTION 1
44642 _ACEOF
44643
44644 fi
44645 fi
44646
44647 if test "$wxUSE_STACKWALKER" = "yes"; then
44648 cat >>confdefs.h <<\_ACEOF
44649 #define wxUSE_STACKWALKER 1
44650 _ACEOF
44651
44652 fi
44653
44654 if test "$wxUSE_DEBUGREPORT" = "yes"; then
44655 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
44656 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
44657 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
44658 wxUSE_DEBUGREPORT=no
44659 else
44660 cat >>confdefs.h <<\_ACEOF
44661 #define wxUSE_DEBUGREPORT 1
44662 _ACEOF
44663
44664 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44665 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
44666 fi
44667 fi
44668 fi
44669
44670 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
44671 cat >>confdefs.h <<\_ACEOF
44672 #define wxUSE_SNGLINST_CHECKER 1
44673 _ACEOF
44674
44675 fi
44676
44677 if test "$wxUSE_BUSYINFO" = "yes"; then
44678 cat >>confdefs.h <<\_ACEOF
44679 #define wxUSE_BUSYINFO 1
44680 _ACEOF
44681
44682 fi
44683
44684 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
44685 cat >>confdefs.h <<\_ACEOF
44686 #define wxUSE_STD_IOSTREAM 1
44687 _ACEOF
44688
44689 fi
44690
44691 if test "$wxUSE_STD_STRING" = "yes"; then
44692 cat >>confdefs.h <<\_ACEOF
44693 #define wxUSE_STD_STRING 1
44694 _ACEOF
44695
44696 fi
44697
44698 if test "$wxUSE_STDPATHS" = "yes"; then
44699 cat >>confdefs.h <<\_ACEOF
44700 #define wxUSE_STDPATHS 1
44701 _ACEOF
44702
44703 fi
44704
44705 if test "$wxUSE_TEXTBUFFER" = "yes"; then
44706 cat >>confdefs.h <<\_ACEOF
44707 #define wxUSE_TEXTBUFFER 1
44708 _ACEOF
44709
44710 fi
44711
44712 if test "$wxUSE_TEXTFILE" = "yes"; then
44713 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
44714 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
44715 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
44716 else
44717 cat >>confdefs.h <<\_ACEOF
44718 #define wxUSE_TEXTFILE 1
44719 _ACEOF
44720
44721 fi
44722 fi
44723
44724 if test "$wxUSE_CONFIG" = "yes" ; then
44725 if test "$wxUSE_TEXTFILE" != "yes"; then
44726 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
44727 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
44728 else
44729 cat >>confdefs.h <<\_ACEOF
44730 #define wxUSE_CONFIG 1
44731 _ACEOF
44732
44733 cat >>confdefs.h <<\_ACEOF
44734 #define wxUSE_CONFIG_NATIVE 1
44735 _ACEOF
44736
44737 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
44738 fi
44739 fi
44740
44741 if test "$wxUSE_INTL" = "yes" ; then
44742 if test "$wxUSE_FILE" != "yes"; then
44743 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
44744 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
44745 else
44746 cat >>confdefs.h <<\_ACEOF
44747 #define wxUSE_INTL 1
44748 _ACEOF
44749
44750 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
44751 GUIDIST="$GUIDIST INTL_DIST"
44752 fi
44753 fi
44754
44755 if test "$wxUSE_XLOCALE" = "yes" ; then
44756 cat >>confdefs.h <<\_ACEOF
44757 #define wxUSE_XLOCALE 1
44758 _ACEOF
44759
44760 { echo "$as_me:$LINENO: checking for locale_t" >&5
44761 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
44762 if test "${ac_cv_type_locale_t+set}" = set; then
44763 echo $ECHO_N "(cached) $ECHO_C" >&6
44764 else
44765 cat >conftest.$ac_ext <<_ACEOF
44766 /* confdefs.h. */
44767 _ACEOF
44768 cat confdefs.h >>conftest.$ac_ext
44769 cat >>conftest.$ac_ext <<_ACEOF
44770 /* end confdefs.h. */
44771 #include <xlocale.h>
44772 #include <locale.h>
44773
44774 typedef locale_t ac__type_new_;
44775 int
44776 main ()
44777 {
44778 if ((ac__type_new_ *) 0)
44779 return 0;
44780 if (sizeof (ac__type_new_))
44781 return 0;
44782 ;
44783 return 0;
44784 }
44785 _ACEOF
44786 rm -f conftest.$ac_objext
44787 if { (ac_try="$ac_compile"
44788 case "(($ac_try" in
44789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44790 *) ac_try_echo=$ac_try;;
44791 esac
44792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44793 (eval "$ac_compile") 2>conftest.er1
44794 ac_status=$?
44795 grep -v '^ *+' conftest.er1 >conftest.err
44796 rm -f conftest.er1
44797 cat conftest.err >&5
44798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44799 (exit $ac_status); } && {
44800 test -z "$ac_c_werror_flag" ||
44801 test ! -s conftest.err
44802 } && test -s conftest.$ac_objext; then
44803 ac_cv_type_locale_t=yes
44804 else
44805 echo "$as_me: failed program was:" >&5
44806 sed 's/^/| /' conftest.$ac_ext >&5
44807
44808 ac_cv_type_locale_t=no
44809 fi
44810
44811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44812 fi
44813 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
44814 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
44815 if test $ac_cv_type_locale_t = yes; then
44816
44817 cat >>confdefs.h <<_ACEOF
44818 #define HAVE_LOCALE_T 1
44819 _ACEOF
44820
44821
44822 fi
44823
44824 fi
44825
44826 if test "$wxUSE_LOG" = "yes"; then
44827 cat >>confdefs.h <<\_ACEOF
44828 #define wxUSE_LOG 1
44829 _ACEOF
44830
44831
44832 if test "$wxUSE_LOGGUI" = "yes"; then
44833 cat >>confdefs.h <<\_ACEOF
44834 #define wxUSE_LOGGUI 1
44835 _ACEOF
44836
44837 fi
44838
44839 if test "$wxUSE_LOGWINDOW" = "yes"; then
44840 cat >>confdefs.h <<\_ACEOF
44841 #define wxUSE_LOGWINDOW 1
44842 _ACEOF
44843
44844 fi
44845
44846 if test "$wxUSE_LOGDIALOG" = "yes"; then
44847 cat >>confdefs.h <<\_ACEOF
44848 #define wxUSE_LOG_DIALOG 1
44849 _ACEOF
44850
44851 fi
44852
44853 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
44854 fi
44855
44856 if test "$wxUSE_LONGLONG" = "yes"; then
44857 cat >>confdefs.h <<\_ACEOF
44858 #define wxUSE_LONGLONG 1
44859 _ACEOF
44860
44861 fi
44862
44863 if test "$wxUSE_GEOMETRY" = "yes"; then
44864 cat >>confdefs.h <<\_ACEOF
44865 #define wxUSE_GEOMETRY 1
44866 _ACEOF
44867
44868 fi
44869
44870 if test "$wxUSE_BASE64" = "yes"; then
44871 cat >>confdefs.h <<\_ACEOF
44872 #define wxUSE_BASE64 1
44873 _ACEOF
44874
44875 fi
44876
44877 if test "$wxUSE_STREAMS" = "yes" ; then
44878 cat >>confdefs.h <<\_ACEOF
44879 #define wxUSE_STREAMS 1
44880 _ACEOF
44881
44882 fi
44883
44884 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
44885 cat >>confdefs.h <<\_ACEOF
44886 #define wxUSE_PRINTF_POS_PARAMS 1
44887 _ACEOF
44888
44889 fi
44890
44891 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
44892 cat >>confdefs.h <<\_ACEOF
44893 #define wxUSE_OBJC_UNIQUIFYING 1
44894 _ACEOF
44895
44896 fi
44897
44898
44899 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
44900 cat >>confdefs.h <<\_ACEOF
44901 #define wxUSE_CONSOLE_EVENTLOOP 1
44902 _ACEOF
44903
44904
44905 if test "$wxUSE_UNIX" = "yes"; then
44906 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
44907 cat >>confdefs.h <<\_ACEOF
44908 #define wxUSE_SELECT_DISPATCHER 1
44909 _ACEOF
44910
44911 fi
44912
44913 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
44914
44915 for ac_header in sys/epoll.h
44916 do
44917 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44918 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44919 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44920 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44921 echo $ECHO_N "(cached) $ECHO_C" >&6
44922 else
44923 cat >conftest.$ac_ext <<_ACEOF
44924 /* confdefs.h. */
44925 _ACEOF
44926 cat confdefs.h >>conftest.$ac_ext
44927 cat >>conftest.$ac_ext <<_ACEOF
44928 /* end confdefs.h. */
44929 $ac_includes_default
44930
44931 #include <$ac_header>
44932 _ACEOF
44933 rm -f conftest.$ac_objext
44934 if { (ac_try="$ac_compile"
44935 case "(($ac_try" in
44936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44937 *) ac_try_echo=$ac_try;;
44938 esac
44939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44940 (eval "$ac_compile") 2>conftest.er1
44941 ac_status=$?
44942 grep -v '^ *+' conftest.er1 >conftest.err
44943 rm -f conftest.er1
44944 cat conftest.err >&5
44945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44946 (exit $ac_status); } && {
44947 test -z "$ac_c_werror_flag" ||
44948 test ! -s conftest.err
44949 } && test -s conftest.$ac_objext; then
44950 eval "$as_ac_Header=yes"
44951 else
44952 echo "$as_me: failed program was:" >&5
44953 sed 's/^/| /' conftest.$ac_ext >&5
44954
44955 eval "$as_ac_Header=no"
44956 fi
44957
44958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44959 fi
44960 ac_res=`eval echo '${'$as_ac_Header'}'`
44961 { echo "$as_me:$LINENO: result: $ac_res" >&5
44962 echo "${ECHO_T}$ac_res" >&6; }
44963 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44964 cat >>confdefs.h <<_ACEOF
44965 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44966 _ACEOF
44967
44968 fi
44969
44970 done
44971
44972 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
44973 cat >>confdefs.h <<\_ACEOF
44974 #define wxUSE_EPOLL_DISPATCHER 1
44975 _ACEOF
44976
44977 else
44978 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
44979 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
44980 fi
44981 fi
44982 fi
44983 fi
44984
44985
44986
44987
44988 for ac_func in gettimeofday ftime
44989 do
44990 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44991 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44992 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44993 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44994 echo $ECHO_N "(cached) $ECHO_C" >&6
44995 else
44996 cat >conftest.$ac_ext <<_ACEOF
44997 /* confdefs.h. */
44998 _ACEOF
44999 cat confdefs.h >>conftest.$ac_ext
45000 cat >>conftest.$ac_ext <<_ACEOF
45001 /* end confdefs.h. */
45002 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45003 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45004 #define $ac_func innocuous_$ac_func
45005
45006 /* System header to define __stub macros and hopefully few prototypes,
45007 which can conflict with char $ac_func (); below.
45008 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45009 <limits.h> exists even on freestanding compilers. */
45010
45011 #ifdef __STDC__
45012 # include <limits.h>
45013 #else
45014 # include <assert.h>
45015 #endif
45016
45017 #undef $ac_func
45018
45019 /* Override any GCC internal prototype to avoid an error.
45020 Use char because int might match the return type of a GCC
45021 builtin and then its argument prototype would still apply. */
45022 #ifdef __cplusplus
45023 extern "C"
45024 #endif
45025 char $ac_func ();
45026 /* The GNU C library defines this for functions which it implements
45027 to always fail with ENOSYS. Some functions are actually named
45028 something starting with __ and the normal name is an alias. */
45029 #if defined __stub_$ac_func || defined __stub___$ac_func
45030 choke me
45031 #endif
45032
45033 int
45034 main ()
45035 {
45036 return $ac_func ();
45037 ;
45038 return 0;
45039 }
45040 _ACEOF
45041 rm -f conftest.$ac_objext conftest$ac_exeext
45042 if { (ac_try="$ac_link"
45043 case "(($ac_try" in
45044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45045 *) ac_try_echo=$ac_try;;
45046 esac
45047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45048 (eval "$ac_link") 2>conftest.er1
45049 ac_status=$?
45050 grep -v '^ *+' conftest.er1 >conftest.err
45051 rm -f conftest.er1
45052 cat conftest.err >&5
45053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45054 (exit $ac_status); } && {
45055 test -z "$ac_c_werror_flag" ||
45056 test ! -s conftest.err
45057 } && test -s conftest$ac_exeext &&
45058 $as_test_x conftest$ac_exeext; then
45059 eval "$as_ac_var=yes"
45060 else
45061 echo "$as_me: failed program was:" >&5
45062 sed 's/^/| /' conftest.$ac_ext >&5
45063
45064 eval "$as_ac_var=no"
45065 fi
45066
45067 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45068 conftest$ac_exeext conftest.$ac_ext
45069 fi
45070 ac_res=`eval echo '${'$as_ac_var'}'`
45071 { echo "$as_me:$LINENO: result: $ac_res" >&5
45072 echo "${ECHO_T}$ac_res" >&6; }
45073 if test `eval echo '${'$as_ac_var'}'` = yes; then
45074 cat >>confdefs.h <<_ACEOF
45075 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45076 _ACEOF
45077 break
45078 fi
45079 done
45080
45081
45082 if test "$ac_cv_func_gettimeofday" = "yes"; then
45083 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45084 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
45085 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45086 echo $ECHO_N "(cached) $ECHO_C" >&6
45087 else
45088
45089 cat >conftest.$ac_ext <<_ACEOF
45090 /* confdefs.h. */
45091 _ACEOF
45092 cat confdefs.h >>conftest.$ac_ext
45093 cat >>conftest.$ac_ext <<_ACEOF
45094 /* end confdefs.h. */
45095
45096 #include <sys/time.h>
45097 #include <unistd.h>
45098
45099 int
45100 main ()
45101 {
45102
45103 struct timeval tv;
45104 gettimeofday(&tv, NULL);
45105
45106 ;
45107 return 0;
45108 }
45109 _ACEOF
45110 rm -f conftest.$ac_objext
45111 if { (ac_try="$ac_compile"
45112 case "(($ac_try" in
45113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45114 *) ac_try_echo=$ac_try;;
45115 esac
45116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45117 (eval "$ac_compile") 2>conftest.er1
45118 ac_status=$?
45119 grep -v '^ *+' conftest.er1 >conftest.err
45120 rm -f conftest.er1
45121 cat conftest.err >&5
45122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45123 (exit $ac_status); } && {
45124 test -z "$ac_c_werror_flag" ||
45125 test ! -s conftest.err
45126 } && test -s conftest.$ac_objext; then
45127 wx_cv_func_gettimeofday_has_2_args=yes
45128 else
45129 echo "$as_me: failed program was:" >&5
45130 sed 's/^/| /' conftest.$ac_ext >&5
45131
45132 cat >conftest.$ac_ext <<_ACEOF
45133 /* confdefs.h. */
45134 _ACEOF
45135 cat confdefs.h >>conftest.$ac_ext
45136 cat >>conftest.$ac_ext <<_ACEOF
45137 /* end confdefs.h. */
45138
45139 #include <sys/time.h>
45140 #include <unistd.h>
45141
45142 int
45143 main ()
45144 {
45145
45146 struct timeval tv;
45147 gettimeofday(&tv);
45148
45149 ;
45150 return 0;
45151 }
45152 _ACEOF
45153 rm -f conftest.$ac_objext
45154 if { (ac_try="$ac_compile"
45155 case "(($ac_try" in
45156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45157 *) ac_try_echo=$ac_try;;
45158 esac
45159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45160 (eval "$ac_compile") 2>conftest.er1
45161 ac_status=$?
45162 grep -v '^ *+' conftest.er1 >conftest.err
45163 rm -f conftest.er1
45164 cat conftest.err >&5
45165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45166 (exit $ac_status); } && {
45167 test -z "$ac_c_werror_flag" ||
45168 test ! -s conftest.err
45169 } && test -s conftest.$ac_objext; then
45170 wx_cv_func_gettimeofday_has_2_args=no
45171 else
45172 echo "$as_me: failed program was:" >&5
45173 sed 's/^/| /' conftest.$ac_ext >&5
45174
45175
45176 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45177 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45178 wx_cv_func_gettimeofday_has_2_args=unknown
45179
45180
45181 fi
45182
45183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45184
45185 fi
45186
45187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45188
45189 fi
45190 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45191 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
45192
45193 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45194 cat >>confdefs.h <<\_ACEOF
45195 #define WX_GETTIMEOFDAY_NO_TZ 1
45196 _ACEOF
45197
45198 fi
45199 fi
45200
45201 if test "$wxUSE_DATETIME" = "yes"; then
45202 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
45203 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
45204 if test "${wx_cv_var_timezone+set}" = set; then
45205 echo $ECHO_N "(cached) $ECHO_C" >&6
45206 else
45207
45208 ac_ext=cpp
45209 ac_cpp='$CXXCPP $CPPFLAGS'
45210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45213
45214 cat >conftest.$ac_ext <<_ACEOF
45215 /* confdefs.h. */
45216 _ACEOF
45217 cat confdefs.h >>conftest.$ac_ext
45218 cat >>conftest.$ac_ext <<_ACEOF
45219 /* end confdefs.h. */
45220
45221 #include <time.h>
45222
45223 int
45224 main ()
45225 {
45226
45227 int tz;
45228 tz = timezone;
45229
45230 ;
45231 return 0;
45232 }
45233 _ACEOF
45234 rm -f conftest.$ac_objext
45235 if { (ac_try="$ac_compile"
45236 case "(($ac_try" in
45237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45238 *) ac_try_echo=$ac_try;;
45239 esac
45240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45241 (eval "$ac_compile") 2>conftest.er1
45242 ac_status=$?
45243 grep -v '^ *+' conftest.er1 >conftest.err
45244 rm -f conftest.er1
45245 cat conftest.err >&5
45246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45247 (exit $ac_status); } && {
45248 test -z "$ac_cxx_werror_flag" ||
45249 test ! -s conftest.err
45250 } && test -s conftest.$ac_objext; then
45251
45252 wx_cv_var_timezone=timezone
45253
45254 else
45255 echo "$as_me: failed program was:" >&5
45256 sed 's/^/| /' conftest.$ac_ext >&5
45257
45258
45259 cat >conftest.$ac_ext <<_ACEOF
45260 /* confdefs.h. */
45261 _ACEOF
45262 cat confdefs.h >>conftest.$ac_ext
45263 cat >>conftest.$ac_ext <<_ACEOF
45264 /* end confdefs.h. */
45265
45266 #include <time.h>
45267
45268 int
45269 main ()
45270 {
45271
45272 int tz;
45273 tz = _timezone;
45274
45275 ;
45276 return 0;
45277 }
45278 _ACEOF
45279 rm -f conftest.$ac_objext
45280 if { (ac_try="$ac_compile"
45281 case "(($ac_try" in
45282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45283 *) ac_try_echo=$ac_try;;
45284 esac
45285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45286 (eval "$ac_compile") 2>conftest.er1
45287 ac_status=$?
45288 grep -v '^ *+' conftest.er1 >conftest.err
45289 rm -f conftest.er1
45290 cat conftest.err >&5
45291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45292 (exit $ac_status); } && {
45293 test -z "$ac_cxx_werror_flag" ||
45294 test ! -s conftest.err
45295 } && test -s conftest.$ac_objext; then
45296
45297 wx_cv_var_timezone=_timezone
45298
45299 else
45300 echo "$as_me: failed program was:" >&5
45301 sed 's/^/| /' conftest.$ac_ext >&5
45302
45303
45304 cat >conftest.$ac_ext <<_ACEOF
45305 /* confdefs.h. */
45306 _ACEOF
45307 cat confdefs.h >>conftest.$ac_ext
45308 cat >>conftest.$ac_ext <<_ACEOF
45309 /* end confdefs.h. */
45310
45311 #include <time.h>
45312
45313 int
45314 main ()
45315 {
45316
45317 int tz;
45318 tz = __timezone;
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
45342 wx_cv_var_timezone=__timezone
45343
45344 else
45345 echo "$as_me: failed program was:" >&5
45346 sed 's/^/| /' conftest.$ac_ext >&5
45347
45348
45349 if test "$USE_DOS" = 0 ; then
45350 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
45351 echo "$as_me: WARNING: no timezone variable" >&2;}
45352 fi
45353
45354
45355 fi
45356
45357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45358
45359
45360 fi
45361
45362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45363
45364
45365 fi
45366
45367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45368 ac_ext=c
45369 ac_cpp='$CPP $CPPFLAGS'
45370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45373
45374
45375
45376 fi
45377 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
45378 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
45379
45380 if test "x$wx_cv_var_timezone" != x ; then
45381 cat >>confdefs.h <<_ACEOF
45382 #define WX_TIMEZONE $wx_cv_var_timezone
45383 _ACEOF
45384
45385 fi
45386
45387
45388 for ac_func in localtime
45389 do
45390 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45391 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45392 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45393 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45394 echo $ECHO_N "(cached) $ECHO_C" >&6
45395 else
45396 cat >conftest.$ac_ext <<_ACEOF
45397 /* confdefs.h. */
45398 _ACEOF
45399 cat confdefs.h >>conftest.$ac_ext
45400 cat >>conftest.$ac_ext <<_ACEOF
45401 /* end confdefs.h. */
45402 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45403 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45404 #define $ac_func innocuous_$ac_func
45405
45406 /* System header to define __stub macros and hopefully few prototypes,
45407 which can conflict with char $ac_func (); below.
45408 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45409 <limits.h> exists even on freestanding compilers. */
45410
45411 #ifdef __STDC__
45412 # include <limits.h>
45413 #else
45414 # include <assert.h>
45415 #endif
45416
45417 #undef $ac_func
45418
45419 /* Override any GCC internal prototype to avoid an error.
45420 Use char because int might match the return type of a GCC
45421 builtin and then its argument prototype would still apply. */
45422 #ifdef __cplusplus
45423 extern "C"
45424 #endif
45425 char $ac_func ();
45426 /* The GNU C library defines this for functions which it implements
45427 to always fail with ENOSYS. Some functions are actually named
45428 something starting with __ and the normal name is an alias. */
45429 #if defined __stub_$ac_func || defined __stub___$ac_func
45430 choke me
45431 #endif
45432
45433 int
45434 main ()
45435 {
45436 return $ac_func ();
45437 ;
45438 return 0;
45439 }
45440 _ACEOF
45441 rm -f conftest.$ac_objext conftest$ac_exeext
45442 if { (ac_try="$ac_link"
45443 case "(($ac_try" in
45444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45445 *) ac_try_echo=$ac_try;;
45446 esac
45447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45448 (eval "$ac_link") 2>conftest.er1
45449 ac_status=$?
45450 grep -v '^ *+' conftest.er1 >conftest.err
45451 rm -f conftest.er1
45452 cat conftest.err >&5
45453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45454 (exit $ac_status); } && {
45455 test -z "$ac_c_werror_flag" ||
45456 test ! -s conftest.err
45457 } && test -s conftest$ac_exeext &&
45458 $as_test_x conftest$ac_exeext; then
45459 eval "$as_ac_var=yes"
45460 else
45461 echo "$as_me: failed program was:" >&5
45462 sed 's/^/| /' conftest.$ac_ext >&5
45463
45464 eval "$as_ac_var=no"
45465 fi
45466
45467 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45468 conftest$ac_exeext conftest.$ac_ext
45469 fi
45470 ac_res=`eval echo '${'$as_ac_var'}'`
45471 { echo "$as_me:$LINENO: result: $ac_res" >&5
45472 echo "${ECHO_T}$ac_res" >&6; }
45473 if test `eval echo '${'$as_ac_var'}'` = yes; then
45474 cat >>confdefs.h <<_ACEOF
45475 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45476 _ACEOF
45477
45478 fi
45479 done
45480
45481
45482 if test "$ac_cv_func_localtime" = "yes"; then
45483 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
45484 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
45485 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
45486 echo $ECHO_N "(cached) $ECHO_C" >&6
45487 else
45488
45489 cat >conftest.$ac_ext <<_ACEOF
45490 /* confdefs.h. */
45491 _ACEOF
45492 cat confdefs.h >>conftest.$ac_ext
45493 cat >>conftest.$ac_ext <<_ACEOF
45494 /* end confdefs.h. */
45495
45496 #include <time.h>
45497
45498 int
45499 main ()
45500 {
45501
45502 struct tm tm;
45503 tm.tm_gmtoff++;
45504
45505 ;
45506 return 0;
45507 }
45508 _ACEOF
45509 rm -f conftest.$ac_objext
45510 if { (ac_try="$ac_compile"
45511 case "(($ac_try" in
45512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45513 *) ac_try_echo=$ac_try;;
45514 esac
45515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45516 (eval "$ac_compile") 2>conftest.er1
45517 ac_status=$?
45518 grep -v '^ *+' conftest.er1 >conftest.err
45519 rm -f conftest.er1
45520 cat conftest.err >&5
45521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45522 (exit $ac_status); } && {
45523 test -z "$ac_c_werror_flag" ||
45524 test ! -s conftest.err
45525 } && test -s conftest.$ac_objext; then
45526
45527 wx_cv_struct_tm_has_gmtoff=yes
45528
45529 else
45530 echo "$as_me: failed program was:" >&5
45531 sed 's/^/| /' conftest.$ac_ext >&5
45532
45533 wx_cv_struct_tm_has_gmtoff=no
45534
45535 fi
45536
45537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45538
45539 fi
45540 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
45541 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
45542 fi
45543
45544 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
45545 cat >>confdefs.h <<\_ACEOF
45546 #define WX_GMTOFF_IN_TM 1
45547 _ACEOF
45548
45549 fi
45550
45551 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
45552 fi
45553
45554
45555 if test "$wxUSE_SOCKETS" = "yes"; then
45556 if test "$wxUSE_MGL" = 1; then
45557 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
45558 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
45559 wxUSE_SOCKETS="no"
45560 fi
45561 fi
45562
45563 if test "$wxUSE_SOCKETS" = "yes"; then
45564 if test "$TOOLKIT" != "MSW"; then
45565 { echo "$as_me:$LINENO: checking for socket" >&5
45566 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
45567 if test "${ac_cv_func_socket+set}" = set; then
45568 echo $ECHO_N "(cached) $ECHO_C" >&6
45569 else
45570 cat >conftest.$ac_ext <<_ACEOF
45571 /* confdefs.h. */
45572 _ACEOF
45573 cat confdefs.h >>conftest.$ac_ext
45574 cat >>conftest.$ac_ext <<_ACEOF
45575 /* end confdefs.h. */
45576 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
45577 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45578 #define socket innocuous_socket
45579
45580 /* System header to define __stub macros and hopefully few prototypes,
45581 which can conflict with char socket (); below.
45582 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45583 <limits.h> exists even on freestanding compilers. */
45584
45585 #ifdef __STDC__
45586 # include <limits.h>
45587 #else
45588 # include <assert.h>
45589 #endif
45590
45591 #undef socket
45592
45593 /* Override any GCC internal prototype to avoid an error.
45594 Use char because int might match the return type of a GCC
45595 builtin and then its argument prototype would still apply. */
45596 #ifdef __cplusplus
45597 extern "C"
45598 #endif
45599 char socket ();
45600 /* The GNU C library defines this for functions which it implements
45601 to always fail with ENOSYS. Some functions are actually named
45602 something starting with __ and the normal name is an alias. */
45603 #if defined __stub_socket || defined __stub___socket
45604 choke me
45605 #endif
45606
45607 int
45608 main ()
45609 {
45610 return socket ();
45611 ;
45612 return 0;
45613 }
45614 _ACEOF
45615 rm -f conftest.$ac_objext conftest$ac_exeext
45616 if { (ac_try="$ac_link"
45617 case "(($ac_try" in
45618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45619 *) ac_try_echo=$ac_try;;
45620 esac
45621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45622 (eval "$ac_link") 2>conftest.er1
45623 ac_status=$?
45624 grep -v '^ *+' conftest.er1 >conftest.err
45625 rm -f conftest.er1
45626 cat conftest.err >&5
45627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45628 (exit $ac_status); } && {
45629 test -z "$ac_c_werror_flag" ||
45630 test ! -s conftest.err
45631 } && test -s conftest$ac_exeext &&
45632 $as_test_x conftest$ac_exeext; then
45633 ac_cv_func_socket=yes
45634 else
45635 echo "$as_me: failed program was:" >&5
45636 sed 's/^/| /' conftest.$ac_ext >&5
45637
45638 ac_cv_func_socket=no
45639 fi
45640
45641 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45642 conftest$ac_exeext conftest.$ac_ext
45643 fi
45644 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
45645 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
45646 if test $ac_cv_func_socket = yes; then
45647 :
45648 else
45649
45650 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
45651 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
45652 if test "${ac_cv_lib_socket_socket+set}" = set; then
45653 echo $ECHO_N "(cached) $ECHO_C" >&6
45654 else
45655 ac_check_lib_save_LIBS=$LIBS
45656 LIBS="-lsocket $LIBS"
45657 cat >conftest.$ac_ext <<_ACEOF
45658 /* confdefs.h. */
45659 _ACEOF
45660 cat confdefs.h >>conftest.$ac_ext
45661 cat >>conftest.$ac_ext <<_ACEOF
45662 /* end confdefs.h. */
45663
45664 /* Override any GCC internal prototype to avoid an error.
45665 Use char because int might match the return type of a GCC
45666 builtin and then its argument prototype would still apply. */
45667 #ifdef __cplusplus
45668 extern "C"
45669 #endif
45670 char socket ();
45671 int
45672 main ()
45673 {
45674 return socket ();
45675 ;
45676 return 0;
45677 }
45678 _ACEOF
45679 rm -f conftest.$ac_objext conftest$ac_exeext
45680 if { (ac_try="$ac_link"
45681 case "(($ac_try" in
45682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45683 *) ac_try_echo=$ac_try;;
45684 esac
45685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45686 (eval "$ac_link") 2>conftest.er1
45687 ac_status=$?
45688 grep -v '^ *+' conftest.er1 >conftest.err
45689 rm -f conftest.er1
45690 cat conftest.err >&5
45691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45692 (exit $ac_status); } && {
45693 test -z "$ac_c_werror_flag" ||
45694 test ! -s conftest.err
45695 } && test -s conftest$ac_exeext &&
45696 $as_test_x conftest$ac_exeext; then
45697 ac_cv_lib_socket_socket=yes
45698 else
45699 echo "$as_me: failed program was:" >&5
45700 sed 's/^/| /' conftest.$ac_ext >&5
45701
45702 ac_cv_lib_socket_socket=no
45703 fi
45704
45705 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45706 conftest$ac_exeext conftest.$ac_ext
45707 LIBS=$ac_check_lib_save_LIBS
45708 fi
45709 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
45710 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
45711 if test $ac_cv_lib_socket_socket = yes; then
45712 if test "$INET_LINK" != " -lsocket"; then
45713 INET_LINK="$INET_LINK -lsocket"
45714 fi
45715 else
45716
45717 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
45718 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
45719 wxUSE_SOCKETS=no
45720
45721
45722 fi
45723
45724
45725
45726 fi
45727
45728 fi
45729 fi
45730
45731 if test "$wxUSE_SOCKETS" = "yes" ; then
45732 if test "$TOOLKIT" != "MSW"; then
45733 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
45734 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
45735 if test "${wx_cv_type_getsockname3+set}" = set; then
45736 echo $ECHO_N "(cached) $ECHO_C" >&6
45737 else
45738
45739 ac_ext=cpp
45740 ac_cpp='$CXXCPP $CPPFLAGS'
45741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45744
45745 cat >conftest.$ac_ext <<_ACEOF
45746 /* confdefs.h. */
45747 _ACEOF
45748 cat confdefs.h >>conftest.$ac_ext
45749 cat >>conftest.$ac_ext <<_ACEOF
45750 /* end confdefs.h. */
45751
45752 #include <sys/types.h>
45753 #include <sys/socket.h>
45754
45755 int
45756 main ()
45757 {
45758
45759 socklen_t len;
45760 getsockname(0, 0, &len);
45761
45762 ;
45763 return 0;
45764 }
45765 _ACEOF
45766 rm -f conftest.$ac_objext
45767 if { (ac_try="$ac_compile"
45768 case "(($ac_try" in
45769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45770 *) ac_try_echo=$ac_try;;
45771 esac
45772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45773 (eval "$ac_compile") 2>conftest.er1
45774 ac_status=$?
45775 grep -v '^ *+' conftest.er1 >conftest.err
45776 rm -f conftest.er1
45777 cat conftest.err >&5
45778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45779 (exit $ac_status); } && {
45780 test -z "$ac_cxx_werror_flag" ||
45781 test ! -s conftest.err
45782 } && test -s conftest.$ac_objext; then
45783 wx_cv_type_getsockname3=socklen_t
45784 else
45785 echo "$as_me: failed program was:" >&5
45786 sed 's/^/| /' conftest.$ac_ext >&5
45787
45788
45789 CFLAGS_OLD="$CFLAGS"
45790 if test "$GCC" = yes ; then
45791 CFLAGS="-Werror $CFLAGS"
45792 fi
45793
45794 cat >conftest.$ac_ext <<_ACEOF
45795 /* confdefs.h. */
45796 _ACEOF
45797 cat confdefs.h >>conftest.$ac_ext
45798 cat >>conftest.$ac_ext <<_ACEOF
45799 /* end confdefs.h. */
45800
45801 #include <sys/types.h>
45802 #include <sys/socket.h>
45803
45804 int
45805 main ()
45806 {
45807
45808 size_t len;
45809 getsockname(0, 0, &len);
45810
45811 ;
45812 return 0;
45813 }
45814 _ACEOF
45815 rm -f conftest.$ac_objext
45816 if { (ac_try="$ac_compile"
45817 case "(($ac_try" in
45818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45819 *) ac_try_echo=$ac_try;;
45820 esac
45821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45822 (eval "$ac_compile") 2>conftest.er1
45823 ac_status=$?
45824 grep -v '^ *+' conftest.er1 >conftest.err
45825 rm -f conftest.er1
45826 cat conftest.err >&5
45827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45828 (exit $ac_status); } && {
45829 test -z "$ac_cxx_werror_flag" ||
45830 test ! -s conftest.err
45831 } && test -s conftest.$ac_objext; then
45832 wx_cv_type_getsockname3=size_t
45833 else
45834 echo "$as_me: failed program was:" >&5
45835 sed 's/^/| /' conftest.$ac_ext >&5
45836
45837 cat >conftest.$ac_ext <<_ACEOF
45838 /* confdefs.h. */
45839 _ACEOF
45840 cat confdefs.h >>conftest.$ac_ext
45841 cat >>conftest.$ac_ext <<_ACEOF
45842 /* end confdefs.h. */
45843
45844 #include <sys/types.h>
45845 #include <sys/socket.h>
45846
45847 int
45848 main ()
45849 {
45850
45851 int len;
45852 getsockname(0, 0, &len);
45853
45854 ;
45855 return 0;
45856 }
45857 _ACEOF
45858 rm -f conftest.$ac_objext
45859 if { (ac_try="$ac_compile"
45860 case "(($ac_try" in
45861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45862 *) ac_try_echo=$ac_try;;
45863 esac
45864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45865 (eval "$ac_compile") 2>conftest.er1
45866 ac_status=$?
45867 grep -v '^ *+' conftest.er1 >conftest.err
45868 rm -f conftest.er1
45869 cat conftest.err >&5
45870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45871 (exit $ac_status); } && {
45872 test -z "$ac_cxx_werror_flag" ||
45873 test ! -s conftest.err
45874 } && test -s conftest.$ac_objext; then
45875 wx_cv_type_getsockname3=int
45876 else
45877 echo "$as_me: failed program was:" >&5
45878 sed 's/^/| /' conftest.$ac_ext >&5
45879
45880 wx_cv_type_getsockname3=unknown
45881
45882 fi
45883
45884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45885
45886 fi
45887
45888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45889
45890 CFLAGS="$CFLAGS_OLD"
45891
45892
45893 fi
45894
45895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45896 ac_ext=c
45897 ac_cpp='$CPP $CPPFLAGS'
45898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45901
45902
45903 fi
45904 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
45905 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
45906
45907 if test "$wx_cv_type_getsockname3" = "unknown"; then
45908 wxUSE_SOCKETS=no
45909 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45910 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45911 else
45912 cat >>confdefs.h <<_ACEOF
45913 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
45914 _ACEOF
45915
45916 fi
45917 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
45918 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
45919 if test "${wx_cv_type_getsockopt5+set}" = set; then
45920 echo $ECHO_N "(cached) $ECHO_C" >&6
45921 else
45922
45923 ac_ext=cpp
45924 ac_cpp='$CXXCPP $CPPFLAGS'
45925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45928
45929 cat >conftest.$ac_ext <<_ACEOF
45930 /* confdefs.h. */
45931 _ACEOF
45932 cat confdefs.h >>conftest.$ac_ext
45933 cat >>conftest.$ac_ext <<_ACEOF
45934 /* end confdefs.h. */
45935
45936 #include <sys/types.h>
45937 #include <sys/socket.h>
45938
45939 int
45940 main ()
45941 {
45942
45943 socklen_t len;
45944 getsockopt(0, 0, 0, 0, &len);
45945
45946 ;
45947 return 0;
45948 }
45949 _ACEOF
45950 rm -f conftest.$ac_objext
45951 if { (ac_try="$ac_compile"
45952 case "(($ac_try" in
45953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45954 *) ac_try_echo=$ac_try;;
45955 esac
45956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45957 (eval "$ac_compile") 2>conftest.er1
45958 ac_status=$?
45959 grep -v '^ *+' conftest.er1 >conftest.err
45960 rm -f conftest.er1
45961 cat conftest.err >&5
45962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45963 (exit $ac_status); } && {
45964 test -z "$ac_cxx_werror_flag" ||
45965 test ! -s conftest.err
45966 } && test -s conftest.$ac_objext; then
45967 wx_cv_type_getsockopt5=socklen_t
45968 else
45969 echo "$as_me: failed program was:" >&5
45970 sed 's/^/| /' conftest.$ac_ext >&5
45971
45972
45973 cat >conftest.$ac_ext <<_ACEOF
45974 /* confdefs.h. */
45975 _ACEOF
45976 cat confdefs.h >>conftest.$ac_ext
45977 cat >>conftest.$ac_ext <<_ACEOF
45978 /* end confdefs.h. */
45979
45980 #include <sys/types.h>
45981 #include <sys/socket.h>
45982
45983 int
45984 main ()
45985 {
45986
45987 size_t len;
45988 getsockopt(0, 0, 0, 0, &len);
45989
45990 ;
45991 return 0;
45992 }
45993 _ACEOF
45994 rm -f conftest.$ac_objext
45995 if { (ac_try="$ac_compile"
45996 case "(($ac_try" in
45997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45998 *) ac_try_echo=$ac_try;;
45999 esac
46000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46001 (eval "$ac_compile") 2>conftest.er1
46002 ac_status=$?
46003 grep -v '^ *+' conftest.er1 >conftest.err
46004 rm -f conftest.er1
46005 cat conftest.err >&5
46006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46007 (exit $ac_status); } && {
46008 test -z "$ac_cxx_werror_flag" ||
46009 test ! -s conftest.err
46010 } && test -s conftest.$ac_objext; then
46011 wx_cv_type_getsockopt5=size_t
46012 else
46013 echo "$as_me: failed program was:" >&5
46014 sed 's/^/| /' conftest.$ac_ext >&5
46015
46016 cat >conftest.$ac_ext <<_ACEOF
46017 /* confdefs.h. */
46018 _ACEOF
46019 cat confdefs.h >>conftest.$ac_ext
46020 cat >>conftest.$ac_ext <<_ACEOF
46021 /* end confdefs.h. */
46022
46023 #include <sys/types.h>
46024 #include <sys/socket.h>
46025
46026 int
46027 main ()
46028 {
46029
46030 int len;
46031 getsockopt(0, 0, 0, 0, &len);
46032
46033 ;
46034 return 0;
46035 }
46036 _ACEOF
46037 rm -f conftest.$ac_objext
46038 if { (ac_try="$ac_compile"
46039 case "(($ac_try" in
46040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46041 *) ac_try_echo=$ac_try;;
46042 esac
46043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46044 (eval "$ac_compile") 2>conftest.er1
46045 ac_status=$?
46046 grep -v '^ *+' conftest.er1 >conftest.err
46047 rm -f conftest.er1
46048 cat conftest.err >&5
46049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46050 (exit $ac_status); } && {
46051 test -z "$ac_cxx_werror_flag" ||
46052 test ! -s conftest.err
46053 } && test -s conftest.$ac_objext; then
46054 wx_cv_type_getsockopt5=int
46055 else
46056 echo "$as_me: failed program was:" >&5
46057 sed 's/^/| /' conftest.$ac_ext >&5
46058
46059 wx_cv_type_getsockopt5=unknown
46060
46061 fi
46062
46063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46064
46065 fi
46066
46067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46068
46069
46070 fi
46071
46072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46073 ac_ext=c
46074 ac_cpp='$CPP $CPPFLAGS'
46075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46078
46079
46080 fi
46081 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
46082 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
46083
46084 if test "$wx_cv_type_getsockopt5" = "unknown"; then
46085 wxUSE_SOCKETS=no
46086 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46087 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46088 else
46089 cat >>confdefs.h <<_ACEOF
46090 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
46091 _ACEOF
46092
46093 fi
46094 fi
46095 fi
46096
46097 if test "$wxUSE_SOCKETS" = "yes" ; then
46098 if test "$wxUSE_IPV6" = "yes"; then
46099 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
46100 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
46101 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
46102 echo $ECHO_N "(cached) $ECHO_C" >&6
46103 else
46104
46105 cat >conftest.$ac_ext <<_ACEOF
46106 /* confdefs.h. */
46107 _ACEOF
46108 cat confdefs.h >>conftest.$ac_ext
46109 cat >>conftest.$ac_ext <<_ACEOF
46110 /* end confdefs.h. */
46111
46112 #include <sys/types.h>
46113 #include <sys/socket.h>
46114 #include <netinet/in.h>
46115
46116 int
46117 main ()
46118 {
46119
46120 struct sockaddr_in6 sa6;
46121
46122 ;
46123 return 0;
46124 }
46125 _ACEOF
46126 rm -f conftest.$ac_objext
46127 if { (ac_try="$ac_compile"
46128 case "(($ac_try" in
46129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46130 *) ac_try_echo=$ac_try;;
46131 esac
46132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46133 (eval "$ac_compile") 2>conftest.er1
46134 ac_status=$?
46135 grep -v '^ *+' conftest.er1 >conftest.err
46136 rm -f conftest.er1
46137 cat conftest.err >&5
46138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46139 (exit $ac_status); } && {
46140 test -z "$ac_c_werror_flag" ||
46141 test ! -s conftest.err
46142 } && test -s conftest.$ac_objext; then
46143 wx_cv_type_sockaddr_in6=yes
46144 else
46145 echo "$as_me: failed program was:" >&5
46146 sed 's/^/| /' conftest.$ac_ext >&5
46147
46148 wx_cv_type_sockaddr_in6=no
46149
46150 fi
46151
46152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46153
46154
46155 fi
46156 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
46157 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
46158
46159 if test "$wx_cv_type_sockaddr_in6"="yes"; then
46160 cat >>confdefs.h <<\_ACEOF
46161 #define wxUSE_IPV6 1
46162 _ACEOF
46163
46164 else
46165 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
46166 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
46167 fi
46168 fi
46169
46170 cat >>confdefs.h <<\_ACEOF
46171 #define wxUSE_SOCKETS 1
46172 _ACEOF
46173
46174 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46175 fi
46176
46177 if test "$wxUSE_PROTOCOL" = "yes"; then
46178 if test "$wxUSE_SOCKETS" != "yes"; then
46179 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
46180 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
46181 wxUSE_PROTOCOL=no
46182 fi
46183 fi
46184
46185 if test "$wxUSE_PROTOCOL" = "yes"; then
46186 cat >>confdefs.h <<\_ACEOF
46187 #define wxUSE_PROTOCOL 1
46188 _ACEOF
46189
46190
46191 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
46192 cat >>confdefs.h <<\_ACEOF
46193 #define wxUSE_PROTOCOL_HTTP 1
46194 _ACEOF
46195
46196 fi
46197 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
46198 cat >>confdefs.h <<\_ACEOF
46199 #define wxUSE_PROTOCOL_FTP 1
46200 _ACEOF
46201
46202 fi
46203 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
46204 cat >>confdefs.h <<\_ACEOF
46205 #define wxUSE_PROTOCOL_FILE 1
46206 _ACEOF
46207
46208 fi
46209 else
46210 if test "$wxUSE_FS_INET" = "yes"; then
46211 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
46212 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
46213 wxUSE_FS_INET="no"
46214 fi
46215 fi
46216
46217 if test "$wxUSE_URL" = "yes"; then
46218 if test "$wxUSE_PROTOCOL" != "yes"; then
46219 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
46220 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
46221 wxUSE_URL=no
46222 fi
46223 if test "$wxUSE_URL" = "yes"; then
46224 cat >>confdefs.h <<\_ACEOF
46225 #define wxUSE_URL 1
46226 _ACEOF
46227
46228 fi
46229 fi
46230
46231 if test "$wxUSE_VARIANT" = "yes"; then
46232 cat >>confdefs.h <<\_ACEOF
46233 #define wxUSE_VARIANT 1
46234 _ACEOF
46235
46236 fi
46237
46238 if test "$wxUSE_FS_INET" = "yes"; then
46239 cat >>confdefs.h <<\_ACEOF
46240 #define wxUSE_FS_INET 1
46241 _ACEOF
46242
46243 fi
46244
46245
46246 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
46247 wxUSE_JOYSTICK=no
46248
46249 if test "$TOOLKIT" = "MSW"; then
46250 wxUSE_JOYSTICK=yes
46251
46252 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
46253 if test "$USE_DARWIN" = 1; then
46254 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
46255 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
46256 ac_ext=cpp
46257 ac_cpp='$CXXCPP $CPPFLAGS'
46258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46261
46262 cat >conftest.$ac_ext <<_ACEOF
46263 /* confdefs.h. */
46264 _ACEOF
46265 cat confdefs.h >>conftest.$ac_ext
46266 cat >>conftest.$ac_ext <<_ACEOF
46267 /* end confdefs.h. */
46268 #include <IOKit/hid/IOHIDLib.h>
46269 int
46270 main ()
46271 {
46272 IOHIDQueueInterface *qi = NULL;
46273 IOHIDCallbackFunction cb = NULL;
46274 qi->setEventCallout(NULL, cb, NULL, NULL);
46275 ;
46276 return 0;
46277 }
46278 _ACEOF
46279 rm -f conftest.$ac_objext
46280 if { (ac_try="$ac_compile"
46281 case "(($ac_try" in
46282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46283 *) ac_try_echo=$ac_try;;
46284 esac
46285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46286 (eval "$ac_compile") 2>conftest.er1
46287 ac_status=$?
46288 grep -v '^ *+' conftest.er1 >conftest.err
46289 rm -f conftest.er1
46290 cat conftest.err >&5
46291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46292 (exit $ac_status); } && {
46293 test -z "$ac_cxx_werror_flag" ||
46294 test ! -s conftest.err
46295 } && test -s conftest.$ac_objext; then
46296 wxUSE_JOYSTICK=yes
46297
46298 else
46299 echo "$as_me: failed program was:" >&5
46300 sed 's/^/| /' conftest.$ac_ext >&5
46301
46302
46303 fi
46304
46305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46306 ac_ext=c
46307 ac_cpp='$CPP $CPPFLAGS'
46308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46311
46312 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
46313 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
46314 fi
46315
46316 else
46317 if test "$wxUSE_MGL" != 1; then
46318
46319 for ac_header in linux/joystick.h
46320 do
46321 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46322 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46323 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46324 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46325 echo $ECHO_N "(cached) $ECHO_C" >&6
46326 else
46327 cat >conftest.$ac_ext <<_ACEOF
46328 /* confdefs.h. */
46329 _ACEOF
46330 cat confdefs.h >>conftest.$ac_ext
46331 cat >>conftest.$ac_ext <<_ACEOF
46332 /* end confdefs.h. */
46333 $ac_includes_default
46334
46335 #include <$ac_header>
46336 _ACEOF
46337 rm -f conftest.$ac_objext
46338 if { (ac_try="$ac_compile"
46339 case "(($ac_try" in
46340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46341 *) ac_try_echo=$ac_try;;
46342 esac
46343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46344 (eval "$ac_compile") 2>conftest.er1
46345 ac_status=$?
46346 grep -v '^ *+' conftest.er1 >conftest.err
46347 rm -f conftest.er1
46348 cat conftest.err >&5
46349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46350 (exit $ac_status); } && {
46351 test -z "$ac_c_werror_flag" ||
46352 test ! -s conftest.err
46353 } && test -s conftest.$ac_objext; then
46354 eval "$as_ac_Header=yes"
46355 else
46356 echo "$as_me: failed program was:" >&5
46357 sed 's/^/| /' conftest.$ac_ext >&5
46358
46359 eval "$as_ac_Header=no"
46360 fi
46361
46362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46363 fi
46364 ac_res=`eval echo '${'$as_ac_Header'}'`
46365 { echo "$as_me:$LINENO: result: $ac_res" >&5
46366 echo "${ECHO_T}$ac_res" >&6; }
46367 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46368 cat >>confdefs.h <<_ACEOF
46369 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46370 _ACEOF
46371 wxUSE_JOYSTICK=yes
46372 fi
46373
46374 done
46375
46376 fi
46377 fi
46378
46379 if test "$wxUSE_JOYSTICK" = "yes"; then
46380 cat >>confdefs.h <<\_ACEOF
46381 #define wxUSE_JOYSTICK 1
46382 _ACEOF
46383
46384 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
46385 else
46386 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
46387 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
46388 fi
46389 fi
46390
46391
46392
46393 if test "$wxUSE_FONTENUM" = "yes" ; then
46394 cat >>confdefs.h <<\_ACEOF
46395 #define wxUSE_FONTENUM 1
46396 _ACEOF
46397
46398 fi
46399
46400 if test "$wxUSE_FONTMAP" = "yes" ; then
46401 cat >>confdefs.h <<\_ACEOF
46402 #define wxUSE_FONTMAP 1
46403 _ACEOF
46404
46405 fi
46406
46407 if test "$wxUSE_UNICODE" = "yes" ; then
46408 cat >>confdefs.h <<\_ACEOF
46409 #define wxUSE_UNICODE 1
46410 _ACEOF
46411
46412
46413 if test "$USE_WIN32" != 1; then
46414 wxUSE_UNICODE_MSLU=no
46415 fi
46416
46417 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
46418 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
46419 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
46420 if test "${ac_cv_lib_unicows_main+set}" = set; then
46421 echo $ECHO_N "(cached) $ECHO_C" >&6
46422 else
46423 ac_check_lib_save_LIBS=$LIBS
46424 LIBS="-lunicows $LIBS"
46425 cat >conftest.$ac_ext <<_ACEOF
46426 /* confdefs.h. */
46427 _ACEOF
46428 cat confdefs.h >>conftest.$ac_ext
46429 cat >>conftest.$ac_ext <<_ACEOF
46430 /* end confdefs.h. */
46431
46432
46433 int
46434 main ()
46435 {
46436 return main ();
46437 ;
46438 return 0;
46439 }
46440 _ACEOF
46441 rm -f conftest.$ac_objext conftest$ac_exeext
46442 if { (ac_try="$ac_link"
46443 case "(($ac_try" in
46444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46445 *) ac_try_echo=$ac_try;;
46446 esac
46447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46448 (eval "$ac_link") 2>conftest.er1
46449 ac_status=$?
46450 grep -v '^ *+' conftest.er1 >conftest.err
46451 rm -f conftest.er1
46452 cat conftest.err >&5
46453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46454 (exit $ac_status); } && {
46455 test -z "$ac_c_werror_flag" ||
46456 test ! -s conftest.err
46457 } && test -s conftest$ac_exeext &&
46458 $as_test_x conftest$ac_exeext; then
46459 ac_cv_lib_unicows_main=yes
46460 else
46461 echo "$as_me: failed program was:" >&5
46462 sed 's/^/| /' conftest.$ac_ext >&5
46463
46464 ac_cv_lib_unicows_main=no
46465 fi
46466
46467 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46468 conftest$ac_exeext conftest.$ac_ext
46469 LIBS=$ac_check_lib_save_LIBS
46470 fi
46471 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
46472 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
46473 if test $ac_cv_lib_unicows_main = yes; then
46474
46475 cat >>confdefs.h <<\_ACEOF
46476 #define wxUSE_UNICODE_MSLU 1
46477 _ACEOF
46478
46479
46480 else
46481
46482 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46483 Applications will only run on Windows NT/2000/XP!" >&5
46484 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46485 Applications will only run on Windows NT/2000/XP!" >&2;}
46486 wxUSE_UNICODE_MSLU=no
46487
46488 fi
46489
46490 fi
46491 fi
46492
46493 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
46494 cat >>confdefs.h <<\_ACEOF
46495 #define wxUSE_UNICODE_UTF8 1
46496 _ACEOF
46497
46498
46499 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
46500 cat >>confdefs.h <<\_ACEOF
46501 #define wxUSE_UTF8_LOCALE_ONLY 1
46502 _ACEOF
46503
46504 fi
46505 fi
46506
46507
46508 if test "$wxUSE_CONSTRAINTS" = "yes"; then
46509 cat >>confdefs.h <<\_ACEOF
46510 #define wxUSE_CONSTRAINTS 1
46511 _ACEOF
46512
46513 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
46514 fi
46515
46516 if test "$wxUSE_MDI" = "yes"; then
46517 cat >>confdefs.h <<\_ACEOF
46518 #define wxUSE_MDI 1
46519 _ACEOF
46520
46521
46522 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
46523 cat >>confdefs.h <<\_ACEOF
46524 #define wxUSE_MDI_ARCHITECTURE 1
46525 _ACEOF
46526
46527 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
46528 fi
46529 fi
46530
46531 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
46532 cat >>confdefs.h <<\_ACEOF
46533 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
46534 _ACEOF
46535
46536 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
46537 fi
46538
46539 if test "$wxUSE_HELP" = "yes"; then
46540 cat >>confdefs.h <<\_ACEOF
46541 #define wxUSE_HELP 1
46542 _ACEOF
46543
46544 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
46545
46546 if test "$wxUSE_MSW" = 1; then
46547 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
46548 cat >>confdefs.h <<\_ACEOF
46549 #define wxUSE_MS_HTML_HELP 1
46550 _ACEOF
46551
46552 fi
46553 fi
46554
46555 if test "$wxUSE_WXHTML_HELP" = "yes"; then
46556 if test "$wxUSE_HTML" = "yes"; then
46557 cat >>confdefs.h <<\_ACEOF
46558 #define wxUSE_WXHTML_HELP 1
46559 _ACEOF
46560
46561 else
46562 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
46563 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
46564 wxUSE_WXHTML_HELP=no
46565 fi
46566 fi
46567 fi
46568
46569 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
46570 cat >>confdefs.h <<\_ACEOF
46571 #define wxUSE_PRINTING_ARCHITECTURE 1
46572 _ACEOF
46573
46574 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
46575 fi
46576
46577 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
46578 cat >>confdefs.h <<\_ACEOF
46579 #define wxUSE_POSTSCRIPT 1
46580 _ACEOF
46581
46582 fi
46583
46584 cat >>confdefs.h <<\_ACEOF
46585 #define wxUSE_AFM_FOR_POSTSCRIPT 1
46586 _ACEOF
46587
46588
46589 if test "$wxUSE_SVG" = "yes"; then
46590 cat >>confdefs.h <<\_ACEOF
46591 #define wxUSE_SVG 1
46592 _ACEOF
46593
46594 fi
46595
46596
46597 if test "$wxUSE_METAFILE" = "yes"; then
46598 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
46599 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
46600 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
46601 wxUSE_METAFILE=no
46602 fi
46603 fi
46604
46605
46606 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
46607 -o "$wxUSE_CLIPBOARD" = "yes" \
46608 -o "$wxUSE_OLE" = "yes" \
46609 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
46610 { echo "$as_me:$LINENO: checking for ole2.h" >&5
46611 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
46612 if test "${ac_cv_header_ole2_h+set}" = set; then
46613 echo $ECHO_N "(cached) $ECHO_C" >&6
46614 else
46615 cat >conftest.$ac_ext <<_ACEOF
46616 /* confdefs.h. */
46617 _ACEOF
46618 cat confdefs.h >>conftest.$ac_ext
46619 cat >>conftest.$ac_ext <<_ACEOF
46620 /* end confdefs.h. */
46621
46622
46623 #include <ole2.h>
46624 _ACEOF
46625 rm -f conftest.$ac_objext
46626 if { (ac_try="$ac_compile"
46627 case "(($ac_try" in
46628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46629 *) ac_try_echo=$ac_try;;
46630 esac
46631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46632 (eval "$ac_compile") 2>conftest.er1
46633 ac_status=$?
46634 grep -v '^ *+' conftest.er1 >conftest.err
46635 rm -f conftest.er1
46636 cat conftest.err >&5
46637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46638 (exit $ac_status); } && {
46639 test -z "$ac_c_werror_flag" ||
46640 test ! -s conftest.err
46641 } && test -s conftest.$ac_objext; then
46642 ac_cv_header_ole2_h=yes
46643 else
46644 echo "$as_me: failed program was:" >&5
46645 sed 's/^/| /' conftest.$ac_ext >&5
46646
46647 ac_cv_header_ole2_h=no
46648 fi
46649
46650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46651 fi
46652 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
46653 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
46654
46655
46656
46657 if test "$ac_cv_header_ole2_h" = "yes" ; then
46658 if test "$GCC" = yes ; then
46659 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
46660 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
46661 cat >conftest.$ac_ext <<_ACEOF
46662 /* confdefs.h. */
46663 _ACEOF
46664 cat confdefs.h >>conftest.$ac_ext
46665 cat >>conftest.$ac_ext <<_ACEOF
46666 /* end confdefs.h. */
46667 #include <windows.h>
46668 #include <ole2.h>
46669 int
46670 main ()
46671 {
46672
46673 ;
46674 return 0;
46675 }
46676 _ACEOF
46677 rm -f conftest.$ac_objext
46678 if { (ac_try="$ac_compile"
46679 case "(($ac_try" in
46680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46681 *) ac_try_echo=$ac_try;;
46682 esac
46683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46684 (eval "$ac_compile") 2>conftest.er1
46685 ac_status=$?
46686 grep -v '^ *+' conftest.er1 >conftest.err
46687 rm -f conftest.er1
46688 cat conftest.err >&5
46689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46690 (exit $ac_status); } && {
46691 test -z "$ac_c_werror_flag" ||
46692 test ! -s conftest.err
46693 } && test -s conftest.$ac_objext; then
46694 { echo "$as_me:$LINENO: result: no" >&5
46695 echo "${ECHO_T}no" >&6; }
46696 else
46697 echo "$as_me: failed program was:" >&5
46698 sed 's/^/| /' conftest.$ac_ext >&5
46699
46700 { echo "$as_me:$LINENO: result: yes" >&5
46701 echo "${ECHO_T}yes" >&6; }
46702 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
46703 fi
46704
46705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46706 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
46707 if test "$wxUSE_OLE" = "yes" ; then
46708 cat >>confdefs.h <<\_ACEOF
46709 #define wxUSE_OLE 1
46710 _ACEOF
46711
46712 cat >>confdefs.h <<\_ACEOF
46713 #define wxUSE_OLE_AUTOMATION 1
46714 _ACEOF
46715
46716 cat >>confdefs.h <<\_ACEOF
46717 #define wxUSE_ACTIVEX 1
46718 _ACEOF
46719
46720 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
46721 fi
46722 fi
46723
46724 if test "$wxUSE_DATAOBJ" = "yes" ; then
46725 cat >>confdefs.h <<\_ACEOF
46726 #define wxUSE_DATAOBJ 1
46727 _ACEOF
46728
46729 fi
46730 else
46731 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
46732 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
46733
46734 wxUSE_CLIPBOARD=no
46735 wxUSE_DRAG_AND_DROP=no
46736 wxUSE_DATAOBJ=no
46737 wxUSE_OLE=no
46738 fi
46739
46740 if test "$wxUSE_METAFILE" = "yes"; then
46741 cat >>confdefs.h <<\_ACEOF
46742 #define wxUSE_METAFILE 1
46743 _ACEOF
46744
46745
46746 cat >>confdefs.h <<\_ACEOF
46747 #define wxUSE_ENH_METAFILE 1
46748 _ACEOF
46749
46750 fi
46751 fi
46752
46753 if test "$wxUSE_IPC" = "yes"; then
46754 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
46755 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
46756 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
46757 wxUSE_IPC=no
46758 fi
46759
46760 if test "$wxUSE_IPC" = "yes"; then
46761 cat >>confdefs.h <<\_ACEOF
46762 #define wxUSE_IPC 1
46763 _ACEOF
46764
46765 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
46766 fi
46767 fi
46768
46769 if test "$wxUSE_DATAOBJ" = "yes"; then
46770 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46771 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
46772 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
46773 wxUSE_DATAOBJ=no
46774 else
46775 cat >>confdefs.h <<\_ACEOF
46776 #define wxUSE_DATAOBJ 1
46777 _ACEOF
46778
46779 fi
46780 else
46781 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
46782 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
46783 wxUSE_CLIPBOARD=no
46784 wxUSE_DRAG_AND_DROP=no
46785 fi
46786
46787 if test "$wxUSE_CLIPBOARD" = "yes"; then
46788 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46789 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
46790 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
46791 wxUSE_CLIPBOARD=no
46792 fi
46793
46794 if test "$wxUSE_CLIPBOARD" = "yes"; then
46795 cat >>confdefs.h <<\_ACEOF
46796 #define wxUSE_CLIPBOARD 1
46797 _ACEOF
46798
46799 fi
46800 fi
46801
46802 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
46803 if test "$wxUSE_GTK" = 1; then
46804 if test "$WXGTK12" != 1; then
46805 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
46806 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
46807 wxUSE_DRAG_AND_DROP=no
46808 fi
46809 fi
46810
46811 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
46812 "$wxUSE_DFB" = 1; then
46813 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
46814 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
46815 wxUSE_DRAG_AND_DROP=no
46816 fi
46817
46818 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
46819 cat >>confdefs.h <<\_ACEOF
46820 #define wxUSE_DRAG_AND_DROP 1
46821 _ACEOF
46822
46823 fi
46824
46825 fi
46826
46827 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
46828 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
46829 fi
46830
46831 if test "$wxUSE_CLIPBOARD" = "yes"; then
46832 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
46833 fi
46834
46835 if test "$wxUSE_SPLINES" = "yes" ; then
46836 cat >>confdefs.h <<\_ACEOF
46837 #define wxUSE_SPLINES 1
46838 _ACEOF
46839
46840 fi
46841
46842 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
46843 cat >>confdefs.h <<\_ACEOF
46844 #define wxUSE_MOUSEWHEEL 1
46845 _ACEOF
46846
46847 fi
46848
46849 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
46850 cat >>confdefs.h <<\_ACEOF
46851 #define wxUSE_UIACTIONSIMULATOR 1
46852 _ACEOF
46853
46854 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS uiaction"
46855 fi
46856
46857
46858 USES_CONTROLS=0
46859 if test "$wxUSE_CONTROLS" = "yes"; then
46860 USES_CONTROLS=1
46861 fi
46862
46863 if test "$wxUSE_ACCEL" = "yes"; then
46864 cat >>confdefs.h <<\_ACEOF
46865 #define wxUSE_ACCEL 1
46866 _ACEOF
46867
46868 USES_CONTROLS=1
46869 fi
46870
46871 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
46872 cat >>confdefs.h <<\_ACEOF
46873 #define wxUSE_ANIMATIONCTRL 1
46874 _ACEOF
46875
46876 USES_CONTROLS=1
46877 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
46878 fi
46879
46880 if test "$wxUSE_BUTTON" = "yes"; then
46881 cat >>confdefs.h <<\_ACEOF
46882 #define wxUSE_BUTTON 1
46883 _ACEOF
46884
46885 USES_CONTROLS=1
46886 fi
46887
46888 if test "$wxUSE_BMPBUTTON" = "yes"; then
46889 cat >>confdefs.h <<\_ACEOF
46890 #define wxUSE_BMPBUTTON 1
46891 _ACEOF
46892
46893 USES_CONTROLS=1
46894 fi
46895
46896 if test "$wxUSE_CALCTRL" = "yes"; then
46897 cat >>confdefs.h <<\_ACEOF
46898 #define wxUSE_CALENDARCTRL 1
46899 _ACEOF
46900
46901 USES_CONTROLS=1
46902 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
46903 fi
46904
46905 if test "$wxUSE_CARET" = "yes"; then
46906 cat >>confdefs.h <<\_ACEOF
46907 #define wxUSE_CARET 1
46908 _ACEOF
46909
46910 USES_CONTROLS=1
46911 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
46912 fi
46913
46914 if test "$wxUSE_COLLPANE" = "yes"; then
46915 cat >>confdefs.h <<\_ACEOF
46916 #define wxUSE_COLLPANE 1
46917 _ACEOF
46918
46919 USES_CONTROLS=1
46920 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
46921 fi
46922
46923 if test "$wxUSE_COMBOBOX" = "yes"; then
46924 cat >>confdefs.h <<\_ACEOF
46925 #define wxUSE_COMBOBOX 1
46926 _ACEOF
46927
46928 USES_CONTROLS=1
46929 fi
46930
46931 if test "$wxUSE_COMBOCTRL" = "yes"; then
46932 cat >>confdefs.h <<\_ACEOF
46933 #define wxUSE_COMBOCTRL 1
46934 _ACEOF
46935
46936 USES_CONTROLS=1
46937 fi
46938
46939 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
46940 cat >>confdefs.h <<\_ACEOF
46941 #define wxUSE_COMMANDLINKBUTTON 1
46942 _ACEOF
46943
46944 USES_CONTROLS=1
46945 fi
46946
46947 if test "$wxUSE_CHOICE" = "yes"; then
46948 cat >>confdefs.h <<\_ACEOF
46949 #define wxUSE_CHOICE 1
46950 _ACEOF
46951
46952 USES_CONTROLS=1
46953 fi
46954
46955 if test "$wxUSE_CHOICEBOOK" = "yes"; then
46956 cat >>confdefs.h <<\_ACEOF
46957 #define wxUSE_CHOICEBOOK 1
46958 _ACEOF
46959
46960 USES_CONTROLS=1
46961 fi
46962
46963 if test "$wxUSE_CHECKBOX" = "yes"; then
46964 cat >>confdefs.h <<\_ACEOF
46965 #define wxUSE_CHECKBOX 1
46966 _ACEOF
46967
46968 USES_CONTROLS=1
46969 fi
46970
46971 if test "$wxUSE_CHECKLST" = "yes"; then
46972 cat >>confdefs.h <<\_ACEOF
46973 #define wxUSE_CHECKLISTBOX 1
46974 _ACEOF
46975
46976 USES_CONTROLS=1
46977 fi
46978
46979 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
46980 cat >>confdefs.h <<\_ACEOF
46981 #define wxUSE_COLOURPICKERCTRL 1
46982 _ACEOF
46983
46984 USES_CONTROLS=1
46985 fi
46986
46987 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
46988 cat >>confdefs.h <<\_ACEOF
46989 #define wxUSE_DATEPICKCTRL 1
46990 _ACEOF
46991
46992 USES_CONTROLS=1
46993 fi
46994
46995 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
46996 cat >>confdefs.h <<\_ACEOF
46997 #define wxUSE_DIRPICKERCTRL 1
46998 _ACEOF
46999
47000 USES_CONTROLS=1
47001 fi
47002
47003 if test "$wxUSE_FILECTRL" = "yes"; then
47004 cat >>confdefs.h <<\_ACEOF
47005 #define wxUSE_FILECTRL 1
47006 _ACEOF
47007
47008 USES_CONTROLS=1
47009 fi
47010
47011 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
47012 cat >>confdefs.h <<\_ACEOF
47013 #define wxUSE_FILEPICKERCTRL 1
47014 _ACEOF
47015
47016 USES_CONTROLS=1
47017 fi
47018
47019 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
47020 cat >>confdefs.h <<\_ACEOF
47021 #define wxUSE_FONTPICKERCTRL 1
47022 _ACEOF
47023
47024 USES_CONTROLS=1
47025 fi
47026
47027 if test "$wxUSE_DISPLAY" = "yes"; then
47028 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
47029 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
47030 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
47031 wxUSE_DISPLAY=no
47032 else
47033 cat >>confdefs.h <<\_ACEOF
47034 #define wxUSE_DISPLAY 1
47035 _ACEOF
47036
47037 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
47038 fi
47039 fi
47040
47041 if test "$wxUSE_DETECT_SM" = "yes"; then
47042 cat >>confdefs.h <<\_ACEOF
47043 #define wxUSE_DETECT_SM 1
47044 _ACEOF
47045
47046 fi
47047
47048 if test "$wxUSE_GAUGE" = "yes"; then
47049 cat >>confdefs.h <<\_ACEOF
47050 #define wxUSE_GAUGE 1
47051 _ACEOF
47052
47053 USES_CONTROLS=1
47054 fi
47055
47056 if test "$wxUSE_GRID" = "yes"; then
47057 cat >>confdefs.h <<\_ACEOF
47058 #define wxUSE_GRID 1
47059 _ACEOF
47060
47061 USES_CONTROLS=1
47062 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
47063 fi
47064
47065 if test "$wxUSE_HEADERCTRL" = "yes"; then
47066 cat >>confdefs.h <<\_ACEOF
47067 #define wxUSE_HEADERCTRL 1
47068 _ACEOF
47069
47070 USES_CONTROLS=1
47071 fi
47072
47073 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47074 cat >>confdefs.h <<\_ACEOF
47075 #define wxUSE_HYPERLINKCTRL 1
47076 _ACEOF
47077
47078 USES_CONTROLS=1
47079 fi
47080
47081 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
47082 cat >>confdefs.h <<\_ACEOF
47083 #define wxUSE_BITMAPCOMBOBOX 1
47084 _ACEOF
47085
47086 USES_CONTROLS=1
47087 fi
47088
47089 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
47090 cat >>confdefs.h <<\_ACEOF
47091 #define wxUSE_DATAVIEWCTRL 1
47092 _ACEOF
47093
47094 USES_CONTROLS=1
47095 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
47096 fi
47097
47098 if test "$wxUSE_IMAGLIST" = "yes"; then
47099 cat >>confdefs.h <<\_ACEOF
47100 #define wxUSE_IMAGLIST 1
47101 _ACEOF
47102
47103 fi
47104
47105 if test "$wxUSE_INFOBAR" = "yes"; then
47106 cat >>confdefs.h <<\_ACEOF
47107 #define wxUSE_INFOBAR 1
47108 _ACEOF
47109
47110 fi
47111
47112 if test "$wxUSE_LISTBOOK" = "yes"; then
47113 cat >>confdefs.h <<\_ACEOF
47114 #define wxUSE_LISTBOOK 1
47115 _ACEOF
47116
47117 USES_CONTROLS=1
47118 fi
47119
47120 if test "$wxUSE_LISTBOX" = "yes"; then
47121 cat >>confdefs.h <<\_ACEOF
47122 #define wxUSE_LISTBOX 1
47123 _ACEOF
47124
47125 USES_CONTROLS=1
47126 fi
47127
47128 if test "$wxUSE_LISTCTRL" = "yes"; then
47129 if test "$wxUSE_IMAGLIST" = "yes"; then
47130 cat >>confdefs.h <<\_ACEOF
47131 #define wxUSE_LISTCTRL 1
47132 _ACEOF
47133
47134 USES_CONTROLS=1
47135 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
47136 else
47137 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
47138 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
47139 fi
47140 fi
47141
47142 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
47143 cat >>confdefs.h <<\_ACEOF
47144 #define wxUSE_EDITABLELISTBOX 1
47145 _ACEOF
47146
47147 USES_CONTROLS=1
47148 fi
47149
47150 if test "$wxUSE_NOTEBOOK" = "yes"; then
47151 cat >>confdefs.h <<\_ACEOF
47152 #define wxUSE_NOTEBOOK 1
47153 _ACEOF
47154
47155 USES_CONTROLS=1
47156 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
47157 fi
47158
47159 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
47160 cat >>confdefs.h <<\_ACEOF
47161 #define wxUSE_NOTIFICATION_MESSAGE 1
47162 _ACEOF
47163
47164 fi
47165
47166 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
47167 cat >>confdefs.h <<\_ACEOF
47168 #define wxUSE_ODCOMBOBOX 1
47169 _ACEOF
47170
47171 USES_CONTROLS=1
47172 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
47173 fi
47174
47175 if test "$wxUSE_RADIOBOX" = "yes"; then
47176 cat >>confdefs.h <<\_ACEOF
47177 #define wxUSE_RADIOBOX 1
47178 _ACEOF
47179
47180 USES_CONTROLS=1
47181 fi
47182
47183 if test "$wxUSE_RADIOBTN" = "yes"; then
47184 cat >>confdefs.h <<\_ACEOF
47185 #define wxUSE_RADIOBTN 1
47186 _ACEOF
47187
47188 USES_CONTROLS=1
47189 fi
47190
47191 if test "$wxUSE_REARRANGECTRL" = "yes"; then
47192 cat >>confdefs.h <<\_ACEOF
47193 #define wxUSE_REARRANGECTRL 1
47194 _ACEOF
47195
47196 fi
47197
47198 if test "$wxUSE_SASH" = "yes"; then
47199 cat >>confdefs.h <<\_ACEOF
47200 #define wxUSE_SASH 1
47201 _ACEOF
47202
47203 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
47204 fi
47205
47206 if test "$wxUSE_SCROLLBAR" = "yes"; then
47207 cat >>confdefs.h <<\_ACEOF
47208 #define wxUSE_SCROLLBAR 1
47209 _ACEOF
47210
47211 USES_CONTROLS=1
47212 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
47213 fi
47214
47215 if test "$wxUSE_SEARCHCTRL" = "yes"; then
47216 cat >>confdefs.h <<\_ACEOF
47217 #define wxUSE_SEARCHCTRL 1
47218 _ACEOF
47219
47220 USES_CONTROLS=1
47221 fi
47222
47223 if test "$wxUSE_SLIDER" = "yes"; then
47224 cat >>confdefs.h <<\_ACEOF
47225 #define wxUSE_SLIDER 1
47226 _ACEOF
47227
47228 USES_CONTROLS=1
47229 fi
47230
47231 if test "$wxUSE_SPINBTN" = "yes"; then
47232 cat >>confdefs.h <<\_ACEOF
47233 #define wxUSE_SPINBTN 1
47234 _ACEOF
47235
47236 USES_CONTROLS=1
47237 fi
47238
47239 if test "$wxUSE_SPINCTRL" = "yes"; then
47240 cat >>confdefs.h <<\_ACEOF
47241 #define wxUSE_SPINCTRL 1
47242 _ACEOF
47243
47244 USES_CONTROLS=1
47245 fi
47246
47247 if test "$wxUSE_SPLITTER" = "yes"; then
47248 cat >>confdefs.h <<\_ACEOF
47249 #define wxUSE_SPLITTER 1
47250 _ACEOF
47251
47252 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
47253 fi
47254
47255 if test "$wxUSE_STATBMP" = "yes"; then
47256 cat >>confdefs.h <<\_ACEOF
47257 #define wxUSE_STATBMP 1
47258 _ACEOF
47259
47260 USES_CONTROLS=1
47261 fi
47262
47263 if test "$wxUSE_STATBOX" = "yes"; then
47264 cat >>confdefs.h <<\_ACEOF
47265 #define wxUSE_STATBOX 1
47266 _ACEOF
47267
47268 USES_CONTROLS=1
47269 fi
47270
47271 if test "$wxUSE_STATTEXT" = "yes"; then
47272 cat >>confdefs.h <<\_ACEOF
47273 #define wxUSE_STATTEXT 1
47274 _ACEOF
47275
47276 USES_CONTROLS=1
47277 fi
47278
47279 if test "$wxUSE_STATLINE" = "yes"; then
47280 cat >>confdefs.h <<\_ACEOF
47281 #define wxUSE_STATLINE 1
47282 _ACEOF
47283
47284 USES_CONTROLS=1
47285 fi
47286
47287 if test "$wxUSE_STATUSBAR" = "yes"; then
47288 cat >>confdefs.h <<\_ACEOF
47289 #define wxUSE_NATIVE_STATUSBAR 1
47290 _ACEOF
47291
47292 cat >>confdefs.h <<\_ACEOF
47293 #define wxUSE_STATUSBAR 1
47294 _ACEOF
47295
47296 USES_CONTROLS=1
47297
47298 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
47299 fi
47300
47301 if test "$wxUSE_TEXTCTRL" = "yes"; then
47302 cat >>confdefs.h <<\_ACEOF
47303 #define wxUSE_TEXTCTRL 1
47304 _ACEOF
47305
47306 USES_CONTROLS=1
47307 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
47308
47309 cat >>confdefs.h <<\_ACEOF
47310 #define wxUSE_RICHEDIT 1
47311 _ACEOF
47312
47313 cat >>confdefs.h <<\_ACEOF
47314 #define wxUSE_RICHEDIT2 1
47315 _ACEOF
47316
47317 fi
47318
47319 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47320 if test "$wxUSE_OLD_COCOA" = 1 ; then
47321 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
47322 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
47323 wxUSE_TOGGLEBTN=no
47324 fi
47325
47326 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47327 cat >>confdefs.h <<\_ACEOF
47328 #define wxUSE_TOGGLEBTN 1
47329 _ACEOF
47330
47331 USES_CONTROLS=1
47332 fi
47333 fi
47334
47335 if test "$wxUSE_TOOLBAR" = "yes"; then
47336 cat >>confdefs.h <<\_ACEOF
47337 #define wxUSE_TOOLBAR 1
47338 _ACEOF
47339
47340 USES_CONTROLS=1
47341
47342 if test "$wxUSE_UNIVERSAL" = "yes"; then
47343 wxUSE_TOOLBAR_NATIVE="no"
47344 else
47345 wxUSE_TOOLBAR_NATIVE="yes"
47346 cat >>confdefs.h <<\_ACEOF
47347 #define wxUSE_TOOLBAR_NATIVE 1
47348 _ACEOF
47349
47350 fi
47351
47352 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
47353 fi
47354
47355 if test "$wxUSE_TOOLTIPS" = "yes"; then
47356 if test "$wxUSE_MOTIF" = 1; then
47357 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
47358 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
47359 else
47360 if test "$wxUSE_UNIVERSAL" = "yes"; then
47361 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
47362 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
47363 else
47364 cat >>confdefs.h <<\_ACEOF
47365 #define wxUSE_TOOLTIPS 1
47366 _ACEOF
47367
47368 fi
47369 fi
47370 fi
47371
47372 if test "$wxUSE_TREEBOOK" = "yes"; then
47373 cat >>confdefs.h <<\_ACEOF
47374 #define wxUSE_TREEBOOK 1
47375 _ACEOF
47376
47377 USES_CONTROLS=1
47378 fi
47379
47380 if test "$wxUSE_TOOLBOOK" = "yes"; then
47381 cat >>confdefs.h <<\_ACEOF
47382 #define wxUSE_TOOLBOOK 1
47383 _ACEOF
47384
47385 USES_CONTROLS=1
47386 fi
47387
47388 if test "$wxUSE_TREECTRL" = "yes"; then
47389 if test "$wxUSE_IMAGLIST" = "yes"; then
47390 cat >>confdefs.h <<\_ACEOF
47391 #define wxUSE_TREECTRL 1
47392 _ACEOF
47393
47394 USES_CONTROLS=1
47395 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
47396 else
47397 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
47398 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
47399 fi
47400 fi
47401
47402 if test "$wxUSE_POPUPWIN" = "yes"; then
47403 if test "$wxUSE_OLD_COCOA" = 1 ; then
47404 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
47405 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
47406 else
47407 if test "$wxUSE_PM" = 1; then
47408 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
47409 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
47410 else
47411 cat >>confdefs.h <<\_ACEOF
47412 #define wxUSE_POPUPWIN 1
47413 _ACEOF
47414
47415 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
47416
47417 USES_CONTROLS=1
47418 fi
47419 fi
47420 fi
47421
47422 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
47423 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
47424 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
47425 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
47426 else
47427 cat >>confdefs.h <<\_ACEOF
47428 #define wxUSE_DIALUP_MANAGER 1
47429 _ACEOF
47430
47431 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
47432 fi
47433 fi
47434
47435 if test "$wxUSE_TIPWINDOW" = "yes"; then
47436 if test "$wxUSE_PM" = 1; then
47437 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
47438 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
47439 else
47440 cat >>confdefs.h <<\_ACEOF
47441 #define wxUSE_TIPWINDOW 1
47442 _ACEOF
47443
47444 fi
47445 fi
47446
47447 if test "$USES_CONTROLS" = 1; then
47448 cat >>confdefs.h <<\_ACEOF
47449 #define wxUSE_CONTROLS 1
47450 _ACEOF
47451
47452 fi
47453
47454
47455 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
47456 cat >>confdefs.h <<\_ACEOF
47457 #define wxUSE_ACCESSIBILITY 1
47458 _ACEOF
47459
47460 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
47461 fi
47462
47463 if test "$wxUSE_DRAGIMAGE" = "yes"; then
47464 cat >>confdefs.h <<\_ACEOF
47465 #define wxUSE_DRAGIMAGE 1
47466 _ACEOF
47467
47468 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
47469 fi
47470
47471 if test "$wxUSE_EXCEPTIONS" = "yes"; then
47472 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
47473 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
47474 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
47475 else
47476 cat >>confdefs.h <<\_ACEOF
47477 #define wxUSE_EXCEPTIONS 1
47478 _ACEOF
47479
47480 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
47481 fi
47482 fi
47483
47484 USE_HTML=0
47485 if test "$wxUSE_HTML" = "yes"; then
47486 cat >>confdefs.h <<\_ACEOF
47487 #define wxUSE_HTML 1
47488 _ACEOF
47489
47490 USE_HTML=1
47491 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
47492 fi
47493 if test "$wxUSE_WEBKIT" = "yes"; then
47494 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
47495 old_CPPFLAGS="$CPPFLAGS"
47496 CPPFLAGS="-x objective-c++ $CPPFLAGS"
47497 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
47498 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
47499 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
47500 echo $ECHO_N "(cached) $ECHO_C" >&6
47501 else
47502 cat >conftest.$ac_ext <<_ACEOF
47503 /* confdefs.h. */
47504 _ACEOF
47505 cat confdefs.h >>conftest.$ac_ext
47506 cat >>conftest.$ac_ext <<_ACEOF
47507 /* end confdefs.h. */
47508
47509 #include <Carbon/Carbon.h>
47510 #include <WebKit/WebKit.h>
47511
47512
47513 #include <WebKit/HIWebView.h>
47514 _ACEOF
47515 rm -f conftest.$ac_objext
47516 if { (ac_try="$ac_compile"
47517 case "(($ac_try" in
47518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47519 *) ac_try_echo=$ac_try;;
47520 esac
47521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47522 (eval "$ac_compile") 2>conftest.er1
47523 ac_status=$?
47524 grep -v '^ *+' conftest.er1 >conftest.err
47525 rm -f conftest.er1
47526 cat conftest.err >&5
47527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47528 (exit $ac_status); } && {
47529 test -z "$ac_c_werror_flag" ||
47530 test ! -s conftest.err
47531 } && test -s conftest.$ac_objext; then
47532 ac_cv_header_WebKit_HIWebView_h=yes
47533 else
47534 echo "$as_me: failed program was:" >&5
47535 sed 's/^/| /' conftest.$ac_ext >&5
47536
47537 ac_cv_header_WebKit_HIWebView_h=no
47538 fi
47539
47540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47541 fi
47542 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
47543 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
47544 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
47545
47546 cat >>confdefs.h <<\_ACEOF
47547 #define wxUSE_WEBKIT 1
47548 _ACEOF
47549
47550 WEBKIT_LINK="-framework WebKit"
47551
47552 else
47553
47554 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
47555 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
47556 wxUSE_WEBKIT=no
47557
47558 fi
47559
47560
47561 CPPFLAGS="$old_CPPFLAGS"
47562 elif test "$wxUSE_OLD_COCOA" = 1; then
47563 cat >>confdefs.h <<\_ACEOF
47564 #define wxUSE_WEBKIT 1
47565 _ACEOF
47566
47567 else
47568 wxUSE_WEBKIT=no
47569 fi
47570 if test "$wxUSE_WEBKIT" = "yes"; then
47571 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
47572 fi
47573 fi
47574
47575 USE_XRC=0
47576 if test "$wxUSE_XRC" = "yes"; then
47577 if test "$wxUSE_XML" != "yes"; then
47578 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
47579 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
47580 wxUSE_XRC=no
47581 else
47582 cat >>confdefs.h <<\_ACEOF
47583 #define wxUSE_XRC 1
47584 _ACEOF
47585
47586 USE_XRC=1
47587 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
47588 fi
47589 fi
47590
47591 USE_AUI=0
47592 if test "$wxUSE_AUI" = "yes"; then
47593 cat >>confdefs.h <<\_ACEOF
47594 #define wxUSE_AUI 1
47595 _ACEOF
47596
47597 USE_AUI=1
47598 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
47599 fi
47600
47601 USE_PROPGRID=0
47602 if test "$wxUSE_PROPGRID" = "yes"; then
47603 cat >>confdefs.h <<\_ACEOF
47604 #define wxUSE_PROPGRID 1
47605 _ACEOF
47606
47607 USE_PROPGRID=1
47608 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
47609 fi
47610
47611 USE_RIBBON=0
47612 if test "$wxUSE_RIBBON" = "yes"; then
47613 cat >>confdefs.h <<\_ACEOF
47614 #define wxUSE_RIBBON 1
47615 _ACEOF
47616
47617 USE_RIBBON=1
47618 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
47619 fi
47620
47621 USE_STC=0
47622 if test "$wxUSE_STC" = "yes"; then
47623 cat >>confdefs.h <<\_ACEOF
47624 #define wxUSE_STC 1
47625 _ACEOF
47626
47627 USE_STC=1
47628 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
47629
47630 # Extract the first word of "python", so it can be a program name with args.
47631 set dummy python; ac_word=$2
47632 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47633 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47634 if test "${ac_cv_path_PYTHON+set}" = set; then
47635 echo $ECHO_N "(cached) $ECHO_C" >&6
47636 else
47637 case $PYTHON in
47638 [\\/]* | ?:[\\/]*)
47639 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
47640 ;;
47641 *)
47642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47643 for as_dir in $PATH
47644 do
47645 IFS=$as_save_IFS
47646 test -z "$as_dir" && as_dir=.
47647 for ac_exec_ext in '' $ac_executable_extensions; do
47648 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47649 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
47650 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47651 break 2
47652 fi
47653 done
47654 done
47655 IFS=$as_save_IFS
47656
47657 ;;
47658 esac
47659 fi
47660 PYTHON=$ac_cv_path_PYTHON
47661 if test -n "$PYTHON"; then
47662 { echo "$as_me:$LINENO: result: $PYTHON" >&5
47663 echo "${ECHO_T}$PYTHON" >&6; }
47664 else
47665 { echo "$as_me:$LINENO: result: no" >&5
47666 echo "${ECHO_T}no" >&6; }
47667 fi
47668
47669
47670 if test "x$PYTHON" = "x"; then
47671 COND_PYTHON="#"
47672 fi
47673
47674 fi
47675
47676 if test "$wxUSE_MENUS" = "yes"; then
47677 cat >>confdefs.h <<\_ACEOF
47678 #define wxUSE_MENUS 1
47679 _ACEOF
47680
47681 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
47682 fi
47683
47684 if test "$wxUSE_METAFILE" = "yes"; then
47685 cat >>confdefs.h <<\_ACEOF
47686 #define wxUSE_METAFILE 1
47687 _ACEOF
47688
47689 fi
47690
47691 if test "$wxUSE_MIMETYPE" = "yes"; then
47692 cat >>confdefs.h <<\_ACEOF
47693 #define wxUSE_MIMETYPE 1
47694 _ACEOF
47695
47696 fi
47697
47698 if test "$wxUSE_MINIFRAME" = "yes"; then
47699 cat >>confdefs.h <<\_ACEOF
47700 #define wxUSE_MINIFRAME 1
47701 _ACEOF
47702
47703 fi
47704
47705 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
47706 cat >>confdefs.h <<\_ACEOF
47707 #define wxUSE_SYSTEM_OPTIONS 1
47708 _ACEOF
47709
47710 fi
47711
47712 if test "$wxUSE_TASKBARICON" = "yes"; then
47713 cat >>confdefs.h <<\_ACEOF
47714 #define wxUSE_TASKBARICON 1
47715 _ACEOF
47716
47717 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
47718 fi
47719
47720
47721 if test "$wxUSE_VALIDATORS" = "yes"; then
47722 cat >>confdefs.h <<\_ACEOF
47723 #define wxUSE_VALIDATORS 1
47724 _ACEOF
47725
47726 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
47727 fi
47728
47729 if test "$wxUSE_PALETTE" = "yes" ; then
47730 if test "$wxUSE_DFB" = 1; then
47731 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
47732 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
47733 wxUSE_PALETTE=no
47734 else
47735 cat >>confdefs.h <<\_ACEOF
47736 #define wxUSE_PALETTE 1
47737 _ACEOF
47738
47739 fi
47740 fi
47741
47742 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
47743 LIBS=" -lunicows $LIBS"
47744 fi
47745
47746 USE_RICHTEXT=0
47747 if test "$wxUSE_RICHTEXT" = "yes"; then
47748 cat >>confdefs.h <<\_ACEOF
47749 #define wxUSE_RICHTEXT 1
47750 _ACEOF
47751
47752 USE_RICHTEXT=1
47753 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
47754 fi
47755
47756
47757 if test "$wxUSE_IMAGE" = "yes" ; then
47758 cat >>confdefs.h <<\_ACEOF
47759 #define wxUSE_IMAGE 1
47760 _ACEOF
47761
47762
47763 if test "$wxUSE_GIF" = "yes" ; then
47764 cat >>confdefs.h <<\_ACEOF
47765 #define wxUSE_GIF 1
47766 _ACEOF
47767
47768 fi
47769
47770 if test "$wxUSE_PCX" = "yes" ; then
47771 cat >>confdefs.h <<\_ACEOF
47772 #define wxUSE_PCX 1
47773 _ACEOF
47774
47775 fi
47776
47777 if test "$wxUSE_TGA" = "yes" ; then
47778 cat >>confdefs.h <<\_ACEOF
47779 #define wxUSE_TGA 1
47780 _ACEOF
47781
47782 fi
47783
47784 if test "$wxUSE_IFF" = "yes" ; then
47785 cat >>confdefs.h <<\_ACEOF
47786 #define wxUSE_IFF 1
47787 _ACEOF
47788
47789 fi
47790
47791 if test "$wxUSE_PNM" = "yes" ; then
47792 cat >>confdefs.h <<\_ACEOF
47793 #define wxUSE_PNM 1
47794 _ACEOF
47795
47796 fi
47797
47798 if test "$wxUSE_XPM" = "yes" ; then
47799 cat >>confdefs.h <<\_ACEOF
47800 #define wxUSE_XPM 1
47801 _ACEOF
47802
47803 fi
47804
47805 if test "$wxUSE_ICO_CUR" = "yes" ; then
47806 cat >>confdefs.h <<\_ACEOF
47807 #define wxUSE_ICO_CUR 1
47808 _ACEOF
47809
47810 fi
47811 fi
47812
47813
47814 if test "$wxUSE_ABOUTDLG" = "yes"; then
47815 cat >>confdefs.h <<\_ACEOF
47816 #define wxUSE_ABOUTDLG 1
47817 _ACEOF
47818
47819 fi
47820
47821 if test "$wxUSE_CHOICEDLG" = "yes"; then
47822 cat >>confdefs.h <<\_ACEOF
47823 #define wxUSE_CHOICEDLG 1
47824 _ACEOF
47825
47826 fi
47827
47828 if test "$wxUSE_COLOURDLG" = "yes"; then
47829 cat >>confdefs.h <<\_ACEOF
47830 #define wxUSE_COLOURDLG 1
47831 _ACEOF
47832
47833 fi
47834
47835 if test "$wxUSE_FILEDLG" = "yes"; then
47836 cat >>confdefs.h <<\_ACEOF
47837 #define wxUSE_FILEDLG 1
47838 _ACEOF
47839
47840 fi
47841
47842 if test "$wxUSE_FINDREPLDLG" = "yes"; then
47843 cat >>confdefs.h <<\_ACEOF
47844 #define wxUSE_FINDREPLDLG 1
47845 _ACEOF
47846
47847 fi
47848
47849 if test "$wxUSE_FONTDLG" = "yes"; then
47850 cat >>confdefs.h <<\_ACEOF
47851 #define wxUSE_FONTDLG 1
47852 _ACEOF
47853
47854 fi
47855
47856 if test "$wxUSE_DIRDLG" = "yes"; then
47857 if test "$wxUSE_TREECTRL" != "yes"; then
47858 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
47859 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
47860 else
47861 cat >>confdefs.h <<\_ACEOF
47862 #define wxUSE_DIRDLG 1
47863 _ACEOF
47864
47865 fi
47866 fi
47867
47868 if test "$wxUSE_MSGDLG" = "yes"; then
47869 cat >>confdefs.h <<\_ACEOF
47870 #define wxUSE_MSGDLG 1
47871 _ACEOF
47872
47873 fi
47874
47875 if test "$wxUSE_NUMBERDLG" = "yes"; then
47876 cat >>confdefs.h <<\_ACEOF
47877 #define wxUSE_NUMBERDLG 1
47878 _ACEOF
47879
47880 fi
47881
47882 if test "$wxUSE_PROGRESSDLG" = "yes"; then
47883 cat >>confdefs.h <<\_ACEOF
47884 #define wxUSE_PROGRESSDLG 1
47885 _ACEOF
47886
47887 fi
47888
47889 if test "$wxUSE_SPLASH" = "yes"; then
47890 cat >>confdefs.h <<\_ACEOF
47891 #define wxUSE_SPLASH 1
47892 _ACEOF
47893
47894 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
47895 fi
47896
47897 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
47898 cat >>confdefs.h <<\_ACEOF
47899 #define wxUSE_STARTUP_TIPS 1
47900 _ACEOF
47901
47902 fi
47903
47904 if test "$wxUSE_TEXTDLG" = "yes"; then
47905 cat >>confdefs.h <<\_ACEOF
47906 #define wxUSE_TEXTDLG 1
47907 _ACEOF
47908
47909 fi
47910
47911 if test "$wxUSE_WIZARDDLG" = "yes"; then
47912 cat >>confdefs.h <<\_ACEOF
47913 #define wxUSE_WIZARDDLG 1
47914 _ACEOF
47915
47916 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
47917 fi
47918
47919
47920 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
47921 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
47922 cat >>confdefs.h <<\_ACEOF
47923 #define wxUSE_OWNER_DRAWN 1
47924 _ACEOF
47925
47926 fi
47927 fi
47928
47929
47930 if test "$wxUSE_MSW" = 1 ; then
47931
47932 if test "$wxUSE_DC_CACHEING" = "yes"; then
47933 cat >>confdefs.h <<\_ACEOF
47934 #define wxUSE_DC_CACHEING 1
47935 _ACEOF
47936
47937 fi
47938
47939 if test "$wxUSE_DIB" = "yes"; then
47940 cat >>confdefs.h <<\_ACEOF
47941 #define wxUSE_WXDIB 1
47942 _ACEOF
47943
47944 fi
47945
47946 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
47947 cat >>confdefs.h <<\_ACEOF
47948 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
47949 _ACEOF
47950
47951 fi
47952
47953 if test "$wxUSE_UXTHEME" = "yes"; then
47954 cat >>confdefs.h <<\_ACEOF
47955 #define wxUSE_UXTHEME 1
47956 _ACEOF
47957
47958 fi
47959
47960 fi
47961
47962 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
47963 cat >>confdefs.h <<\_ACEOF
47964 #define wxUSE_AUTOID_MANAGEMENT 1
47965 _ACEOF
47966
47967 fi
47968
47969 if test "$USE_WIN32" = 1 ; then
47970 if test "$wxUSE_INICONF" = "yes"; then
47971 cat >>confdefs.h <<\_ACEOF
47972 #define wxUSE_INICONF 1
47973 _ACEOF
47974
47975 fi
47976
47977 if test "$wxUSE_REGKEY" = "yes"; then
47978 cat >>confdefs.h <<\_ACEOF
47979 #define wxUSE_REGKEY 1
47980 _ACEOF
47981
47982 fi
47983 fi
47984
47985
47986 if test "$wxUSE_MAC" = 1; then
47987 wxUSE_GRAPHICS_CONTEXT="yes"
47988 fi
47989
47990 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
47991 wx_has_graphics=0
47992 if test "$wxUSE_MSW" = 1; then
47993 { echo "$as_me:$LINENO: checking if GDI+ is available" >&5
47994 echo $ECHO_N "checking if GDI+ is available... $ECHO_C" >&6; }
47995 if test "${wx_cv_lib_gdiplus+set}" = set; then
47996 echo $ECHO_N "(cached) $ECHO_C" >&6
47997 else
47998
47999 ac_ext=cpp
48000 ac_cpp='$CXXCPP $CPPFLAGS'
48001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48004
48005 cat >conftest.$ac_ext <<_ACEOF
48006 /* confdefs.h. */
48007 _ACEOF
48008 cat confdefs.h >>conftest.$ac_ext
48009 cat >>conftest.$ac_ext <<_ACEOF
48010 /* end confdefs.h. */
48011 #include <windows.h>
48012 #include <gdiplus.h>
48013 int
48014 main ()
48015 {
48016
48017 using namespace Gdiplus;
48018
48019 ;
48020 return 0;
48021 }
48022 _ACEOF
48023 rm -f conftest.$ac_objext
48024 if { (ac_try="$ac_compile"
48025 case "(($ac_try" in
48026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48027 *) ac_try_echo=$ac_try;;
48028 esac
48029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48030 (eval "$ac_compile") 2>conftest.er1
48031 ac_status=$?
48032 grep -v '^ *+' conftest.er1 >conftest.err
48033 rm -f conftest.er1
48034 cat conftest.err >&5
48035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48036 (exit $ac_status); } && {
48037 test -z "$ac_cxx_werror_flag" ||
48038 test ! -s conftest.err
48039 } && test -s conftest.$ac_objext; then
48040 wx_cv_lib_gdiplus=yes
48041 else
48042 echo "$as_me: failed program was:" >&5
48043 sed 's/^/| /' conftest.$ac_ext >&5
48044
48045 wx_cv_lib_gdiplus=no
48046
48047 fi
48048
48049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48050 ac_ext=c
48051 ac_cpp='$CPP $CPPFLAGS'
48052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48055
48056
48057
48058 fi
48059 { echo "$as_me:$LINENO: result: $wx_cv_lib_gdiplus" >&5
48060 echo "${ECHO_T}$wx_cv_lib_gdiplus" >&6; }
48061 if test "$wx_cv_lib_gdiplus" = "yes"; then
48062 wx_has_graphics=1
48063 fi
48064 elif test "$wxUSE_GTK" = 1; then
48065
48066 pkg_failed=no
48067 { echo "$as_me:$LINENO: checking for CAIRO" >&5
48068 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
48069
48070 if test -n "$PKG_CONFIG"; then
48071 if test -n "$CAIRO_CFLAGS"; then
48072 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
48073 else
48074 if test -n "$PKG_CONFIG" && \
48075 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48076 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48077 ac_status=$?
48078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48079 (exit $ac_status); }; then
48080 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
48081 else
48082 pkg_failed=yes
48083 fi
48084 fi
48085 else
48086 pkg_failed=untried
48087 fi
48088 if test -n "$PKG_CONFIG"; then
48089 if test -n "$CAIRO_LIBS"; then
48090 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
48091 else
48092 if test -n "$PKG_CONFIG" && \
48093 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48094 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48095 ac_status=$?
48096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48097 (exit $ac_status); }; then
48098 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
48099 else
48100 pkg_failed=yes
48101 fi
48102 fi
48103 else
48104 pkg_failed=untried
48105 fi
48106
48107
48108
48109 if test $pkg_failed = yes; then
48110
48111 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48112 _pkg_short_errors_supported=yes
48113 else
48114 _pkg_short_errors_supported=no
48115 fi
48116 if test $_pkg_short_errors_supported = yes; then
48117 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
48118 else
48119 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
48120 fi
48121 # Put the nasty error message in config.log where it belongs
48122 echo "$CAIRO_PKG_ERRORS" >&5
48123
48124 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
48125 echo "$as_me: WARNING: Cairo library not found" >&2;}
48126
48127 elif test $pkg_failed = untried; then
48128 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
48129 echo "$as_me: WARNING: Cairo library not found" >&2;}
48130
48131 else
48132 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
48133 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
48134 { echo "$as_me:$LINENO: result: yes" >&5
48135 echo "${ECHO_T}yes" >&6; }
48136 wx_has_graphics=1
48137 fi
48138 else
48139 wx_has_graphics=1
48140 fi
48141
48142 if test "$wx_has_graphics" = 1; then
48143 cat >>confdefs.h <<\_ACEOF
48144 #define wxUSE_GRAPHICS_CONTEXT 1
48145 _ACEOF
48146
48147 else
48148 { echo "$as_me:$LINENO: WARNING: wxGraphicsContext won't be available" >&5
48149 echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
48150 fi
48151 fi
48152
48153
48154 USE_MEDIA=0
48155
48156 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
48157 USE_MEDIA=1
48158
48159 if test "$wxUSE_GTK" = 1; then
48160 wxUSE_GSTREAMER="no"
48161
48162 GST_VERSION_MAJOR=0
48163 GST_VERSION_MINOR=10
48164 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48165
48166 if test "$wxUSE_GSTREAMER8" = "no"; then
48167
48168 pkg_failed=no
48169 { echo "$as_me:$LINENO: checking for GST" >&5
48170 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48171
48172 if test -n "$PKG_CONFIG"; then
48173 if test -n "$GST_CFLAGS"; then
48174 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48175 else
48176 if test -n "$PKG_CONFIG" && \
48177 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48178 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48179 ac_status=$?
48180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48181 (exit $ac_status); }; then
48182 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48183 else
48184 pkg_failed=yes
48185 fi
48186 fi
48187 else
48188 pkg_failed=untried
48189 fi
48190 if test -n "$PKG_CONFIG"; then
48191 if test -n "$GST_LIBS"; then
48192 pkg_cv_GST_LIBS="$GST_LIBS"
48193 else
48194 if test -n "$PKG_CONFIG" && \
48195 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48196 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48197 ac_status=$?
48198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48199 (exit $ac_status); }; then
48200 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48201 else
48202 pkg_failed=yes
48203 fi
48204 fi
48205 else
48206 pkg_failed=untried
48207 fi
48208
48209
48210
48211 if test $pkg_failed = yes; then
48212
48213 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48214 _pkg_short_errors_supported=yes
48215 else
48216 _pkg_short_errors_supported=no
48217 fi
48218 if test $_pkg_short_errors_supported = yes; then
48219 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48220 else
48221 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48222 fi
48223 # Put the nasty error message in config.log where it belongs
48224 echo "$GST_PKG_ERRORS" >&5
48225
48226
48227 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48228 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48229 GST_VERSION_MINOR=8
48230
48231
48232 elif test $pkg_failed = untried; then
48233
48234 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48235 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48236 GST_VERSION_MINOR=8
48237
48238
48239 else
48240 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48241 GST_LIBS=$pkg_cv_GST_LIBS
48242 { echo "$as_me:$LINENO: result: yes" >&5
48243 echo "${ECHO_T}yes" >&6; }
48244
48245 wxUSE_GSTREAMER="yes"
48246 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
48247
48248 fi
48249 else
48250 GST_VERSION_MINOR=8
48251 fi
48252
48253 if test $GST_VERSION_MINOR = "8"; then
48254 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48255
48256 pkg_failed=no
48257 { echo "$as_me:$LINENO: checking for GST" >&5
48258 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48259
48260 if test -n "$PKG_CONFIG"; then
48261 if test -n "$GST_CFLAGS"; then
48262 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48263 else
48264 if test -n "$PKG_CONFIG" && \
48265 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48266 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48267 ac_status=$?
48268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48269 (exit $ac_status); }; then
48270 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48271 else
48272 pkg_failed=yes
48273 fi
48274 fi
48275 else
48276 pkg_failed=untried
48277 fi
48278 if test -n "$PKG_CONFIG"; then
48279 if test -n "$GST_LIBS"; then
48280 pkg_cv_GST_LIBS="$GST_LIBS"
48281 else
48282 if test -n "$PKG_CONFIG" && \
48283 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48284 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48285 ac_status=$?
48286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48287 (exit $ac_status); }; then
48288 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48289 else
48290 pkg_failed=yes
48291 fi
48292 fi
48293 else
48294 pkg_failed=untried
48295 fi
48296
48297
48298
48299 if test $pkg_failed = yes; then
48300
48301 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48302 _pkg_short_errors_supported=yes
48303 else
48304 _pkg_short_errors_supported=no
48305 fi
48306 if test $_pkg_short_errors_supported = yes; then
48307 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48308 else
48309 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48310 fi
48311 # Put the nasty error message in config.log where it belongs
48312 echo "$GST_PKG_ERRORS" >&5
48313
48314
48315 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48316 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48317
48318 elif test $pkg_failed = untried; then
48319
48320 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48321 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48322
48323 else
48324 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48325 GST_LIBS=$pkg_cv_GST_LIBS
48326 { echo "$as_me:$LINENO: result: yes" >&5
48327 echo "${ECHO_T}yes" >&6; }
48328 wxUSE_GSTREAMER="yes"
48329 fi
48330 fi
48331
48332
48333 if test "$wxUSE_GSTREAMER" = "yes"; then
48334 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
48335 EXTRALIBS_MEDIA="$GST_LIBS"
48336
48337 cat >>confdefs.h <<\_ACEOF
48338 #define wxUSE_GSTREAMER 1
48339 _ACEOF
48340
48341 else
48342 USE_MEDIA=0
48343 fi
48344 fi
48345
48346 if test $USE_MEDIA = 1; then
48347 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
48348 cat >>confdefs.h <<\_ACEOF
48349 #define wxUSE_MEDIACTRL 1
48350 _ACEOF
48351
48352 else
48353 if test "$wxUSE_MEDIACTRL" = "yes"; then
48354 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
48355 echo "$as_me: error: GStreamer not available" >&2;}
48356 { (exit 1); exit 1; }; }
48357 else
48358 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
48359 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
48360 fi
48361 fi
48362 fi
48363
48364
48365 if test "$cross_compiling" != "no"; then
48366 OSINFO="\"$host\""
48367 else
48368 OSINFO=`uname -s -r -m`
48369 OSINFO="\"$OSINFO\""
48370 fi
48371
48372 cat >>confdefs.h <<_ACEOF
48373 #define WXWIN_OS_DESCRIPTION $OSINFO
48374 _ACEOF
48375
48376
48377
48378 if test "x$prefix" != "xNONE"; then
48379 wxPREFIX=$prefix
48380 else
48381 wxPREFIX=$ac_default_prefix
48382 fi
48383
48384 cat >>confdefs.h <<_ACEOF
48385 #define wxINSTALL_PREFIX "$wxPREFIX"
48386 _ACEOF
48387
48388
48389
48390
48391 STD_BASE_LIBS="base"
48392 STD_GUI_LIBS=""
48393 BUILT_WX_LIBS="base"
48394 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
48395
48396 if test "$wxUSE_SOCKETS" = "yes" ; then
48397 STD_BASE_LIBS="net $STD_BASE_LIBS"
48398 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
48399 fi
48400 if test "$wxUSE_XML" = "yes" ; then
48401 STD_BASE_LIBS="xml $STD_BASE_LIBS"
48402 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
48403 fi
48404
48405 if test "$wxUSE_GUI" = "yes"; then
48406 STD_GUI_LIBS="adv core"
48407 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
48408
48409 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48410 STD_GUI_LIBS="qa $STD_GUI_LIBS"
48411 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
48412 fi
48413 if test "$wxUSE_HTML" = "yes" ; then
48414 STD_GUI_LIBS="html $STD_GUI_LIBS"
48415 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
48416 fi
48417 if test "$wxUSE_MEDIACTRL" = "yes" ; then
48418 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
48419 fi
48420 if test "$wxUSE_OPENGL" = "yes" ; then
48421 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
48422 fi
48423 if test "$wxUSE_AUI" = "yes" ; then
48424 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
48425 fi
48426 if test "$wxUSE_PROPGRID" = "yes" ; then
48427 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
48428 fi
48429 if test "$wxUSE_RIBBON" = "yes" ; then
48430 BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
48431 fi
48432 if test "$wxUSE_RICHTEXT" = "yes" ; then
48433 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
48434 fi
48435 if test "$wxUSE_STC" = "yes" ; then
48436 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
48437 fi
48438 if test "$wxUSE_XRC" = "yes" ; then
48439 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
48440 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
48441 fi
48442 fi
48443
48444
48445
48446
48447
48448
48449
48450 EXTRA_FRAMEWORKS=
48451 if test "$wxUSE_MAC" = 1 ; then
48452 if test "$USE_DARWIN" = 1; then
48453 if test "$wxUSE_OSX_IPHONE" = 1; then
48454 EXTRA_FRAMEWORKS="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
48455 else
48456 EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime"
48457 fi
48458 fi
48459 fi
48460 if test "$wxUSE_OLD_COCOA" = 1 ; then
48461 EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
48462 if test "$wxUSE_MEDIACTRL" = "yes"; then
48463 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
48464 fi
48465 fi
48466 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
48467 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
48468 fi
48469
48470 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
48471 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
48472
48473 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
48474
48475 if test "$wxUSE_GUI" = "yes"; then
48476
48477
48478 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
48479 erase event exec font image minimal render \
48480 shaped svg taborder vscroll widgets wrapsizer"
48481
48482 if test "$wxUSE_MONOLITHIC" != "yes"; then
48483 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
48484 fi
48485 if test "$TOOLKIT" = "MSW"; then
48486 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
48487 if test "$wxUSE_UNIVERSAL" != "yes"; then
48488 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
48489 fi
48490 fi
48491 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
48492 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
48493 fi
48494 else
48495 SAMPLES_SUBDIRS="console"
48496 if test "$wxUSE_SOCKETS" = "yes" ; then
48497 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
48498 fi
48499 if test "$wxUSE_IPC" = "yes" ; then
48500 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
48501 fi
48502 fi
48503
48504
48505 if test "x$INTELCC" = "xyes" ; then
48506 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
48507 elif test "$GCC" = yes ; then
48508 CWARNINGS="-Wall -Wundef"
48509 fi
48510
48511 if test "x$INTELCXX" = "xyes" ; then
48512 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
48513 elif test "$GXX" = yes ; then
48514 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
48515 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
48516 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
48517 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
48518 echo $ECHO_N "(cached) $ECHO_C" >&6
48519 else
48520 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
48521
48522 ac_ext=cpp
48523 ac_cpp='$CXXCPP $CPPFLAGS'
48524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48527
48528 ac_save_CXXFLAGS="$CXXFLAGS"
48529 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
48530 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
48531 cat >conftest.$ac_ext <<_ACEOF
48532 /* confdefs.h. */
48533 _ACEOF
48534 cat confdefs.h >>conftest.$ac_ext
48535 cat >>conftest.$ac_ext <<_ACEOF
48536 /* end confdefs.h. */
48537
48538 int
48539 main ()
48540 {
48541 return 0;
48542 ;
48543 return 0;
48544 }
48545 _ACEOF
48546 rm -f conftest.$ac_objext
48547 if { (ac_try="$ac_compile"
48548 case "(($ac_try" in
48549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48550 *) ac_try_echo=$ac_try;;
48551 esac
48552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48553 (eval "$ac_compile") 2>conftest.er1
48554 ac_status=$?
48555 grep -v '^ *+' conftest.er1 >conftest.err
48556 rm -f conftest.er1
48557 cat conftest.err >&5
48558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48559 (exit $ac_status); } && {
48560 test -z "$ac_cxx_werror_flag" ||
48561 test ! -s conftest.err
48562 } && test -s conftest.$ac_objext; then
48563 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
48564 else
48565 echo "$as_me: failed program was:" >&5
48566 sed 's/^/| /' conftest.$ac_ext >&5
48567
48568
48569 fi
48570
48571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48572 done
48573 CXXFLAGS="$ac_save_CXXFLAGS"
48574 ac_ext=c
48575 ac_cpp='$CPP $CPPFLAGS'
48576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48579
48580
48581 fi
48582 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
48583 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
48584 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
48585 .ok|.ok,*) ;;
48586 .|.no|.no,*) ;;
48587 *)
48588 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
48589 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
48590 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
48591 ac_status=$?
48592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48593 (exit $ac_status); }
48594 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
48595 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
48596 ac_status=$?
48597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48598 (exit $ac_status); }
48599 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
48600 fi
48601 ;;
48602 esac
48603
48604
48605 if test "$wxUSE_MAC" = 1 ; then
48606 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
48607 fi
48608 fi
48609
48610
48611 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
48612 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
48613
48614
48615 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
48616 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
48617 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
48618 $CPPFLAGS `
48619
48620 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
48621 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
48622 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
48623 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
48624 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
48625
48626 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
48627
48628
48629 if test "x$MWCC" = "xyes"; then
48630
48631 CC="$CC -cwd source -I-"
48632 CXX="$CXX -cwd source -I-"
48633 fi
48634
48635
48636 LIBS=`echo $LIBS`
48637 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
48638 EXTRALIBS_XML="$EXPAT_LINK"
48639 EXTRALIBS_HTML="$MSPACK_LINK"
48640 EXTRALIBS_MEDIA="$GST_LIBS"
48641 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
48642 if test "$wxUSE_GUI" = "yes"; then
48643 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
48644 fi
48645 if test "$wxUSE_OPENGL" = "yes"; then
48646 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
48647 fi
48648
48649 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
48650
48651 WXCONFIG_LIBS="$LIBS"
48652
48653 if test "$wxUSE_REGEX" = "builtin" ; then
48654 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
48655 fi
48656 if test "$wxUSE_EXPAT" = "builtin" ; then
48657 wxconfig_3rdparty="expat $wxconfig_3rdparty"
48658 fi
48659 if test "$wxUSE_LIBTIFF" = "builtin" ; then
48660 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
48661 fi
48662 if test "$wxUSE_LIBJPEG" = "builtin" ; then
48663 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
48664 fi
48665 if test "$wxUSE_LIBPNG" = "builtin" ; then
48666 wxconfig_3rdparty="png $wxconfig_3rdparty"
48667 fi
48668 if test "$wxUSE_ZLIB" = "builtin" ; then
48669 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
48670 fi
48671
48672 for i in $wxconfig_3rdparty ; do
48673 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
48674 done
48675
48676
48677 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
48678 WXUNIV=1
48679
48680 case "$wxUNIV_THEMES" in
48681 ''|all)
48682 cat >>confdefs.h <<\_ACEOF
48683 #define wxUSE_ALL_THEMES 1
48684 _ACEOF
48685
48686 ;;
48687
48688 *)
48689 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
48690 cat >>confdefs.h <<_ACEOF
48691 #define wxUSE_THEME_$t 1
48692 _ACEOF
48693
48694 done
48695 esac
48696 else
48697 WXUNIV=0
48698 fi
48699
48700
48701
48702
48703
48704
48705
48706
48707 if test $wxUSE_MONOLITHIC = "yes" ; then
48708 MONOLITHIC=1
48709 else
48710 MONOLITHIC=0
48711 fi
48712
48713 if test $wxUSE_PLUGINS = "yes" ; then
48714 USE_PLUGINS=1
48715 else
48716 USE_PLUGINS=0
48717 fi
48718
48719 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48720 USE_QA=1
48721 else
48722 USE_QA=0
48723 fi
48724
48725 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
48726 OFFICIAL_BUILD=1
48727 else
48728 OFFICIAL_BUILD=0
48729 fi
48730
48731
48732
48733
48734
48735
48736
48737
48738
48739
48740
48741
48742
48743
48744
48745
48746
48747
48748
48749
48750
48751
48752
48753
48754
48755
48756
48757 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
48758
48759
48760
48761
48762
48763
48764
48765
48766
48767
48768 case "$TOOLKIT" in
48769 GTK)
48770 TOOLKIT_DESC="GTK+"
48771 if test "$WXGTK2" = 1; then
48772 TOOLKIT_DESC="$TOOLKIT_DESC 2"
48773 if test "$wxUSE_GTKPRINT" = "yes" ; then
48774 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
48775 fi
48776 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
48777 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
48778 fi
48779 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
48780 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
48781 fi
48782 if test "$wxUSE_LIBHILDON" = "yes"; then
48783 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
48784 fi
48785 if test "$wxUSE_LIBHILDON2" = "yes"; then
48786 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
48787 fi
48788
48789 if test "$TOOLKIT_EXTRA" != ""; then
48790 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
48791 fi
48792 fi
48793 ;;
48794
48795 ?*)
48796 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
48797 ;;
48798
48799 *)
48800 TOOLKIT_DESC="base only"
48801 ;;
48802 esac
48803
48804 if test "$wxUSE_WINE" = "yes"; then
48805 BAKEFILE_FORCE_PLATFORM=win32
48806 fi
48807
48808 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
48809 then
48810 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
48811 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
48812 if test "${wx_cv_gcc_pch_bug+set}" = set; then
48813 echo $ECHO_N "(cached) $ECHO_C" >&6
48814 else
48815
48816 echo '#include <stdio.h>
48817 const wchar_t test_var[] = L"awidetest";' > conftest.h
48818
48819 echo '#include "conftest.h"
48820 int main()
48821 {
48822 printf("%ls", test_var);
48823 return 0;
48824 }' > conftest.cpp
48825
48826 wx_cv_gcc_pch_bug="pch not supported"
48827
48828 if $CXX conftest.h >/dev/null 2>&1
48829 then
48830 wx_cv_gcc_pch_bug=
48831
48832 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
48833 then
48834 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
48835 grep awidetest >/dev/null
48836 then
48837 wx_cv_gcc_pch_bug=no
48838 else
48839 wx_cv_gcc_pch_bug=yes
48840 fi
48841 fi
48842 fi
48843
48844 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
48845
48846 fi
48847 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
48848 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
48849
48850 if test "$wx_cv_gcc_pch_bug" = yes; then
48851 bk_use_pch=no
48852 fi
48853 fi
48854
48855
48856
48857
48858
48859
48860
48861 if test "x$BAKEFILE_HOST" = "x"; then
48862 if test "x${host}" = "x" ; then
48863 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
48864 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
48865 { (exit 1); exit 1; }; }
48866 fi
48867
48868 BAKEFILE_HOST="${host}"
48869 fi
48870
48871 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
48872
48873 if test -n "$ac_tool_prefix"; then
48874 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
48875 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
48876 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48877 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48878 if test "${ac_cv_prog_RANLIB+set}" = set; then
48879 echo $ECHO_N "(cached) $ECHO_C" >&6
48880 else
48881 if test -n "$RANLIB"; then
48882 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
48883 else
48884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48885 for as_dir in $PATH
48886 do
48887 IFS=$as_save_IFS
48888 test -z "$as_dir" && as_dir=.
48889 for ac_exec_ext in '' $ac_executable_extensions; do
48890 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48891 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
48892 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48893 break 2
48894 fi
48895 done
48896 done
48897 IFS=$as_save_IFS
48898
48899 fi
48900 fi
48901 RANLIB=$ac_cv_prog_RANLIB
48902 if test -n "$RANLIB"; then
48903 { echo "$as_me:$LINENO: result: $RANLIB" >&5
48904 echo "${ECHO_T}$RANLIB" >&6; }
48905 else
48906 { echo "$as_me:$LINENO: result: no" >&5
48907 echo "${ECHO_T}no" >&6; }
48908 fi
48909
48910
48911 fi
48912 if test -z "$ac_cv_prog_RANLIB"; then
48913 ac_ct_RANLIB=$RANLIB
48914 # Extract the first word of "ranlib", so it can be a program name with args.
48915 set dummy ranlib; ac_word=$2
48916 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48917 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48918 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
48919 echo $ECHO_N "(cached) $ECHO_C" >&6
48920 else
48921 if test -n "$ac_ct_RANLIB"; then
48922 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
48923 else
48924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48925 for as_dir in $PATH
48926 do
48927 IFS=$as_save_IFS
48928 test -z "$as_dir" && as_dir=.
48929 for ac_exec_ext in '' $ac_executable_extensions; do
48930 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48931 ac_cv_prog_ac_ct_RANLIB="ranlib"
48932 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48933 break 2
48934 fi
48935 done
48936 done
48937 IFS=$as_save_IFS
48938
48939 fi
48940 fi
48941 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
48942 if test -n "$ac_ct_RANLIB"; then
48943 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
48944 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
48945 else
48946 { echo "$as_me:$LINENO: result: no" >&5
48947 echo "${ECHO_T}no" >&6; }
48948 fi
48949
48950 if test "x$ac_ct_RANLIB" = x; then
48951 RANLIB=":"
48952 else
48953 case $cross_compiling:$ac_tool_warned in
48954 yes:)
48955 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48956 whose name does not start with the host triplet. If you think this
48957 configuration is useful to you, please write to autoconf@gnu.org." >&5
48958 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48959 whose name does not start with the host triplet. If you think this
48960 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48961 ac_tool_warned=yes ;;
48962 esac
48963 RANLIB=$ac_ct_RANLIB
48964 fi
48965 else
48966 RANLIB="$ac_cv_prog_RANLIB"
48967 fi
48968
48969 # Find a good install program. We prefer a C program (faster),
48970 # so one script is as good as another. But avoid the broken or
48971 # incompatible versions:
48972 # SysV /etc/install, /usr/sbin/install
48973 # SunOS /usr/etc/install
48974 # IRIX /sbin/install
48975 # AIX /bin/install
48976 # AmigaOS /C/install, which installs bootblocks on floppy discs
48977 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
48978 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
48979 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
48980 # OS/2's system install, which has a completely different semantic
48981 # ./install, which can be erroneously created by make from ./install.sh.
48982 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
48983 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
48984 if test -z "$INSTALL"; then
48985 if test "${ac_cv_path_install+set}" = set; then
48986 echo $ECHO_N "(cached) $ECHO_C" >&6
48987 else
48988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48989 for as_dir in $PATH
48990 do
48991 IFS=$as_save_IFS
48992 test -z "$as_dir" && as_dir=.
48993 # Account for people who put trailing slashes in PATH elements.
48994 case $as_dir/ in
48995 ./ | .// | /cC/* | \
48996 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
48997 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
48998 /usr/ucb/* ) ;;
48999 *)
49000 # OSF1 and SCO ODT 3.0 have their own names for install.
49001 # Don't use installbsd from OSF since it installs stuff as root
49002 # by default.
49003 for ac_prog in ginstall scoinst install; do
49004 for ac_exec_ext in '' $ac_executable_extensions; do
49005 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49006 if test $ac_prog = install &&
49007 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49008 # AIX install. It has an incompatible calling convention.
49009 :
49010 elif test $ac_prog = install &&
49011 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49012 # program-specific install script used by HP pwplus--don't use.
49013 :
49014 else
49015 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
49016 break 3
49017 fi
49018 fi
49019 done
49020 done
49021 ;;
49022 esac
49023 done
49024 IFS=$as_save_IFS
49025
49026
49027 fi
49028 if test "${ac_cv_path_install+set}" = set; then
49029 INSTALL=$ac_cv_path_install
49030 else
49031 # As a last resort, use the slow shell script. Don't cache a
49032 # value for INSTALL within a source directory, because that will
49033 # break other packages using the cache if that directory is
49034 # removed, or if the value is a relative name.
49035 INSTALL=$ac_install_sh
49036 fi
49037 fi
49038 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49039 echo "${ECHO_T}$INSTALL" >&6; }
49040
49041 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49042 # It thinks the first close brace ends the variable substitution.
49043 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
49044
49045 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
49046
49047 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
49048
49049 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49050 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49051 LN_S=$as_ln_s
49052 if test "$LN_S" = "ln -s"; then
49053 { echo "$as_me:$LINENO: result: yes" >&5
49054 echo "${ECHO_T}yes" >&6; }
49055 else
49056 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49057 echo "${ECHO_T}no, using $LN_S" >&6; }
49058 fi
49059
49060
49061 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49062 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49063 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49064 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49065 echo $ECHO_N "(cached) $ECHO_C" >&6
49066 else
49067 cat >conftest.make <<\_ACEOF
49068 SHELL = /bin/sh
49069 all:
49070 @echo '@@@%%%=$(MAKE)=@@@%%%'
49071 _ACEOF
49072 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49073 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49074 *@@@%%%=?*=@@@%%%*)
49075 eval ac_cv_prog_make_${ac_make}_set=yes;;
49076 *)
49077 eval ac_cv_prog_make_${ac_make}_set=no;;
49078 esac
49079 rm -f conftest.make
49080 fi
49081 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49082 { echo "$as_me:$LINENO: result: yes" >&5
49083 echo "${ECHO_T}yes" >&6; }
49084 SET_MAKE=
49085 else
49086 { echo "$as_me:$LINENO: result: no" >&5
49087 echo "${ECHO_T}no" >&6; }
49088 SET_MAKE="MAKE=${MAKE-make}"
49089 fi
49090
49091
49092
49093 if test "x$SUNCXX" = "xyes"; then
49094 AR=$CXX
49095 AROPTIONS="-xar -o"
49096
49097 elif test "x$SGICC" = "xyes"; then
49098 AR=$CXX
49099 AROPTIONS="-ar -o"
49100
49101 else
49102 if test -n "$ac_tool_prefix"; then
49103 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49104 set dummy ${ac_tool_prefix}ar; ac_word=$2
49105 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49106 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49107 if test "${ac_cv_prog_AR+set}" = set; then
49108 echo $ECHO_N "(cached) $ECHO_C" >&6
49109 else
49110 if test -n "$AR"; then
49111 ac_cv_prog_AR="$AR" # Let the user override the test.
49112 else
49113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49114 for as_dir in $PATH
49115 do
49116 IFS=$as_save_IFS
49117 test -z "$as_dir" && as_dir=.
49118 for ac_exec_ext in '' $ac_executable_extensions; do
49119 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49120 ac_cv_prog_AR="${ac_tool_prefix}ar"
49121 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49122 break 2
49123 fi
49124 done
49125 done
49126 IFS=$as_save_IFS
49127
49128 fi
49129 fi
49130 AR=$ac_cv_prog_AR
49131 if test -n "$AR"; then
49132 { echo "$as_me:$LINENO: result: $AR" >&5
49133 echo "${ECHO_T}$AR" >&6; }
49134 else
49135 { echo "$as_me:$LINENO: result: no" >&5
49136 echo "${ECHO_T}no" >&6; }
49137 fi
49138
49139
49140 fi
49141 if test -z "$ac_cv_prog_AR"; then
49142 ac_ct_AR=$AR
49143 # Extract the first word of "ar", so it can be a program name with args.
49144 set dummy ar; ac_word=$2
49145 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49146 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49147 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49148 echo $ECHO_N "(cached) $ECHO_C" >&6
49149 else
49150 if test -n "$ac_ct_AR"; then
49151 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
49152 else
49153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49154 for as_dir in $PATH
49155 do
49156 IFS=$as_save_IFS
49157 test -z "$as_dir" && as_dir=.
49158 for ac_exec_ext in '' $ac_executable_extensions; do
49159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49160 ac_cv_prog_ac_ct_AR="ar"
49161 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49162 break 2
49163 fi
49164 done
49165 done
49166 IFS=$as_save_IFS
49167
49168 fi
49169 fi
49170 ac_ct_AR=$ac_cv_prog_ac_ct_AR
49171 if test -n "$ac_ct_AR"; then
49172 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
49173 echo "${ECHO_T}$ac_ct_AR" >&6; }
49174 else
49175 { echo "$as_me:$LINENO: result: no" >&5
49176 echo "${ECHO_T}no" >&6; }
49177 fi
49178
49179 if test "x$ac_ct_AR" = x; then
49180 AR="ar"
49181 else
49182 case $cross_compiling:$ac_tool_warned in
49183 yes:)
49184 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49185 whose name does not start with the host triplet. If you think this
49186 configuration is useful to you, please write to autoconf@gnu.org." >&5
49187 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49188 whose name does not start with the host triplet. If you think this
49189 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49190 ac_tool_warned=yes ;;
49191 esac
49192 AR=$ac_ct_AR
49193 fi
49194 else
49195 AR="$ac_cv_prog_AR"
49196 fi
49197
49198 AROPTIONS=rcu
49199 fi
49200
49201
49202 if test -n "$ac_tool_prefix"; then
49203 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
49204 set dummy ${ac_tool_prefix}strip; ac_word=$2
49205 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49206 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49207 if test "${ac_cv_prog_STRIP+set}" = set; then
49208 echo $ECHO_N "(cached) $ECHO_C" >&6
49209 else
49210 if test -n "$STRIP"; then
49211 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
49212 else
49213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49214 for as_dir in $PATH
49215 do
49216 IFS=$as_save_IFS
49217 test -z "$as_dir" && as_dir=.
49218 for ac_exec_ext in '' $ac_executable_extensions; do
49219 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49220 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
49221 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49222 break 2
49223 fi
49224 done
49225 done
49226 IFS=$as_save_IFS
49227
49228 fi
49229 fi
49230 STRIP=$ac_cv_prog_STRIP
49231 if test -n "$STRIP"; then
49232 { echo "$as_me:$LINENO: result: $STRIP" >&5
49233 echo "${ECHO_T}$STRIP" >&6; }
49234 else
49235 { echo "$as_me:$LINENO: result: no" >&5
49236 echo "${ECHO_T}no" >&6; }
49237 fi
49238
49239
49240 fi
49241 if test -z "$ac_cv_prog_STRIP"; then
49242 ac_ct_STRIP=$STRIP
49243 # Extract the first word of "strip", so it can be a program name with args.
49244 set dummy strip; ac_word=$2
49245 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49246 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49247 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
49248 echo $ECHO_N "(cached) $ECHO_C" >&6
49249 else
49250 if test -n "$ac_ct_STRIP"; then
49251 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
49252 else
49253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49254 for as_dir in $PATH
49255 do
49256 IFS=$as_save_IFS
49257 test -z "$as_dir" && as_dir=.
49258 for ac_exec_ext in '' $ac_executable_extensions; do
49259 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49260 ac_cv_prog_ac_ct_STRIP="strip"
49261 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49262 break 2
49263 fi
49264 done
49265 done
49266 IFS=$as_save_IFS
49267
49268 fi
49269 fi
49270 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
49271 if test -n "$ac_ct_STRIP"; then
49272 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
49273 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
49274 else
49275 { echo "$as_me:$LINENO: result: no" >&5
49276 echo "${ECHO_T}no" >&6; }
49277 fi
49278
49279 if test "x$ac_ct_STRIP" = x; then
49280 STRIP=":"
49281 else
49282 case $cross_compiling:$ac_tool_warned in
49283 yes:)
49284 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49285 whose name does not start with the host triplet. If you think this
49286 configuration is useful to you, please write to autoconf@gnu.org." >&5
49287 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49288 whose name does not start with the host triplet. If you think this
49289 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49290 ac_tool_warned=yes ;;
49291 esac
49292 STRIP=$ac_ct_STRIP
49293 fi
49294 else
49295 STRIP="$ac_cv_prog_STRIP"
49296 fi
49297
49298 if test -n "$ac_tool_prefix"; then
49299 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
49300 set dummy ${ac_tool_prefix}nm; ac_word=$2
49301 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49303 if test "${ac_cv_prog_NM+set}" = set; then
49304 echo $ECHO_N "(cached) $ECHO_C" >&6
49305 else
49306 if test -n "$NM"; then
49307 ac_cv_prog_NM="$NM" # Let the user override the test.
49308 else
49309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49310 for as_dir in $PATH
49311 do
49312 IFS=$as_save_IFS
49313 test -z "$as_dir" && as_dir=.
49314 for ac_exec_ext in '' $ac_executable_extensions; do
49315 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49316 ac_cv_prog_NM="${ac_tool_prefix}nm"
49317 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49318 break 2
49319 fi
49320 done
49321 done
49322 IFS=$as_save_IFS
49323
49324 fi
49325 fi
49326 NM=$ac_cv_prog_NM
49327 if test -n "$NM"; then
49328 { echo "$as_me:$LINENO: result: $NM" >&5
49329 echo "${ECHO_T}$NM" >&6; }
49330 else
49331 { echo "$as_me:$LINENO: result: no" >&5
49332 echo "${ECHO_T}no" >&6; }
49333 fi
49334
49335
49336 fi
49337 if test -z "$ac_cv_prog_NM"; then
49338 ac_ct_NM=$NM
49339 # Extract the first word of "nm", so it can be a program name with args.
49340 set dummy nm; ac_word=$2
49341 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49342 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49343 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
49344 echo $ECHO_N "(cached) $ECHO_C" >&6
49345 else
49346 if test -n "$ac_ct_NM"; then
49347 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
49348 else
49349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49350 for as_dir in $PATH
49351 do
49352 IFS=$as_save_IFS
49353 test -z "$as_dir" && as_dir=.
49354 for ac_exec_ext in '' $ac_executable_extensions; do
49355 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49356 ac_cv_prog_ac_ct_NM="nm"
49357 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49358 break 2
49359 fi
49360 done
49361 done
49362 IFS=$as_save_IFS
49363
49364 fi
49365 fi
49366 ac_ct_NM=$ac_cv_prog_ac_ct_NM
49367 if test -n "$ac_ct_NM"; then
49368 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
49369 echo "${ECHO_T}$ac_ct_NM" >&6; }
49370 else
49371 { echo "$as_me:$LINENO: result: no" >&5
49372 echo "${ECHO_T}no" >&6; }
49373 fi
49374
49375 if test "x$ac_ct_NM" = x; then
49376 NM=":"
49377 else
49378 case $cross_compiling:$ac_tool_warned in
49379 yes:)
49380 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49381 whose name does not start with the host triplet. If you think this
49382 configuration is useful to you, please write to autoconf@gnu.org." >&5
49383 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49384 whose name does not start with the host triplet. If you think this
49385 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49386 ac_tool_warned=yes ;;
49387 esac
49388 NM=$ac_ct_NM
49389 fi
49390 else
49391 NM="$ac_cv_prog_NM"
49392 fi
49393
49394
49395 { echo "$as_me:$LINENO: checking for command to install directories" >&5
49396 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
49397 INSTALL_TEST_DIR=acbftest$$
49398 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
49399 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
49400 rmdir $INSTALL_TEST_DIR
49401 INSTALL_DIR='$(INSTALL) -d'
49402 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
49403 echo "${ECHO_T}$INSTALL -d" >&6; }
49404 else
49405 INSTALL_DIR="mkdir -p"
49406 { echo "$as_me:$LINENO: result: mkdir -p" >&5
49407 echo "${ECHO_T}mkdir -p" >&6; }
49408 fi
49409
49410
49411 LDFLAGS_GUI=
49412 case ${BAKEFILE_HOST} in
49413 *-*-cygwin* | *-*-mingw32* )
49414 LDFLAGS_GUI="-mwindows"
49415 esac
49416
49417
49418 fi
49419
49420 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
49421 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
49422 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
49423 echo $ECHO_N "(cached) $ECHO_C" >&6
49424 else
49425
49426 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
49427 egrep -s GNU > /dev/null); then
49428 bakefile_cv_prog_makeisgnu="yes"
49429 else
49430 bakefile_cv_prog_makeisgnu="no"
49431 fi
49432
49433 fi
49434 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
49435 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
49436
49437 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
49438 IF_GNU_MAKE=""
49439 else
49440 IF_GNU_MAKE="#"
49441 fi
49442
49443
49444
49445 PLATFORM_UNIX=0
49446 PLATFORM_WIN32=0
49447 PLATFORM_MSDOS=0
49448 PLATFORM_MAC=0
49449 PLATFORM_MACOS=0
49450 PLATFORM_MACOSX=0
49451 PLATFORM_OS2=0
49452 PLATFORM_BEOS=0
49453
49454 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
49455 case "${BAKEFILE_HOST}" in
49456 *-*-mingw32* )
49457 PLATFORM_WIN32=1
49458 ;;
49459 *-pc-msdosdjgpp )
49460 PLATFORM_MSDOS=1
49461 ;;
49462 *-pc-os2_emx | *-pc-os2-emx )
49463 PLATFORM_OS2=1
49464 ;;
49465 *-*-darwin* )
49466 PLATFORM_MAC=1
49467 PLATFORM_MACOSX=1
49468 ;;
49469 *-*-beos* )
49470 PLATFORM_BEOS=1
49471 ;;
49472 powerpc-apple-macos* )
49473 PLATFORM_MAC=1
49474 PLATFORM_MACOS=1
49475 ;;
49476 * )
49477 PLATFORM_UNIX=1
49478 ;;
49479 esac
49480 else
49481 case "$BAKEFILE_FORCE_PLATFORM" in
49482 win32 )
49483 PLATFORM_WIN32=1
49484 ;;
49485 msdos )
49486 PLATFORM_MSDOS=1
49487 ;;
49488 os2 )
49489 PLATFORM_OS2=1
49490 ;;
49491 darwin )
49492 PLATFORM_MAC=1
49493 PLATFORM_MACOSX=1
49494 ;;
49495 unix )
49496 PLATFORM_UNIX=1
49497 ;;
49498 beos )
49499 PLATFORM_BEOS=1
49500 ;;
49501 * )
49502 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
49503 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
49504 { (exit 1); exit 1; }; }
49505 ;;
49506 esac
49507 fi
49508
49509
49510
49511
49512
49513
49514
49515
49516
49517
49518
49519 # Check whether --enable-omf was given.
49520 if test "${enable_omf+set}" = set; then
49521 enableval=$enable_omf; bk_os2_use_omf="$enableval"
49522 fi
49523
49524
49525 case "${BAKEFILE_HOST}" in
49526 *-*-darwin* )
49527 if test "x$GCC" = "xyes"; then
49528 CFLAGS="$CFLAGS -fno-common"
49529 CXXFLAGS="$CXXFLAGS -fno-common"
49530 fi
49531 if test "x$XLCC" = "xyes"; then
49532 CFLAGS="$CFLAGS -qnocommon"
49533 CXXFLAGS="$CXXFLAGS -qnocommon"
49534 fi
49535 ;;
49536
49537 *-pc-os2_emx | *-pc-os2-emx )
49538 if test "x$bk_os2_use_omf" = "xyes" ; then
49539 AR=emxomfar
49540 RANLIB=:
49541 LDFLAGS="-Zomf $LDFLAGS"
49542 CFLAGS="-Zomf $CFLAGS"
49543 CXXFLAGS="-Zomf $CXXFLAGS"
49544 OS2_LIBEXT="lib"
49545 else
49546 OS2_LIBEXT="a"
49547 fi
49548 ;;
49549
49550 i*86-*-beos* )
49551 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
49552 ;;
49553 esac
49554
49555
49556 SO_SUFFIX="so"
49557 SO_SUFFIX_MODULE="so"
49558 EXEEXT=""
49559 LIBPREFIX="lib"
49560 LIBEXT=".a"
49561 DLLPREFIX="lib"
49562 DLLPREFIX_MODULE=""
49563 DLLIMP_SUFFIX=""
49564 dlldir="$libdir"
49565
49566 case "${BAKEFILE_HOST}" in
49567 ia64-hp-hpux* )
49568 ;;
49569 *-hp-hpux* )
49570 SO_SUFFIX="sl"
49571 SO_SUFFIX_MODULE="sl"
49572 ;;
49573 *-*-aix* )
49574 SO_SUFFIX="a"
49575 SO_SUFFIX_MODULE="a"
49576 ;;
49577 *-*-cygwin* )
49578 SO_SUFFIX="dll"
49579 SO_SUFFIX_MODULE="dll"
49580 DLLIMP_SUFFIX="dll.a"
49581 EXEEXT=".exe"
49582 DLLPREFIX="cyg"
49583 dlldir="$bindir"
49584 ;;
49585 *-*-mingw32* )
49586 SO_SUFFIX="dll"
49587 SO_SUFFIX_MODULE="dll"
49588 DLLIMP_SUFFIX="dll.a"
49589 EXEEXT=".exe"
49590 DLLPREFIX=""
49591 dlldir="$bindir"
49592 ;;
49593 *-pc-msdosdjgpp )
49594 EXEEXT=".exe"
49595 DLLPREFIX=""
49596 dlldir="$bindir"
49597 ;;
49598 *-pc-os2_emx | *-pc-os2-emx )
49599 SO_SUFFIX="dll"
49600 SO_SUFFIX_MODULE="dll"
49601 DLLIMP_SUFFIX=$OS2_LIBEXT
49602 EXEEXT=".exe"
49603 DLLPREFIX=""
49604 LIBPREFIX=""
49605 LIBEXT=".$OS2_LIBEXT"
49606 dlldir="$bindir"
49607 ;;
49608 *-*-darwin* )
49609 SO_SUFFIX="dylib"
49610 SO_SUFFIX_MODULE="bundle"
49611 ;;
49612 esac
49613
49614 if test "x$DLLIMP_SUFFIX" = "x" ; then
49615 DLLIMP_SUFFIX="$SO_SUFFIX"
49616 fi
49617
49618
49619
49620
49621
49622
49623
49624
49625
49626
49627
49628
49629 PIC_FLAG=""
49630 if test "x$GCC" = "xyes"; then
49631 PIC_FLAG="-fPIC"
49632 fi
49633
49634 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
49635 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
49636 WINDOWS_IMPLIB=0
49637
49638 case "${BAKEFILE_HOST}" in
49639 *-hp-hpux* )
49640 if test "x$GCC" != "xyes"; then
49641 LDFLAGS="$LDFLAGS -L/usr/lib"
49642
49643 SHARED_LD_CC="${CC} -b -o"
49644 SHARED_LD_CXX="${CXX} -b -o"
49645 PIC_FLAG="+Z"
49646 fi
49647 ;;
49648
49649 *-*-linux* )
49650 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
49651 PIC_FLAG="-KPIC"
49652 elif test "x$SUNCXX" = "xyes"; then
49653 SHARED_LD_CC="${CC} -G -o"
49654 SHARED_LD_CXX="${CXX} -G -o"
49655 PIC_FLAG="-KPIC"
49656 fi
49657 ;;
49658
49659 *-*-solaris2* )
49660 if test "x$SUNCXX" = xyes ; then
49661 SHARED_LD_CC="${CC} -G -o"
49662 SHARED_LD_CXX="${CXX} -G -o"
49663 PIC_FLAG="-KPIC"
49664 fi
49665 ;;
49666
49667 *-*-darwin* )
49668
49669 D='$'
49670 cat <<EOF >shared-ld-sh
49671 #!/bin/sh
49672 #-----------------------------------------------------------------------------
49673 #-- Name: distrib/mac/shared-ld-sh
49674 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
49675 #-- Author: Gilles Depeyrot
49676 #-- Copyright: (c) 2002 Gilles Depeyrot
49677 #-- Licence: any use permitted
49678 #-----------------------------------------------------------------------------
49679
49680 verbose=0
49681 args=""
49682 objects=""
49683 linking_flag="-dynamiclib"
49684 ldargs="-r -keep_private_externs -nostdlib"
49685
49686 if test "x${D}CXX" = "x"; then
49687 CXX="c++"
49688 fi
49689
49690 while test ${D}# -gt 0; do
49691 case ${D}1 in
49692
49693 -v)
49694 verbose=1
49695 ;;
49696
49697 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
49698 # collect these options and values
49699 args="${D}{args} ${D}1 ${D}2"
49700 shift
49701 ;;
49702
49703 -arch|-isysroot)
49704 # collect these options and values
49705 ldargs="${D}{ldargs} ${D}1 ${D}2"
49706 shift
49707 ;;
49708
49709 -s|-Wl,*)
49710 # collect these load args
49711 ldargs="${D}{ldargs} ${D}1"
49712 ;;
49713
49714 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
49715 # collect these options
49716 args="${D}{args} ${D}1"
49717 ;;
49718
49719 -dynamiclib|-bundle)
49720 linking_flag="${D}1"
49721 ;;
49722
49723 -*)
49724 echo "shared-ld: unhandled option '${D}1'"
49725 exit 1
49726 ;;
49727
49728 *.o | *.a | *.dylib)
49729 # collect object files
49730 objects="${D}{objects} ${D}1"
49731 ;;
49732
49733 *)
49734 echo "shared-ld: unhandled argument '${D}1'"
49735 exit 1
49736 ;;
49737
49738 esac
49739 shift
49740 done
49741
49742 status=0
49743
49744 #
49745 # Link one module containing all the others
49746 #
49747 if test ${D}{verbose} = 1; then
49748 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
49749 fi
49750 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
49751 status=${D}?
49752
49753 #
49754 # Link the shared library from the single module created, but only if the
49755 # previous command didn't fail:
49756 #
49757 if test ${D}{status} = 0; then
49758 if test ${D}{verbose} = 1; then
49759 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
49760 fi
49761 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
49762 status=${D}?
49763 fi
49764
49765 #
49766 # Remove intermediate module
49767 #
49768 rm -f master.${D}${D}.o
49769
49770 exit ${D}status
49771 EOF
49772
49773 chmod +x shared-ld-sh
49774
49775 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
49776 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
49777
49778
49779 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
49780 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
49781 if test "${bakefile_cv_gcc31+set}" = set; then
49782 echo $ECHO_N "(cached) $ECHO_C" >&6
49783 else
49784
49785 cat >conftest.$ac_ext <<_ACEOF
49786 /* confdefs.h. */
49787 _ACEOF
49788 cat confdefs.h >>conftest.$ac_ext
49789 cat >>conftest.$ac_ext <<_ACEOF
49790 /* end confdefs.h. */
49791
49792 int
49793 main ()
49794 {
49795
49796 #if (__GNUC__ < 3) || \
49797 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
49798 This is old gcc
49799 #endif
49800
49801 ;
49802 return 0;
49803 }
49804 _ACEOF
49805 rm -f conftest.$ac_objext
49806 if { (ac_try="$ac_compile"
49807 case "(($ac_try" in
49808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49809 *) ac_try_echo=$ac_try;;
49810 esac
49811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49812 (eval "$ac_compile") 2>conftest.er1
49813 ac_status=$?
49814 grep -v '^ *+' conftest.er1 >conftest.err
49815 rm -f conftest.er1
49816 cat conftest.err >&5
49817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49818 (exit $ac_status); } && {
49819 test -z "$ac_c_werror_flag" ||
49820 test ! -s conftest.err
49821 } && test -s conftest.$ac_objext; then
49822
49823 bakefile_cv_gcc31=yes
49824
49825 else
49826 echo "$as_me: failed program was:" >&5
49827 sed 's/^/| /' conftest.$ac_ext >&5
49828
49829
49830 bakefile_cv_gcc31=no
49831
49832
49833 fi
49834
49835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49836
49837 fi
49838 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
49839 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
49840 if test "$bakefile_cv_gcc31" = "no"; then
49841 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
49842 SHARED_LD_CXX="$SHARED_LD_CC"
49843 else
49844 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
49845 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
49846 fi
49847
49848 if test "x$GCC" == "xyes"; then
49849 PIC_FLAG="-dynamic -fPIC"
49850 fi
49851 if test "x$XLCC" = "xyes"; then
49852 PIC_FLAG="-dynamic -DPIC"
49853 fi
49854 ;;
49855
49856 *-*-aix* )
49857 if test "x$GCC" = "xyes"; then
49858 PIC_FLAG=""
49859
49860 case "${BAKEFILE_HOST}" in
49861 *-*-aix5* )
49862 LD_EXPFULL="-Wl,-bexpfull"
49863 ;;
49864 esac
49865
49866 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
49867 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
49868 else
49869 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
49870 set dummy makeC++SharedLib; ac_word=$2
49871 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49872 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49873 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
49874 echo $ECHO_N "(cached) $ECHO_C" >&6
49875 else
49876 if test -n "$AIX_CXX_LD"; then
49877 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
49878 else
49879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49880 for as_dir in $PATH
49881 do
49882 IFS=$as_save_IFS
49883 test -z "$as_dir" && as_dir=.
49884 for ac_exec_ext in '' $ac_executable_extensions; do
49885 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49886 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
49887 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49888 break 2
49889 fi
49890 done
49891 done
49892 IFS=$as_save_IFS
49893
49894 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
49895 fi
49896 fi
49897 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
49898 if test -n "$AIX_CXX_LD"; then
49899 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
49900 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
49901 else
49902 { echo "$as_me:$LINENO: result: no" >&5
49903 echo "${ECHO_T}no" >&6; }
49904 fi
49905
49906
49907 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
49908 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
49909 fi
49910 ;;
49911
49912 *-*-beos* )
49913 SHARED_LD_CC="${LD} -nostart -o"
49914 SHARED_LD_CXX="${LD} -nostart -o"
49915 ;;
49916
49917 *-*-irix* )
49918 if test "x$GCC" != "xyes"; then
49919 PIC_FLAG="-KPIC"
49920 fi
49921 ;;
49922
49923 *-*-cygwin* | *-*-mingw32* )
49924 PIC_FLAG=""
49925 SHARED_LD_CC="\$(CC) -shared -o"
49926 SHARED_LD_CXX="\$(CXX) -shared -o"
49927 WINDOWS_IMPLIB=1
49928 ;;
49929
49930 *-pc-os2_emx | *-pc-os2-emx )
49931 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49932 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49933 PIC_FLAG=""
49934
49935 D='$'
49936 cat <<EOF >dllar.sh
49937 #!/bin/sh
49938 #
49939 # dllar - a tool to build both a .dll and an .a file
49940 # from a set of object (.o) files for EMX/OS2.
49941 #
49942 # Written by Andrew Zabolotny, bit@freya.etu.ru
49943 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
49944 #
49945 # This script will accept a set of files on the command line.
49946 # All the public symbols from the .o files will be exported into
49947 # a .DEF file, then linker will be run (through gcc) against them to
49948 # build a shared library consisting of all given .o files. All libraries
49949 # (.a) will be first decompressed into component .o files then act as
49950 # described above. You can optionally give a description (-d "description")
49951 # which will be put into .DLL. To see the list of accepted options (as well
49952 # as command-line format) simply run this program without options. The .DLL
49953 # is built to be imported by name (there is no guarantee that new versions
49954 # of the library you build will have same ordinals for same symbols).
49955 #
49956 # dllar is free software; you can redistribute it and/or modify
49957 # it under the terms of the GNU General Public License as published by
49958 # the Free Software Foundation; either version 2, or (at your option)
49959 # any later version.
49960 #
49961 # dllar is distributed in the hope that it will be useful,
49962 # but WITHOUT ANY WARRANTY; without even the implied warranty of
49963 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
49964 # GNU General Public License for more details.
49965 #
49966 # You should have received a copy of the GNU General Public License
49967 # along with dllar; see the file COPYING. If not, write to the Free
49968 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
49969 # 02111-1307, USA.
49970
49971 # To successfuly run this program you will need:
49972 # - Current drive should have LFN support (HPFS, ext2, network, etc)
49973 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
49974 # - gcc
49975 # (used to build the .dll)
49976 # - emxexp
49977 # (used to create .def file from .o files)
49978 # - emximp
49979 # (used to create .a file from .def file)
49980 # - GNU text utilites (cat, sort, uniq)
49981 # used to process emxexp output
49982 # - GNU file utilities (mv, rm)
49983 # - GNU sed
49984 # - lxlite (optional, see flag below)
49985 # (used for general .dll cleanup)
49986 #
49987
49988 flag_USE_LXLITE=1;
49989
49990 #
49991 # helper functions
49992 # basnam, variant of basename, which does _not_ remove the path, _iff_
49993 # second argument (suffix to remove) is given
49994 basnam(){
49995 case ${D}# in
49996 1)
49997 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
49998 ;;
49999 2)
50000 echo ${D}1 | sed 's/'${D}2'${D}//'
50001 ;;
50002 *)
50003 echo "error in basnam ${D}*"
50004 exit 8
50005 ;;
50006 esac
50007 }
50008
50009 # Cleanup temporary files and output
50010 CleanUp() {
50011 cd ${D}curDir
50012 for i in ${D}inputFiles ; do
50013 case ${D}i in
50014 *!)
50015 rm -rf \`basnam ${D}i !\`
50016 ;;
50017 *)
50018 ;;
50019 esac
50020 done
50021
50022 # Kill result in case of failure as there is just to many stupid make/nmake
50023 # things out there which doesn't do this.
50024 if [ ${D}# -eq 0 ]; then
50025 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50026 fi
50027 }
50028
50029 # Print usage and exit script with rc=1.
50030 PrintHelp() {
50031 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50032 echo ' [-name-mangler-script script.sh]'
50033 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50034 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50035 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50036 echo ' [*.o] [*.a]'
50037 echo '*> "output_file" should have no extension.'
50038 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50039 echo ' The import library name is derived from this and is set to "name".a,'
50040 echo ' unless overridden by -import'
50041 echo '*> "importlib_name" should have no extension.'
50042 echo ' If it has the .o, or .a extension, it is automatically removed.'
50043 echo ' This name is used as the import library name and may be longer and'
50044 echo ' more descriptive than the DLL name which has to follow the old '
50045 echo ' 8.3 convention of FAT.'
50046 echo '*> "script.sh may be given to override the output_file name by a'
50047 echo ' different name. It is mainly useful if the regular make process'
50048 echo ' of some package does not take into account OS/2 restriction of'
50049 echo ' DLL name lengths. It takes the importlib name as input and is'
50050 echo ' supposed to procude a shorter name as output. The script should'
50051 echo ' expect to get importlib_name without extension and should produce'
50052 echo ' a (max.) 8 letter name without extension.'
50053 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50054 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50055 echo ' These flags will be put at the start of GCC command line.'
50056 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50057 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50058 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50059 echo ' If the last character of a symbol is "*", all symbols beginning'
50060 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50061 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50062 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50063 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50064 echo ' C runtime DLLs.'
50065 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50066 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50067 echo ' unchanged to GCC at the end of command line.'
50068 echo '*> If you create a DLL from a library and you do not specify -o,'
50069 echo ' the basename for DLL and import library will be set to library name,'
50070 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50071 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50072 echo ' library will be renamed into gcc_s.a.'
50073 echo '--------'
50074 echo 'Example:'
50075 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50076 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50077 CleanUp
50078 exit 1
50079 }
50080
50081 # Execute a command.
50082 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50083 # @Uses Whatever CleanUp() uses.
50084 doCommand() {
50085 echo "${D}*"
50086 eval ${D}*
50087 rcCmd=${D}?
50088
50089 if [ ${D}rcCmd -ne 0 ]; then
50090 echo "command failed, exit code="${D}rcCmd
50091 CleanUp
50092 exit ${D}rcCmd
50093 fi
50094 }
50095
50096 # main routine
50097 # setup globals
50098 cmdLine=${D}*
50099 outFile=""
50100 outimpFile=""
50101 inputFiles=""
50102 renameScript=""
50103 description=""
50104 CC=gcc.exe
50105 CFLAGS="-s -Zcrtdll"
50106 EXTRA_CFLAGS=""
50107 EXPORT_BY_ORDINALS=0
50108 exclude_symbols=""
50109 library_flags=""
50110 curDir=\`pwd\`
50111 curDirS=curDir
50112 case ${D}curDirS in
50113 */)
50114 ;;
50115 *)
50116 curDirS=${D}{curDirS}"/"
50117 ;;
50118 esac
50119 # Parse commandline
50120 libsToLink=0
50121 omfLinking=0
50122 while [ ${D}1 ]; do
50123 case ${D}1 in
50124 -ord*)
50125 EXPORT_BY_ORDINALS=1;
50126 ;;
50127 -o*)
50128 shift
50129 outFile=${D}1
50130 ;;
50131 -i*)
50132 shift
50133 outimpFile=${D}1
50134 ;;
50135 -name-mangler-script)
50136 shift
50137 renameScript=${D}1
50138 ;;
50139 -d*)
50140 shift
50141 description=${D}1
50142 ;;
50143 -f*)
50144 shift
50145 CFLAGS=${D}1
50146 ;;
50147 -c*)
50148 shift
50149 CC=${D}1
50150 ;;
50151 -h*)
50152 PrintHelp
50153 ;;
50154 -ex*)
50155 shift
50156 exclude_symbols=${D}{exclude_symbols}${D}1" "
50157 ;;
50158 -libf*)
50159 shift
50160 library_flags=${D}{library_flags}${D}1" "
50161 ;;
50162 -nocrt*)
50163 CFLAGS="-s"
50164 ;;
50165 -nolxl*)
50166 flag_USE_LXLITE=0
50167 ;;
50168 -* | /*)
50169 case ${D}1 in
50170 -L* | -l*)
50171 libsToLink=1
50172 ;;
50173 -Zomf)
50174 omfLinking=1
50175 ;;
50176 *)
50177 ;;
50178 esac
50179 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50180 ;;
50181 *.dll)
50182 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
50183 if [ ${D}omfLinking -eq 1 ]; then
50184 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50185 else
50186 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
50187 fi
50188 ;;
50189 *)
50190 found=0;
50191 if [ ${D}libsToLink -ne 0 ]; then
50192 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50193 else
50194 for file in ${D}1 ; do
50195 if [ -f ${D}file ]; then
50196 inputFiles="${D}{inputFiles} ${D}file"
50197 found=1
50198 fi
50199 done
50200 if [ ${D}found -eq 0 ]; then
50201 echo "ERROR: No file(s) found: "${D}1
50202 exit 8
50203 fi
50204 fi
50205 ;;
50206 esac
50207 shift
50208 done # iterate cmdline words
50209
50210 #
50211 if [ -z "${D}inputFiles" ]; then
50212 echo "dllar: no input files"
50213 PrintHelp
50214 fi
50215
50216 # Now extract all .o files from .a files
50217 newInputFiles=""
50218 for file in ${D}inputFiles ; do
50219 case ${D}file in
50220 *.a | *.lib)
50221 case ${D}file in
50222 *.a)
50223 suffix=".a"
50224 AR="ar"
50225 ;;
50226 *.lib)
50227 suffix=".lib"
50228 AR="emxomfar"
50229 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
50230 ;;
50231 *)
50232 ;;
50233 esac
50234 dirname=\`basnam ${D}file ${D}suffix\`"_%"
50235 mkdir ${D}dirname
50236 if [ ${D}? -ne 0 ]; then
50237 echo "Failed to create subdirectory ./${D}dirname"
50238 CleanUp
50239 exit 8;
50240 fi
50241 # Append '!' to indicate archive
50242 newInputFiles="${D}newInputFiles ${D}{dirname}!"
50243 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
50244 cd ${D}curDir
50245 found=0;
50246 for subfile in ${D}dirname/*.o* ; do
50247 if [ -f ${D}subfile ]; then
50248 found=1
50249 if [ -s ${D}subfile ]; then
50250 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
50251 newInputFiles="${D}newInputFiles ${D}subfile"
50252 fi
50253 fi
50254 done
50255 if [ ${D}found -eq 0 ]; then
50256 echo "WARNING: there are no files in archive \\'${D}file\\'"
50257 fi
50258 ;;
50259 *)
50260 newInputFiles="${D}{newInputFiles} ${D}file"
50261 ;;
50262 esac
50263 done
50264 inputFiles="${D}newInputFiles"
50265
50266 # Output filename(s).
50267 do_backup=0;
50268 if [ -z ${D}outFile ]; then
50269 do_backup=1;
50270 set outFile ${D}inputFiles; outFile=${D}2
50271 fi
50272
50273 # If it is an archive, remove the '!' and the '_%' suffixes
50274 case ${D}outFile in
50275 *_%!)
50276 outFile=\`basnam ${D}outFile _%!\`
50277 ;;
50278 *)
50279 ;;
50280 esac
50281 case ${D}outFile in
50282 *.dll)
50283 outFile=\`basnam ${D}outFile .dll\`
50284 ;;
50285 *.DLL)
50286 outFile=\`basnam ${D}outFile .DLL\`
50287 ;;
50288 *.o)
50289 outFile=\`basnam ${D}outFile .o\`
50290 ;;
50291 *.obj)
50292 outFile=\`basnam ${D}outFile .obj\`
50293 ;;
50294 *.a)
50295 outFile=\`basnam ${D}outFile .a\`
50296 ;;
50297 *.lib)
50298 outFile=\`basnam ${D}outFile .lib\`
50299 ;;
50300 *)
50301 ;;
50302 esac
50303 case ${D}outimpFile in
50304 *.a)
50305 outimpFile=\`basnam ${D}outimpFile .a\`
50306 ;;
50307 *.lib)
50308 outimpFile=\`basnam ${D}outimpFile .lib\`
50309 ;;
50310 *)
50311 ;;
50312 esac
50313 if [ -z ${D}outimpFile ]; then
50314 outimpFile=${D}outFile
50315 fi
50316 defFile="${D}{outFile}.def"
50317 arcFile="${D}{outimpFile}.a"
50318 arcFile2="${D}{outimpFile}.lib"
50319
50320 #create ${D}dllFile as something matching 8.3 restrictions,
50321 if [ -z ${D}renameScript ] ; then
50322 dllFile="${D}outFile"
50323 else
50324 dllFile=\`${D}renameScript ${D}outimpFile\`
50325 fi
50326
50327 if [ ${D}do_backup -ne 0 ] ; then
50328 if [ -f ${D}arcFile ] ; then
50329 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
50330 fi
50331 if [ -f ${D}arcFile2 ] ; then
50332 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
50333 fi
50334 fi
50335
50336 # Extract public symbols from all the object files.
50337 tmpdefFile=${D}{defFile}_%
50338 rm -f ${D}tmpdefFile
50339 for file in ${D}inputFiles ; do
50340 case ${D}file in
50341 *!)
50342 ;;
50343 *)
50344 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
50345 ;;
50346 esac
50347 done
50348
50349 # Create the def file.
50350 rm -f ${D}defFile
50351 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
50352 dllFile="${D}{dllFile}.dll"
50353 if [ ! -z ${D}description ]; then
50354 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
50355 fi
50356 echo "EXPORTS" >> ${D}defFile
50357
50358 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
50359 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
50360
50361 # Checks if the export is ok or not.
50362 for word in ${D}exclude_symbols; do
50363 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
50364 mv ${D}{tmpdefFile}% ${D}tmpdefFile
50365 done
50366
50367
50368 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50369 sed "=" < ${D}tmpdefFile | \\
50370 sed '
50371 N
50372 : loop
50373 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
50374 t loop
50375 ' > ${D}{tmpdefFile}%
50376 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
50377 else
50378 rm -f ${D}{tmpdefFile}%
50379 fi
50380 cat ${D}tmpdefFile >> ${D}defFile
50381 rm -f ${D}tmpdefFile
50382
50383 # Do linking, create implib, and apply lxlite.
50384 gccCmdl="";
50385 for file in ${D}inputFiles ; do
50386 case ${D}file in
50387 *!)
50388 ;;
50389 *)
50390 gccCmdl="${D}gccCmdl ${D}file"
50391 ;;
50392 esac
50393 done
50394 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
50395 touch "${D}{outFile}.dll"
50396
50397 doCommand "emximp -o ${D}arcFile ${D}defFile"
50398 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
50399 add_flags="";
50400 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50401 add_flags="-ynd"
50402 fi
50403 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
50404 fi
50405 doCommand "emxomf -s -l ${D}arcFile"
50406
50407 # Successful exit.
50408 CleanUp 1
50409 exit 0
50410 EOF
50411
50412 chmod +x dllar.sh
50413 ;;
50414
50415 powerpc-apple-macos* | \
50416 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
50417 *-*-mirbsd* | \
50418 *-*-sunos4* | \
50419 *-*-osf* | \
50420 *-*-dgux5* | \
50421 *-*-sysv5* | \
50422 *-pc-msdosdjgpp )
50423 ;;
50424
50425 *)
50426 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
50427 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
50428 { (exit 1); exit 1; }; }
50429 esac
50430
50431 if test "x$PIC_FLAG" != "x" ; then
50432 PIC_FLAG="$PIC_FLAG -DPIC"
50433 fi
50434
50435 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
50436 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
50437 fi
50438 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
50439 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
50440 fi
50441
50442
50443
50444
50445
50446
50447
50448
50449
50450 USE_SOVERSION=0
50451 USE_SOVERLINUX=0
50452 USE_SOVERSOLARIS=0
50453 USE_SOVERCYGWIN=0
50454 USE_SOTWOSYMLINKS=0
50455 USE_MACVERSION=0
50456 SONAME_FLAG=
50457
50458 case "${BAKEFILE_HOST}" in
50459 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
50460 *-*-k*bsd*-gnu | *-*-mirbsd* )
50461 if test "x$SUNCXX" = "xyes"; then
50462 SONAME_FLAG="-h "
50463 else
50464 SONAME_FLAG="-Wl,-soname,"
50465 fi
50466 USE_SOVERSION=1
50467 USE_SOVERLINUX=1
50468 USE_SOTWOSYMLINKS=1
50469 ;;
50470
50471 *-*-solaris2* )
50472 SONAME_FLAG="-h "
50473 USE_SOVERSION=1
50474 USE_SOVERSOLARIS=1
50475 ;;
50476
50477 *-*-darwin* )
50478 USE_MACVERSION=1
50479 USE_SOVERSION=1
50480 USE_SOTWOSYMLINKS=1
50481 ;;
50482
50483 *-*-cygwin* )
50484 USE_SOVERSION=1
50485 USE_SOVERCYGWIN=1
50486 ;;
50487 esac
50488
50489
50490
50491
50492
50493
50494
50495
50496
50497
50498 # Check whether --enable-dependency-tracking was given.
50499 if test "${enable_dependency_tracking+set}" = set; then
50500 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
50501 fi
50502
50503
50504 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
50505 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
50506
50507 BK_DEPS=""
50508 if test "x$bk_use_trackdeps" = "xno" ; then
50509 DEPS_TRACKING=0
50510 { echo "$as_me:$LINENO: result: disabled" >&5
50511 echo "${ECHO_T}disabled" >&6; }
50512 else
50513 DEPS_TRACKING=1
50514
50515 if test "x$GCC" = "xyes"; then
50516 DEPSMODE=gcc
50517 case "${BAKEFILE_HOST}" in
50518 *-*-darwin* )
50519 DEPSFLAG="-no-cpp-precomp -MMD"
50520 ;;
50521 * )
50522 DEPSFLAG="-MMD"
50523 ;;
50524 esac
50525 { echo "$as_me:$LINENO: result: gcc" >&5
50526 echo "${ECHO_T}gcc" >&6; }
50527 elif test "x$MWCC" = "xyes"; then
50528 DEPSMODE=mwcc
50529 DEPSFLAG="-MM"
50530 { echo "$as_me:$LINENO: result: mwcc" >&5
50531 echo "${ECHO_T}mwcc" >&6; }
50532 elif test "x$SUNCC" = "xyes"; then
50533 DEPSMODE=unixcc
50534 DEPSFLAG="-xM1"
50535 { echo "$as_me:$LINENO: result: Sun cc" >&5
50536 echo "${ECHO_T}Sun cc" >&6; }
50537 elif test "x$SGICC" = "xyes"; then
50538 DEPSMODE=unixcc
50539 DEPSFLAG="-M"
50540 { echo "$as_me:$LINENO: result: SGI cc" >&5
50541 echo "${ECHO_T}SGI cc" >&6; }
50542 elif test "x$HPCC" = "xyes"; then
50543 DEPSMODE=unixcc
50544 DEPSFLAG="+make"
50545 { echo "$as_me:$LINENO: result: HP cc" >&5
50546 echo "${ECHO_T}HP cc" >&6; }
50547 elif test "x$COMPAQCC" = "xyes"; then
50548 DEPSMODE=gcc
50549 DEPSFLAG="-MD"
50550 { echo "$as_me:$LINENO: result: Compaq cc" >&5
50551 echo "${ECHO_T}Compaq cc" >&6; }
50552 else
50553 DEPS_TRACKING=0
50554 { echo "$as_me:$LINENO: result: none" >&5
50555 echo "${ECHO_T}none" >&6; }
50556 fi
50557
50558 if test $DEPS_TRACKING = 1 ; then
50559
50560 D='$'
50561 cat <<EOF >bk-deps
50562 #!/bin/sh
50563
50564 # This script is part of Bakefile (http://www.bakefile.org) autoconf
50565 # script. It is used to track C/C++ files dependencies in portable way.
50566 #
50567 # Permission is given to use this file in any way.
50568
50569 DEPSMODE=${DEPSMODE}
50570 DEPSFLAG="${DEPSFLAG}"
50571 DEPSDIRBASE=.deps
50572
50573 if test ${D}DEPSMODE = gcc ; then
50574 ${D}* ${D}{DEPSFLAG}
50575 status=${D}?
50576
50577 # determine location of created files:
50578 while test ${D}# -gt 0; do
50579 case "${D}1" in
50580 -o )
50581 shift
50582 objfile=${D}1
50583 ;;
50584 -* )
50585 ;;
50586 * )
50587 srcfile=${D}1
50588 ;;
50589 esac
50590 shift
50591 done
50592 objfilebase=\`basename ${D}objfile\`
50593 builddir=\`dirname ${D}objfile\`
50594 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
50595 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
50596 depsdir=${D}builddir/${D}DEPSDIRBASE
50597 mkdir -p ${D}depsdir
50598
50599 # if the compiler failed, we're done:
50600 if test ${D}{status} != 0 ; then
50601 rm -f ${D}depfile
50602 exit ${D}{status}
50603 fi
50604
50605 # move created file to the location we want it in:
50606 if test -f ${D}depfile ; then
50607 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
50608 rm -f ${D}depfile
50609 else
50610 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
50611 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
50612 if test ! -f ${D}depfile ; then
50613 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
50614 depfile="${D}objfile.d"
50615 fi
50616 if test -f ${D}depfile ; then
50617 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
50618 rm -f ${D}depfile
50619 fi
50620 fi
50621 exit 0
50622
50623 elif test ${D}DEPSMODE = mwcc ; then
50624 ${D}* || exit ${D}?
50625 # Run mwcc again with -MM and redirect into the dep file we want
50626 # NOTE: We can't use shift here because we need ${D}* to be valid
50627 prevarg=
50628 for arg in ${D}* ; do
50629 if test "${D}prevarg" = "-o"; then
50630 objfile=${D}arg
50631 else
50632 case "${D}arg" in
50633 -* )
50634 ;;
50635 * )
50636 srcfile=${D}arg
50637 ;;
50638 esac
50639 fi
50640 prevarg="${D}arg"
50641 done
50642
50643 objfilebase=\`basename ${D}objfile\`
50644 builddir=\`dirname ${D}objfile\`
50645 depsdir=${D}builddir/${D}DEPSDIRBASE
50646 mkdir -p ${D}depsdir
50647
50648 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
50649 exit 0
50650
50651 elif test ${D}DEPSMODE = unixcc; then
50652 ${D}* || exit ${D}?
50653 # Run compiler again with deps flag and redirect into the dep file.
50654 # It doesn't work if the '-o FILE' option is used, but without it the
50655 # dependency file will contain the wrong name for the object. So it is
50656 # removed from the command line, and the dep file is fixed with sed.
50657 cmd=""
50658 while test ${D}# -gt 0; do
50659 case "${D}1" in
50660 -o )
50661 shift
50662 objfile=${D}1
50663 ;;
50664 * )
50665 eval arg${D}#=\\${D}1
50666 cmd="${D}cmd \\${D}arg${D}#"
50667 ;;
50668 esac
50669 shift
50670 done
50671
50672 objfilebase=\`basename ${D}objfile\`
50673 builddir=\`dirname ${D}objfile\`
50674 depsdir=${D}builddir/${D}DEPSDIRBASE
50675 mkdir -p ${D}depsdir
50676
50677 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
50678 exit 0
50679
50680 else
50681 ${D}*
50682 exit ${D}?
50683 fi
50684 EOF
50685
50686 chmod +x bk-deps
50687 BK_DEPS="`pwd`/bk-deps"
50688 fi
50689 fi
50690
50691
50692
50693
50694
50695 case ${BAKEFILE_HOST} in
50696 *-*-cygwin* | *-*-mingw32* )
50697 if test -n "$ac_tool_prefix"; then
50698 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
50699 set dummy ${ac_tool_prefix}windres; ac_word=$2
50700 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50701 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50702 if test "${ac_cv_prog_WINDRES+set}" = set; then
50703 echo $ECHO_N "(cached) $ECHO_C" >&6
50704 else
50705 if test -n "$WINDRES"; then
50706 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
50707 else
50708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50709 for as_dir in $PATH
50710 do
50711 IFS=$as_save_IFS
50712 test -z "$as_dir" && as_dir=.
50713 for ac_exec_ext in '' $ac_executable_extensions; do
50714 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50715 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
50716 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50717 break 2
50718 fi
50719 done
50720 done
50721 IFS=$as_save_IFS
50722
50723 fi
50724 fi
50725 WINDRES=$ac_cv_prog_WINDRES
50726 if test -n "$WINDRES"; then
50727 { echo "$as_me:$LINENO: result: $WINDRES" >&5
50728 echo "${ECHO_T}$WINDRES" >&6; }
50729 else
50730 { echo "$as_me:$LINENO: result: no" >&5
50731 echo "${ECHO_T}no" >&6; }
50732 fi
50733
50734
50735 fi
50736 if test -z "$ac_cv_prog_WINDRES"; then
50737 ac_ct_WINDRES=$WINDRES
50738 # Extract the first word of "windres", so it can be a program name with args.
50739 set dummy windres; ac_word=$2
50740 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50741 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50742 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
50743 echo $ECHO_N "(cached) $ECHO_C" >&6
50744 else
50745 if test -n "$ac_ct_WINDRES"; then
50746 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
50747 else
50748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50749 for as_dir in $PATH
50750 do
50751 IFS=$as_save_IFS
50752 test -z "$as_dir" && as_dir=.
50753 for ac_exec_ext in '' $ac_executable_extensions; do
50754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50755 ac_cv_prog_ac_ct_WINDRES="windres"
50756 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50757 break 2
50758 fi
50759 done
50760 done
50761 IFS=$as_save_IFS
50762
50763 fi
50764 fi
50765 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
50766 if test -n "$ac_ct_WINDRES"; then
50767 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
50768 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
50769 else
50770 { echo "$as_me:$LINENO: result: no" >&5
50771 echo "${ECHO_T}no" >&6; }
50772 fi
50773
50774 if test "x$ac_ct_WINDRES" = x; then
50775 WINDRES=""
50776 else
50777 case $cross_compiling:$ac_tool_warned in
50778 yes:)
50779 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50780 whose name does not start with the host triplet. If you think this
50781 configuration is useful to you, please write to autoconf@gnu.org." >&5
50782 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50783 whose name does not start with the host triplet. If you think this
50784 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50785 ac_tool_warned=yes ;;
50786 esac
50787 WINDRES=$ac_ct_WINDRES
50788 fi
50789 else
50790 WINDRES="$ac_cv_prog_WINDRES"
50791 fi
50792
50793 ;;
50794
50795 *-*-darwin* | powerpc-apple-macos* )
50796 # Extract the first word of "Rez", so it can be a program name with args.
50797 set dummy Rez; ac_word=$2
50798 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50799 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50800 if test "${ac_cv_prog_REZ+set}" = set; then
50801 echo $ECHO_N "(cached) $ECHO_C" >&6
50802 else
50803 if test -n "$REZ"; then
50804 ac_cv_prog_REZ="$REZ" # Let the user override the test.
50805 else
50806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50807 for as_dir in $PATH
50808 do
50809 IFS=$as_save_IFS
50810 test -z "$as_dir" && as_dir=.
50811 for ac_exec_ext in '' $ac_executable_extensions; do
50812 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50813 ac_cv_prog_REZ="Rez"
50814 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50815 break 2
50816 fi
50817 done
50818 done
50819 IFS=$as_save_IFS
50820
50821 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
50822 fi
50823 fi
50824 REZ=$ac_cv_prog_REZ
50825 if test -n "$REZ"; then
50826 { echo "$as_me:$LINENO: result: $REZ" >&5
50827 echo "${ECHO_T}$REZ" >&6; }
50828 else
50829 { echo "$as_me:$LINENO: result: no" >&5
50830 echo "${ECHO_T}no" >&6; }
50831 fi
50832
50833
50834 # Extract the first word of "SetFile", so it can be a program name with args.
50835 set dummy SetFile; ac_word=$2
50836 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50837 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50838 if test "${ac_cv_prog_SETFILE+set}" = set; then
50839 echo $ECHO_N "(cached) $ECHO_C" >&6
50840 else
50841 if test -n "$SETFILE"; then
50842 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
50843 else
50844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50845 for as_dir in $PATH
50846 do
50847 IFS=$as_save_IFS
50848 test -z "$as_dir" && as_dir=.
50849 for ac_exec_ext in '' $ac_executable_extensions; do
50850 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50851 ac_cv_prog_SETFILE="SetFile"
50852 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50853 break 2
50854 fi
50855 done
50856 done
50857 IFS=$as_save_IFS
50858
50859 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
50860 fi
50861 fi
50862 SETFILE=$ac_cv_prog_SETFILE
50863 if test -n "$SETFILE"; then
50864 { echo "$as_me:$LINENO: result: $SETFILE" >&5
50865 echo "${ECHO_T}$SETFILE" >&6; }
50866 else
50867 { echo "$as_me:$LINENO: result: no" >&5
50868 echo "${ECHO_T}no" >&6; }
50869 fi
50870
50871
50872 ;;
50873 esac
50874
50875
50876
50877
50878
50879
50880
50881
50882
50883 BAKEFILE_BAKEFILE_M4_VERSION="0.2.8"
50884
50885
50886 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.8"
50887
50888
50889
50890 # Check whether --enable-precomp-headers was given.
50891 if test "${enable_precomp_headers+set}" = set; then
50892 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
50893 fi
50894
50895
50896 GCC_PCH=0
50897 ICC_PCH=0
50898 USE_PCH=0
50899 BK_MAKE_PCH=""
50900
50901 case ${BAKEFILE_HOST} in
50902 *-*-cygwin* )
50903 bk_use_pch="no"
50904 ;;
50905 esac
50906
50907 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
50908 if test "x$GCC" = "xyes"; then
50909 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
50910 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
50911 cat >conftest.$ac_ext <<_ACEOF
50912 /* confdefs.h. */
50913 _ACEOF
50914 cat confdefs.h >>conftest.$ac_ext
50915 cat >>conftest.$ac_ext <<_ACEOF
50916 /* end confdefs.h. */
50917
50918 int
50919 main ()
50920 {
50921
50922 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
50923 There is no PCH support
50924 #endif
50925 #if (__GNUC__ < 3)
50926 There is no PCH support
50927 #endif
50928 #if (__GNUC__ == 3) && \
50929 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
50930 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
50931 ( defined(__INTEL_COMPILER) )
50932 There is no PCH support
50933 #endif
50934
50935 ;
50936 return 0;
50937 }
50938 _ACEOF
50939 rm -f conftest.$ac_objext
50940 if { (ac_try="$ac_compile"
50941 case "(($ac_try" in
50942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50943 *) ac_try_echo=$ac_try;;
50944 esac
50945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50946 (eval "$ac_compile") 2>conftest.er1
50947 ac_status=$?
50948 grep -v '^ *+' conftest.er1 >conftest.err
50949 rm -f conftest.er1
50950 cat conftest.err >&5
50951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50952 (exit $ac_status); } && {
50953 test -z "$ac_c_werror_flag" ||
50954 test ! -s conftest.err
50955 } && test -s conftest.$ac_objext; then
50956
50957 { echo "$as_me:$LINENO: result: yes" >&5
50958 echo "${ECHO_T}yes" >&6; }
50959 GCC_PCH=1
50960
50961 else
50962 echo "$as_me: failed program was:" >&5
50963 sed 's/^/| /' conftest.$ac_ext >&5
50964
50965
50966 if test "$INTELCXX8" = "yes"; then
50967 { echo "$as_me:$LINENO: result: yes" >&5
50968 echo "${ECHO_T}yes" >&6; }
50969 ICC_PCH=1
50970 if test "$INTELCXX10" = "yes"; then
50971 ICC_PCH_CREATE_SWITCH="-pch-create"
50972 ICC_PCH_USE_SWITCH="-pch-use"
50973 else
50974 ICC_PCH_CREATE_SWITCH="-create-pch"
50975 ICC_PCH_USE_SWITCH="-use-pch"
50976 fi
50977 else
50978 { echo "$as_me:$LINENO: result: no" >&5
50979 echo "${ECHO_T}no" >&6; }
50980 fi
50981
50982 fi
50983
50984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50985 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
50986 USE_PCH=1
50987
50988 D='$'
50989 cat <<EOF >bk-make-pch
50990 #!/bin/sh
50991
50992 # This script is part of Bakefile (http://www.bakefile.org) autoconf
50993 # script. It is used to generated precompiled headers.
50994 #
50995 # Permission is given to use this file in any way.
50996
50997 outfile="${D}{1}"
50998 header="${D}{2}"
50999 shift
51000 shift
51001
51002 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
51003
51004 compiler=""
51005 headerfile=""
51006
51007 while test ${D}{#} -gt 0; do
51008 add_to_cmdline=1
51009 case "${D}{1}" in
51010 -I* )
51011 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
51012 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51013 headerfile="${D}{incdir}/${D}{header}"
51014 fi
51015 ;;
51016 -use-pch|-use_pch|-pch-use )
51017 shift
51018 add_to_cmdline=0
51019 ;;
51020 esac
51021 if test ${D}add_to_cmdline = 1 ; then
51022 compiler="${D}{compiler} ${D}{1}"
51023 fi
51024 shift
51025 done
51026
51027 if test "x${D}{headerfile}" = "x" ; then
51028 echo "error: can't find header ${D}{header} in include paths" >&2
51029 else
51030 if test -f ${D}{outfile} ; then
51031 rm -f ${D}{outfile}
51032 else
51033 mkdir -p \`dirname ${D}{outfile}\`
51034 fi
51035 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
51036 mkdir -p ${D}{builddir}/.deps
51037 if test "x${GCC_PCH}" = "x1" ; then
51038 # can do this because gcc is >= 3.4:
51039 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51040 elif test "x${ICC_PCH}" = "x1" ; then
51041 filename=pch_gen-${D}${D}
51042 file=${D}{filename}.c
51043 dfile=${D}{filename}.d
51044 cat > ${D}file <<EOT
51045 #include "${D}header"
51046 EOT
51047 # using -MF icc complains about differing command lines in creation/use
51048 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
51049 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51050 rm -f ${D}file ${D}dfile ${D}{filename}.o
51051 fi
51052 exit ${D}{?}
51053 fi
51054 EOF
51055
51056 chmod +x bk-make-pch
51057 BK_MAKE_PCH="`pwd`/bk-make-pch"
51058 fi
51059 fi
51060 fi
51061
51062
51063
51064
51065
51066
51067
51068 COND_BUILD_DEBUG="#"
51069 if test "x$BUILD" = "xdebug" ; then
51070 COND_BUILD_DEBUG=""
51071 fi
51072
51073 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51074 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51075 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
51076 fi
51077
51078 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
51079 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51080 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
51081 fi
51082
51083 COND_BUILD_DEBUG_UNICODE_0="#"
51084 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51085 COND_BUILD_DEBUG_UNICODE_0=""
51086 fi
51087
51088 COND_BUILD_DEBUG_UNICODE_1="#"
51089 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51090 COND_BUILD_DEBUG_UNICODE_1=""
51091 fi
51092
51093 COND_BUILD_RELEASE="#"
51094 if test "x$BUILD" = "xrelease" ; then
51095 COND_BUILD_RELEASE=""
51096 fi
51097
51098 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
51099 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51100 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
51101 fi
51102
51103 COND_BUILD_RELEASE_UNICODE_0="#"
51104 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51105 COND_BUILD_RELEASE_UNICODE_0=""
51106 fi
51107
51108 COND_BUILD_RELEASE_UNICODE_1="#"
51109 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51110 COND_BUILD_RELEASE_UNICODE_1=""
51111 fi
51112
51113 COND_BUILD_debug="#"
51114 if test "x$BUILD" = "xdebug" ; then
51115 COND_BUILD_debug=""
51116 fi
51117
51118 COND_BUILD_debug_DEBUG_FLAG_default="#"
51119 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51120 COND_BUILD_debug_DEBUG_FLAG_default=""
51121 fi
51122
51123 COND_BUILD_debug_DEBUG_INFO_default="#"
51124 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51125 COND_BUILD_debug_DEBUG_INFO_default=""
51126 fi
51127
51128 COND_BUILD_debug_UNICODE_0="#"
51129 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51130 COND_BUILD_debug_UNICODE_0=""
51131 fi
51132
51133 COND_BUILD_debug_UNICODE_1="#"
51134 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51135 COND_BUILD_debug_UNICODE_1=""
51136 fi
51137
51138 COND_BUILD_release="#"
51139 if test "x$BUILD" = "xrelease" ; then
51140 COND_BUILD_release=""
51141 fi
51142
51143 COND_BUILD_release_DEBUG_INFO_default="#"
51144 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51145 COND_BUILD_release_DEBUG_INFO_default=""
51146 fi
51147
51148 COND_BUILD_release_UNICODE_0="#"
51149 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51150 COND_BUILD_release_UNICODE_0=""
51151 fi
51152
51153 COND_BUILD_release_UNICODE_1="#"
51154 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51155 COND_BUILD_release_UNICODE_1=""
51156 fi
51157
51158 COND_DEBUG_FLAG_0="#"
51159 if test "x$DEBUG_FLAG" = "x0" ; then
51160 COND_DEBUG_FLAG_0=""
51161 fi
51162
51163 COND_DEBUG_FLAG_1="#"
51164 if test "x$DEBUG_FLAG" = "x1" ; then
51165 COND_DEBUG_FLAG_1=""
51166 fi
51167
51168 COND_DEBUG_INFO_0="#"
51169 if test "x$DEBUG_INFO" = "x0" ; then
51170 COND_DEBUG_INFO_0=""
51171 fi
51172
51173 COND_DEBUG_INFO_1="#"
51174 if test "x$DEBUG_INFO" = "x1" ; then
51175 COND_DEBUG_INFO_1=""
51176 fi
51177
51178 COND_DEPS_TRACKING_0="#"
51179 if test "x$DEPS_TRACKING" = "x0" ; then
51180 COND_DEPS_TRACKING_0=""
51181 fi
51182
51183 COND_DEPS_TRACKING_1="#"
51184 if test "x$DEPS_TRACKING" = "x1" ; then
51185 COND_DEPS_TRACKING_1=""
51186 fi
51187
51188 COND_GCC_PCH_1="#"
51189 if test "x$GCC_PCH" = "x1" ; then
51190 COND_GCC_PCH_1=""
51191 fi
51192
51193 COND_ICC_PCH_1="#"
51194 if test "x$ICC_PCH" = "x1" ; then
51195 COND_ICC_PCH_1=""
51196 fi
51197
51198 COND_MONOLITHIC_0="#"
51199 if test "x$MONOLITHIC" = "x0" ; then
51200 COND_MONOLITHIC_0=""
51201 fi
51202
51203 COND_MONOLITHIC_0_SHARED_0="#"
51204 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51205 COND_MONOLITHIC_0_SHARED_0=""
51206 fi
51207
51208 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
51209 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51210 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
51211 fi
51212
51213 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
51214 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51215 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
51216 fi
51217
51218 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
51219 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51220 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
51221 fi
51222
51223 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
51224 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51225 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
51226 fi
51227
51228 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
51229 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51230 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
51231 fi
51232
51233 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
51234 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
51235 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
51236 fi
51237
51238 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
51239 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
51240 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
51241 fi
51242
51243 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
51244 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51245 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
51246 fi
51247
51248 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
51249 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51250 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
51251 fi
51252
51253 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
51254 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51255 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
51256 fi
51257
51258 COND_MONOLITHIC_0_SHARED_1="#"
51259 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
51260 COND_MONOLITHIC_0_SHARED_1=""
51261 fi
51262
51263 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
51264 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
51265 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
51266 fi
51267
51268 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
51269 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
51270 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
51271 fi
51272
51273 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
51274 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51275 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
51276 fi
51277
51278 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
51279 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51280 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
51281 fi
51282
51283 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
51284 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51285 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
51286 fi
51287
51288 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
51289 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
51290 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
51291 fi
51292
51293 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
51294 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
51295 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
51296 fi
51297
51298 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
51299 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
51300 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
51301 fi
51302
51303 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
51304 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
51305 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
51306 fi
51307
51308 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
51309 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51310 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
51311 fi
51312
51313 COND_MONOLITHIC_0_USE_AUI_1="#"
51314 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
51315 COND_MONOLITHIC_0_USE_AUI_1=""
51316 fi
51317
51318 COND_MONOLITHIC_0_USE_GUI_1="#"
51319 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
51320 COND_MONOLITHIC_0_USE_GUI_1=""
51321 fi
51322
51323 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
51324 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51325 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
51326 fi
51327
51328 COND_MONOLITHIC_0_USE_HTML_1="#"
51329 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
51330 COND_MONOLITHIC_0_USE_HTML_1=""
51331 fi
51332
51333 COND_MONOLITHIC_0_USE_MEDIA_1="#"
51334 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
51335 COND_MONOLITHIC_0_USE_MEDIA_1=""
51336 fi
51337
51338 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
51339 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
51340 COND_MONOLITHIC_0_USE_PROPGRID_1=""
51341 fi
51342
51343 COND_MONOLITHIC_0_USE_QA_1="#"
51344 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
51345 COND_MONOLITHIC_0_USE_QA_1=""
51346 fi
51347
51348 COND_MONOLITHIC_0_USE_RIBBON_1="#"
51349 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
51350 COND_MONOLITHIC_0_USE_RIBBON_1=""
51351 fi
51352
51353 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
51354 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51355 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
51356 fi
51357
51358 COND_MONOLITHIC_0_USE_STC_1="#"
51359 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
51360 COND_MONOLITHIC_0_USE_STC_1=""
51361 fi
51362
51363 COND_MONOLITHIC_0_USE_XRC_1="#"
51364 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
51365 COND_MONOLITHIC_0_USE_XRC_1=""
51366 fi
51367
51368 COND_MONOLITHIC_1="#"
51369 if test "x$MONOLITHIC" = "x1" ; then
51370 COND_MONOLITHIC_1=""
51371 fi
51372
51373 COND_MONOLITHIC_1_SHARED_0="#"
51374 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
51375 COND_MONOLITHIC_1_SHARED_0=""
51376 fi
51377
51378 COND_MONOLITHIC_1_SHARED_1="#"
51379 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
51380 COND_MONOLITHIC_1_SHARED_1=""
51381 fi
51382
51383 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
51384 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
51385 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
51386 fi
51387
51388 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
51389 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
51390 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
51391 fi
51392
51393 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
51394 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51395 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
51396 fi
51397
51398 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
51399 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51400 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
51401 fi
51402
51403 COND_PLATFORM_MACOSX_1="#"
51404 if test "x$PLATFORM_MACOSX" = "x1" ; then
51405 COND_PLATFORM_MACOSX_1=""
51406 fi
51407
51408 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
51409 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
51410 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
51411 fi
51412
51413 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
51414 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
51415 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
51416 fi
51417
51418 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
51419 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
51420 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
51421 fi
51422
51423 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
51424 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51425 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
51426 fi
51427
51428 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
51429 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
51430 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
51431 fi
51432
51433 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
51434 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51435 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
51436 fi
51437
51438 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
51439 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
51440 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
51441 fi
51442
51443 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
51444 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51445 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
51446 fi
51447
51448 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
51449 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
51450 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
51451 fi
51452
51453 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
51454 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51455 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
51456 fi
51457
51458 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
51459 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51460 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
51461 fi
51462
51463 COND_PLATFORM_MACOS_1="#"
51464 if test "x$PLATFORM_MACOS" = "x1" ; then
51465 COND_PLATFORM_MACOS_1=""
51466 fi
51467
51468 COND_PLATFORM_MAC_0="#"
51469 if test "x$PLATFORM_MAC" = "x0" ; then
51470 COND_PLATFORM_MAC_0=""
51471 fi
51472
51473 COND_PLATFORM_MAC_1="#"
51474 if test "x$PLATFORM_MAC" = "x1" ; then
51475 COND_PLATFORM_MAC_1=""
51476 fi
51477
51478 COND_PLATFORM_MSDOS_0="#"
51479 if test "x$PLATFORM_MSDOS" = "x0" ; then
51480 COND_PLATFORM_MSDOS_0=""
51481 fi
51482
51483 COND_PLATFORM_MSDOS_1="#"
51484 if test "x$PLATFORM_MSDOS" = "x1" ; then
51485 COND_PLATFORM_MSDOS_1=""
51486 fi
51487
51488 COND_PLATFORM_OS2_1="#"
51489 if test "x$PLATFORM_OS2" = "x1" ; then
51490 COND_PLATFORM_OS2_1=""
51491 fi
51492
51493 COND_PLATFORM_UNIX_0="#"
51494 if test "x$PLATFORM_UNIX" = "x0" ; then
51495 COND_PLATFORM_UNIX_0=""
51496 fi
51497
51498 COND_PLATFORM_UNIX_1="#"
51499 if test "x$PLATFORM_UNIX" = "x1" ; then
51500 COND_PLATFORM_UNIX_1=""
51501 fi
51502
51503 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
51504 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
51505 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
51506 fi
51507
51508 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
51509 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51510 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
51511 fi
51512
51513 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
51514 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
51515 COND_PLATFORM_UNIX_1_USE_GUI_1=""
51516 fi
51517
51518 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
51519 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
51520 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
51521 fi
51522
51523 COND_PLATFORM_WIN32_0="#"
51524 if test "x$PLATFORM_WIN32" = "x0" ; then
51525 COND_PLATFORM_WIN32_0=""
51526 fi
51527
51528 COND_PLATFORM_WIN32_1="#"
51529 if test "x$PLATFORM_WIN32" = "x1" ; then
51530 COND_PLATFORM_WIN32_1=""
51531 fi
51532
51533 COND_PLATFORM_WIN32_1_SHARED_0="#"
51534 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
51535 COND_PLATFORM_WIN32_1_SHARED_0=""
51536 fi
51537
51538 COND_SHARED_0="#"
51539 if test "x$SHARED" = "x0" ; then
51540 COND_SHARED_0=""
51541 fi
51542
51543 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
51544 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
51545 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
51546 fi
51547
51548 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
51549 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51550 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
51551 fi
51552
51553 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
51554 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
51555 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
51556 fi
51557
51558 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
51559 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51560 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
51561 fi
51562
51563 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
51564 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51565 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
51566 fi
51567
51568 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
51569 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51570 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
51571 fi
51572
51573 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
51574 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51575 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
51576 fi
51577
51578 COND_SHARED_0_USE_STC_1="#"
51579 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51580 COND_SHARED_0_USE_STC_1=""
51581 fi
51582
51583 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
51584 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
51585 COND_SHARED_0_wxUSE_EXPAT_builtin=""
51586 fi
51587
51588 COND_SHARED_0_wxUSE_REGEX_builtin="#"
51589 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
51590 COND_SHARED_0_wxUSE_REGEX_builtin=""
51591 fi
51592
51593 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
51594 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
51595 COND_SHARED_0_wxUSE_ZLIB_builtin=""
51596 fi
51597
51598 COND_SHARED_1="#"
51599 if test "x$SHARED" = "x1" ; then
51600 COND_SHARED_1=""
51601 fi
51602
51603 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
51604 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51605 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
51606 fi
51607
51608 COND_TOOLKIT_="#"
51609 if test "x$TOOLKIT" = "x" ; then
51610 COND_TOOLKIT_=""
51611 fi
51612
51613 COND_TOOLKIT_COCOA="#"
51614 if test "x$TOOLKIT" = "xCOCOA" ; then
51615 COND_TOOLKIT_COCOA=""
51616 fi
51617
51618 COND_TOOLKIT_COCOA_USE_GUI_1="#"
51619 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
51620 COND_TOOLKIT_COCOA_USE_GUI_1=""
51621 fi
51622
51623 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
51624 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51625 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
51626 fi
51627
51628 COND_TOOLKIT_DFB="#"
51629 if test "x$TOOLKIT" = "xDFB" ; then
51630 COND_TOOLKIT_DFB=""
51631 fi
51632
51633 COND_TOOLKIT_DFB_USE_GUI_1="#"
51634 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
51635 COND_TOOLKIT_DFB_USE_GUI_1=""
51636 fi
51637
51638 COND_TOOLKIT_GTK="#"
51639 if test "x$TOOLKIT" = "xGTK" ; then
51640 COND_TOOLKIT_GTK=""
51641 fi
51642
51643 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
51644 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
51645 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
51646 fi
51647
51648 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
51649 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
51650 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
51651 fi
51652
51653 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
51654 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
51655 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
51656 fi
51657
51658 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
51659 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51660 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
51661 fi
51662
51663 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
51664 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
51665 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
51666 fi
51667
51668 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
51669 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51670 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
51671 fi
51672
51673 COND_TOOLKIT_GTK_USE_GUI_1="#"
51674 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
51675 COND_TOOLKIT_GTK_USE_GUI_1=""
51676 fi
51677
51678 COND_TOOLKIT_MAC="#"
51679 if test "x$TOOLKIT" = "xMAC" ; then
51680 COND_TOOLKIT_MAC=""
51681 fi
51682
51683 COND_TOOLKIT_MGL="#"
51684 if test "x$TOOLKIT" = "xMGL" ; then
51685 COND_TOOLKIT_MGL=""
51686 fi
51687
51688 COND_TOOLKIT_MGL_USE_GUI_1="#"
51689 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51690 COND_TOOLKIT_MGL_USE_GUI_1=""
51691 fi
51692
51693 COND_TOOLKIT_MOTIF="#"
51694 if test "x$TOOLKIT" = "xMOTIF" ; then
51695 COND_TOOLKIT_MOTIF=""
51696 fi
51697
51698 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
51699 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
51700 COND_TOOLKIT_MOTIF_USE_GUI_1=""
51701 fi
51702
51703 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
51704 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51705 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
51706 fi
51707
51708 COND_TOOLKIT_MSW="#"
51709 if test "x$TOOLKIT" = "xMSW" ; then
51710 COND_TOOLKIT_MSW=""
51711 fi
51712
51713 COND_TOOLKIT_MSW_USE_GUI_1="#"
51714 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
51715 COND_TOOLKIT_MSW_USE_GUI_1=""
51716 fi
51717
51718 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
51719 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51720 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
51721 fi
51722
51723 COND_TOOLKIT_MSW_WXUNIV_0="#"
51724 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51725 COND_TOOLKIT_MSW_WXUNIV_0=""
51726 fi
51727
51728 COND_TOOLKIT_OSX_CARBON="#"
51729 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
51730 COND_TOOLKIT_OSX_CARBON=""
51731 fi
51732
51733 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
51734 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
51735 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
51736 fi
51737
51738 COND_TOOLKIT_OSX_COCOA="#"
51739 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
51740 COND_TOOLKIT_OSX_COCOA=""
51741 fi
51742
51743 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
51744 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
51745 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
51746 fi
51747
51748 COND_TOOLKIT_OSX_IPHONE="#"
51749 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
51750 COND_TOOLKIT_OSX_IPHONE=""
51751 fi
51752
51753 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
51754 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
51755 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
51756 fi
51757
51758 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
51759 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51760 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
51761 fi
51762
51763 COND_TOOLKIT_PM="#"
51764 if test "x$TOOLKIT" = "xPM" ; then
51765 COND_TOOLKIT_PM=""
51766 fi
51767
51768 COND_TOOLKIT_PM_USE_GUI_1="#"
51769 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
51770 COND_TOOLKIT_PM_USE_GUI_1=""
51771 fi
51772
51773 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
51774 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51775 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
51776 fi
51777
51778 COND_TOOLKIT_WINCE="#"
51779 if test "x$TOOLKIT" = "xWINCE" ; then
51780 COND_TOOLKIT_WINCE=""
51781 fi
51782
51783 COND_TOOLKIT_WINCE_USE_GUI_1="#"
51784 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
51785 COND_TOOLKIT_WINCE_USE_GUI_1=""
51786 fi
51787
51788 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
51789 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51790 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
51791 fi
51792
51793 COND_TOOLKIT_WINCE_WXUNIV_0="#"
51794 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
51795 COND_TOOLKIT_WINCE_WXUNIV_0=""
51796 fi
51797
51798 COND_TOOLKIT_X11="#"
51799 if test "x$TOOLKIT" = "xX11" ; then
51800 COND_TOOLKIT_X11=""
51801 fi
51802
51803 COND_TOOLKIT_X11_USE_GUI_1="#"
51804 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
51805 COND_TOOLKIT_X11_USE_GUI_1=""
51806 fi
51807
51808 COND_UNICODE_1="#"
51809 if test "x$UNICODE" = "x1" ; then
51810 COND_UNICODE_1=""
51811 fi
51812
51813 COND_USE_CAIRO_1="#"
51814 if test "x$USE_CAIRO" = "x1" ; then
51815 COND_USE_CAIRO_1=""
51816 fi
51817
51818 COND_USE_EXCEPTIONS_0="#"
51819 if test "x$USE_EXCEPTIONS" = "x0" ; then
51820 COND_USE_EXCEPTIONS_0=""
51821 fi
51822
51823 COND_USE_EXCEPTIONS_1="#"
51824 if test "x$USE_EXCEPTIONS" = "x1" ; then
51825 COND_USE_EXCEPTIONS_1=""
51826 fi
51827
51828 COND_USE_GUI_0="#"
51829 if test "x$USE_GUI" = "x0" ; then
51830 COND_USE_GUI_0=""
51831 fi
51832
51833 COND_USE_GUI_1="#"
51834 if test "x$USE_GUI" = "x1" ; then
51835 COND_USE_GUI_1=""
51836 fi
51837
51838 COND_USE_GUI_1_USE_OPENGL_1="#"
51839 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51840 COND_USE_GUI_1_USE_OPENGL_1=""
51841 fi
51842
51843 COND_USE_GUI_1_WXUNIV_0="#"
51844 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51845 COND_USE_GUI_1_WXUNIV_0=""
51846 fi
51847
51848 COND_USE_GUI_1_WXUNIV_1="#"
51849 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
51850 COND_USE_GUI_1_WXUNIV_1=""
51851 fi
51852
51853 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
51854 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51855 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
51856 fi
51857
51858 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
51859 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51860 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
51861 fi
51862
51863 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
51864 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51865 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
51866 fi
51867
51868 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
51869 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51870 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
51871 fi
51872
51873 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
51874 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51875 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
51876 fi
51877
51878 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
51879 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51880 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
51881 fi
51882
51883 COND_USE_OPENGL_1="#"
51884 if test "x$USE_OPENGL" = "x1" ; then
51885 COND_USE_OPENGL_1=""
51886 fi
51887
51888 COND_USE_PCH_1="#"
51889 if test "x$USE_PCH" = "x1" ; then
51890 COND_USE_PCH_1=""
51891 fi
51892
51893 COND_USE_PLUGINS_0="#"
51894 if test "x$USE_PLUGINS" = "x0" ; then
51895 COND_USE_PLUGINS_0=""
51896 fi
51897
51898 COND_USE_RTTI_0="#"
51899 if test "x$USE_RTTI" = "x0" ; then
51900 COND_USE_RTTI_0=""
51901 fi
51902
51903 COND_USE_RTTI_1="#"
51904 if test "x$USE_RTTI" = "x1" ; then
51905 COND_USE_RTTI_1=""
51906 fi
51907
51908 COND_USE_SOTWOSYMLINKS_1="#"
51909 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
51910 COND_USE_SOTWOSYMLINKS_1=""
51911 fi
51912
51913 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
51914 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51915 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
51916 fi
51917
51918 COND_USE_SOVERLINUX_1="#"
51919 if test "x$USE_SOVERLINUX" = "x1" ; then
51920 COND_USE_SOVERLINUX_1=""
51921 fi
51922
51923 COND_USE_SOVERSION_0="#"
51924 if test "x$USE_SOVERSION" = "x0" ; then
51925 COND_USE_SOVERSION_0=""
51926 fi
51927
51928 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
51929 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
51930 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
51931 fi
51932
51933 COND_USE_SOVERSOLARIS_1="#"
51934 if test "x$USE_SOVERSOLARIS" = "x1" ; then
51935 COND_USE_SOVERSOLARIS_1=""
51936 fi
51937
51938 COND_USE_STC_1="#"
51939 if test "x$USE_STC" = "x1" ; then
51940 COND_USE_STC_1=""
51941 fi
51942
51943 COND_USE_THREADS_0="#"
51944 if test "x$USE_THREADS" = "x0" ; then
51945 COND_USE_THREADS_0=""
51946 fi
51947
51948 COND_USE_THREADS_1="#"
51949 if test "x$USE_THREADS" = "x1" ; then
51950 COND_USE_THREADS_1=""
51951 fi
51952
51953 COND_USE_XRC_1="#"
51954 if test "x$USE_XRC" = "x1" ; then
51955 COND_USE_XRC_1=""
51956 fi
51957
51958 COND_WINDOWS_IMPLIB_1="#"
51959 if test "x$WINDOWS_IMPLIB" = "x1" ; then
51960 COND_WINDOWS_IMPLIB_1=""
51961 fi
51962
51963 COND_WITH_PLUGIN_SDL_1="#"
51964 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
51965 COND_WITH_PLUGIN_SDL_1=""
51966 fi
51967
51968 COND_WXUNIV_0="#"
51969 if test "x$WXUNIV" = "x0" ; then
51970 COND_WXUNIV_0=""
51971 fi
51972
51973 COND_WXUNIV_1="#"
51974 if test "x$WXUNIV" = "x1" ; then
51975 COND_WXUNIV_1=""
51976 fi
51977
51978 COND_WXUSE_EXPAT_BUILTIN="#"
51979 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
51980 COND_WXUSE_EXPAT_BUILTIN=""
51981 fi
51982
51983 COND_WXUSE_LIBJPEG_BUILTIN="#"
51984 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51985 COND_WXUSE_LIBJPEG_BUILTIN=""
51986 fi
51987
51988 COND_WXUSE_LIBPNG_BUILTIN="#"
51989 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51990 COND_WXUSE_LIBPNG_BUILTIN=""
51991 fi
51992
51993 COND_WXUSE_LIBTIFF_BUILTIN="#"
51994 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51995 COND_WXUSE_LIBTIFF_BUILTIN=""
51996 fi
51997
51998 COND_WXUSE_REGEX_BUILTIN="#"
51999 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52000 COND_WXUSE_REGEX_BUILTIN=""
52001 fi
52002
52003 COND_WXUSE_ZLIB_BUILTIN="#"
52004 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52005 COND_WXUSE_ZLIB_BUILTIN=""
52006 fi
52007
52008 COND_wxUSE_EXPAT_builtin="#"
52009 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52010 COND_wxUSE_EXPAT_builtin=""
52011 fi
52012
52013 COND_wxUSE_LIBJPEG_builtin="#"
52014 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52015 COND_wxUSE_LIBJPEG_builtin=""
52016 fi
52017
52018 COND_wxUSE_LIBPNG_builtin="#"
52019 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52020 COND_wxUSE_LIBPNG_builtin=""
52021 fi
52022
52023 COND_wxUSE_LIBTIFF_builtin="#"
52024 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52025 COND_wxUSE_LIBTIFF_builtin=""
52026 fi
52027
52028 COND_wxUSE_REGEX_builtin="#"
52029 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52030 COND_wxUSE_REGEX_builtin=""
52031 fi
52032
52033 COND_wxUSE_ZLIB_builtin="#"
52034 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52035 COND_wxUSE_ZLIB_builtin=""
52036 fi
52037
52038
52039
52040 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52041 { { 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
52042 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;}
52043 { (exit 1); exit 1; }; }
52044 fi
52045
52046 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52047 { { 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
52048 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;}
52049 { (exit 1); exit 1; }; }
52050 fi
52051
52052
52053 case ${INSTALL} in
52054 /* ) # Absolute
52055 ;;
52056 ?:* ) # Drive letter, considered as absolute.
52057 ;;
52058 *)
52059 INSTALL=`pwd`/${INSTALL} ;;
52060 esac
52061
52062 if test "$wxUSE_GUI" = "yes"; then
52063
52064 if test "$wxUSE_MSW" = 1 ; then
52065 if test "x$WINDRES" = "x"; then
52066 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
52067 echo "$as_me: error: Required windres program not found" >&2;}
52068 { (exit 1); exit 1; }; }
52069 fi
52070
52071 RESCOMP="$WINDRES $WINDRES_CPU_DEFINE"
52072 fi
52073
52074 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
52075 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
52076 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
52077
52078 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
52079
52080 # Extract the first word of "DeRez", so it can be a program name with args.
52081 set dummy DeRez; ac_word=$2
52082 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52083 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52084 if test "${ac_cv_prog_DEREZ+set}" = set; then
52085 echo $ECHO_N "(cached) $ECHO_C" >&6
52086 else
52087 if test -n "$DEREZ"; then
52088 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
52089 else
52090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52091 for as_dir in $PATH
52092 do
52093 IFS=$as_save_IFS
52094 test -z "$as_dir" && as_dir=.
52095 for ac_exec_ext in '' $ac_executable_extensions; do
52096 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52097 ac_cv_prog_DEREZ="DeRez"
52098 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52099 break 2
52100 fi
52101 done
52102 done
52103 IFS=$as_save_IFS
52104
52105 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
52106 fi
52107 fi
52108 DEREZ=$ac_cv_prog_DEREZ
52109 if test -n "$DEREZ"; then
52110 { echo "$as_me:$LINENO: result: $DEREZ" >&5
52111 echo "${ECHO_T}$DEREZ" >&6; }
52112 else
52113 { echo "$as_me:$LINENO: result: no" >&5
52114 echo "${ECHO_T}no" >&6; }
52115 fi
52116
52117
52118
52119 MACSETFILE="\$(SETFILE)"
52120
52121 if test "$wxUSE_OSX_CARBON" = 1; then
52122 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
52123 RESCOMP="$REZ"
52124 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
52125 else
52126 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
52127 RESCOMP="cat /dev/null \| $REZ"
52128 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
52129 fi
52130
52131 else
52132 MACSETFILE="@true"
52133
52134 if test "$wxUSE_PM" = 1; then
52135 RESCOMP="emxbind"
52136 WXCONFIG_RESFLAGS="-ep"
52137
52138 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
52139 else
52140 POSTLINK_COMMAND="@true"
52141 fi
52142 fi
52143
52144 fi
52145
52146
52147 if test $GCC_PCH = 1
52148 then
52149 if test "$wx_cv_gcc_pch_bug" = yes; then
52150 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52151 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52152 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52153 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52154 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52155 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52156 fi
52157
52158 # Our WX_PRECOMP flag does not make sense for any language except C++ because
52159 # the headers that benefit from precompilation are mostly C++ headers.
52160 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
52161 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
52162 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
52163 fi
52164
52165
52166 if test "$wxUSE_MAC" = 1 ; then
52167 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52168 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52169 mv temp bk-deps
52170 chmod +x bk-deps
52171 fi
52172 fi
52173
52174 if test "$wxUSE_SHARED" = "yes"; then
52175 case "${host}" in
52176 *-pc-os2_emx | *-pc-os2-emx )
52177 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52178 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52179 cp -p ${srcdir}/src/os2/dllnames.sh .
52180 cp -p ${srcdir}/src/os2/dllar.sh .
52181 ;;
52182 esac
52183 fi
52184 if test "$wxUSE_OMF" = "yes"; then
52185 case "${host}" in
52186 *-pc-os2_emx | *-pc-os2-emx )
52187 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52188 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52189 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52190 ;;
52191 esac
52192 fi
52193
52194 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52195
52196
52197 case "${host}" in
52198 *-*-solaris2* )
52199 if test "$GCC" = yes; then
52200 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52201 LIBS=`echo $LIBS | sed 's/-mt//'`
52202 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52203 fi
52204 ;;
52205
52206 *-*-linux* )
52207 if test "x$SUNCXX" = xyes; then
52208 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52209 LIBS=`echo $LIBS | sed 's/-pthread//'`
52210 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52211 fi
52212 ;;
52213 esac
52214
52215 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52216 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52217 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
52218 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
52219
52220 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52221
52222
52223
52224
52225
52226
52227
52228
52229
52230
52231
52232
52233
52234
52235
52236
52237
52238
52239
52240
52241
52242
52243
52244
52245
52246
52247
52248
52249
52250
52251
52252
52253
52254
52255
52256
52257
52258
52259
52260
52261
52262
52263
52264
52265
52266
52267
52268
52269
52270
52271
52272
52273
52274
52275
52276
52277
52278
52279
52280
52281 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52282 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52283 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52284 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52285 echo $ECHO_N "(cached) $ECHO_C" >&6
52286 else
52287 cat >conftest.make <<\_ACEOF
52288 SHELL = /bin/sh
52289 all:
52290 @echo '@@@%%%=$(MAKE)=@@@%%%'
52291 _ACEOF
52292 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52293 case `${MAKE-make} -f conftest.make 2>/dev/null` in
52294 *@@@%%%=?*=@@@%%%*)
52295 eval ac_cv_prog_make_${ac_make}_set=yes;;
52296 *)
52297 eval ac_cv_prog_make_${ac_make}_set=no;;
52298 esac
52299 rm -f conftest.make
52300 fi
52301 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52302 { echo "$as_me:$LINENO: result: yes" >&5
52303 echo "${ECHO_T}yes" >&6; }
52304 SET_MAKE=
52305 else
52306 { echo "$as_me:$LINENO: result: no" >&5
52307 echo "${ECHO_T}no" >&6; }
52308 SET_MAKE="MAKE=${MAKE-make}"
52309 fi
52310
52311
52312
52313 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
52314
52315
52316 if test "$USE_WIN32" = 1; then
52317 ac_config_commands="$ac_config_commands rcdefs.h"
52318
52319 fi
52320
52321 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
52322
52323
52324 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
52325
52326
52327 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
52328
52329
52330 if test "$wx_cv_version_script" = "yes"; then
52331 ac_config_files="$ac_config_files version-script"
52332
52333 fi
52334 ac_config_files="$ac_config_files Makefile"
52335
52336
52337 ac_config_commands="$ac_config_commands wx-config"
52338
52339
52340
52341 if test "$wxWITH_SUBDIRS" != "no"; then
52342 if test "$wxUSE_GUI" = "yes"; then
52343 SUBDIRS="samples demos utils"
52344 else
52345 SUBDIRS="samples utils"
52346 fi
52347
52348
52349
52350 # Check whether --with-cppunit-prefix was given.
52351 if test "${with_cppunit_prefix+set}" = set; then
52352 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
52353 else
52354 cppunit_config_prefix=""
52355 fi
52356
52357
52358 # Check whether --with-cppunit-exec-prefix was given.
52359 if test "${with_cppunit_exec_prefix+set}" = set; then
52360 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
52361 else
52362 cppunit_config_exec_prefix=""
52363 fi
52364
52365
52366 if test x$cppunit_config_exec_prefix != x ; then
52367 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
52368 if test x${CPPUNIT_CONFIG+set} != xset ; then
52369 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
52370 fi
52371 fi
52372 if test x$cppunit_config_prefix != x ; then
52373 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
52374 if test x${CPPUNIT_CONFIG+set} != xset ; then
52375 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
52376 fi
52377 fi
52378
52379 # Extract the first word of "cppunit-config", so it can be a program name with args.
52380 set dummy cppunit-config; ac_word=$2
52381 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52383 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
52384 echo $ECHO_N "(cached) $ECHO_C" >&6
52385 else
52386 case $CPPUNIT_CONFIG in
52387 [\\/]* | ?:[\\/]*)
52388 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
52389 ;;
52390 *)
52391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52392 for as_dir in $PATH
52393 do
52394 IFS=$as_save_IFS
52395 test -z "$as_dir" && as_dir=.
52396 for ac_exec_ext in '' $ac_executable_extensions; do
52397 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52398 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
52399 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52400 break 2
52401 fi
52402 done
52403 done
52404 IFS=$as_save_IFS
52405
52406 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
52407 ;;
52408 esac
52409 fi
52410 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
52411 if test -n "$CPPUNIT_CONFIG"; then
52412 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
52413 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
52414 else
52415 { echo "$as_me:$LINENO: result: no" >&5
52416 echo "${ECHO_T}no" >&6; }
52417 fi
52418
52419
52420 cppunit_version_min=1.8.0
52421
52422 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
52423 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
52424 no_cppunit=""
52425 if test "$CPPUNIT_CONFIG" = "no" ; then
52426 { echo "$as_me:$LINENO: result: no" >&5
52427 echo "${ECHO_T}no" >&6; }
52428 no_cppunit=yes
52429 else
52430 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
52431 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
52432 cppunit_version=`$CPPUNIT_CONFIG --version`
52433
52434 cppunit_major_version=`echo $cppunit_version | \
52435 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52436 cppunit_minor_version=`echo $cppunit_version | \
52437 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52438 cppunit_micro_version=`echo $cppunit_version | \
52439 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52440
52441 cppunit_major_min=`echo $cppunit_version_min | \
52442 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52443 cppunit_minor_min=`echo $cppunit_version_min | \
52444 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52445 cppunit_micro_min=`echo $cppunit_version_min | \
52446 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52447
52448 cppunit_version_proper=`expr \
52449 $cppunit_major_version \> $cppunit_major_min \| \
52450 $cppunit_major_version \= $cppunit_major_min \& \
52451 $cppunit_minor_version \> $cppunit_minor_min \| \
52452 $cppunit_major_version \= $cppunit_major_min \& \
52453 $cppunit_minor_version \= $cppunit_minor_min \& \
52454 $cppunit_micro_version \>= $cppunit_micro_min `
52455
52456 if test "$cppunit_version_proper" = "1" ; then
52457 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
52458 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
52459 else
52460 { echo "$as_me:$LINENO: result: no" >&5
52461 echo "${ECHO_T}no" >&6; }
52462 no_cppunit=yes
52463 fi
52464 fi
52465
52466 if test "x$no_cppunit" = x ; then
52467 SUBDIRS="$SUBDIRS tests"
52468 else
52469 CPPUNIT_CFLAGS=""
52470 CPPUNIT_LIBS=""
52471 :
52472 fi
52473
52474
52475
52476
52477
52478 for subdir in $SUBDIRS; do
52479 if test -d ${srcdir}/${subdir} ; then
52480 if test "$wxUSE_GUI" = "yes"; then
52481 if test ${subdir} = "samples"; then
52482 makefiles="samples/Makefile.in $makefiles"
52483 for sample in $SAMPLES_SUBDIRS; do
52484 if test -d $srcdir/samples/$sample; then
52485 makefiles="samples/$sample/Makefile.in $makefiles"
52486 fi
52487 done
52488 else
52489 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
52490 eval "disabled=\$$disabled_var"
52491 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
52492 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
52493 fi
52494 else
52495 if test ${subdir} = "samples"; then
52496 makefiles="samples/Makefile.in $makefiles"
52497 for sample in `echo $SAMPLES_SUBDIRS`; do
52498 if test -d $srcdir/samples/$sample; then
52499 makefiles="samples/$sample/Makefile.in $makefiles"
52500 fi
52501 done
52502 elif test ${subdir} = "utils"; then
52503 makefiles=""
52504 for util in ifacecheck ; do
52505 if test -d $srcdir/utils/$util ; then
52506 makefiles="utils/$util/src/Makefile.in \
52507 $makefiles"
52508 fi
52509 done
52510 else
52511 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
52512 fi
52513 fi
52514
52515 for mkin in $makefiles ; do
52516 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
52517 ac_config_files="$ac_config_files $mk"
52518
52519 done
52520 fi
52521 done
52522 fi
52523 cat >confcache <<\_ACEOF
52524 # This file is a shell script that caches the results of configure
52525 # tests run on this system so they can be shared between configure
52526 # scripts and configure runs, see configure's option --config-cache.
52527 # It is not useful on other systems. If it contains results you don't
52528 # want to keep, you may remove or edit it.
52529 #
52530 # config.status only pays attention to the cache file if you give it
52531 # the --recheck option to rerun configure.
52532 #
52533 # `ac_cv_env_foo' variables (set or unset) will be overridden when
52534 # loading this file, other *unset* `ac_cv_foo' will be assigned the
52535 # following values.
52536
52537 _ACEOF
52538
52539 # The following way of writing the cache mishandles newlines in values,
52540 # but we know of no workaround that is simple, portable, and efficient.
52541 # So, we kill variables containing newlines.
52542 # Ultrix sh set writes to stderr and can't be redirected directly,
52543 # and sets the high bit in the cache file unless we assign to the vars.
52544 (
52545 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
52546 eval ac_val=\$$ac_var
52547 case $ac_val in #(
52548 *${as_nl}*)
52549 case $ac_var in #(
52550 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
52551 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
52552 esac
52553 case $ac_var in #(
52554 _ | IFS | as_nl) ;; #(
52555 *) $as_unset $ac_var ;;
52556 esac ;;
52557 esac
52558 done
52559
52560 (set) 2>&1 |
52561 case $as_nl`(ac_space=' '; set) 2>&1` in #(
52562 *${as_nl}ac_space=\ *)
52563 # `set' does not quote correctly, so add quotes (double-quote
52564 # substitution turns \\\\ into \\, and sed turns \\ into \).
52565 sed -n \
52566 "s/'/'\\\\''/g;
52567 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
52568 ;; #(
52569 *)
52570 # `set' quotes correctly as required by POSIX, so do not add quotes.
52571 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
52572 ;;
52573 esac |
52574 sort
52575 ) |
52576 sed '
52577 /^ac_cv_env_/b end
52578 t clear
52579 :clear
52580 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
52581 t end
52582 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
52583 :end' >>confcache
52584 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
52585 if test -w "$cache_file"; then
52586 test "x$cache_file" != "x/dev/null" &&
52587 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
52588 echo "$as_me: updating cache $cache_file" >&6;}
52589 cat confcache >$cache_file
52590 else
52591 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
52592 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
52593 fi
52594 fi
52595 rm -f confcache
52596
52597 test "x$prefix" = xNONE && prefix=$ac_default_prefix
52598 # Let make expand exec_prefix.
52599 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
52600
52601 DEFS=-DHAVE_CONFIG_H
52602
52603 ac_libobjs=
52604 ac_ltlibobjs=
52605 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
52606 # 1. Remove the extension, and $U if already installed.
52607 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
52608 ac_i=`echo "$ac_i" | sed "$ac_script"`
52609 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
52610 # will be set to the directory where LIBOBJS objects are built.
52611 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
52612 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
52613 done
52614 LIBOBJS=$ac_libobjs
52615
52616 LTLIBOBJS=$ac_ltlibobjs
52617
52618
52619
52620 : ${CONFIG_STATUS=./config.status}
52621 ac_clean_files_save=$ac_clean_files
52622 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
52623 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
52624 echo "$as_me: creating $CONFIG_STATUS" >&6;}
52625 cat >$CONFIG_STATUS <<_ACEOF
52626 #! $SHELL
52627 # Generated by $as_me.
52628 # Run this file to recreate the current configuration.
52629 # Compiler output produced by configure, useful for debugging
52630 # configure, is in config.log if it exists.
52631
52632 debug=false
52633 ac_cs_recheck=false
52634 ac_cs_silent=false
52635 SHELL=\${CONFIG_SHELL-$SHELL}
52636 _ACEOF
52637
52638 cat >>$CONFIG_STATUS <<\_ACEOF
52639 ## --------------------- ##
52640 ## M4sh Initialization. ##
52641 ## --------------------- ##
52642
52643 # Be more Bourne compatible
52644 DUALCASE=1; export DUALCASE # for MKS sh
52645 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
52646 emulate sh
52647 NULLCMD=:
52648 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
52649 # is contrary to our usage. Disable this feature.
52650 alias -g '${1+"$@"}'='"$@"'
52651 setopt NO_GLOB_SUBST
52652 else
52653 case `(set -o) 2>/dev/null` in
52654 *posix*) set -o posix ;;
52655 esac
52656
52657 fi
52658
52659
52660
52661
52662 # PATH needs CR
52663 # Avoid depending upon Character Ranges.
52664 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
52665 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
52666 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
52667 as_cr_digits='0123456789'
52668 as_cr_alnum=$as_cr_Letters$as_cr_digits
52669
52670 # The user is always right.
52671 if test "${PATH_SEPARATOR+set}" != set; then
52672 echo "#! /bin/sh" >conf$$.sh
52673 echo "exit 0" >>conf$$.sh
52674 chmod +x conf$$.sh
52675 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
52676 PATH_SEPARATOR=';'
52677 else
52678 PATH_SEPARATOR=:
52679 fi
52680 rm -f conf$$.sh
52681 fi
52682
52683 # Support unset when possible.
52684 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
52685 as_unset=unset
52686 else
52687 as_unset=false
52688 fi
52689
52690
52691 # IFS
52692 # We need space, tab and new line, in precisely that order. Quoting is
52693 # there to prevent editors from complaining about space-tab.
52694 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
52695 # splitting by setting IFS to empty value.)
52696 as_nl='
52697 '
52698 IFS=" "" $as_nl"
52699
52700 # Find who we are. Look in the path if we contain no directory separator.
52701 case $0 in
52702 *[\\/]* ) as_myself=$0 ;;
52703 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52704 for as_dir in $PATH
52705 do
52706 IFS=$as_save_IFS
52707 test -z "$as_dir" && as_dir=.
52708 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
52709 done
52710 IFS=$as_save_IFS
52711
52712 ;;
52713 esac
52714 # We did not find ourselves, most probably we were run as `sh COMMAND'
52715 # in which case we are not to be found in the path.
52716 if test "x$as_myself" = x; then
52717 as_myself=$0
52718 fi
52719 if test ! -f "$as_myself"; then
52720 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
52721 { (exit 1); exit 1; }
52722 fi
52723
52724 # Work around bugs in pre-3.0 UWIN ksh.
52725 for as_var in ENV MAIL MAILPATH
52726 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
52727 done
52728 PS1='$ '
52729 PS2='> '
52730 PS4='+ '
52731
52732 # NLS nuisances.
52733 for as_var in \
52734 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
52735 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
52736 LC_TELEPHONE LC_TIME
52737 do
52738 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
52739 eval $as_var=C; export $as_var
52740 else
52741 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
52742 fi
52743 done
52744
52745 # Required to use basename.
52746 if expr a : '\(a\)' >/dev/null 2>&1 &&
52747 test "X`expr 00001 : '.*\(...\)'`" = X001; then
52748 as_expr=expr
52749 else
52750 as_expr=false
52751 fi
52752
52753 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
52754 as_basename=basename
52755 else
52756 as_basename=false
52757 fi
52758
52759
52760 # Name of the executable.
52761 as_me=`$as_basename -- "$0" ||
52762 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
52763 X"$0" : 'X\(//\)$' \| \
52764 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
52765 echo X/"$0" |
52766 sed '/^.*\/\([^/][^/]*\)\/*$/{
52767 s//\1/
52768 q
52769 }
52770 /^X\/\(\/\/\)$/{
52771 s//\1/
52772 q
52773 }
52774 /^X\/\(\/\).*/{
52775 s//\1/
52776 q
52777 }
52778 s/.*/./; q'`
52779
52780 # CDPATH.
52781 $as_unset CDPATH
52782
52783
52784
52785 as_lineno_1=$LINENO
52786 as_lineno_2=$LINENO
52787 test "x$as_lineno_1" != "x$as_lineno_2" &&
52788 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
52789
52790 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
52791 # uniformly replaced by the line number. The first 'sed' inserts a
52792 # line-number line after each line using $LINENO; the second 'sed'
52793 # does the real work. The second script uses 'N' to pair each
52794 # line-number line with the line containing $LINENO, and appends
52795 # trailing '-' during substitution so that $LINENO is not a special
52796 # case at line end.
52797 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
52798 # scripts with optimization help from Paolo Bonzini. Blame Lee
52799 # E. McMahon (1931-1989) for sed's syntax. :-)
52800 sed -n '
52801 p
52802 /[$]LINENO/=
52803 ' <$as_myself |
52804 sed '
52805 s/[$]LINENO.*/&-/
52806 t lineno
52807 b
52808 :lineno
52809 N
52810 :loop
52811 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
52812 t loop
52813 s/-\n.*//
52814 ' >$as_me.lineno &&
52815 chmod +x "$as_me.lineno" ||
52816 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
52817 { (exit 1); exit 1; }; }
52818
52819 # Don't try to exec as it changes $[0], causing all sort of problems
52820 # (the dirname of $[0] is not the place where we might find the
52821 # original and so on. Autoconf is especially sensitive to this).
52822 . "./$as_me.lineno"
52823 # Exit status is that of the last command.
52824 exit
52825 }
52826
52827
52828 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
52829 as_dirname=dirname
52830 else
52831 as_dirname=false
52832 fi
52833
52834 ECHO_C= ECHO_N= ECHO_T=
52835 case `echo -n x` in
52836 -n*)
52837 case `echo 'x\c'` in
52838 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
52839 *) ECHO_C='\c';;
52840 esac;;
52841 *)
52842 ECHO_N='-n';;
52843 esac
52844
52845 if expr a : '\(a\)' >/dev/null 2>&1 &&
52846 test "X`expr 00001 : '.*\(...\)'`" = X001; then
52847 as_expr=expr
52848 else
52849 as_expr=false
52850 fi
52851
52852 rm -f conf$$ conf$$.exe conf$$.file
52853 if test -d conf$$.dir; then
52854 rm -f conf$$.dir/conf$$.file
52855 else
52856 rm -f conf$$.dir
52857 mkdir conf$$.dir
52858 fi
52859 echo >conf$$.file
52860 if ln -s conf$$.file conf$$ 2>/dev/null; then
52861 as_ln_s='ln -s'
52862 # ... but there are two gotchas:
52863 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
52864 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
52865 # In both cases, we have to default to `cp -p'.
52866 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
52867 as_ln_s='cp -p'
52868 elif ln conf$$.file conf$$ 2>/dev/null; then
52869 as_ln_s=ln
52870 else
52871 as_ln_s='cp -p'
52872 fi
52873 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
52874 rmdir conf$$.dir 2>/dev/null
52875
52876 if mkdir -p . 2>/dev/null; then
52877 as_mkdir_p=:
52878 else
52879 test -d ./-p && rmdir ./-p
52880 as_mkdir_p=false
52881 fi
52882
52883 if test -x / >/dev/null 2>&1; then
52884 as_test_x='test -x'
52885 else
52886 if ls -dL / >/dev/null 2>&1; then
52887 as_ls_L_option=L
52888 else
52889 as_ls_L_option=
52890 fi
52891 as_test_x='
52892 eval sh -c '\''
52893 if test -d "$1"; then
52894 test -d "$1/.";
52895 else
52896 case $1 in
52897 -*)set "./$1";;
52898 esac;
52899 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
52900 ???[sx]*):;;*)false;;esac;fi
52901 '\'' sh
52902 '
52903 fi
52904 as_executable_p=$as_test_x
52905
52906 # Sed expression to map a string onto a valid CPP name.
52907 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
52908
52909 # Sed expression to map a string onto a valid variable name.
52910 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
52911
52912
52913 exec 6>&1
52914
52915 # Save the log message, to keep $[0] and so on meaningful, and to
52916 # report actual input values of CONFIG_FILES etc. instead of their
52917 # values after options handling.
52918 ac_log="
52919 This file was extended by wxWidgets $as_me 2.9.2, which was
52920 generated by GNU Autoconf 2.61. Invocation command line was
52921
52922 CONFIG_FILES = $CONFIG_FILES
52923 CONFIG_HEADERS = $CONFIG_HEADERS
52924 CONFIG_LINKS = $CONFIG_LINKS
52925 CONFIG_COMMANDS = $CONFIG_COMMANDS
52926 $ $0 $@
52927
52928 on `(hostname || uname -n) 2>/dev/null | sed 1q`
52929 "
52930
52931 _ACEOF
52932
52933 cat >>$CONFIG_STATUS <<_ACEOF
52934 # Files that config.status was made for.
52935 config_files="$ac_config_files"
52936 config_headers="$ac_config_headers"
52937 config_commands="$ac_config_commands"
52938
52939 _ACEOF
52940
52941 cat >>$CONFIG_STATUS <<\_ACEOF
52942 ac_cs_usage="\
52943 \`$as_me' instantiates files from templates according to the
52944 current configuration.
52945
52946 Usage: $0 [OPTIONS] [FILE]...
52947
52948 -h, --help print this help, then exit
52949 -V, --version print version number and configuration settings, then exit
52950 -q, --quiet do not print progress messages
52951 -d, --debug don't remove temporary files
52952 --recheck update $as_me by reconfiguring in the same conditions
52953 --file=FILE[:TEMPLATE]
52954 instantiate the configuration file FILE
52955 --header=FILE[:TEMPLATE]
52956 instantiate the configuration header FILE
52957
52958 Configuration files:
52959 $config_files
52960
52961 Configuration headers:
52962 $config_headers
52963
52964 Configuration commands:
52965 $config_commands
52966
52967 Report bugs to <bug-autoconf@gnu.org>."
52968
52969 _ACEOF
52970 cat >>$CONFIG_STATUS <<_ACEOF
52971 ac_cs_version="\\
52972 wxWidgets config.status 2.9.2
52973 configured by $0, generated by GNU Autoconf 2.61,
52974 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
52975
52976 Copyright (C) 2006 Free Software Foundation, Inc.
52977 This config.status script is free software; the Free Software Foundation
52978 gives unlimited permission to copy, distribute and modify it."
52979
52980 ac_pwd='$ac_pwd'
52981 srcdir='$srcdir'
52982 INSTALL='$INSTALL'
52983 _ACEOF
52984
52985 cat >>$CONFIG_STATUS <<\_ACEOF
52986 # If no file are specified by the user, then we need to provide default
52987 # value. By we need to know if files were specified by the user.
52988 ac_need_defaults=:
52989 while test $# != 0
52990 do
52991 case $1 in
52992 --*=*)
52993 ac_option=`expr "X$1" : 'X\([^=]*\)='`
52994 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
52995 ac_shift=:
52996 ;;
52997 *)
52998 ac_option=$1
52999 ac_optarg=$2
53000 ac_shift=shift
53001 ;;
53002 esac
53003
53004 case $ac_option in
53005 # Handling of the options.
53006 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53007 ac_cs_recheck=: ;;
53008 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53009 echo "$ac_cs_version"; exit ;;
53010 --debug | --debu | --deb | --de | --d | -d )
53011 debug=: ;;
53012 --file | --fil | --fi | --f )
53013 $ac_shift
53014 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
53015 ac_need_defaults=false;;
53016 --header | --heade | --head | --hea )
53017 $ac_shift
53018 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
53019 ac_need_defaults=false;;
53020 --he | --h)
53021 # Conflict between --help and --header
53022 { echo "$as_me: error: ambiguous option: $1
53023 Try \`$0 --help' for more information." >&2
53024 { (exit 1); exit 1; }; };;
53025 --help | --hel | -h )
53026 echo "$ac_cs_usage"; exit ;;
53027 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53028 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53029 ac_cs_silent=: ;;
53030
53031 # This is an error.
53032 -*) { echo "$as_me: error: unrecognized option: $1
53033 Try \`$0 --help' for more information." >&2
53034 { (exit 1); exit 1; }; } ;;
53035
53036 *) ac_config_targets="$ac_config_targets $1"
53037 ac_need_defaults=false ;;
53038
53039 esac
53040 shift
53041 done
53042
53043 ac_configure_extra_args=
53044
53045 if $ac_cs_silent; then
53046 exec 6>/dev/null
53047 ac_configure_extra_args="$ac_configure_extra_args --silent"
53048 fi
53049
53050 _ACEOF
53051 cat >>$CONFIG_STATUS <<_ACEOF
53052 if \$ac_cs_recheck; then
53053 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53054 CONFIG_SHELL=$SHELL
53055 export CONFIG_SHELL
53056 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53057 fi
53058
53059 _ACEOF
53060 cat >>$CONFIG_STATUS <<\_ACEOF
53061 exec 5>>config.log
53062 {
53063 echo
53064 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53065 ## Running $as_me. ##
53066 _ASBOX
53067 echo "$ac_log"
53068 } >&5
53069
53070 _ACEOF
53071 cat >>$CONFIG_STATUS <<_ACEOF
53072 #
53073 # INIT-COMMANDS
53074 #
53075
53076 CPP="$CPP"
53077 infile="$srcdir/include/wx/msw/genrcdefs.h"
53078 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53079
53080
53081 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53082 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53083 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53084 LN_S="${LN_S}"
53085
53086
53087 _ACEOF
53088
53089 cat >>$CONFIG_STATUS <<\_ACEOF
53090
53091 # Handling of arguments.
53092 for ac_config_target in $ac_config_targets
53093 do
53094 case $ac_config_target in
53095 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53096 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
53097 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53098 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53099 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
53100 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
53101 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
53102 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
53103 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
53104
53105 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53106 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53107 { (exit 1); exit 1; }; };;
53108 esac
53109 done
53110
53111
53112 # If the user did not use the arguments to specify the items to instantiate,
53113 # then the envvar interface is used. Set only those that are not.
53114 # We use the long form for the default assignment because of an extremely
53115 # bizarre bug on SunOS 4.1.3.
53116 if $ac_need_defaults; then
53117 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
53118 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
53119 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
53120 fi
53121
53122 # Have a temporary directory for convenience. Make it in the build tree
53123 # simply because there is no reason against having it here, and in addition,
53124 # creating and moving files from /tmp can sometimes cause problems.
53125 # Hook for its removal unless debugging.
53126 # Note that there is a small window in which the directory will not be cleaned:
53127 # after its creation but before its name has been assigned to `$tmp'.
53128 $debug ||
53129 {
53130 tmp=
53131 trap 'exit_status=$?
53132 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53133 ' 0
53134 trap '{ (exit 1); exit 1; }' 1 2 13 15
53135 }
53136 # Create a (secure) tmp directory for tmp files.
53137
53138 {
53139 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53140 test -n "$tmp" && test -d "$tmp"
53141 } ||
53142 {
53143 tmp=./conf$$-$RANDOM
53144 (umask 077 && mkdir "$tmp")
53145 } ||
53146 {
53147 echo "$me: cannot create a temporary directory in ." >&2
53148 { (exit 1); exit 1; }
53149 }
53150
53151 #
53152 # Set up the sed scripts for CONFIG_FILES section.
53153 #
53154
53155 # No need to generate the scripts if there are no CONFIG_FILES.
53156 # This happens for instance when ./config.status config.h
53157 if test -n "$CONFIG_FILES"; then
53158
53159 _ACEOF
53160
53161
53162
53163 ac_delim='%!_!# '
53164 for ac_last_try in false false false false false :; do
53165 cat >conf$$subs.sed <<_ACEOF
53166 SHELL!$SHELL$ac_delim
53167 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53168 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53169 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53170 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53171 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53172 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53173 exec_prefix!$exec_prefix$ac_delim
53174 prefix!$prefix$ac_delim
53175 program_transform_name!$program_transform_name$ac_delim
53176 bindir!$bindir$ac_delim
53177 sbindir!$sbindir$ac_delim
53178 libexecdir!$libexecdir$ac_delim
53179 datarootdir!$datarootdir$ac_delim
53180 datadir!$datadir$ac_delim
53181 sysconfdir!$sysconfdir$ac_delim
53182 sharedstatedir!$sharedstatedir$ac_delim
53183 localstatedir!$localstatedir$ac_delim
53184 includedir!$includedir$ac_delim
53185 oldincludedir!$oldincludedir$ac_delim
53186 docdir!$docdir$ac_delim
53187 infodir!$infodir$ac_delim
53188 htmldir!$htmldir$ac_delim
53189 dvidir!$dvidir$ac_delim
53190 pdfdir!$pdfdir$ac_delim
53191 psdir!$psdir$ac_delim
53192 libdir!$libdir$ac_delim
53193 localedir!$localedir$ac_delim
53194 mandir!$mandir$ac_delim
53195 DEFS!$DEFS$ac_delim
53196 ECHO_C!$ECHO_C$ac_delim
53197 ECHO_N!$ECHO_N$ac_delim
53198 ECHO_T!$ECHO_T$ac_delim
53199 LIBS!$LIBS$ac_delim
53200 build_alias!$build_alias$ac_delim
53201 host_alias!$host_alias$ac_delim
53202 target_alias!$target_alias$ac_delim
53203 build!$build$ac_delim
53204 build_cpu!$build_cpu$ac_delim
53205 build_vendor!$build_vendor$ac_delim
53206 build_os!$build_os$ac_delim
53207 host!$host$ac_delim
53208 host_cpu!$host_cpu$ac_delim
53209 host_vendor!$host_vendor$ac_delim
53210 host_os!$host_os$ac_delim
53211 wx_top_builddir!$wx_top_builddir$ac_delim
53212 CC!$CC$ac_delim
53213 CFLAGS!$CFLAGS$ac_delim
53214 LDFLAGS!$LDFLAGS$ac_delim
53215 CPPFLAGS!$CPPFLAGS$ac_delim
53216 ac_ct_CC!$ac_ct_CC$ac_delim
53217 EXEEXT!$EXEEXT$ac_delim
53218 OBJEXT!$OBJEXT$ac_delim
53219 CPP!$CPP$ac_delim
53220 GREP!$GREP$ac_delim
53221 EGREP!$EGREP$ac_delim
53222 CXX!$CXX$ac_delim
53223 CXXFLAGS!$CXXFLAGS$ac_delim
53224 ac_ct_CXX!$ac_ct_CXX$ac_delim
53225 AR!$AR$ac_delim
53226 OSX_SW_VERS!$OSX_SW_VERS$ac_delim
53227 CXXCPP!$CXXCPP$ac_delim
53228 subdirs!$subdirs$ac_delim
53229 PKG_CONFIG!$PKG_CONFIG$ac_delim
53230 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53231 GTK_LIBS!$GTK_LIBS$ac_delim
53232 GTK_CONFIG!$GTK_CONFIG$ac_delim
53233 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53234 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53235 XMKMF!$XMKMF$ac_delim
53236 X_CFLAGS!$X_CFLAGS$ac_delim
53237 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53238 X_LIBS!$X_LIBS$ac_delim
53239 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53240 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53241 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53242 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53243 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53244 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53245 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53246 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53247 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53248 LIBICONV!$LIBICONV$ac_delim
53249 GXX_VERSION!$GXX_VERSION$ac_delim
53250 SDL_CONFIG!$SDL_CONFIG$ac_delim
53251 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53252 SDL_LIBS!$SDL_LIBS$ac_delim
53253 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
53254 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
53255 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53256 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53257 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53258 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53259 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53260 HILDON_LIBS!$HILDON_LIBS$ac_delim
53261 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
53262 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
53263 _ACEOF
53264
53265 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53266 break
53267 elif $ac_last_try; then
53268 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53269 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53270 { (exit 1); exit 1; }; }
53271 else
53272 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53273 fi
53274 done
53275
53276 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53277 if test -n "$ac_eof"; then
53278 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53279 ac_eof=`expr $ac_eof + 1`
53280 fi
53281
53282 cat >>$CONFIG_STATUS <<_ACEOF
53283 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53284 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53285 _ACEOF
53286 sed '
53287 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53288 s/^/s,@/; s/!/@,|#_!!_#|/
53289 :n
53290 t n
53291 s/'"$ac_delim"'$/,g/; t
53292 s/$/\\/; p
53293 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53294 ' >>$CONFIG_STATUS <conf$$subs.sed
53295 rm -f conf$$subs.sed
53296 cat >>$CONFIG_STATUS <<_ACEOF
53297 CEOF$ac_eof
53298 _ACEOF
53299
53300
53301 ac_delim='%!_!# '
53302 for ac_last_try in false false false false false :; do
53303 cat >conf$$subs.sed <<_ACEOF
53304 PYTHON!$PYTHON$ac_delim
53305 COND_PYTHON!$COND_PYTHON$ac_delim
53306 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53307 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53308 GST_CFLAGS!$GST_CFLAGS$ac_delim
53309 GST_LIBS!$GST_LIBS$ac_delim
53310 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
53311 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
53312 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
53313 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
53314 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
53315 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
53316 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
53317 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
53318 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
53319 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
53320 VENDOR!$VENDOR$ac_delim
53321 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
53322 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
53323 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
53324 WXUNIV!$WXUNIV$ac_delim
53325 MONOLITHIC!$MONOLITHIC$ac_delim
53326 USE_PLUGINS!$USE_PLUGINS$ac_delim
53327 CXXWARNINGS!$CXXWARNINGS$ac_delim
53328 EXTRALIBS!$EXTRALIBS$ac_delim
53329 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
53330 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
53331 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
53332 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
53333 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
53334 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
53335 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
53336 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
53337 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
53338 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
53339 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
53340 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
53341 UNICODE!$UNICODE$ac_delim
53342 DEBUG_INFO!$DEBUG_INFO$ac_delim
53343 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
53344 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
53345 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
53346 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
53347 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
53348 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
53349 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
53350 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
53351 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
53352 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
53353 RANLIB!$RANLIB$ac_delim
53354 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
53355 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
53356 INSTALL_DATA!$INSTALL_DATA$ac_delim
53357 LN_S!$LN_S$ac_delim
53358 SET_MAKE!$SET_MAKE$ac_delim
53359 MAKE_SET!$MAKE_SET$ac_delim
53360 AROPTIONS!$AROPTIONS$ac_delim
53361 STRIP!$STRIP$ac_delim
53362 NM!$NM$ac_delim
53363 INSTALL_DIR!$INSTALL_DIR$ac_delim
53364 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
53365 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
53366 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
53367 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
53368 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
53369 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
53370 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
53371 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
53372 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
53373 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
53374 SO_SUFFIX!$SO_SUFFIX$ac_delim
53375 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
53376 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
53377 LIBPREFIX!$LIBPREFIX$ac_delim
53378 LIBEXT!$LIBEXT$ac_delim
53379 DLLPREFIX!$DLLPREFIX$ac_delim
53380 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
53381 dlldir!$dlldir$ac_delim
53382 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
53383 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
53384 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
53385 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
53386 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
53387 PIC_FLAG!$PIC_FLAG$ac_delim
53388 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
53389 USE_SOVERSION!$USE_SOVERSION$ac_delim
53390 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
53391 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
53392 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
53393 USE_MACVERSION!$USE_MACVERSION$ac_delim
53394 USE_SOTWOSYMLINKS!$USE_SOTWOSYMLINKS$ac_delim
53395 SONAME_FLAG!$SONAME_FLAG$ac_delim
53396 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
53397 BK_DEPS!$BK_DEPS$ac_delim
53398 WINDRES!$WINDRES$ac_delim
53399 REZ!$REZ$ac_delim
53400 SETFILE!$SETFILE$ac_delim
53401 _ACEOF
53402
53403 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53404 break
53405 elif $ac_last_try; then
53406 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53407 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53408 { (exit 1); exit 1; }; }
53409 else
53410 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53411 fi
53412 done
53413
53414 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53415 if test -n "$ac_eof"; then
53416 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53417 ac_eof=`expr $ac_eof + 1`
53418 fi
53419
53420 cat >>$CONFIG_STATUS <<_ACEOF
53421 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
53422 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53423 _ACEOF
53424 sed '
53425 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53426 s/^/s,@/; s/!/@,|#_!!_#|/
53427 :n
53428 t n
53429 s/'"$ac_delim"'$/,g/; t
53430 s/$/\\/; p
53431 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53432 ' >>$CONFIG_STATUS <conf$$subs.sed
53433 rm -f conf$$subs.sed
53434 cat >>$CONFIG_STATUS <<_ACEOF
53435 CEOF$ac_eof
53436 _ACEOF
53437
53438
53439 ac_delim='%!_!# '
53440 for ac_last_try in false false false false false :; do
53441 cat >conf$$subs.sed <<_ACEOF
53442 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
53443 GCC_PCH!$GCC_PCH$ac_delim
53444 ICC_PCH!$ICC_PCH$ac_delim
53445 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
53446 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
53447 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
53448 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
53449 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
53450 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
53451 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
53452 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
53453 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
53454 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
53455 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
53456 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
53457 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
53458 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
53459 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
53460 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
53461 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
53462 COND_BUILD_release!$COND_BUILD_release$ac_delim
53463 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
53464 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
53465 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
53466 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
53467 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
53468 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
53469 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
53470 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
53471 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
53472 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
53473 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
53474 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
53475 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
53476 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
53477 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
53478 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
53479 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53480 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
53481 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
53482 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
53483 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
53484 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
53485 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
53486 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
53487 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
53488 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
53489 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
53490 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
53491 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
53492 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
53493 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
53494 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
53495 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
53496 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
53497 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
53498 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
53499 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53500 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
53501 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
53502 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
53503 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
53504 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
53505 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
53506 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
53507 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
53508 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
53509 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
53510 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
53511 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
53512 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
53513 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
53514 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
53515 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
53516 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
53517 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0$ac_delim
53518 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
53519 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
53520 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
53521 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
53522 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
53523 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0$ac_delim
53524 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
53525 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
53526 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
53527 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
53528 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
53529 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
53530 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
53531 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
53532 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
53533 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
53534 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
53535 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
53536 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
53537 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
53538 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
53539 _ACEOF
53540
53541 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53542 break
53543 elif $ac_last_try; then
53544 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53545 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53546 { (exit 1); exit 1; }; }
53547 else
53548 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53549 fi
53550 done
53551
53552 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53553 if test -n "$ac_eof"; then
53554 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53555 ac_eof=`expr $ac_eof + 1`
53556 fi
53557
53558 cat >>$CONFIG_STATUS <<_ACEOF
53559 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
53560 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53561 _ACEOF
53562 sed '
53563 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53564 s/^/s,@/; s/!/@,|#_!!_#|/
53565 :n
53566 t n
53567 s/'"$ac_delim"'$/,g/; t
53568 s/$/\\/; p
53569 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53570 ' >>$CONFIG_STATUS <conf$$subs.sed
53571 rm -f conf$$subs.sed
53572 cat >>$CONFIG_STATUS <<_ACEOF
53573 CEOF$ac_eof
53574 _ACEOF
53575
53576
53577 ac_delim='%!_!# '
53578 for ac_last_try in false false false false false :; do
53579 cat >conf$$subs.sed <<_ACEOF
53580 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
53581 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
53582 COND_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_WIN32_1_SHARED_0$ac_delim
53583 COND_SHARED_0!$COND_SHARED_0$ac_delim
53584 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
53585 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
53586 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
53587 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
53588 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
53589 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
53590 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
53591 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
53592 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
53593 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
53594 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
53595 COND_SHARED_1!$COND_SHARED_1$ac_delim
53596 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
53597 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
53598 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
53599 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
53600 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
53601 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
53602 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
53603 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
53604 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
53605 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
53606 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
53607 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
53608 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
53609 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
53610 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
53611 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
53612 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
53613 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
53614 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
53615 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
53616 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
53617 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
53618 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
53619 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
53620 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
53621 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
53622 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
53623 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
53624 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
53625 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
53626 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
53627 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0$ac_delim
53628 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
53629 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
53630 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
53631 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
53632 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
53633 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
53634 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
53635 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
53636 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
53637 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
53638 COND_USE_CAIRO_1!$COND_USE_CAIRO_1$ac_delim
53639 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
53640 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
53641 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
53642 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
53643 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
53644 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
53645 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
53646 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53647 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53648 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53649 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
53650 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
53651 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
53652 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
53653 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
53654 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
53655 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
53656 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
53657 COND_USE_SOTWOSYMLINKS_1!$COND_USE_SOTWOSYMLINKS_1$ac_delim
53658 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
53659 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
53660 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
53661 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1!$COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1$ac_delim
53662 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
53663 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
53664 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
53665 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
53666 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
53667 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
53668 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
53669 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
53670 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
53671 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
53672 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
53673 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
53674 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
53675 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
53676 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
53677 _ACEOF
53678
53679 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53680 break
53681 elif $ac_last_try; then
53682 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53683 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53684 { (exit 1); exit 1; }; }
53685 else
53686 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53687 fi
53688 done
53689
53690 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53691 if test -n "$ac_eof"; then
53692 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53693 ac_eof=`expr $ac_eof + 1`
53694 fi
53695
53696 cat >>$CONFIG_STATUS <<_ACEOF
53697 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
53698 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53699 _ACEOF
53700 sed '
53701 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53702 s/^/s,@/; s/!/@,|#_!!_#|/
53703 :n
53704 t n
53705 s/'"$ac_delim"'$/,g/; t
53706 s/$/\\/; p
53707 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53708 ' >>$CONFIG_STATUS <conf$$subs.sed
53709 rm -f conf$$subs.sed
53710 cat >>$CONFIG_STATUS <<_ACEOF
53711 CEOF$ac_eof
53712 _ACEOF
53713
53714
53715 ac_delim='%!_!# '
53716 for ac_last_try in false false false false false :; do
53717 cat >conf$$subs.sed <<_ACEOF
53718 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
53719 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
53720 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
53721 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
53722 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
53723 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
53724 DEREZ!$DEREZ$ac_delim
53725 SHARED!$SHARED$ac_delim
53726 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
53727 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
53728 USE_GUI!$USE_GUI$ac_delim
53729 AFMINSTALL!$AFMINSTALL$ac_delim
53730 WIN32INSTALL!$WIN32INSTALL$ac_delim
53731 TOOLKIT!$TOOLKIT$ac_delim
53732 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
53733 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
53734 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
53735 cross_compiling!$cross_compiling$ac_delim
53736 WIDGET_SET!$WIDGET_SET$ac_delim
53737 WX_RELEASE!$WX_RELEASE$ac_delim
53738 WX_VERSION!$WX_VERSION$ac_delim
53739 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
53740 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
53741 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
53742 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
53743 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
53744 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
53745 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
53746 WXCONFIG_LDFLAGS!$WXCONFIG_LDFLAGS$ac_delim
53747 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
53748 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
53749 GUIDIST!$GUIDIST$ac_delim
53750 DISTDIR!$DISTDIR$ac_delim
53751 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
53752 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
53753 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
53754 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
53755 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
53756 RESCOMP!$RESCOMP$ac_delim
53757 RESFLAGS!$RESFLAGS$ac_delim
53758 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
53759 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
53760 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
53761 LIBWXMACRES!$LIBWXMACRES$ac_delim
53762 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
53763 MACSETFILE!$MACSETFILE$ac_delim
53764 GCC!$GCC$ac_delim
53765 DLLTOOL!$DLLTOOL$ac_delim
53766 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
53767 LIBOBJS!$LIBOBJS$ac_delim
53768 LTLIBOBJS!$LTLIBOBJS$ac_delim
53769 _ACEOF
53770
53771 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 51; then
53772 break
53773 elif $ac_last_try; then
53774 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53775 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53776 { (exit 1); exit 1; }; }
53777 else
53778 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53779 fi
53780 done
53781
53782 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53783 if test -n "$ac_eof"; then
53784 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53785 ac_eof=`expr $ac_eof + 1`
53786 fi
53787
53788 cat >>$CONFIG_STATUS <<_ACEOF
53789 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
53790 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
53791 _ACEOF
53792 sed '
53793 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53794 s/^/s,@/; s/!/@,|#_!!_#|/
53795 :n
53796 t n
53797 s/'"$ac_delim"'$/,g/; t
53798 s/$/\\/; p
53799 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53800 ' >>$CONFIG_STATUS <conf$$subs.sed
53801 rm -f conf$$subs.sed
53802 cat >>$CONFIG_STATUS <<_ACEOF
53803 :end
53804 s/|#_!!_#|//g
53805 CEOF$ac_eof
53806 _ACEOF
53807
53808
53809 # VPATH may cause trouble with some makes, so we remove $(srcdir),
53810 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
53811 # trailing colons and then remove the whole line if VPATH becomes empty
53812 # (actually we leave an empty line to preserve line numbers).
53813 if test "x$srcdir" = x.; then
53814 ac_vpsub='/^[ ]*VPATH[ ]*=/{
53815 s/:*\$(srcdir):*/:/
53816 s/:*\${srcdir}:*/:/
53817 s/:*@srcdir@:*/:/
53818 s/^\([^=]*=[ ]*\):*/\1/
53819 s/:*$//
53820 s/^[^=]*=[ ]*$//
53821 }'
53822 fi
53823
53824 cat >>$CONFIG_STATUS <<\_ACEOF
53825 fi # test -n "$CONFIG_FILES"
53826
53827
53828 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
53829 do
53830 case $ac_tag in
53831 :[FHLC]) ac_mode=$ac_tag; continue;;
53832 esac
53833 case $ac_mode$ac_tag in
53834 :[FHL]*:*);;
53835 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
53836 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
53837 { (exit 1); exit 1; }; };;
53838 :[FH]-) ac_tag=-:-;;
53839 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
53840 esac
53841 ac_save_IFS=$IFS
53842 IFS=:
53843 set x $ac_tag
53844 IFS=$ac_save_IFS
53845 shift
53846 ac_file=$1
53847 shift
53848
53849 case $ac_mode in
53850 :L) ac_source=$1;;
53851 :[FH])
53852 ac_file_inputs=
53853 for ac_f
53854 do
53855 case $ac_f in
53856 -) ac_f="$tmp/stdin";;
53857 *) # Look for the file first in the build tree, then in the source tree
53858 # (if the path is not absolute). The absolute path cannot be DOS-style,
53859 # because $ac_f cannot contain `:'.
53860 test -f "$ac_f" ||
53861 case $ac_f in
53862 [\\/$]*) false;;
53863 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
53864 esac ||
53865 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
53866 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
53867 { (exit 1); exit 1; }; };;
53868 esac
53869 ac_file_inputs="$ac_file_inputs $ac_f"
53870 done
53871
53872 # Let's still pretend it is `configure' which instantiates (i.e., don't
53873 # use $as_me), people would be surprised to read:
53874 # /* config.h. Generated by config.status. */
53875 configure_input="Generated from "`IFS=:
53876 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
53877 if test x"$ac_file" != x-; then
53878 configure_input="$ac_file. $configure_input"
53879 { echo "$as_me:$LINENO: creating $ac_file" >&5
53880 echo "$as_me: creating $ac_file" >&6;}
53881 fi
53882
53883 case $ac_tag in
53884 *:-:* | *:-) cat >"$tmp/stdin";;
53885 esac
53886 ;;
53887 esac
53888
53889 ac_dir=`$as_dirname -- "$ac_file" ||
53890 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53891 X"$ac_file" : 'X\(//\)[^/]' \| \
53892 X"$ac_file" : 'X\(//\)$' \| \
53893 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
53894 echo X"$ac_file" |
53895 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53896 s//\1/
53897 q
53898 }
53899 /^X\(\/\/\)[^/].*/{
53900 s//\1/
53901 q
53902 }
53903 /^X\(\/\/\)$/{
53904 s//\1/
53905 q
53906 }
53907 /^X\(\/\).*/{
53908 s//\1/
53909 q
53910 }
53911 s/.*/./; q'`
53912 { as_dir="$ac_dir"
53913 case $as_dir in #(
53914 -*) as_dir=./$as_dir;;
53915 esac
53916 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
53917 as_dirs=
53918 while :; do
53919 case $as_dir in #(
53920 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
53921 *) as_qdir=$as_dir;;
53922 esac
53923 as_dirs="'$as_qdir' $as_dirs"
53924 as_dir=`$as_dirname -- "$as_dir" ||
53925 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53926 X"$as_dir" : 'X\(//\)[^/]' \| \
53927 X"$as_dir" : 'X\(//\)$' \| \
53928 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
53929 echo X"$as_dir" |
53930 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53931 s//\1/
53932 q
53933 }
53934 /^X\(\/\/\)[^/].*/{
53935 s//\1/
53936 q
53937 }
53938 /^X\(\/\/\)$/{
53939 s//\1/
53940 q
53941 }
53942 /^X\(\/\).*/{
53943 s//\1/
53944 q
53945 }
53946 s/.*/./; q'`
53947 test -d "$as_dir" && break
53948 done
53949 test -z "$as_dirs" || eval "mkdir $as_dirs"
53950 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
53951 echo "$as_me: error: cannot create directory $as_dir" >&2;}
53952 { (exit 1); exit 1; }; }; }
53953 ac_builddir=.
53954
53955 case "$ac_dir" in
53956 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
53957 *)
53958 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
53959 # A ".." for each directory in $ac_dir_suffix.
53960 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
53961 case $ac_top_builddir_sub in
53962 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
53963 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
53964 esac ;;
53965 esac
53966 ac_abs_top_builddir=$ac_pwd
53967 ac_abs_builddir=$ac_pwd$ac_dir_suffix
53968 # for backward compatibility:
53969 ac_top_builddir=$ac_top_build_prefix
53970
53971 case $srcdir in
53972 .) # We are building in place.
53973 ac_srcdir=.
53974 ac_top_srcdir=$ac_top_builddir_sub
53975 ac_abs_top_srcdir=$ac_pwd ;;
53976 [\\/]* | ?:[\\/]* ) # Absolute name.
53977 ac_srcdir=$srcdir$ac_dir_suffix;
53978 ac_top_srcdir=$srcdir
53979 ac_abs_top_srcdir=$srcdir ;;
53980 *) # Relative name.
53981 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
53982 ac_top_srcdir=$ac_top_build_prefix$srcdir
53983 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
53984 esac
53985 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
53986
53987
53988 case $ac_mode in
53989 :F)
53990 #
53991 # CONFIG_FILE
53992 #
53993
53994 case $INSTALL in
53995 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
53996 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
53997 esac
53998 _ACEOF
53999
54000 cat >>$CONFIG_STATUS <<\_ACEOF
54001 # If the template does not know about datarootdir, expand it.
54002 # FIXME: This hack should be removed a few years after 2.60.
54003 ac_datarootdir_hack=; ac_datarootdir_seen=
54004
54005 case `sed -n '/datarootdir/ {
54006 p
54007 q
54008 }
54009 /@datadir@/p
54010 /@docdir@/p
54011 /@infodir@/p
54012 /@localedir@/p
54013 /@mandir@/p
54014 ' $ac_file_inputs` in
54015 *datarootdir*) ac_datarootdir_seen=yes;;
54016 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
54017 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54018 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54019 _ACEOF
54020 cat >>$CONFIG_STATUS <<_ACEOF
54021 ac_datarootdir_hack='
54022 s&@datadir@&$datadir&g
54023 s&@docdir@&$docdir&g
54024 s&@infodir@&$infodir&g
54025 s&@localedir@&$localedir&g
54026 s&@mandir@&$mandir&g
54027 s&\\\${datarootdir}&$datarootdir&g' ;;
54028 esac
54029 _ACEOF
54030
54031 # Neutralize VPATH when `$srcdir' = `.'.
54032 # Shell code in configure.ac might set extrasub.
54033 # FIXME: do we really want to maintain this feature?
54034 cat >>$CONFIG_STATUS <<_ACEOF
54035 sed "$ac_vpsub
54036 $extrasub
54037 _ACEOF
54038 cat >>$CONFIG_STATUS <<\_ACEOF
54039 :t
54040 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54041 s&@configure_input@&$configure_input&;t t
54042 s&@top_builddir@&$ac_top_builddir_sub&;t t
54043 s&@srcdir@&$ac_srcdir&;t t
54044 s&@abs_srcdir@&$ac_abs_srcdir&;t t
54045 s&@top_srcdir@&$ac_top_srcdir&;t t
54046 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
54047 s&@builddir@&$ac_builddir&;t t
54048 s&@abs_builddir@&$ac_abs_builddir&;t t
54049 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
54050 s&@INSTALL@&$ac_INSTALL&;t t
54051 $ac_datarootdir_hack
54052 " $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
54053
54054 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54055 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
54056 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
54057 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54058 which seems to be undefined. Please make sure it is defined." >&5
54059 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54060 which seems to be undefined. Please make sure it is defined." >&2;}
54061
54062 rm -f "$tmp/stdin"
54063 case $ac_file in
54064 -) cat "$tmp/out"; rm -f "$tmp/out";;
54065 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54066 esac
54067 ;;
54068 :H)
54069 #
54070 # CONFIG_HEADER
54071 #
54072 _ACEOF
54073
54074 # Transform confdefs.h into a sed script `conftest.defines', that
54075 # substitutes the proper values into config.h.in to produce config.h.
54076 rm -f conftest.defines conftest.tail
54077 # First, append a space to every undef/define line, to ease matching.
54078 echo 's/$/ /' >conftest.defines
54079 # Then, protect against being on the right side of a sed subst, or in
54080 # an unquoted here document, in config.status. If some macros were
54081 # called several times there might be several #defines for the same
54082 # symbol, which is useless. But do not sort them, since the last
54083 # AC_DEFINE must be honored.
54084 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
54085 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54086 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54087 # PARAMS is the parameter list in the macro definition--in most cases, it's
54088 # just an empty string.
54089 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54090 ac_dB='\\)[ (].*,\\1define\\2'
54091 ac_dC=' '
54092 ac_dD=' ,'
54093
54094 uniq confdefs.h |
54095 sed -n '
54096 t rset
54097 :rset
54098 s/^[ ]*#[ ]*define[ ][ ]*//
54099 t ok
54100 d
54101 :ok
54102 s/[\\&,]/\\&/g
54103 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54104 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54105 ' >>conftest.defines
54106
54107 # Remove the space that was appended to ease matching.
54108 # Then replace #undef with comments. This is necessary, for
54109 # example, in the case of _POSIX_SOURCE, which is predefined and required
54110 # on some systems where configure will not decide to define it.
54111 # (The regexp can be short, since the line contains either #define or #undef.)
54112 echo 's/ $//
54113 s,^[ #]*u.*,/* & */,' >>conftest.defines
54114
54115 # Break up conftest.defines:
54116 ac_max_sed_lines=50
54117
54118 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54119 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54120 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54121 # et cetera.
54122 ac_in='$ac_file_inputs'
54123 ac_out='"$tmp/out1"'
54124 ac_nxt='"$tmp/out2"'
54125
54126 while :
54127 do
54128 # Write a here document:
54129 cat >>$CONFIG_STATUS <<_ACEOF
54130 # First, check the format of the line:
54131 cat >"\$tmp/defines.sed" <<\\CEOF
54132 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54133 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54134 b
54135 :def
54136 _ACEOF
54137 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
54138 echo 'CEOF
54139 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54140 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
54141 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
54142 grep . conftest.tail >/dev/null || break
54143 rm -f conftest.defines
54144 mv conftest.tail conftest.defines
54145 done
54146 rm -f conftest.defines conftest.tail
54147
54148 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54149 cat >>$CONFIG_STATUS <<\_ACEOF
54150 if test x"$ac_file" != x-; then
54151 echo "/* $configure_input */" >"$tmp/config.h"
54152 cat "$ac_result" >>"$tmp/config.h"
54153 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
54154 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54155 echo "$as_me: $ac_file is unchanged" >&6;}
54156 else
54157 rm -f $ac_file
54158 mv "$tmp/config.h" $ac_file
54159 fi
54160 else
54161 echo "/* $configure_input */"
54162 cat "$ac_result"
54163 fi
54164 rm -f "$tmp/out12"
54165 ;;
54166
54167 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54168 echo "$as_me: executing $ac_file commands" >&6;}
54169 ;;
54170 esac
54171
54172
54173 case $ac_file$ac_mode in
54174 "rcdefs.h":C)
54175 mkdir -p $outdir &&
54176 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54177 ;;
54178 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
54179 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
54180 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
54181 "wx-config":C) rm -f wx-config
54182 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
54183 ;;
54184
54185 esac
54186 done # for ac_tag
54187
54188
54189 { (exit 0); exit 0; }
54190 _ACEOF
54191 chmod +x $CONFIG_STATUS
54192 ac_clean_files=$ac_clean_files_save
54193
54194
54195 # configure is writing to config.log, and then calls config.status.
54196 # config.status does its own redirection, appending to config.log.
54197 # Unfortunately, on DOS this fails, as config.log is still kept open
54198 # by configure, so config.status won't be able to write to it; its
54199 # output is simply discarded. So we exec the FD to /dev/null,
54200 # effectively closing config.log, so it can be properly (re)opened and
54201 # appended to by config.status. When coming back to configure, we
54202 # need to make the FD available again.
54203 if test "$no_create" != yes; then
54204 ac_cs_success=:
54205 ac_config_status_args=
54206 test "$silent" = yes &&
54207 ac_config_status_args="$ac_config_status_args --quiet"
54208 exec 5>/dev/null
54209 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
54210 exec 5>>config.log
54211 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54212 # would make configure fail if this is the last instruction.
54213 $ac_cs_success || { (exit 1); exit 1; }
54214 fi
54215
54216 #
54217 # CONFIG_SUBDIRS section.
54218 #
54219 if test "$no_recursion" != yes; then
54220
54221 # Remove --cache-file and --srcdir arguments so they do not pile up.
54222 ac_sub_configure_args=
54223 ac_prev=
54224 eval "set x $ac_configure_args"
54225 shift
54226 for ac_arg
54227 do
54228 if test -n "$ac_prev"; then
54229 ac_prev=
54230 continue
54231 fi
54232 case $ac_arg in
54233 -cache-file | --cache-file | --cache-fil | --cache-fi \
54234 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54235 ac_prev=cache_file ;;
54236 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54237 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54238 | --c=*)
54239 ;;
54240 --config-cache | -C)
54241 ;;
54242 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54243 ac_prev=srcdir ;;
54244 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54245 ;;
54246 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54247 ac_prev=prefix ;;
54248 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54249 ;;
54250 *)
54251 case $ac_arg in
54252 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54253 esac
54254 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
54255 esac
54256 done
54257
54258 # Always prepend --prefix to ensure using the same prefix
54259 # in subdir configurations.
54260 ac_arg="--prefix=$prefix"
54261 case $ac_arg in
54262 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54263 esac
54264 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
54265
54266 # Pass --silent
54267 if test "$silent" = yes; then
54268 ac_sub_configure_args="--silent $ac_sub_configure_args"
54269 fi
54270
54271 ac_popdir=`pwd`
54272 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
54273
54274 # Do not complain, so a configure script can configure whichever
54275 # parts of a large source tree are present.
54276 test -d "$srcdir/$ac_dir" || continue
54277
54278 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54279 echo "$as_me:$LINENO: $ac_msg" >&5
54280 echo "$ac_msg" >&6
54281 { as_dir="$ac_dir"
54282 case $as_dir in #(
54283 -*) as_dir=./$as_dir;;
54284 esac
54285 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54286 as_dirs=
54287 while :; do
54288 case $as_dir in #(
54289 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54290 *) as_qdir=$as_dir;;
54291 esac
54292 as_dirs="'$as_qdir' $as_dirs"
54293 as_dir=`$as_dirname -- "$as_dir" ||
54294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54295 X"$as_dir" : 'X\(//\)[^/]' \| \
54296 X"$as_dir" : 'X\(//\)$' \| \
54297 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54298 echo X"$as_dir" |
54299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54300 s//\1/
54301 q
54302 }
54303 /^X\(\/\/\)[^/].*/{
54304 s//\1/
54305 q
54306 }
54307 /^X\(\/\/\)$/{
54308 s//\1/
54309 q
54310 }
54311 /^X\(\/\).*/{
54312 s//\1/
54313 q
54314 }
54315 s/.*/./; q'`
54316 test -d "$as_dir" && break
54317 done
54318 test -z "$as_dirs" || eval "mkdir $as_dirs"
54319 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54320 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54321 { (exit 1); exit 1; }; }; }
54322 ac_builddir=.
54323
54324 case "$ac_dir" in
54325 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54326 *)
54327 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54328 # A ".." for each directory in $ac_dir_suffix.
54329 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54330 case $ac_top_builddir_sub in
54331 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54332 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54333 esac ;;
54334 esac
54335 ac_abs_top_builddir=$ac_pwd
54336 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54337 # for backward compatibility:
54338 ac_top_builddir=$ac_top_build_prefix
54339
54340 case $srcdir in
54341 .) # We are building in place.
54342 ac_srcdir=.
54343 ac_top_srcdir=$ac_top_builddir_sub
54344 ac_abs_top_srcdir=$ac_pwd ;;
54345 [\\/]* | ?:[\\/]* ) # Absolute name.
54346 ac_srcdir=$srcdir$ac_dir_suffix;
54347 ac_top_srcdir=$srcdir
54348 ac_abs_top_srcdir=$srcdir ;;
54349 *) # Relative name.
54350 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54351 ac_top_srcdir=$ac_top_build_prefix$srcdir
54352 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54353 esac
54354 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54355
54356
54357 cd "$ac_dir"
54358
54359 # Check for guested configure; otherwise get Cygnus style configure.
54360 if test -f "$ac_srcdir/configure.gnu"; then
54361 ac_sub_configure=$ac_srcdir/configure.gnu
54362 elif test -f "$ac_srcdir/configure"; then
54363 ac_sub_configure=$ac_srcdir/configure
54364 elif test -f "$ac_srcdir/configure.in"; then
54365 # This should be Cygnus configure.
54366 ac_sub_configure=$ac_aux_dir/configure
54367 else
54368 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
54369 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
54370 ac_sub_configure=
54371 fi
54372
54373 # The recursion is here.
54374 if test -n "$ac_sub_configure"; then
54375 # Make the cache file name correct relative to the subdirectory.
54376 case $cache_file in
54377 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
54378 *) # Relative name.
54379 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
54380 esac
54381
54382 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
54383 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
54384 # The eval makes quoting arguments work.
54385 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
54386 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
54387 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
54388 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
54389 { (exit 1); exit 1; }; }
54390 fi
54391
54392 cd "$ac_popdir"
54393 done
54394 fi
54395
54396
54397 echo
54398 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
54399 echo ""
54400 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
54401 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
54402 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
54403 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
54404 if test "$wxUSE_UNICODE" = "yes"; then
54405 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
54406 echo " (using UTF-8)"
54407 else
54408 echo " (using wchar_t)"
54409 fi
54410 else
54411 echo
54412 fi
54413
54414 echo " What level of wxWidgets compatibility should be enabled?"
54415 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
54416 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
54417
54418 echo " Which libraries should wxWidgets use?"
54419 echo " STL ${wxUSE_STL}"
54420 echo " jpeg ${wxUSE_LIBJPEG-none}"
54421 echo " png ${wxUSE_LIBPNG-none}"
54422 echo " regex ${wxUSE_REGEX}"
54423 echo " tiff ${wxUSE_LIBTIFF-none}"
54424 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
54425 echo " xpm ${wxUSE_LIBXPM-none}"
54426 fi
54427 echo " zlib ${wxUSE_ZLIB}"
54428 echo " expat ${wxUSE_EXPAT}"
54429 echo " libmspack ${wxUSE_LIBMSPACK}"
54430 echo " sdl ${wxUSE_LIBSDL}"
54431
54432 echo ""
54433